[1m[32m==>[m[1m Building on q[m
[1m[32m==>[m[1m Checking for remote environment...[m
[1m[32m==>[m[1m Syncing package to remote host...[m
sending incremental file list
./
PKGBUILD
700 24% 0.00kB/s 0:00:00
2,834 100% 2.04MB/s 0:00:00 (xfr#1, to-chk=1/3)
penlight-1.12.0-2.log
246 100% 240.23kB/s 0:00:00
246 100% 240.23kB/s 0:00:00 (xfr#2, to-chk=0/3)
sent 365 bytes received 87 bytes 180.80 bytes/sec
total size is 3,022 speedup is 6.69
[1m[32m==>[m[1m Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix29 on remote host...[m
[?25l:: Synchronizing package databases...
core downloading...
extra downloading...
community downloading...
:: Starting full system upgrade...
there is nothing to do
[?25h[1m[32m==>[m[1m Building in chroot for [extra] (riscv64)...[m
[1m[32m==>[m[1m Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix29]...[m[1mdone[m
[1m[32m==>[m[1m Making package: penlight 1.12.0-2 (Sun Jul 10 21:05:16 2022)[m
[1m[32m==>[m[1m Retrieving sources...[m
[1m[34m ->[m[1m Found lua-penlight-1.12.0.tar.gz[m
[1m[32m==>[m[1m Validating source files with sha256sums...[m
lua-penlight-1.12.0.tar.gz ... Passed
[1m[32m==>[m[1m Making package: penlight 1.12.0-2 (Sun Jul 10 21:06:19 2022)[m
[1m[32m==>[m[1m Checking runtime dependencies...[m
[1m[32m==>[m[1m Checking buildtime dependencies...[m
[1m[32m==>[m[1m Installing missing dependencies...[m
[?25lresolving dependencies...
looking for conflicting packages...
Package (48) New Version Net Change Download Size
community/lua-cliargs 3.0-8 0.04 MiB 0.02 MiB
community/lua-dkjson 2.6-1 0.03 MiB
community/lua-luassert 1.8.0-7 0.09 MiB
community/lua-mediator 1.1.2-6 0.01 MiB
community/lua-penlight 1.11.0-1 1.67 MiB
community/lua-say 1.3-7 0.01 MiB
community/lua-system 0.2.1-9 0.01 MiB
community/lua-term 0.7-8 0.02 MiB
community/lua51-cliargs 3.0-8 0.04 MiB 0.02 MiB
community/lua51-dkjson 2.6-1 0.03 MiB 0.01 MiB
community/lua51-luassert 1.8.0-7 0.09 MiB 0.02 MiB
community/lua51-mediator 1.1.2-6 0.01 MiB 0.01 MiB
community/lua51-penlight 1.11.0-1 1.67 MiB
community/lua51-say 1.3-7 0.01 MiB 0.01 MiB
community/lua51-system 0.2.1-9 0.01 MiB 0.01 MiB
community/lua51-term 0.7-8 0.02 MiB 0.01 MiB
community/lua52-cliargs 3.0-8 0.04 MiB 0.02 MiB
community/lua52-dkjson 2.6-1 0.03 MiB 0.01 MiB
community/lua52-luassert 1.8.0-7 0.09 MiB 0.02 MiB
community/lua52-mediator 1.1.2-6 0.01 MiB 0.01 MiB
community/lua52-penlight 1.11.0-1 1.67 MiB
community/lua52-say 1.3-7 0.01 MiB 0.01 MiB
community/lua52-system 0.2.1-9 0.01 MiB 0.01 MiB
community/lua52-term 0.7-8 0.02 MiB 0.01 MiB
community/lua53-cliargs 3.0-8 0.04 MiB 0.02 MiB
community/lua53-dkjson 2.6-1 0.03 MiB 0.01 MiB
community/lua53-luassert 1.8.0-7 0.09 MiB 0.02 MiB
community/lua53-mediator 1.1.2-6 0.01 MiB 0.01 MiB
community/lua53-penlight 1.11.0-1 1.67 MiB
community/lua53-say 1.3-7 0.01 MiB 0.01 MiB
community/lua53-system 0.2.1-9 0.01 MiB 0.01 MiB
community/lua53-term 0.7-8 0.02 MiB 0.01 MiB
extra/unzip 6.0-18 0.26 MiB
extra/zip 3.0-10 0.47 MiB
community/busted 2.0.0-11 0.00 MiB
extra/lua 5.4.4-1 1.06 MiB
community/lua-busted 2.0.0-11 0.12 MiB
community/lua-filesystem 1.8.0-3 0.02 MiB
extra/lua51 5.1.5-9 0.68 MiB
community/lua51-busted 2.0.0-11 0.12 MiB 0.03 MiB
community/lua51-filesystem 1.8.0-3 0.02 MiB
extra/lua52 5.2.4-5 0.75 MiB
community/lua52-busted 2.0.0-11 0.12 MiB 0.03 MiB
community/lua52-filesystem 1.8.0-3 0.02 MiB
extra/lua53 5.3.6-1 0.93 MiB
community/lua53-busted 2.0.0-11 0.12 MiB 0.03 MiB
community/lua53-filesystem 1.8.0-3 0.02 MiB
community/luarocks 3.9.0-1 0.67 MiB
Total Download Size: 0.35 MiB
Total Installed Size: 12.94 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
lua53-busted-2.0.0-11-any downloading...
lua52-busted-2.0.0-11-any downloading...
lua51-busted-2.0.0-11-any downloading...
lua53-luassert-1.8.0-7-any downloading...
lua52-luassert-1.8.0-7-any downloading...
lua51-luassert-1.8.0-7-any downloading...
lua52-cliargs-3.0-8-any downloading...
lua51-cliargs-3.0-8-any downloading...
lua53-cliargs-3.0-8-any downloading...
lua-cliargs-3.0-8-any downloading...
lua53-dkjson-2.6-1-any downloading...
lua52-dkjson-2.6-1-any downloading...
lua51-dkjson-2.6-1-any downloading...
lua53-term-0.7-8-riscv64 downloading...
lua51-term-0.7-8-riscv64 downloading...
lua52-term-0.7-8-riscv64 downloading...
lua51-system-0.2.1-9-riscv64 downloading...
lua52-system-0.2.1-9-riscv64 downloading...
lua53-system-0.2.1-9-riscv64 downloading...
lua53-mediator-1.1.2-6-any downloading...
lua52-mediator-1.1.2-6-any downloading...
lua51-mediator-1.1.2-6-any downloading...
lua53-say-1.3-7-any downloading...
lua51-say-1.3-7-any downloading...
lua52-say-1.3-7-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing lua...
installing unzip...
installing zip...
installing luarocks...
Optional dependencies for luarocks
cvs: for fetching sources from CVS repositories
git: for fetching sources from git repositories
mercurial: for fetching sources from mercurial repositories
cmake: for building rocks that use the cmake build system
lua-sec: HTTPS support
installing lua51...
installing lua52...
installing lua53...
installing lua-cliargs...
Optional dependencies for lua-cliargs
lua-inifile: load config file from INI
lua-yaml: load config file from YAML
installing lua-dkjson...
Optional dependencies for lua-dkjson
lua-lpeg: speeds up decoding
installing lua-filesystem...
installing lua-say...
installing lua-luassert...
installing lua-mediator...
installing lua-penlight...
installing lua-system...
installing lua-term...
installing lua-busted...
installing busted...
installing lua51-cliargs...
Optional dependencies for lua51-cliargs
lua51-inifile: load config file from INI
lua51-yaml: load config file from YAML
installing lua51-dkjson...
Optional dependencies for lua51-dkjson
lua51-lpeg: speeds up decoding
installing lua51-filesystem...
installing lua51-say...
installing lua51-luassert...
installing lua51-mediator...
installing lua51-penlight...
installing lua51-system...
installing lua51-term...
installing lua51-busted...
installing lua52-cliargs...
Optional dependencies for lua52-cliargs
lua52-inifile: load config file from INI
lua52-yaml: load config file from YAML
installing lua52-dkjson...
Optional dependencies for lua52-dkjson
lua52-lpeg: speeds up decoding
installing lua52-filesystem...
installing lua52-say...
installing lua52-luassert...
installing lua52-mediator...
installing lua52-penlight...
installing lua52-system...
installing lua52-term...
installing lua52-busted...
installing lua53-cliargs...
Optional dependencies for lua53-cliargs
lua53-inifile: load config file from INI
lua53-yaml: load config file from YAML
installing lua53-dkjson...
Optional dependencies for lua53-dkjson
lua53-lpeg: speeds up decoding
installing lua53-filesystem...
installing lua53-say...
installing lua53-luassert...
installing lua53-mediator...
installing lua53-penlight...
installing lua53-system...
installing lua53-term...
installing lua53-busted...
:: Running post-transaction hooks...
(1/4) Generating luarocks manifest for Lua 5.1...
Making manifest for /usr/lib/luarocks/rocks-5.1/
(2/4) Generating luarocks manifest for Lua 5.2...
Making manifest for /usr/lib/luarocks/rocks-5.2/
(3/4) Generating luarocks manifest for Lua 5.3...
Making manifest for /usr/lib/luarocks/rocks-5.3/
(4/4) Generating luarocks manifest for Lua 5.4...
Making manifest for /usr/lib/luarocks/rocks-5.4/
[?25h[1m[32m==>[m[1m Retrieving sources...[m
[1m[34m ->[m[1m Found lua-penlight-1.12.0.tar.gz[m
[1m[33m==> WARNING:[m[1m Skipping all source file integrity checks.[m
[1m[32m==>[m[1m Extracting sources...[m
[1m[34m ->[m[1m Extracting lua-penlight-1.12.0.tar.gz with bsdtar[m
[1m[32m==>[m[1m Starting build()...[m
No existing manifest. Attempting to rebuild...
penlight 1.12.0-1 is now installed in /tmp/luarocks_luarocks-build-pack-penlight-5345428 (license: MIT/X11)
Packed: /build/penlight/src/Penlight-1.12.0/penlight-1.12.0-1.all.rock
No existing manifest. Attempting to rebuild...
penlight 1.12.0-1 is now installed in /tmp/luarocks_luarocks-build-pack-penlight-8453033 (license: MIT/X11)
Packed: /build/penlight/src/Penlight-1.12.0/penlight-1.12.0-1.all.rock
No existing manifest. Attempting to rebuild...
penlight 1.12.0-1 is now installed in /tmp/luarocks_luarocks-build-pack-penlight-33994 (license: MIT/X11)
Packed: /build/penlight/src/Penlight-1.12.0/penlight-1.12.0-1.all.rock
No existing manifest. Attempting to rebuild...
penlight 1.12.0-1 is now installed in /tmp/luarocks_luarocks-build-pack-penlight-3797611 (license: MIT/X11)
Packed: /build/penlight/src/Penlight-1.12.0/penlight-1.12.0-1.all.rock
[1m[32m==>[m[1m Starting check()...[m
DONE
template: success
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio
sh: line 1: most-likely-nonexistent-command: command not found
dolly
dolly
([see pl.bonzo.dog](pl.bonzo.html#dog))
remember about [see pl.bonzo](pl.bonzo.html#dog)
SYNC%s*%[([+%-%d]%d*)%]%s*([+%-%d]%d*)%s+([+%-%d]%d*) table: 0x4000046400 table: 0x4000046450
547 0
555 0
563 0
571 0
580 -1
587 0
true
true
hello
yay
{
"one",
"two",
"three",
{
1,
2,
3
},
["&"] = true,
_fred = {
true,
true
},
alpha = 1,
beta = 2,
gamma = 3,
s = [[hello dolly
you're so fine
]],
[0] = false
}
+ 2 * x ^ 1 + 0
- 2 * x
+ 3 * 2
- 6 * x
+ 2 * x ^ 1 + 2 * 3
- 2 * x + 6 * x ^ 2
+ 2 * x ^ 1 + 2 * a
- 4 * x ^ 3 + 6 * a
+ 2 * a
- 6 * a
+ 1 * x + x * 1
- x ^ 2 * 3
---
true
/build/penlight/src/Penlight-1.12.0/examples/testclone.lua /build/penlight/src/Penlight-1.12.0/copy/of/examples/examples/testclone.lua 1657480271 1657480261
{
section_= {
bonzo_dog= {
1= 20(number)
2= 30(number)
},
depth= 2(number)
config_parm= here we go again(string)
},
another= {
felix= "cat"(string)
},
},
-----
{
home= /bonzo/dog/etc(string)
fred= 1(number)
alice= 2(number)
},
-----
{
1= {
1= 1000(number)
2= 444(number)
3= 222(number)
},
2= {
1= 44(number)
2= 555(number)
3= 224(number)
},
},
-----
{
_G = 1,
arg = 1,
rawget = 1,
require = 7
}
average x coord is 19034.966666667
19034.966666667
{
[[
]],
{
attr = {
"name",
"phenomenon",
"units",
"id",
"vmin",
"vmax",
"device",
"calib",
"sampling_interval",
"measurement_interval",
calib = "0,0;5000,5000",
device = "closure-meter",
id = "1",
measurement_interval = "600000",
name = "closure-meter",
phenomenon = "closure",
sampling_interval = "25000",
units = "mm",
vmax = "5000",
vmin = "0"
},
tag = "detector"
},
attr = {
"name",
"id",
"loc",
"device",
"init",
device = "closure-meter",
id = "7D7D0600006F0D00",
init = "true",
loc = "100,100,0",
name = "closure-meter-2"
},
tag = "sensor"
}
/usr/bin/lua5.1
Running files in tests
Running tests/test-__vector.lua
Running tests/test-app.lua
Running tests/test-class.lua
Running tests/test-class2.lua
Running tests/test-class3.lua
Running tests/test-class4.lua
Running tests/test-compat.lua
Running tests/test-comprehension.lua
Running tests/test-config.lua
Running tests/test-data.lua
Running tests/test-data2.lua
Running tests/test-date.lua
Running tests/test-dir.lua
Running tests/test-func.lua
Running tests/test-import_into.lua
Running tests/test-lapp.lua
Running tests/test-lexer.lua
Running tests/test-list.lua
Running tests/test-list2.lua
Running tests/test-map.lua
Running tests/test-orderedmap.lua
Running tests/test-path.lua
Running tests/test-pretty.lua
Running tests/test-seq.lua
Running tests/test-sip.lua
Running tests/test-strict.lua
Running tests/test-stringio.lua
Running tests/test-tablex.lua
Running tests/test-tablex3.lua
Running tests/test-template.lua
Running tests/test-template2.lua
Running tests/test-types.lua
Running tests/test-url.lua
Running tests/test-utils.lua
Running tests/test-utils2.lua
Running tests/test-utils3.lua
Running tests/test-xml.lua
Running files in examples
Running examples/seesubst.lua
Running examples/sipscan.lua
Running examples/symbols.lua
Running examples/test-cmp.lua
Running examples/test-listcallbacks.lua
Running examples/test-pretty.lua
Running examples/test-symbols.lua
Running examples/testclone.lua
Running examples/testconfig.lua
Running examples/testglobal.lua
Running examples/testinputfields.lua
Running examples/testinputfields2.lua
Running examples/testxml.lua
Running examples/which.lua
Run completed successfully
[==========] Running tests from scanned files.
[----------] Global test environment setup.
[----------] Running tests from spec/array2d_spec.lua
[ RUN ] spec/array2d_spec.lua @ 6: pl.array2d new() creates an empty 2d array
[ OK ] spec/array2d_spec.lua @ 6: pl.array2d new() creates an empty 2d array (1.03 ms)
[ RUN ] spec/array2d_spec.lua @ 10: pl.array2d new() creates a value-filled 2d array
[ OK ] spec/array2d_spec.lua @ 10: pl.array2d new() creates a value-filled 2d array (0.61 ms)
[ RUN ] spec/array2d_spec.lua @ 16: pl.array2d new() creates a function-filled 2d array
[ OK ] spec/array2d_spec.lua @ 16: pl.array2d new() creates a function-filled 2d array (0.57 ms)
[ RUN ] spec/array2d_spec.lua @ 24: pl.array2d size() returns array size
[ OK ] spec/array2d_spec.lua @ 24: pl.array2d size() returns array size (0.61 ms)
[ RUN ] spec/array2d_spec.lua @ 29: pl.array2d size() returns 0 columns for nil arrays
[ OK ] spec/array2d_spec.lua @ 29: pl.array2d size() returns 0 columns for nil arrays (0.48 ms)
[ RUN ] spec/array2d_spec.lua @ 36: pl.array2d column() returns a column copy
[ OK ] spec/array2d_spec.lua @ 36: pl.array2d column() returns a column copy (0.76 ms)
[ RUN ] spec/array2d_spec.lua @ 46: pl.array2d row() returns a row copy
[ OK ] spec/array2d_spec.lua @ 46: pl.array2d row() returns a row copy (1.19 ms)
[ RUN ] spec/array2d_spec.lua @ 60: pl.array2d map() maps a function on an array
[ OK ] spec/array2d_spec.lua @ 60: pl.array2d map() maps a function on an array (0.64 ms)
[ RUN ] spec/array2d_spec.lua @ 69: pl.array2d reduce_rows() reduces rows
[ OK ] spec/array2d_spec.lua @ 69: pl.array2d reduce_rows() reduces rows (1.75 ms)
[ RUN ] spec/array2d_spec.lua @ 79: pl.array2d reduce_cols() reduces columns
[ OK ] spec/array2d_spec.lua @ 79: pl.array2d reduce_cols() reduces columns (0.87 ms)
[ RUN ] spec/array2d_spec.lua @ 89: pl.array2d reduce2() recuces array to scalar
[ OK ] spec/array2d_spec.lua @ 89: pl.array2d reduce2() recuces array to scalar (0.64 ms)
[ RUN ] spec/array2d_spec.lua @ 98: pl.array2d map2() maps over 2 arrays
[ OK ] spec/array2d_spec.lua @ 98: pl.array2d map2() maps over 2 arrays (1.51 ms)
[ RUN ] spec/array2d_spec.lua @ 113: pl.array2d product() creates a product array
[ OK ] spec/array2d_spec.lua @ 113: pl.array2d product() creates a product array (1.35 ms)
[ RUN ] spec/array2d_spec.lua @ 123: pl.array2d flatten() flattens a 2darray
[ OK ] spec/array2d_spec.lua @ 123: pl.array2d flatten() flattens a 2darray (0.62 ms)
[ RUN ] spec/array2d_spec.lua @ 130: pl.array2d flatten() keeps a nil-array 'square'
[ OK ] spec/array2d_spec.lua @ 130: pl.array2d flatten() keeps a nil-array 'square' (0.63 ms)
[ RUN ] spec/array2d_spec.lua @ 139: pl.array2d reshape() reshapes array in new nr of rows
[ OK ] spec/array2d_spec.lua @ 139: pl.array2d reshape() reshapes array in new nr of rows (1.27 ms)
[ RUN ] spec/array2d_spec.lua @ 150: pl.array2d reshape() reshapes array in new nr of rows, column order
[ OK ] spec/array2d_spec.lua @ 150: pl.array2d reshape() reshapes array in new nr of rows, column order (0.67 ms)
[ RUN ] spec/array2d_spec.lua @ 162: pl.array2d transpose() transposes a 2d array
[ OK ] spec/array2d_spec.lua @ 162: pl.array2d transpose() transposes a 2d array (1.11 ms)
[ RUN ] spec/array2d_spec.lua @ 183: pl.array2d swap_rows() swaps 2 rows, in-place
[ OK ] spec/array2d_spec.lua @ 183: pl.array2d swap_rows() swaps 2 rows, in-place (0.86 ms)
[ RUN ] spec/array2d_spec.lua @ 196: pl.array2d swap_cols() swaps 2 columns, in-place
[ OK ] spec/array2d_spec.lua @ 196: pl.array2d swap_cols() swaps 2 columns, in-place (1.40 ms)
[ RUN ] spec/array2d_spec.lua @ 209: pl.array2d extract_rows() extracts rows
[ OK ] spec/array2d_spec.lua @ 209: pl.array2d extract_rows() extracts rows (1.63 ms)
[ RUN ] spec/array2d_spec.lua @ 221: pl.array2d extract_cols() extracts colums
[ OK ] spec/array2d_spec.lua @ 221: pl.array2d extract_cols() extracts colums (0.78 ms)
[ RUN ] spec/array2d_spec.lua @ 235: pl.array2d remove_row() removes a row
[ OK ] spec/array2d_spec.lua @ 235: pl.array2d remove_row() removes a row (0.67 ms)
[ RUN ] spec/array2d_spec.lua @ 248: pl.array2d remove_col() removes a colum
[ OK ] spec/array2d_spec.lua @ 248: pl.array2d remove_col() removes a colum (0.63 ms)
[ RUN ] spec/array2d_spec.lua @ 262: pl.array2d parse_range() parses A1:B2 format
[ OK ] spec/array2d_spec.lua @ 262: pl.array2d parse_range() parses A1:B2 format (1.38 ms)
[ RUN ] spec/array2d_spec.lua @ 269: pl.array2d parse_range() parses A1 format
[ OK ] spec/array2d_spec.lua @ 269: pl.array2d parse_range() parses A1 format (0.73 ms)
[ RUN ] spec/array2d_spec.lua @ 275: pl.array2d parse_range() parses R1C1:R2C2 format
[ OK ] spec/array2d_spec.lua @ 275: pl.array2d parse_range() parses R1C1:R2C2 format (0.52 ms)
[ RUN ] spec/array2d_spec.lua @ 279: pl.array2d parse_range() parses R1C1 format
[ OK ] spec/array2d_spec.lua @ 279: pl.array2d parse_range() parses R1C1 format (0.46 ms)
[ RUN ] spec/array2d_spec.lua @ 285: pl.array2d range() returns a range
[ OK ] spec/array2d_spec.lua @ 285: pl.array2d range() returns a range (0.65 ms)
[ RUN ] spec/array2d_spec.lua @ 297: pl.array2d default_range() returns the default range
[ OK ] spec/array2d_spec.lua @ 297: pl.array2d default_range() returns the default range (0.61 ms)
[ RUN ] spec/array2d_spec.lua @ 302: pl.array2d default_range() accepts negative indices
[ OK ] spec/array2d_spec.lua @ 302: pl.array2d default_range() accepts negative indices (0.50 ms)
[ RUN ] spec/array2d_spec.lua @ 307: pl.array2d default_range() corrects out of bounds indices
[ OK ] spec/array2d_spec.lua @ 307: pl.array2d default_range() corrects out of bounds indices (0.51 ms)
[ RUN ] spec/array2d_spec.lua @ 314: pl.array2d slice() returns a slice
[ OK ] spec/array2d_spec.lua @ 314: pl.array2d slice() returns a slice (0.67 ms)
[ RUN ] spec/array2d_spec.lua @ 324: pl.array2d slice() returns a single row if rows are equal
[ OK ] spec/array2d_spec.lua @ 324: pl.array2d slice() returns a single row if rows are equal (0.49 ms)
[ RUN ] spec/array2d_spec.lua @ 333: pl.array2d slice() returns a single column if columns are equal
[ OK ] spec/array2d_spec.lua @ 333: pl.array2d slice() returns a single column if columns are equal (0.47 ms)
[ RUN ] spec/array2d_spec.lua @ 342: pl.array2d slice() returns a single value if rows and columns are equal
[ OK ] spec/array2d_spec.lua @ 342: pl.array2d slice() returns a single value if rows and columns are equal (0.49 ms)
[ RUN ] spec/array2d_spec.lua @ 353: pl.array2d set() sets a range to a value
[ OK ] spec/array2d_spec.lua @ 353: pl.array2d set() sets a range to a value (0.72 ms)
[ RUN ] spec/array2d_spec.lua @ 365: pl.array2d set() sets a range to a function value
[ OK ] spec/array2d_spec.lua @ 365: pl.array2d set() sets a range to a function value (1.04 ms)
[ RUN ] spec/array2d_spec.lua @ 388: pl.array2d write() writes array to a file
[ OK ] spec/array2d_spec.lua @ 388: pl.array2d write() writes array to a file (0.77 ms)
[ RUN ] spec/array2d_spec.lua @ 409: pl.array2d write() writes partial array to a file
[ OK ] spec/array2d_spec.lua @ 409: pl.array2d write() writes partial array to a file (0.53 ms)
[ RUN ] spec/array2d_spec.lua @ 430: pl.array2d forall() runs all value and row functions
[ OK ] spec/array2d_spec.lua @ 430: pl.array2d forall() runs all value and row functions (0.78 ms)
[ RUN ] spec/array2d_spec.lua @ 449: pl.array2d move() moves block to destination aray
[ OK ] spec/array2d_spec.lua @ 449: pl.array2d move() moves block to destination aray (0.78 ms)
[ RUN ] spec/array2d_spec.lua @ 461: pl.array2d iter() iterates all values
[ OK ] spec/array2d_spec.lua @ 461: pl.array2d iter() iterates all values (3.86 ms)
[ RUN ] spec/array2d_spec.lua @ 475: pl.array2d iter() iterates all values and indices
[ OK ] spec/array2d_spec.lua @ 475: pl.array2d iter() iterates all values and indices (1.11 ms)
[ RUN ] spec/array2d_spec.lua @ 493: pl.array2d iter() iterates all values of a 2d array part
[ OK ] spec/array2d_spec.lua @ 493: pl.array2d iter() iterates all values of a 2d array part (2.05 ms)
[ RUN ] spec/array2d_spec.lua @ 507: pl.array2d iter() iterates all values and indices of a 2d array part
[ OK ] spec/array2d_spec.lua @ 507: pl.array2d iter() iterates all values and indices of a 2d array part (0.99 ms)
[ RUN ] spec/array2d_spec.lua @ 527: pl.array2d columns() iterates all columns
[ OK ] spec/array2d_spec.lua @ 527: pl.array2d columns() iterates all columns (0.75 ms)
[ RUN ] spec/array2d_spec.lua @ 542: pl.array2d rows() iterates all columns
[ OK ] spec/array2d_spec.lua @ 542: pl.array2d rows() iterates all columns (0.74 ms)
[----------] 48 tests from spec/array2d_spec.lua (142.61 ms total)
[----------] Running tests from spec/date_spec.lua
[ RUN ] spec/date_spec.lua @ 9: pl.Date function Format() should output parsable inputs
[ OK ] spec/date_spec.lua @ 9: pl.Date function Format() should output parsable inputs (7.19 ms)
[ RUN ] spec/date_spec.lua @ 22: pl.Date function Format() should parse 'slack' fields
[ OK ] spec/date_spec.lua @ 22: pl.Date function Format() should parse 'slack' fields (1.20 ms)
[ RUN ] spec/date_spec.lua @ 38: pl.Date meta method __tostring() should be suitable for serialization
[ OK ] spec/date_spec.lua @ 38: pl.Date meta method __tostring() should be suitable for serialization (1.03 ms)
[----------] 3 tests from spec/date_spec.lua (25.51 ms total)
[----------] Running tests from spec/multimap_spec.lua
[ RUN ] spec/multimap_spec.lua @ 5: pl.MultiMap should hold multiple values per key
[ OK ] spec/multimap_spec.lua @ 5: pl.MultiMap should hold multiple values per key (0.82 ms)
[----------] 1 test from spec/multimap_spec.lua (4.16 ms total)
[----------] Running tests from spec/permute_spec.lua
[ RUN ] spec/permute_spec.lua @ 9: pl.permute order_iter returns all order combinations
[ OK ] spec/permute_spec.lua @ 9: pl.permute order_iter returns all order combinations (1.82 ms)
[ RUN ] spec/permute_spec.lua @ 42: pl.permute order_iter returns nil on empty list
[ OK ] spec/permute_spec.lua @ 42: pl.permute order_iter returns nil on empty list (1.06 ms)
[ RUN ] spec/permute_spec.lua @ 56: pl.permute order_table returns all order combinations
[ OK ] spec/permute_spec.lua @ 56: pl.permute order_table returns all order combinations (4.65 ms)
[ RUN ] spec/permute_spec.lua @ 86: pl.permute order_table returns empty table on empty input list
[ OK ] spec/permute_spec.lua @ 86: pl.permute order_table returns empty table on empty input list (1.42 ms)
[ RUN ] spec/permute_spec.lua @ 97: pl.permute list_iter returns all combinations from sub-lists
[ OK ] spec/permute_spec.lua @ 97: pl.permute list_iter returns all combinations from sub-lists (1.74 ms)
[ RUN ] spec/permute_spec.lua @ 128: pl.permute list_iter is nil-safe, given 'n' is set
[ OK ] spec/permute_spec.lua @ 128: pl.permute list_iter is nil-safe, given 'n' is set (1.05 ms)
[ RUN ] spec/permute_spec.lua @ 149: pl.permute list_iter returns nil on empty list
[ OK ] spec/permute_spec.lua @ 149: pl.permute list_iter returns nil on empty list (0.47 ms)
[ RUN ] spec/permute_spec.lua @ 163: pl.permute list_table returns all combinations from sub-lists
[ OK ] spec/permute_spec.lua @ 163: pl.permute list_table returns all combinations from sub-lists (1.81 ms)
[ RUN ] spec/permute_spec.lua @ 190: pl.permute list_table is nil-safe, given 'n' is set
[ OK ] spec/permute_spec.lua @ 190: pl.permute list_table is nil-safe, given 'n' is set (1.01 ms)
[ RUN ] spec/permute_spec.lua @ 207: pl.permute list_table returns nil on empty list
[ OK ] spec/permute_spec.lua @ 207: pl.permute list_table returns nil on empty list (0.49 ms)
[----------] 10 tests from spec/permute_spec.lua (41.19 ms total)
[----------] Running tests from spec/pretty_spec.lua
[ RUN ] spec/pretty_spec.lua @ 5: pl.pretty.number should format memory
[ OK ] spec/pretty_spec.lua @ 5: pl.pretty.number should format memory (1.37 ms)
[ RUN ] spec/pretty_spec.lua @ 16: pl.pretty.number should format postfixes
[ OK ] spec/pretty_spec.lua @ 16: pl.pretty.number should format postfixes (1.31 ms)
[ RUN ] spec/pretty_spec.lua @ 27: pl.pretty.number should format postfixes
[ OK ] spec/pretty_spec.lua @ 27: pl.pretty.number should format postfixes (1.75 ms)
[----------] 3 tests from spec/pretty_spec.lua (8.81 ms total)
[----------] Running tests from spec/set_spec.lua
[ RUN ] spec/set_spec.lua @ 15: pl.Set should produce a set object
[ OK ] spec/set_spec.lua @ 15: pl.Set should produce a set object (0.62 ms)
[ RUN ] spec/set_spec.lua @ 19: pl.Set should produce identical sets for any ordered input
[ OK ] spec/set_spec.lua @ 19: pl.Set should produce identical sets for any ordered input (0.48 ms)
[ RUN ] spec/set_spec.lua @ 25: pl.Set should have an operator for union
[ OK ] spec/set_spec.lua @ 25: pl.Set should have an operator for union (1.15 ms)
[ RUN ] spec/set_spec.lua @ 30: pl.Set should have an operator for intersection
[ OK ] spec/set_spec.lua @ 30: pl.Set should have an operator for intersection (0.49 ms)
[ RUN ] spec/set_spec.lua @ 34: pl.Set should have an operator for difference
[ OK ] spec/set_spec.lua @ 34: pl.Set should have an operator for difference (0.77 ms)
[ RUN ] spec/set_spec.lua @ 39: pl.Set should have an operator for symmetric difference
[ OK ] spec/set_spec.lua @ 39: pl.Set should have an operator for symmetric difference (0.56 ms)
[ RUN ] spec/set_spec.lua @ 43: pl.Set should have an operator for tostring
[ OK ] spec/set_spec.lua @ 43: pl.Set should have an operator for tostring (0.47 ms)
[ RUN ] spec/set_spec.lua @ 52: pl.Set should provide functions isempty
[ OK ] spec/set_spec.lua @ 52: pl.Set should provide functions isempty (0.51 ms)
[ RUN ] spec/set_spec.lua @ 57: pl.Set should provide functions set
[ OK ] spec/set_spec.lua @ 57: pl.Set should provide functions set (0.73 ms)
[ RUN ] spec/set_spec.lua @ 69: pl.Set should have a comparison operator for supersets/subsets than
[ OK ] spec/set_spec.lua @ 69: pl.Set should have a comparison operator for supersets/subsets than (1.05 ms)
[ RUN ] spec/set_spec.lua @ 77: pl.Set should have a comparison operator for equality
[ OK ] spec/set_spec.lua @ 77: pl.Set should have a comparison operator for equality (0.48 ms)
[----------] 11 tests from spec/set_spec.lua (25.09 ms total)
[----------] Running tests from spec/stringx_spec.lua
[ RUN ] spec/stringx_spec.lua @ 6: stringx isalpha()
[ OK ] spec/stringx_spec.lua @ 6: stringx isalpha() (1.67 ms)
[ RUN ] spec/stringx_spec.lua @ 16: stringx isdigit()
[ OK ] spec/stringx_spec.lua @ 16: stringx isdigit() (1.03 ms)
[ RUN ] spec/stringx_spec.lua @ 24: stringx isalnum()
[ OK ] spec/stringx_spec.lua @ 24: stringx isalnum() (0.91 ms)
[ RUN ] spec/stringx_spec.lua @ 31: stringx isspace()
[ OK ] spec/stringx_spec.lua @ 31: stringx isspace() (0.99 ms)
[ RUN ] spec/stringx_spec.lua @ 39: stringx islower()
[ OK ] spec/stringx_spec.lua @ 39: stringx islower() (1.08 ms)
[ RUN ] spec/stringx_spec.lua @ 47: stringx isupper()
[ OK ] spec/stringx_spec.lua @ 47: stringx isupper() (1.05 ms)
[ RUN ] spec/stringx_spec.lua @ 55: stringx startswith()
[ OK ] spec/stringx_spec.lua @ 55: stringx startswith() (2.88 ms)
[ RUN ] spec/stringx_spec.lua @ 74: stringx endswith()
[ OK ] spec/stringx_spec.lua @ 74: stringx endswith() (4.01 ms)
[ RUN ] spec/stringx_spec.lua @ 99: stringx join()
[ OK ] spec/stringx_spec.lua @ 99: stringx join() (0.47 ms)
[ RUN ] spec/stringx_spec.lua @ 104: stringx splitlines
[ OK ] spec/stringx_spec.lua @ 104: stringx splitlines (2.76 ms)
[ RUN ] spec/stringx_spec.lua @ 117: stringx split()
[ OK ] spec/stringx_spec.lua @ 117: stringx split() (2.82 ms)
[ RUN ] spec/stringx_spec.lua @ 135: stringx expandtabs()
[ OK ] spec/stringx_spec.lua @ 135: stringx expandtabs() (1.85 ms)
[ RUN ] spec/stringx_spec.lua @ 146: stringx lfind()
[ OK ] spec/stringx_spec.lua @ 146: stringx lfind() (2.27 ms)
[ RUN ] spec/stringx_spec.lua @ 160: stringx rfind()
[ OK ] spec/stringx_spec.lua @ 160: stringx rfind() (2.40 ms)
[ RUN ] spec/stringx_spec.lua @ 175: stringx replace()
[ OK ] spec/stringx_spec.lua @ 175: stringx replace() (2.06 ms)
[ RUN ] spec/stringx_spec.lua @ 188: stringx count()
[ OK ] spec/stringx_spec.lua @ 188: stringx count() (2.40 ms)
[ RUN ] spec/stringx_spec.lua @ 199: stringx ljust()
[ OK ] spec/stringx_spec.lua @ 199: stringx ljust() (2.17 ms)
[ RUN ] spec/stringx_spec.lua @ 208: stringx rjust()
[ OK ] spec/stringx_spec.lua @ 208: stringx rjust() (2.86 ms)
[ RUN ] spec/stringx_spec.lua @ 217: stringx center()
[ OK ] spec/stringx_spec.lua @ 217: stringx center() (3.71 ms)
[ RUN ] spec/stringx_spec.lua @ 227: stringx lstrip()
[ OK ] spec/stringx_spec.lua @ 227: stringx lstrip() (3.24 ms)
[ RUN ] spec/stringx_spec.lua @ 243: stringx rstrip()
[ OK ] spec/stringx_spec.lua @ 243: stringx rstrip() (2.33 ms)
[ RUN ] spec/stringx_spec.lua @ 259: stringx strip()
[ OK ] spec/stringx_spec.lua @ 259: stringx strip() (15.55 ms)
[ RUN ] spec/stringx_spec.lua @ 276: stringx splitv()
[ OK ] spec/stringx_spec.lua @ 276: stringx splitv() (0.56 ms)
[ RUN ] spec/stringx_spec.lua @ 282: stringx partition()
[ OK ] spec/stringx_spec.lua @ 282: stringx partition() (2.15 ms)
[ RUN ] spec/stringx_spec.lua @ 295: stringx rpartition()
[ OK ] spec/stringx_spec.lua @ 295: stringx rpartition() (1.48 ms)
[ RUN ] spec/stringx_spec.lua @ 306: stringx at()
[ OK ] spec/stringx_spec.lua @ 306: stringx at() (0.92 ms)
[ RUN ] spec/stringx_spec.lua @ 318: stringx indent() adds an indent
spec/stringx_spec.lua:324: attempt to call field 'indent' (a nil value)
stack traceback:
spec/stringx_spec.lua:324: in function
[ ERROR ] spec/stringx_spec.lua @ 318: stringx indent() adds an indent (1.37 ms)
[ RUN ] spec/stringx_spec.lua @ 333: stringx indent() appends a newline if not present
spec/stringx_spec.lua:334: attempt to call field 'indent' (a nil value)
stack traceback:
spec/stringx_spec.lua:334: in function
[ ERROR ] spec/stringx_spec.lua @ 333: stringx indent() appends a newline if not present (0.98 ms)
[ RUN ] spec/stringx_spec.lua @ 344: stringx dedent() removes prefixed whitespace
spec/stringx_spec.lua:353: attempt to call field 'dedent' (a nil value)
stack traceback:
spec/stringx_spec.lua:353: in function
[ ERROR ] spec/stringx_spec.lua @ 344: stringx dedent() removes prefixed whitespace (1.07 ms)
[ RUN ] spec/stringx_spec.lua @ 356: stringx dedent() removes prefixed whitespace, retains structure
spec/stringx_spec.lua:369: attempt to call field 'dedent' (a nil value)
stack traceback:
spec/stringx_spec.lua:369: in function
[ ERROR ] spec/stringx_spec.lua @ 356: stringx dedent() removes prefixed whitespace, retains structure (0.99 ms)
[ RUN ] spec/stringx_spec.lua @ 372: stringx dedent() appends a newline if not present
spec/stringx_spec.lua:373: attempt to call field 'dedent' (a nil value)
stack traceback:
spec/stringx_spec.lua:373: in function
[ ERROR ] spec/stringx_spec.lua @ 372: stringx dedent() appends a newline if not present (0.98 ms)
[ RUN ] spec/stringx_spec.lua @ 384: stringx fill()/wrap() wraps width over limit
spec/stringx_spec.lua:388: attempt to call field 'wrap' (a nil value)
stack traceback:
spec/stringx_spec.lua:388: in function
[ ERROR ] spec/stringx_spec.lua @ 384: stringx fill()/wrap() wraps width over limit (1.18 ms)
[ RUN ] spec/stringx_spec.lua @ 391: stringx fill()/wrap() wraps width at limit
spec/stringx_spec.lua:395: attempt to call field 'wrap' (a nil value)
stack traceback:
spec/stringx_spec.lua:395: in function
[ ERROR ] spec/stringx_spec.lua @ 391: stringx fill()/wrap() wraps width at limit (0.96 ms)
[ RUN ] spec/stringx_spec.lua @ 402: stringx fill()/wrap() wraps single letters
spec/stringx_spec.lua:403: attempt to call field 'wrap' (a nil value)
stack traceback:
spec/stringx_spec.lua:403: in function
[ ERROR ] spec/stringx_spec.lua @ 402: stringx fill()/wrap() wraps single letters (0.96 ms)
[ RUN ] spec/stringx_spec.lua @ 406: stringx fill()/wrap() wraps empty strings
spec/stringx_spec.lua:407: attempt to call field 'wrap' (a nil value)
stack traceback:
spec/stringx_spec.lua:407: in function
[ ERROR ] spec/stringx_spec.lua @ 406: stringx fill()/wrap() wraps empty strings (0.94 ms)
[ RUN ] spec/stringx_spec.lua @ 411: stringx fill()/wrap() handles leading/trailing whitespace
spec/stringx_spec.lua:412: attempt to call field 'wrap' (a nil value)
stack traceback:
spec/stringx_spec.lua:412: in function
[ ERROR ] spec/stringx_spec.lua @ 411: stringx fill()/wrap() handles leading/trailing whitespace (0.95 ms)
[ RUN ] spec/stringx_spec.lua @ 417: stringx fill()/wrap() handles line-breaks
spec/stringx_spec.lua:418: attempt to call field 'wrap' (a nil value)
stack traceback:
spec/stringx_spec.lua:418: in function
[ ERROR ] spec/stringx_spec.lua @ 417: stringx fill()/wrap() handles line-breaks (0.96 ms)
[ RUN ] spec/stringx_spec.lua @ 422: stringx fill()/wrap() doesn't split on accented characters
spec/stringx_spec.lua:423: attempt to call field 'wrap' (a nil value)
stack traceback:
spec/stringx_spec.lua:423: in function
[ ERROR ] spec/stringx_spec.lua @ 422: stringx fill()/wrap() doesn't split on accented characters (0.97 ms)
[ RUN ] spec/stringx_spec.lua @ 426: stringx fill()/wrap() word-wraps a text
spec/stringx_spec.lua:455: attempt to call field 'fill' (a nil value)
stack traceback:
spec/stringx_spec.lua:455: in function
[ ERROR ] spec/stringx_spec.lua @ 426: stringx fill()/wrap() word-wraps a text (1.25 ms)
[ RUN ] spec/stringx_spec.lua @ 459: stringx fill()/wrap() generic wrap test
spec/stringx_spec.lua:480: attempt to call field 'wrap' (a nil value)
stack traceback:
spec/stringx_spec.lua:480: in function
[ ERROR ] spec/stringx_spec.lua @ 459: stringx fill()/wrap() generic wrap test (1.18 ms)
[ RUN ] spec/stringx_spec.lua @ 483: stringx fill()/wrap() generic wrap test, with overflow breaking
spec/stringx_spec.lua:523: attempt to call field 'wrap' (a nil value)
stack traceback:
spec/stringx_spec.lua:523: in function
[ ERROR ] spec/stringx_spec.lua @ 483: stringx fill()/wrap() generic wrap test, with overflow breaking (1.23 ms)
[ RUN ] spec/stringx_spec.lua @ 535: stringx Template substitute() replaces placeholders
spec/stringx_spec.lua:540: attempt to call upvalue 'Template' (a nil value)
stack traceback:
spec/stringx_spec.lua:540: in function
[ ERROR ] spec/stringx_spec.lua @ 535: stringx Template substitute() replaces placeholders (1.29 ms)
[ RUN ] spec/stringx_spec.lua @ 550: stringx Template substitute() replaces multiple placeholders
spec/stringx_spec.lua:551: attempt to call upvalue 'Template' (a nil value)
stack traceback:
spec/stringx_spec.lua:551: in function
[ ERROR ] spec/stringx_spec.lua @ 550: stringx Template substitute() replaces multiple placeholders (1.19 ms)
[ RUN ] spec/stringx_spec.lua @ 557: stringx Template indent_substitute() indents replaced multi-lines
spec/stringx_spec.lua:562: attempt to call upvalue 'Template' (a nil value)
stack traceback:
spec/stringx_spec.lua:562: in function
[ ERROR ] spec/stringx_spec.lua @ 557: stringx Template indent_substitute() indents replaced multi-lines (1.13 ms)
[ RUN ] spec/stringx_spec.lua @ 582: stringx lines()
[ OK ] spec/stringx_spec.lua @ 582: stringx lines() (1.28 ms)
[ RUN ] spec/stringx_spec.lua @ 595: stringx title()
[ OK ] spec/stringx_spec.lua @ 595: stringx title() (0.95 ms)
[ RUN ] spec/stringx_spec.lua @ 602: stringx capitalize()
[ OK ] spec/stringx_spec.lua @ 602: stringx capitalize() (0.44 ms)
[ RUN ] spec/stringx_spec.lua @ 608: stringx shorten()
[ OK ] spec/stringx_spec.lua @ 608: stringx shorten() (3.73 ms)
[ RUN ] spec/stringx_spec.lua @ 630: stringx quote_string()
[ OK ] spec/stringx_spec.lua @ 630: stringx quote_string() (3.51 ms)
spec/stringx_spec.lua:700: attempt to call field 'format_operator' (a nil value)
stack traceback:
spec/stringx_spec.lua:700: in function
[----------] 49 tests from spec/stringx_spec.lua (170.93 ms total)
[----------] Running tests from spec/text_spec.lua
[ RUN ] spec/text_spec.lua @ 3: pl.text forwarded to stringx
[ OK ] spec/text_spec.lua @ 3: pl.text forwarded to stringx (0.99 ms)
[----------] 1 test from spec/text_spec.lua (3.26 ms total)
[----------] Running tests from spec/utils-deprecate_spec.lua
[ RUN ] spec/utils-deprecate_spec.lua @ 26: pl.utils set_deprecation_func accepts nil as callback
[ OK ] spec/utils-deprecate_spec.lua @ 26: pl.utils set_deprecation_func accepts nil as callback (1.10 ms)
[ RUN ] spec/utils-deprecate_spec.lua @ 33: pl.utils set_deprecation_func accepts function as callback
[ OK ] spec/utils-deprecate_spec.lua @ 33: pl.utils set_deprecation_func accepts function as callback (1.03 ms)
[ RUN ] spec/utils-deprecate_spec.lua @ 40: pl.utils set_deprecation_func fails on non-functions
[ OK ] spec/utils-deprecate_spec.lua @ 40: pl.utils set_deprecation_func fails on non-functions (1.46 ms)
[ RUN ] spec/utils-deprecate_spec.lua @ 52: pl.utils raise_deprecation requires the opts table
[ OK ] spec/utils-deprecate_spec.lua @ 52: pl.utils raise_deprecation requires the opts table (0.74 ms)
[ RUN ] spec/utils-deprecate_spec.lua @ 58: pl.utils raise_deprecation requires the opts.message field
[ OK ] spec/utils-deprecate_spec.lua @ 58: pl.utils raise_deprecation requires the opts.message field (0.55 ms)
[ RUN ] spec/utils-deprecate_spec.lua @ 64: pl.utils raise_deprecation should output the message
[ OK ] spec/utils-deprecate_spec.lua @ 64: pl.utils raise_deprecation should output the message (1.01 ms)
[ RUN ] spec/utils-deprecate_spec.lua @ 72: pl.utils raise_deprecation should output the deprecated version
[ OK ] spec/utils-deprecate_spec.lua @ 72: pl.utils raise_deprecation should output the deprecated version (1.03 ms)
[ RUN ] spec/utils-deprecate_spec.lua @ 81: pl.utils raise_deprecation should output the removal version
[ OK ] spec/utils-deprecate_spec.lua @ 81: pl.utils raise_deprecation should output the removal version (1.04 ms)
[ RUN ] spec/utils-deprecate_spec.lua @ 90: pl.utils raise_deprecation should output the deprecated and removal versions
[ OK ] spec/utils-deprecate_spec.lua @ 90: pl.utils raise_deprecation should output the deprecated and removal versions (1.01 ms)
[ RUN ] spec/utils-deprecate_spec.lua @ 100: pl.utils raise_deprecation should output the application/module name
[ OK ] spec/utils-deprecate_spec.lua @ 100: pl.utils raise_deprecation should output the application/module name (0.99 ms)
[ RUN ] spec/utils-deprecate_spec.lua @ 111: pl.utils raise_deprecation should add a stracktrace
[ OK ] spec/utils-deprecate_spec.lua @ 111: pl.utils raise_deprecation should add a stracktrace (1.72 ms)
[----------] 11 tests from spec/utils-deprecate_spec.lua (41.85 ms total)
[----------] Running tests from spec/utils-enum_spec.lua
spec/utils-enum_spec.lua:8: attempt to call upvalue 'enum' (a nil value)
stack traceback:
spec/utils-enum_spec.lua:8: in function
spec/utils-enum_spec.lua:8: attempt to call upvalue 'enum' (a nil value)
stack traceback:
spec/utils-enum_spec.lua:8: in function
spec/utils-enum_spec.lua:8: attempt to call upvalue 'enum' (a nil value)
stack traceback:
spec/utils-enum_spec.lua:8: in function
spec/utils-enum_spec.lua:8: attempt to call upvalue 'enum' (a nil value)
stack traceback:
spec/utils-enum_spec.lua:8: in function
spec/utils-enum_spec.lua:8: attempt to call upvalue 'enum' (a nil value)
stack traceback:
spec/utils-enum_spec.lua:8: in function
spec/utils-enum_spec.lua:8: attempt to call upvalue 'enum' (a nil value)
stack traceback:
spec/utils-enum_spec.lua:8: in function
spec/utils-enum_spec.lua:8: attempt to call upvalue 'enum' (a nil value)
stack traceback:
spec/utils-enum_spec.lua:8: in function
spec/utils-enum_spec.lua:8: attempt to call upvalue 'enum' (a nil value)
stack traceback:
spec/utils-enum_spec.lua:8: in function
[----------] 0 tests from spec/utils-enum_spec.lua (18.47 ms total)
[----------] Running tests from spec/utils-npairs_spec.lua
[ RUN ] spec/utils-npairs_spec.lua @ 8: pl.utils npairs start index defaults to 1
spec/utils-npairs_spec.lua:11: attempt to call upvalue 'npairs' (a nil value)
stack traceback:
spec/utils-npairs_spec.lua:11: in function
[ ERROR ] spec/utils-npairs_spec.lua @ 8: pl.utils npairs start index defaults to 1 (1.17 ms)
[ RUN ] spec/utils-npairs_spec.lua @ 16: pl.utils npairs end index defaults to `t.n`
spec/utils-npairs_spec.lua:19: attempt to call upvalue 'npairs' (a nil value)
stack traceback:
spec/utils-npairs_spec.lua:19: in function
[ ERROR ] spec/utils-npairs_spec.lua @ 16: pl.utils npairs end index defaults to `t.n` (0.94 ms)
[ RUN ] spec/utils-npairs_spec.lua @ 24: pl.utils npairs step size defaults to 1
spec/utils-npairs_spec.lua:27: attempt to call upvalue 'npairs' (a nil value)
stack traceback:
spec/utils-npairs_spec.lua:27: in function
[ ERROR ] spec/utils-npairs_spec.lua @ 24: pl.utils npairs step size defaults to 1 (0.92 ms)
[ RUN ] spec/utils-npairs_spec.lua @ 32: pl.utils npairs step size cannot be 0
spec/utils-npairs_spec.lua:34: Expected a different error.
Caught:
(string) 'attempt to call upvalue 'npairs' (a nil value)'
Expected:
(string) 'iterator step-size cannot be 0'
stack traceback:
spec/utils-npairs_spec.lua:34: in function
[ FAILED ] spec/utils-npairs_spec.lua @ 32: pl.utils npairs step size cannot be 0 (1.54 ms)
[ RUN ] spec/utils-npairs_spec.lua @ 40: pl.utils npairs end index defaults to `#t` if there is no `t.n`
spec/utils-npairs_spec.lua:43: attempt to call upvalue 'npairs' (a nil value)
stack traceback:
spec/utils-npairs_spec.lua:43: in function
[ ERROR ] spec/utils-npairs_spec.lua @ 40: pl.utils npairs end index defaults to `#t` if there is no `t.n` (0.94 ms)
[ RUN ] spec/utils-npairs_spec.lua @ 48: pl.utils npairs returns nothing if start index is beyond end index
spec/utils-npairs_spec.lua:51: attempt to call upvalue 'npairs' (a nil value)
stack traceback:
spec/utils-npairs_spec.lua:51: in function
[ ERROR ] spec/utils-npairs_spec.lua @ 48: pl.utils npairs returns nothing if start index is beyond end index (0.92 ms)
[ RUN ] spec/utils-npairs_spec.lua @ 56: pl.utils npairs returns nothing if start index is beyond end index, with negative step size
spec/utils-npairs_spec.lua:59: attempt to call upvalue 'npairs' (a nil value)
stack traceback:
spec/utils-npairs_spec.lua:59: in function
[ ERROR ] spec/utils-npairs_spec.lua @ 56: pl.utils npairs returns nothing if start index is beyond end index, with negative step size (0.93 ms)
[ RUN ] spec/utils-npairs_spec.lua @ 64: pl.utils npairs returns 1 key/value if end == start index
spec/utils-npairs_spec.lua:67: attempt to call upvalue 'npairs' (a nil value)
stack traceback:
spec/utils-npairs_spec.lua:67: in function
[ ERROR ] spec/utils-npairs_spec.lua @ 64: pl.utils npairs returns 1 key/value if end == start index (0.95 ms)
[ RUN ] spec/utils-npairs_spec.lua @ 72: pl.utils npairs returns negative to positive ranges
spec/utils-npairs_spec.lua:75: attempt to call upvalue 'npairs' (a nil value)
stack traceback:
spec/utils-npairs_spec.lua:75: in function
[ ERROR ] spec/utils-npairs_spec.lua @ 72: pl.utils npairs returns negative to positive ranges (0.95 ms)
[ RUN ] spec/utils-npairs_spec.lua @ 80: pl.utils npairs returns nil values with the range
spec/utils-npairs_spec.lua:83: attempt to call upvalue 'npairs' (a nil value)
stack traceback:
spec/utils-npairs_spec.lua:83: in function
[ ERROR ] spec/utils-npairs_spec.lua @ 80: pl.utils npairs returns nil values with the range (0.92 ms)
[ RUN ] spec/utils-npairs_spec.lua @ 88: pl.utils npairs honours positive step size
spec/utils-npairs_spec.lua:91: attempt to call upvalue 'npairs' (a nil value)
stack traceback:
spec/utils-npairs_spec.lua:91: in function
[ ERROR ] spec/utils-npairs_spec.lua @ 88: pl.utils npairs honours positive step size (0.98 ms)
[ RUN ] spec/utils-npairs_spec.lua @ 96: pl.utils npairs honours negative step size
spec/utils-npairs_spec.lua:99: attempt to call upvalue 'npairs' (a nil value)
stack traceback:
spec/utils-npairs_spec.lua:99: in function
[ ERROR ] spec/utils-npairs_spec.lua @ 96: pl.utils npairs honours negative step size (0.98 ms)
[----------] 12 tests from spec/utils-npairs_spec.lua (26.74 ms total)
[----------] Running tests from spec/xml_spec.lua
[ RUN ] spec/xml_spec.lua @ 7: xml new() creates a new xml-document
[ OK ] spec/xml_spec.lua @ 7: xml new() creates a new xml-document (0.76 ms)
[ RUN ] spec/xml_spec.lua @ 13: xml new() fails without a tag
[ OK ] spec/xml_spec.lua @ 13: xml new() fails without a tag (0.63 ms)
[ RUN ] spec/xml_spec.lua @ 20: xml new() fails with bad attributes
[ OK ] spec/xml_spec.lua @ 20: xml new() fails with bad attributes (0.57 ms)
[ RUN ] spec/xml_spec.lua @ 27: xml new() adds attributes if given
[ OK ] spec/xml_spec.lua @ 27: xml new() adds attributes if given (0.51 ms)
[ RUN ] spec/xml_spec.lua @ 38: xml parse() todo
[ SKIPPED ] spec/xml_spec.lua @ 38: xml parse() todo (0.21 ms)
[ RUN ] spec/xml_spec.lua @ 48: xml elem() creates a node
[ OK ] spec/xml_spec.lua @ 48: xml elem() creates a node (0.75 ms)
[ RUN ] spec/xml_spec.lua @ 54: xml elem() creates a node, with single text element
[ OK ] spec/xml_spec.lua @ 54: xml elem() creates a node, with single text element (0.57 ms)
[ RUN ] spec/xml_spec.lua @ 60: xml elem() creates a node, with single child tag/Node
[ OK ] spec/xml_spec.lua @ 60: xml elem() creates a node, with single child tag/Node (0.53 ms)
[ RUN ] spec/xml_spec.lua @ 66: xml elem() creates a node, with multiple text elements
[ OK ] spec/xml_spec.lua @ 66: xml elem() creates a node, with multiple text elements (0.62 ms)
[ RUN ] spec/xml_spec.lua @ 72: xml elem() creates a node, with multiple child tags/Nodes
[ OK ] spec/xml_spec.lua @ 72: xml elem() creates a node, with multiple child tags/Nodes (0.60 ms)
[ RUN ] spec/xml_spec.lua @ 78: xml elem() creates a node, with attributes
[ OK ] spec/xml_spec.lua @ 78: xml elem() creates a node, with attributes (0.53 ms)
[ RUN ] spec/xml_spec.lua @ 84: xml elem() creates a node, with text/Node children and attributes
[ OK ] spec/xml_spec.lua @ 84: xml elem() creates a node, with text/Node children and attributes (0.72 ms)
[ RUN ] spec/xml_spec.lua @ 95: xml elem() creates a node, with text/Node nested children and attributes
[ OK ] spec/xml_spec.lua @ 95: xml elem() creates a node, with text/Node nested children and attributes (0.68 ms)
[ RUN ] spec/xml_spec.lua @ 115: xml tags() creates constructors
[ OK ] spec/xml_spec.lua @ 115: xml tags() creates constructors (0.79 ms)
[ RUN ] spec/xml_spec.lua @ 122: xml tags() creates constructors from CSV values
[ OK ] spec/xml_spec.lua @ 122: xml tags() creates constructors from CSV values (0.70 ms)
[ RUN ] spec/xml_spec.lua @ 129: xml tags() creates constructors from CSV values, ignores surrounding whitespace
[ OK ] spec/xml_spec.lua @ 129: xml tags() creates constructors from CSV values, ignores surrounding whitespace (0.70 ms)
[ RUN ] spec/xml_spec.lua @ 141: xml addtag() adds a Node
[ OK ] spec/xml_spec.lua @ 141: xml addtag() adds a Node (0.84 ms)
[ RUN ] spec/xml_spec.lua @ 157: xml text() adds text
[ OK ] spec/xml_spec.lua @ 157: xml text() adds text (0.83 ms)
[ RUN ] spec/xml_spec.lua @ 173: xml up() moves position up 1 level
[ OK ] spec/xml_spec.lua @ 173: xml up() moves position up 1 level (0.97 ms)
[ RUN ] spec/xml_spec.lua @ 195: xml reset() resets position to top Node
[ OK ] spec/xml_spec.lua @ 195: xml reset() resets position to top Node (0.69 ms)
[ RUN ] spec/xml_spec.lua @ 211: xml add_direct_child adds a child node
[ OK ] spec/xml_spec.lua @ 211: xml add_direct_child adds a child node (0.88 ms)
[ RUN ] spec/xml_spec.lua @ 221: xml add_direct_child adds a text node
[ OK ] spec/xml_spec.lua @ 221: xml add_direct_child adds a text node (0.77 ms)
[ RUN ] spec/xml_spec.lua @ 236: xml add_child() adds a child at the current position
[ OK ] spec/xml_spec.lua @ 236: xml add_child() adds a child at the current position (0.69 ms)
[ RUN ] spec/xml_spec.lua @ 251: xml set_attribs() sets attributes on the Node
[ OK ] spec/xml_spec.lua @ 251: xml set_attribs() sets attributes on the Node (4.42 ms)
[ RUN ] spec/xml_spec.lua @ 276: xml set_attrib() sets/deletes a single attribute on the Node
[ OK ] spec/xml_spec.lua @ 276: xml set_attrib() sets/deletes a single attribute on the Node (1.92 ms)
[ RUN ] spec/xml_spec.lua @ 295: xml get_attribs() gets attributes on the Node
[ OK ] spec/xml_spec.lua @ 295: xml get_attribs() gets attributes on the Node (0.96 ms)
[ RUN ] spec/xml_spec.lua @ 309: xml subst() todo
[ SKIPPED ] spec/xml_spec.lua @ 309: xml subst() todo (0.28 ms)
[ RUN ] spec/xml_spec.lua @ 319: xml child_with_name() returns the first child
[ OK ] spec/xml_spec.lua @ 319: xml child_with_name() returns the first child (0.73 ms)
[ RUN ] spec/xml_spec.lua @ 338: xml tostring() todo still...
[ SKIPPED ] spec/xml_spec.lua @ 338: xml tostring() todo still... (0.19 ms)
[ RUN ] spec/xml_spec.lua @ 348: xml get_elements_with_name() returns matching nodes
[ OK ] spec/xml_spec.lua @ 348: xml get_elements_with_name() returns matching nodes (2.46 ms)
[ RUN ] spec/xml_spec.lua @ 393: xml children() iterates over all children
[ OK ] spec/xml_spec.lua @ 393: xml children() iterates over all children (0.69 ms)
[ RUN ] spec/xml_spec.lua @ 409: xml children() doesn't fail on empty node
[ OK ] spec/xml_spec.lua @ 409: xml children() doesn't fail on empty node (0.48 ms)
[ RUN ] spec/xml_spec.lua @ 424: xml first_childtag() returns first non-text tag
[ OK ] spec/xml_spec.lua @ 424: xml first_childtag() returns first non-text tag (0.61 ms)
[ RUN ] spec/xml_spec.lua @ 437: xml first_childtag() returns nil if there is none
[ OK ] spec/xml_spec.lua @ 437: xml first_childtag() returns nil if there is none (0.46 ms)
[ RUN ] spec/xml_spec.lua @ 474: xml matching_tags() xmlns is weird...
[ SKIPPED ] spec/xml_spec.lua @ 474: xml matching_tags() xmlns is weird... (0.18 ms)
[ RUN ] spec/xml_spec.lua @ 484: xml childtags() returns the first child
[ OK ] spec/xml_spec.lua @ 484: xml childtags() returns the first child (0.74 ms)
[ RUN ] spec/xml_spec.lua @ 505: xml maptags() updates nodes
[ OK ] spec/xml_spec.lua @ 505: xml maptags() updates nodes (0.74 ms)
[ RUN ] spec/xml_spec.lua @ 524: xml maptags() removes nodes
[ OK ] spec/xml_spec.lua @ 524: xml maptags() removes nodes (0.58 ms)
[ RUN ] spec/xml_spec.lua @ 547: xml xml_escape() escapes reserved characters
[ OK ] spec/xml_spec.lua @ 547: xml xml_escape() escapes reserved characters (0.54 ms)
[ RUN ] spec/xml_spec.lua @ 558: xml xml_unescape() escapes reserved characters
[ OK ] spec/xml_spec.lua @ 558: xml xml_unescape() escapes reserved characters (0.48 ms)
[ RUN ] spec/xml_spec.lua @ 569: xml get_text() returns all text concatenated
[ OK ] spec/xml_spec.lua @ 569: xml get_text() returns all text concatenated (0.55 ms)
[ RUN ] spec/xml_spec.lua @ 578: xml get_text() returns empty string if no text
[ OK ] spec/xml_spec.lua @ 578: xml get_text() returns empty string if no text (0.46 ms)
[ RUN ] spec/xml_spec.lua @ 591: xml clone() clones a document
[ OK ] spec/xml_spec.lua @ 591: xml clone() clones a document (2.74 ms)
[ RUN ] spec/xml_spec.lua @ 614: xml clone() calls substitution callback and updates
[ OK ] spec/xml_spec.lua @ 614: xml clone() calls substitution callback and updates (0.83 ms)
[ RUN ] spec/xml_spec.lua @ 658: xml clone() clones text nodes
[ OK ] spec/xml_spec.lua @ 658: xml clone() clones text nodes (0.41 ms)
[ RUN ] spec/xml_spec.lua @ 663: xml clone() errors on recursion
[ OK ] spec/xml_spec.lua @ 663: xml clone() errors on recursion (0.70 ms)
[ RUN ] spec/xml_spec.lua @ 686: xml compare() returns true on equal docs
[ OK ] spec/xml_spec.lua @ 686: xml compare() returns true on equal docs (1.02 ms)
[ RUN ] spec/xml_spec.lua @ 713: xml compare() compares types
[ OK ] spec/xml_spec.lua @ 713: xml compare() compares types (1.79 ms)
[ RUN ] spec/xml_spec.lua @ 736: xml compare() compares element size (array part)
[ OK ] spec/xml_spec.lua @ 736: xml compare() compares element size (array part) (0.82 ms)
[ RUN ] spec/xml_spec.lua @ 764: xml compare() compares children
[ OK ] spec/xml_spec.lua @ 764: xml compare() compares children (0.87 ms)
[ RUN ] spec/xml_spec.lua @ 791: xml compare() compares attributes
[ OK ] spec/xml_spec.lua @ 791: xml compare() compares attributes (1.20 ms)
[ RUN ] spec/xml_spec.lua @ 821: xml compare() compares attributes order
[ OK ] spec/xml_spec.lua @ 821: xml compare() compares attributes order (0.89 ms)
[ RUN ] spec/xml_spec.lua @ 848: xml compare() handles recursion
[ OK ] spec/xml_spec.lua @ 848: xml compare() handles recursion (0.90 ms)
[ RUN ] spec/xml_spec.lua @ 883: xml walk() calls on all tags
[ OK ] spec/xml_spec.lua @ 883: xml walk() calls on all tags (1.37 ms)
[ RUN ] spec/xml_spec.lua @ 910: xml walk() errors on recursion
[ OK ] spec/xml_spec.lua @ 910: xml walk() errors on recursion (0.76 ms)
[ RUN ] spec/xml_spec.lua @ 933: xml parsehtml() to be deprecated...
[ SKIPPED ] spec/xml_spec.lua @ 933: xml parsehtml() to be deprecated... (0.17 ms)
[ RUN ] spec/xml_spec.lua @ 943: xml basic_parse() to be deprecated...
[ SKIPPED ] spec/xml_spec.lua @ 943: xml basic_parse() to be deprecated... (0.19 ms)
[ RUN ] spec/xml_spec.lua @ 953: xml match() figure out what it does...
[ SKIPPED ] spec/xml_spec.lua @ 953: xml match() figure out what it does... (0.16 ms)
[----------] 58 tests from spec/xml_spec.lua (166.64 ms total)
[----------] Global test environment teardown.
[==========] 207 tests from 12 test files ran. (685.77 ms total)
[ PASSED ] 170 tests.
[ SKIPPED ] 7 tests, listed below:
[ SKIPPED ] spec/xml_spec.lua @ 38: xml parse() todo
[ SKIPPED ] spec/xml_spec.lua @ 309: xml subst() todo
[ SKIPPED ] spec/xml_spec.lua @ 338: xml tostring() todo still...
[ SKIPPED ] spec/xml_spec.lua @ 474: xml matching_tags() xmlns is weird...
[ SKIPPED ] spec/xml_spec.lua @ 933: xml parsehtml() to be deprecated...
[ SKIPPED ] spec/xml_spec.lua @ 943: xml basic_parse() to be deprecated...
[ SKIPPED ] spec/xml_spec.lua @ 953: xml match() figure out what it does...
[ FAILED ] 1 test, listed below:
[ FAILED ] spec/utils-npairs_spec.lua @ 32: pl.utils npairs step size cannot be 0
[ ERROR ] 38 errors, listed below:
[ ERROR ] spec/stringx_spec.lua @ 318: stringx indent() adds an indent
[ ERROR ] spec/stringx_spec.lua @ 333: stringx indent() appends a newline if not present
[ ERROR ] spec/stringx_spec.lua @ 344: stringx dedent() removes prefixed whitespace
[ ERROR ] spec/stringx_spec.lua @ 356: stringx dedent() removes prefixed whitespace, retains structure
[ ERROR ] spec/stringx_spec.lua @ 372: stringx dedent() appends a newline if not present
[ ERROR ] spec/stringx_spec.lua @ 384: stringx fill()/wrap() wraps width over limit
[ ERROR ] spec/stringx_spec.lua @ 391: stringx fill()/wrap() wraps width at limit
[ ERROR ] spec/stringx_spec.lua @ 402: stringx fill()/wrap() wraps single letters
[ ERROR ] spec/stringx_spec.lua @ 406: stringx fill()/wrap() wraps empty strings
[ ERROR ] spec/stringx_spec.lua @ 411: stringx fill()/wrap() handles leading/trailing whitespace
[ ERROR ] spec/stringx_spec.lua @ 417: stringx fill()/wrap() handles line-breaks
[ ERROR ] spec/stringx_spec.lua @ 422: stringx fill()/wrap() doesn't split on accented characters
[ ERROR ] spec/stringx_spec.lua @ 426: stringx fill()/wrap() word-wraps a text
[ ERROR ] spec/stringx_spec.lua @ 459: stringx fill()/wrap() generic wrap test
[ ERROR ] spec/stringx_spec.lua @ 483: stringx fill()/wrap() generic wrap test, with overflow breaking
[ ERROR ] spec/stringx_spec.lua @ 535: stringx Template substitute() replaces placeholders
[ ERROR ] spec/stringx_spec.lua @ 550: stringx Template substitute() replaces multiple placeholders
[ ERROR ] spec/stringx_spec.lua @ 557: stringx Template indent_substitute() indents replaced multi-lines
[ ERROR ] spec/stringx_spec.lua @ 699: stringx format_operator() setup
[ ERROR ] spec/utils-enum_spec.lua @ 6: pl.utils enum() before_each
[ ERROR ] spec/utils-enum_spec.lua @ 6: pl.utils enum() before_each
[ ERROR ] spec/utils-enum_spec.lua @ 6: pl.utils enum() before_each
[ ERROR ] spec/utils-enum_spec.lua @ 6: pl.utils enum() before_each
[ ERROR ] spec/utils-enum_spec.lua @ 6: pl.utils enum() before_each
[ ERROR ] spec/utils-enum_spec.lua @ 6: pl.utils enum() before_each
[ ERROR ] spec/utils-enum_spec.lua @ 6: pl.utils enum() before_each
[ ERROR ] spec/utils-enum_spec.lua @ 6: pl.utils enum() before_each
[ ERROR ] spec/utils-npairs_spec.lua @ 8: pl.utils npairs start index defaults to 1
[ ERROR ] spec/utils-npairs_spec.lua @ 16: pl.utils npairs end index defaults to `t.n`
[ ERROR ] spec/utils-npairs_spec.lua @ 24: pl.utils npairs step size defaults to 1
[ ERROR ] spec/utils-npairs_spec.lua @ 40: pl.utils npairs end index defaults to `#t` if there is no `t.n`
[ ERROR ] spec/utils-npairs_spec.lua @ 48: pl.utils npairs returns nothing if start index is beyond end index
[ ERROR ] spec/utils-npairs_spec.lua @ 56: pl.utils npairs returns nothing if start index is beyond end index, with negative step size
[ ERROR ] spec/utils-npairs_spec.lua @ 64: pl.utils npairs returns 1 key/value if end == start index
[ ERROR ] spec/utils-npairs_spec.lua @ 72: pl.utils npairs returns negative to positive ranges
[ ERROR ] spec/utils-npairs_spec.lua @ 80: pl.utils npairs returns nil values with the range
[ ERROR ] spec/utils-npairs_spec.lua @ 88: pl.utils npairs honours positive step size
[ ERROR ] spec/utils-npairs_spec.lua @ 96: pl.utils npairs honours negative step size
7 SKIPPED TESTS
1 FAILED TEST
38 ERRORS
[1m[31m==> ERROR:[m[1m A failure occurred in check().[m
[1m Aborting...[m
[1m[31m==> ERROR:[m[1m Build failed, check /var/lib/archbuild/extra-riscv64/felix29/build[m
receiving incremental file list
penlight-1.12.0-2-riscv64-build.log
penlight-1.12.0-2-riscv64-check.log
sent 62 bytes received 7,761 bytes 3,129.20 bytes/sec
total size is 53,867 speedup is 6.89