"No locks available" calling mdbx_env_open

[Suite] Basic
[OK] CollectionFlags
[Suite] Database
**** Raising No locks available
/mnt/c/nimdbx/tests/test.nim(27) test
/mnt/c/nimdbx/src/nimdbx/Database.nim(121) openDatabase
/mnt/c/nimdbx/src/nimdbx/private/utils.nim(26) check
/mnt/c/nimdbx/src/nimdbx/private/utils.nim(19) throw
Unhandled exception: No locks available [MDBXError]

[FAILED] create DB
**** Raising Invalid argument
/mnt/c/nimdbx/tests/test.nim(26) test
/mnt/c/nimdbx/src/nimdbx/Database.nim(59) eraseDatabase
/mnt/c/nimdbx/src/nimdbx/Database.nim(52) deleteDatabase
/mnt/c/nimdbx/src/nimdbx/private/utils.nim(26) check
/mnt/c/nimdbx/src/nimdbx/private/utils.nim(19) throw
Unhandled exception: Invalid argument [MDBXError]

[FAILED] Sequences
**** Raising Invalid argument
/mnt/c/nimdbx/tests/test.nim(26) test
/mnt/c/nimdbx/src/nimdbx/Database.nim(59) eraseDatabase
/mnt/c/nimdbx/src/nimdbx/Database.nim(52) deleteDatabase
/mnt/c/nimdbx/src/nimdbx/private/utils.nim(26) check
/mnt/c/nimdbx/src/nimdbx/private/utils.nim(19) throw
Unhandled exception: Invalid argument [MDBXError]

[FAILED] Put and get record
**** Raising Invalid argument
/mnt/c/nimdbx/tests/test.nim(26) test
/mnt/c/nimdbx/src/nimdbx/Database.nim(59) eraseDatabase
/mnt/c/nimdbx/src/nimdbx/Database.nim(52) deleteDatabase
/mnt/c/nimdbx/src/nimdbx/private/utils.nim(26) check
/mnt/c/nimdbx/src/nimdbx/private/utils.nim(19) throw
Unhandled exception: Invalid argument [MDBXError]

[FAILED] Cursors
**** Raising Invalid argument
/mnt/c/nimdbx/tests/test.nim(26) test
/mnt/c/nimdbx/src/nimdbx/Database.nim(59) eraseDatabase
/mnt/c/nimdbx/src/nimdbx/Database.nim(52) deleteDatabase
/mnt/c/nimdbx/src/nimdbx/private/utils.nim(26) check
/mnt/c/nimdbx/src/nimdbx/private/utils.nim(19) throw
Unhandled exception: Invalid argument [MDBXError]

[FAILED] Int Keys
Error: execution of an external program failed: '/mnt/c/nimdbx/tests/bin/test '
you might want to change git submodule from ssh protocol to https as in .git/config [submodule] section and write dynlib as
when defined(windows):
  const libmdbx = "libmdbx.dll"
elif defined(macosx):
  const libmdbx = "libmdbx.dylib"
else:
  const libmdbx = "libmdbx.so"

after make and make install into /usr/local/lib

**** Raising No locks available

That's an error from the C function mdbx_env_delete ... I don't know what kind of lock it's talking about. What OS are you running on? Could you try running the libmdbx test suite (see its readme for details)?

after make and make install into /usr/local/lib

I don't want to copy libmdbx into system directories. It should be useable in-place. (Ideally I'd link it statically. Hopefully nimterop will let me do that.)

It was on WSL2, tested again on ubuntu using nimble test, result is as follows:
[Suite] Basic
  [OK] CollectionFlags

[Suite] Database
(ms_psize: 4096, ms_depth: 1, ms_branch_pages: 0, ms_leaf_pages: 1, ms_overflow_pages: 0, ms_entries: 1, ms_mod_txnid: 0)
DBI = 2
Stats = (ms_psize: 4096, ms_depth: 0, ms_branch_pages: 0, ms_leaf_pages: 0, ms_overflow_pages: 0, ms_entries: 0, ms_mod_txnid: 4)
  [OK] create DB
  [OK] Sequences
foo = I am the value of foo
splat = I am splat's value
  [OK] Put and get record
-- Create 100 entries --
-- Forwards iteration --
-- seek --
-- seekExact --
-- prev --
-- first --
-- last --
-- Reverse iteration --
-- 'for' loop with cursor
-- reverse 'for' loop with cursor
  [OK] Cursors
-- Add keys --
-- Get by key --
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 0.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 1.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 2.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 3.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 4.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 5.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 6.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 7.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 8.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 9.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 10.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 11.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 12.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 13.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 14.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 15.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 16.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 17.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 18.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 19.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 20.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 21.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 22.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 23.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 24.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 25.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 26.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 27.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 28.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 29.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 30.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 31.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 32.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 33.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 34.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 35.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 36.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 37.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 38.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 39.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 40.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 41.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 42.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 43.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 44.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 45.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 46.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 47.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 48.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 49.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 50.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 51.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 52.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 53.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 54.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 55.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 56.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 57.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 58.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 59.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 60.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 61.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 62.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 63.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 64.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 65.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 66.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 67.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 68.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 69.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 70.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 71.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 72.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 73.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 74.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 75.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 76.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 77.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 78.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 79.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 80.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 81.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 82.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 83.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 84.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 85.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 86.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 87.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 88.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 89.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 90.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 91.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 92.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 93.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 94.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 95.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 96.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 97.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 98.
    /root/nimdbx/tests/test.nim(213, 22): Check failed: val == &"the value is {i}."
    val was
    &"the value is {i}." was the value is 99.
-- Forwards iteration --
    /root/nimdbx/tests/test.nim(221, 35): Check failed: curs.key.asInt64 == i
    curs.key.asInt64 was 196608
    i was 0
    /root/nimdbx/tests/test.nim(222, 30): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 99.
    &"the value is {i}." was the value is 0.
    /root/nimdbx/tests/test.nim(224, 16): Check failed: i == 100
    i was 1
  [FAILED] Int Keys
-- Create 100 entries --
-- first
   -- forward
   -- reverse
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 9
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 8
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 7
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 6
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 5
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 4
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 3
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 2
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 1
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 0
    first was 10
    /root/nimdbx/tests/test.nim(264, 20): Check failed: i == first - 1
    i was -1
    first - 1 was 9
-- first, out of range
   -- forward
   -- reverse
-- last
   -- forward
    /root/nimdbx/tests/test.nim(248, 20): Check failed: i == last + 1
    i was 1
    last + 1 was 21
   -- reverse
-- last, out of range
   -- forward
    /root/nimdbx/tests/test.nim(248, 20): Check failed: i == last + 1
    i was 1
    last + 1 was 100
   -- reverse
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-98
    &"key-{i:02}" was key-99
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 98.
    &"the value is {i}." was the value is 99.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-97
    &"key-{i:02}" was key-98
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 97.
    &"the value is {i}." was the value is 98.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-96
    &"key-{i:02}" was key-97
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 96.
    &"the value is {i}." was the value is 97.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-95
    &"key-{i:02}" was key-96
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 95.
    &"the value is {i}." was the value is 96.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-94
    &"key-{i:02}" was key-95
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 94.
    &"the value is {i}." was the value is 95.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-93
    &"key-{i:02}" was key-94
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 93.
    &"the value is {i}." was the value is 94.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-92
    &"key-{i:02}" was key-93
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 92.
    &"the value is {i}." was the value is 93.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-91
    &"key-{i:02}" was key-92
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 91.
    &"the value is {i}." was the value is 92.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-90
    &"key-{i:02}" was key-91
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 90.
    &"the value is {i}." was the value is 91.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-89
    &"key-{i:02}" was key-90
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 89.
    &"the value is {i}." was the value is 90.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-88
    &"key-{i:02}" was key-89
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 88.
    &"the value is {i}." was the value is 89.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-87
    &"key-{i:02}" was key-88
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 87.
    &"the value is {i}." was the value is 88.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-86
    &"key-{i:02}" was key-87
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 86.
    &"the value is {i}." was the value is 87.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-85
    &"key-{i:02}" was key-86
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 85.
    &"the value is {i}." was the value is 86.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-84
    &"key-{i:02}" was key-85
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 84.
    &"the value is {i}." was the value is 85.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-83
    &"key-{i:02}" was key-84
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 83.
    &"the value is {i}." was the value is 84.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-82
    &"key-{i:02}" was key-83
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 82.
    &"the value is {i}." was the value is 83.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-81
    &"key-{i:02}" was key-82
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 81.
    &"the value is {i}." was the value is 82.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-80
    &"key-{i:02}" was key-81
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 80.
    &"the value is {i}." was the value is 81.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-79
    &"key-{i:02}" was key-80
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 79.
    &"the value is {i}." was the value is 80.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-78
    &"key-{i:02}" was key-79
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 78.
    &"the value is {i}." was the value is 79.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-77
    &"key-{i:02}" was key-78
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 77.
    &"the value is {i}." was the value is 78.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-76
    &"key-{i:02}" was key-77
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 76.
    &"the value is {i}." was the value is 77.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-75
    &"key-{i:02}" was key-76
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 75.
    &"the value is {i}." was the value is 76.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-74
    &"key-{i:02}" was key-75
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 74.
    &"the value is {i}." was the value is 75.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-73
    &"key-{i:02}" was key-74
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 73.
    &"the value is {i}." was the value is 74.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-72
    &"key-{i:02}" was key-73
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 72.
    &"the value is {i}." was the value is 73.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-71
    &"key-{i:02}" was key-72
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 71.
    &"the value is {i}." was the value is 72.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-70
    &"key-{i:02}" was key-71
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 70.
    &"the value is {i}." was the value is 71.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-69
    &"key-{i:02}" was key-70
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 69.
    &"the value is {i}." was the value is 70.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-68
    &"key-{i:02}" was key-69
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 68.
    &"the value is {i}." was the value is 69.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-67
    &"key-{i:02}" was key-68
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 67.
    &"the value is {i}." was the value is 68.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-66
    &"key-{i:02}" was key-67
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 66.
    &"the value is {i}." was the value is 67.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-65
    &"key-{i:02}" was key-66
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 65.
    &"the value is {i}." was the value is 66.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-64
    &"key-{i:02}" was key-65
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 64.
    &"the value is {i}." was the value is 65.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-63
    &"key-{i:02}" was key-64
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 63.
    &"the value is {i}." was the value is 64.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-62
    &"key-{i:02}" was key-63
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 62.
    &"the value is {i}." was the value is 63.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-61
    &"key-{i:02}" was key-62
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 61.
    &"the value is {i}." was the value is 62.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-60
    &"key-{i:02}" was key-61
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 60.
    &"the value is {i}." was the value is 61.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-59
    &"key-{i:02}" was key-60
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 59.
    &"the value is {i}." was the value is 60.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-58
    &"key-{i:02}" was key-59
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 58.
    &"the value is {i}." was the value is 59.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-57
    &"key-{i:02}" was key-58
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 57.
    &"the value is {i}." was the value is 58.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-56
    &"key-{i:02}" was key-57
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 56.
    &"the value is {i}." was the value is 57.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-55
    &"key-{i:02}" was key-56
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 55.
    &"the value is {i}." was the value is 56.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-54
    &"key-{i:02}" was key-55
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 54.
    &"the value is {i}." was the value is 55.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-53
    &"key-{i:02}" was key-54
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 53.
    &"the value is {i}." was the value is 54.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-52
    &"key-{i:02}" was key-53
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 52.
    &"the value is {i}." was the value is 53.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-51
    &"key-{i:02}" was key-52
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 51.
    &"the value is {i}." was the value is 52.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-50
    &"key-{i:02}" was key-51
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 50.
    &"the value is {i}." was the value is 51.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-49
    &"key-{i:02}" was key-50
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 49.
    &"the value is {i}." was the value is 50.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-48
    &"key-{i:02}" was key-49
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 48.
    &"the value is {i}." was the value is 49.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-47
    &"key-{i:02}" was key-48
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 47.
    &"the value is {i}." was the value is 48.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-46
    &"key-{i:02}" was key-47
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 46.
    &"the value is {i}." was the value is 47.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-45
    &"key-{i:02}" was key-46
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 45.
    &"the value is {i}." was the value is 46.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-44
    &"key-{i:02}" was key-45
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 44.
    &"the value is {i}." was the value is 45.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-43
    &"key-{i:02}" was key-44
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 43.
    &"the value is {i}." was the value is 44.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-42
    &"key-{i:02}" was key-43
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 42.
    &"the value is {i}." was the value is 43.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-41
    &"key-{i:02}" was key-42
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 41.
    &"the value is {i}." was the value is 42.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-40
    &"key-{i:02}" was key-41
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 40.
    &"the value is {i}." was the value is 41.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-39
    &"key-{i:02}" was key-40
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 39.
    &"the value is {i}." was the value is 40.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-38
    &"key-{i:02}" was key-39
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 38.
    &"the value is {i}." was the value is 39.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-37
    &"key-{i:02}" was key-38
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 37.
    &"the value is {i}." was the value is 38.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-36
    &"key-{i:02}" was key-37
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 36.
    &"the value is {i}." was the value is 37.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-35
    &"key-{i:02}" was key-36
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 35.
    &"the value is {i}." was the value is 36.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-34
    &"key-{i:02}" was key-35
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 34.
    &"the value is {i}." was the value is 35.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-33
    &"key-{i:02}" was key-34
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 33.
    &"the value is {i}." was the value is 34.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-32
    &"key-{i:02}" was key-33
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 32.
    &"the value is {i}." was the value is 33.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-31
    &"key-{i:02}" was key-32
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 31.
    &"the value is {i}." was the value is 32.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-30
    &"key-{i:02}" was key-31
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 30.
    &"the value is {i}." was the value is 31.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-29
    &"key-{i:02}" was key-30
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 29.
    &"the value is {i}." was the value is 30.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-28
    &"key-{i:02}" was key-29
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 28.
    &"the value is {i}." was the value is 29.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-27
    &"key-{i:02}" was key-28
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 27.
    &"the value is {i}." was the value is 28.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-26
    &"key-{i:02}" was key-27
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 26.
    &"the value is {i}." was the value is 27.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-25
    &"key-{i:02}" was key-26
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 25.
    &"the value is {i}." was the value is 26.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-24
    &"key-{i:02}" was key-25
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 24.
    &"the value is {i}." was the value is 25.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-23
    &"key-{i:02}" was key-24
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 23.
    &"the value is {i}." was the value is 24.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-22
    &"key-{i:02}" was key-23
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 22.
    &"the value is {i}." was the value is 23.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-21
    &"key-{i:02}" was key-22
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 21.
    &"the value is {i}." was the value is 22.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-20
    &"key-{i:02}" was key-21
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 20.
    &"the value is {i}." was the value is 21.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-19
    &"key-{i:02}" was key-20
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 19.
    &"the value is {i}." was the value is 20.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-18
    &"key-{i:02}" was key-19
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 18.
    &"the value is {i}." was the value is 19.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-17
    &"key-{i:02}" was key-18
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 17.
    &"the value is {i}." was the value is 18.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-16
    &"key-{i:02}" was key-17
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 16.
    &"the value is {i}." was the value is 17.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-15
    &"key-{i:02}" was key-16
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 15.
    &"the value is {i}." was the value is 16.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-14
    &"key-{i:02}" was key-15
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 14.
    &"the value is {i}." was the value is 15.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-13
    &"key-{i:02}" was key-14
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 13.
    &"the value is {i}." was the value is 14.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-12
    &"key-{i:02}" was key-13
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 12.
    &"the value is {i}." was the value is 13.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-11
    &"key-{i:02}" was key-12
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 11.
    &"the value is {i}." was the value is 12.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-10
    &"key-{i:02}" was key-11
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 10.
    &"the value is {i}." was the value is 11.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-09
    &"key-{i:02}" was key-10
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 9.
    &"the value is {i}." was the value is 10.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-08
    &"key-{i:02}" was key-09
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 8.
    &"the value is {i}." was the value is 9.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-07
    &"key-{i:02}" was key-08
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 7.
    &"the value is {i}." was the value is 8.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-06
    &"key-{i:02}" was key-07
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 6.
    &"the value is {i}." was the value is 7.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-05
    &"key-{i:02}" was key-06
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 5.
    &"the value is {i}." was the value is 6.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-04
    &"key-{i:02}" was key-05
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 4.
    &"the value is {i}." was the value is 5.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-03
    &"key-{i:02}" was key-04
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 3.
    &"the value is {i}." was the value is 4.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-02
    &"key-{i:02}" was key-03
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 2.
    &"the value is {i}." was the value is 3.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-01
    &"key-{i:02}" was key-02
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 1.
    &"the value is {i}." was the value is 2.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-00
    &"key-{i:02}" was key-01
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 0.
    &"the value is {i}." was the value is 1.
    /root/nimdbx/tests/test.nim(264, 20): Check failed: i == first - 1
    i was 0
    first - 1 was -1
-- first and last
   -- forward
    /root/nimdbx/tests/test.nim(248, 20): Check failed: i == last + 1
    i was 10
    last + 1 was 21
   -- reverse
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 9
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 8
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 7
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 6
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 5
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 4
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 3
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 2
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 1
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 0
    first was 10
    /root/nimdbx/tests/test.nim(264, 20): Check failed: i == first - 1
    i was -1
    first - 1 was 9
-- first and last, same key
   -- forward
   -- reverse
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 9
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 8
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 7
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 6
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 5
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 4
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 3
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 2
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 1
    first was 10
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 0
    first was 10
    /root/nimdbx/tests/test.nim(264, 20): Check failed: i == first - 1
    i was -1
    first - 1 was 9
-- first and last, empty range
   -- forward
   -- reverse
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-10
    &"key-{i:02}" was key-19
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 10.
    &"the value is {i}." was the value is 19.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 19
    first was 20
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-09
    &"key-{i:02}" was key-18
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 9.
    &"the value is {i}." was the value is 18.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 18
    first was 20
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-08
    &"key-{i:02}" was key-17
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 8.
    &"the value is {i}." was the value is 17.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 17
    first was 20
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-07
    &"key-{i:02}" was key-16
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 7.
    &"the value is {i}." was the value is 16.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 16
    first was 20
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-06
    &"key-{i:02}" was key-15
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 6.
    &"the value is {i}." was the value is 15.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 15
    first was 20
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-05
    &"key-{i:02}" was key-14
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 5.
    &"the value is {i}." was the value is 14.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 14
    first was 20
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-04
    &"key-{i:02}" was key-13
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 4.
    &"the value is {i}." was the value is 13.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 13
    first was 20
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-03
    &"key-{i:02}" was key-12
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 3.
    &"the value is {i}." was the value is 12.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 12
    first was 20
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-02
    &"key-{i:02}" was key-11
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 2.
    &"the value is {i}." was the value is 11.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 11
    first was 20
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-01
    &"key-{i:02}" was key-10
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 1.
    &"the value is {i}." was the value is 10.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 10
    first was 20
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-00
    &"key-{i:02}" was key-09
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 0.
    &"the value is {i}." was the value is 9.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was 9
    first was 20
    /root/nimdbx/tests/test.nim(264, 20): Check failed: i == first - 1
    i was 8
    first - 1 was 19
-- first and last, too low
   -- forward
   -- reverse
-- first and last, too high
   -- forward
   -- reverse
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-98
    &"key-{i:02}" was key--1
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 98.
    &"the value is {i}." was the value is -1.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -1
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-97
    &"key-{i:02}" was key--2
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 97.
    &"the value is {i}." was the value is -2.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -2
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-96
    &"key-{i:02}" was key--3
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 96.
    &"the value is {i}." was the value is -3.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -3
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-95
    &"key-{i:02}" was key--4
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 95.
    &"the value is {i}." was the value is -4.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -4
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-94
    &"key-{i:02}" was key--5
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 94.
    &"the value is {i}." was the value is -5.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -5
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-93
    &"key-{i:02}" was key--6
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 93.
    &"the value is {i}." was the value is -6.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -6
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-92
    &"key-{i:02}" was key--7
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 92.
    &"the value is {i}." was the value is -7.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -7
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-91
    &"key-{i:02}" was key--8
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 91.
    &"the value is {i}." was the value is -8.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -8
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-90
    &"key-{i:02}" was key--9
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 90.
    &"the value is {i}." was the value is -9.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -9
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-89
    &"key-{i:02}" was key--10
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 89.
    &"the value is {i}." was the value is -10.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -10
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-88
    &"key-{i:02}" was key--11
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 88.
    &"the value is {i}." was the value is -11.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -11
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-87
    &"key-{i:02}" was key--12
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 87.
    &"the value is {i}." was the value is -12.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -12
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-86
    &"key-{i:02}" was key--13
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 86.
    &"the value is {i}." was the value is -13.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -13
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-85
    &"key-{i:02}" was key--14
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 85.
    &"the value is {i}." was the value is -14.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -14
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-84
    &"key-{i:02}" was key--15
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 84.
    &"the value is {i}." was the value is -15.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -15
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-83
    &"key-{i:02}" was key--16
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 83.
    &"the value is {i}." was the value is -16.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -16
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-82
    &"key-{i:02}" was key--17
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 82.
    &"the value is {i}." was the value is -17.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -17
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-81
    &"key-{i:02}" was key--18
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 81.
    &"the value is {i}." was the value is -18.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -18
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-80
    &"key-{i:02}" was key--19
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 80.
    &"the value is {i}." was the value is -19.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -19
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-79
    &"key-{i:02}" was key--20
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 79.
    &"the value is {i}." was the value is -20.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -20
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-78
    &"key-{i:02}" was key--21
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 78.
    &"the value is {i}." was the value is -21.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -21
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-77
    &"key-{i:02}" was key--22
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 77.
    &"the value is {i}." was the value is -22.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -22
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-76
    &"key-{i:02}" was key--23
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 76.
    &"the value is {i}." was the value is -23.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -23
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-75
    &"key-{i:02}" was key--24
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 75.
    &"the value is {i}." was the value is -24.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -24
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-74
    &"key-{i:02}" was key--25
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 74.
    &"the value is {i}." was the value is -25.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -25
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-73
    &"key-{i:02}" was key--26
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 73.
    &"the value is {i}." was the value is -26.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -26
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-72
    &"key-{i:02}" was key--27
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 72.
    &"the value is {i}." was the value is -27.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -27
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-71
    &"key-{i:02}" was key--28
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 71.
    &"the value is {i}." was the value is -28.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -28
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-70
    &"key-{i:02}" was key--29
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 70.
    &"the value is {i}." was the value is -29.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -29
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-69
    &"key-{i:02}" was key--30
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 69.
    &"the value is {i}." was the value is -30.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -30
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-68
    &"key-{i:02}" was key--31
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 68.
    &"the value is {i}." was the value is -31.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -31
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-67
    &"key-{i:02}" was key--32
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 67.
    &"the value is {i}." was the value is -32.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -32
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-66
    &"key-{i:02}" was key--33
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 66.
    &"the value is {i}." was the value is -33.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -33
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-65
    &"key-{i:02}" was key--34
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 65.
    &"the value is {i}." was the value is -34.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -34
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-64
    &"key-{i:02}" was key--35
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 64.
    &"the value is {i}." was the value is -35.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -35
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-63
    &"key-{i:02}" was key--36
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 63.
    &"the value is {i}." was the value is -36.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -36
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-62
    &"key-{i:02}" was key--37
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 62.
    &"the value is {i}." was the value is -37.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -37
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-61
    &"key-{i:02}" was key--38
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 61.
    &"the value is {i}." was the value is -38.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -38
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-60
    &"key-{i:02}" was key--39
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 60.
    &"the value is {i}." was the value is -39.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -39
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-59
    &"key-{i:02}" was key--40
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 59.
    &"the value is {i}." was the value is -40.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -40
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-58
    &"key-{i:02}" was key--41
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 58.
    &"the value is {i}." was the value is -41.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -41
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-57
    &"key-{i:02}" was key--42
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 57.
    &"the value is {i}." was the value is -42.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -42
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-56
    &"key-{i:02}" was key--43
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 56.
    &"the value is {i}." was the value is -43.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -43
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-55
    &"key-{i:02}" was key--44
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 55.
    &"the value is {i}." was the value is -44.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -44
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-54
    &"key-{i:02}" was key--45
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 54.
    &"the value is {i}." was the value is -45.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -45
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-53
    &"key-{i:02}" was key--46
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 53.
    &"the value is {i}." was the value is -46.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -46
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-52
    &"key-{i:02}" was key--47
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 52.
    &"the value is {i}." was the value is -47.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -47
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-51
    &"key-{i:02}" was key--48
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 51.
    &"the value is {i}." was the value is -48.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -48
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-50
    &"key-{i:02}" was key--49
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 50.
    &"the value is {i}." was the value is -49.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -49
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-49
    &"key-{i:02}" was key--50
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 49.
    &"the value is {i}." was the value is -50.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -50
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-48
    &"key-{i:02}" was key--51
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 48.
    &"the value is {i}." was the value is -51.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -51
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-47
    &"key-{i:02}" was key--52
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 47.
    &"the value is {i}." was the value is -52.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -52
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-46
    &"key-{i:02}" was key--53
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 46.
    &"the value is {i}." was the value is -53.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -53
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-45
    &"key-{i:02}" was key--54
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 45.
    &"the value is {i}." was the value is -54.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -54
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-44
    &"key-{i:02}" was key--55
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 44.
    &"the value is {i}." was the value is -55.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -55
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-43
    &"key-{i:02}" was key--56
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 43.
    &"the value is {i}." was the value is -56.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -56
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-42
    &"key-{i:02}" was key--57
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 42.
    &"the value is {i}." was the value is -57.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -57
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-41
    &"key-{i:02}" was key--58
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 41.
    &"the value is {i}." was the value is -58.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -58
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-40
    &"key-{i:02}" was key--59
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 40.
    &"the value is {i}." was the value is -59.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -59
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-39
    &"key-{i:02}" was key--60
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 39.
    &"the value is {i}." was the value is -60.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -60
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-38
    &"key-{i:02}" was key--61
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 38.
    &"the value is {i}." was the value is -61.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -61
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-37
    &"key-{i:02}" was key--62
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 37.
    &"the value is {i}." was the value is -62.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -62
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-36
    &"key-{i:02}" was key--63
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 36.
    &"the value is {i}." was the value is -63.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -63
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-35
    &"key-{i:02}" was key--64
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 35.
    &"the value is {i}." was the value is -64.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -64
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-34
    &"key-{i:02}" was key--65
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 34.
    &"the value is {i}." was the value is -65.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -65
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-33
    &"key-{i:02}" was key--66
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 33.
    &"the value is {i}." was the value is -66.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -66
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-32
    &"key-{i:02}" was key--67
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 32.
    &"the value is {i}." was the value is -67.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -67
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-31
    &"key-{i:02}" was key--68
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 31.
    &"the value is {i}." was the value is -68.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -68
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-30
    &"key-{i:02}" was key--69
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 30.
    &"the value is {i}." was the value is -69.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -69
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-29
    &"key-{i:02}" was key--70
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 29.
    &"the value is {i}." was the value is -70.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -70
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-28
    &"key-{i:02}" was key--71
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 28.
    &"the value is {i}." was the value is -71.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -71
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-27
    &"key-{i:02}" was key--72
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 27.
    &"the value is {i}." was the value is -72.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -72
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-26
    &"key-{i:02}" was key--73
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 26.
    &"the value is {i}." was the value is -73.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -73
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-25
    &"key-{i:02}" was key--74
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 25.
    &"the value is {i}." was the value is -74.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -74
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-24
    &"key-{i:02}" was key--75
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 24.
    &"the value is {i}." was the value is -75.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -75
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-23
    &"key-{i:02}" was key--76
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 23.
    &"the value is {i}." was the value is -76.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -76
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-22
    &"key-{i:02}" was key--77
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 22.
    &"the value is {i}." was the value is -77.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -77
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-21
    &"key-{i:02}" was key--78
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 21.
    &"the value is {i}." was the value is -78.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -78
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-20
    &"key-{i:02}" was key--79
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 20.
    &"the value is {i}." was the value is -79.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -79
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-19
    &"key-{i:02}" was key--80
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 19.
    &"the value is {i}." was the value is -80.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -80
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-18
    &"key-{i:02}" was key--81
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 18.
    &"the value is {i}." was the value is -81.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -81
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-17
    &"key-{i:02}" was key--82
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 17.
    &"the value is {i}." was the value is -82.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -82
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-16
    &"key-{i:02}" was key--83
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 16.
    &"the value is {i}." was the value is -83.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -83
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-15
    &"key-{i:02}" was key--84
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 15.
    &"the value is {i}." was the value is -84.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -84
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-14
    &"key-{i:02}" was key--85
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 14.
    &"the value is {i}." was the value is -85.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -85
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-13
    &"key-{i:02}" was key--86
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 13.
    &"the value is {i}." was the value is -86.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -86
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-12
    &"key-{i:02}" was key--87
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 12.
    &"the value is {i}." was the value is -87.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -87
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-11
    &"key-{i:02}" was key--88
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 11.
    &"the value is {i}." was the value is -88.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -88
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-10
    &"key-{i:02}" was key--89
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 10.
    &"the value is {i}." was the value is -89.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -89
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-09
    &"key-{i:02}" was key--90
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 9.
    &"the value is {i}." was the value is -90.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -90
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-08
    &"key-{i:02}" was key--91
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 8.
    &"the value is {i}." was the value is -91.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -91
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-07
    &"key-{i:02}" was key--92
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 7.
    &"the value is {i}." was the value is -92.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -92
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-06
    &"key-{i:02}" was key--93
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 6.
    &"the value is {i}." was the value is -93.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -93
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-05
    &"key-{i:02}" was key--94
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 5.
    &"the value is {i}." was the value is -94.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -94
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-04
    &"key-{i:02}" was key--95
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 4.
    &"the value is {i}." was the value is -95.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -95
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-03
    &"key-{i:02}" was key--96
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 3.
    &"the value is {i}." was the value is -96.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -96
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-02
    &"key-{i:02}" was key--97
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 2.
    &"the value is {i}." was the value is -97.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -97
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-01
    &"key-{i:02}" was key--98
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 1.
    &"the value is {i}." was the value is -98.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -98
    first was 0
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-00
    &"key-{i:02}" was key--99
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 0.
    &"the value is {i}." was the value is -99.
    /root/nimdbx/tests/test.nim(262, 24): Check failed: i >= first
    i was -99
    first was 0
    /root/nimdbx/tests/test.nim(264, 20): Check failed: i == first - 1
    i was -100
    first - 1 was -1
-- skip first
   -- forward
   -- reverse
-- skip last
   -- forward
    /root/nimdbx/tests/test.nim(248, 20): Check failed: i == last + 1
    i was 1
    last + 1 was 20
   -- reverse
-- skip first & last
   -- forward
    /root/nimdbx/tests/test.nim(248, 20): Check failed: i == last + 1
    i was 11
    last + 1 was 20
   -- reverse
-- skip first & last out of range
   -- forward
    /root/nimdbx/tests/test.nim(248, 20): Check failed: i == last + 1
    i was 0
    last + 1 was 100
   -- reverse
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-98
    &"key-{i:02}" was key-99
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 98.
    &"the value is {i}." was the value is 99.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-97
    &"key-{i:02}" was key-98
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 97.
    &"the value is {i}." was the value is 98.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-96
    &"key-{i:02}" was key-97
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 96.
    &"the value is {i}." was the value is 97.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-95
    &"key-{i:02}" was key-96
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 95.
    &"the value is {i}." was the value is 96.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-94
    &"key-{i:02}" was key-95
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 94.
    &"the value is {i}." was the value is 95.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-93
    &"key-{i:02}" was key-94
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 93.
    &"the value is {i}." was the value is 94.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-92
    &"key-{i:02}" was key-93
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 92.
    &"the value is {i}." was the value is 93.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-91
    &"key-{i:02}" was key-92
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 91.
    &"the value is {i}." was the value is 92.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-90
    &"key-{i:02}" was key-91
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 90.
    &"the value is {i}." was the value is 91.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-89
    &"key-{i:02}" was key-90
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 89.
    &"the value is {i}." was the value is 90.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-88
    &"key-{i:02}" was key-89
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 88.
    &"the value is {i}." was the value is 89.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-87
    &"key-{i:02}" was key-88
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 87.
    &"the value is {i}." was the value is 88.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-86
    &"key-{i:02}" was key-87
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 86.
    &"the value is {i}." was the value is 87.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-85
    &"key-{i:02}" was key-86
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 85.
    &"the value is {i}." was the value is 86.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-84
    &"key-{i:02}" was key-85
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 84.
    &"the value is {i}." was the value is 85.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-83
    &"key-{i:02}" was key-84
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 83.
    &"the value is {i}." was the value is 84.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-82
    &"key-{i:02}" was key-83
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 82.
    &"the value is {i}." was the value is 83.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-81
    &"key-{i:02}" was key-82
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 81.
    &"the value is {i}." was the value is 82.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-80
    &"key-{i:02}" was key-81
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 80.
    &"the value is {i}." was the value is 81.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-79
    &"key-{i:02}" was key-80
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 79.
    &"the value is {i}." was the value is 80.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-78
    &"key-{i:02}" was key-79
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 78.
    &"the value is {i}." was the value is 79.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-77
    &"key-{i:02}" was key-78
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 77.
    &"the value is {i}." was the value is 78.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-76
    &"key-{i:02}" was key-77
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 76.
    &"the value is {i}." was the value is 77.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-75
    &"key-{i:02}" was key-76
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 75.
    &"the value is {i}." was the value is 76.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-74
    &"key-{i:02}" was key-75
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 74.
    &"the value is {i}." was the value is 75.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-73
    &"key-{i:02}" was key-74
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 73.
    &"the value is {i}." was the value is 74.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-72
    &"key-{i:02}" was key-73
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 72.
    &"the value is {i}." was the value is 73.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-71
    &"key-{i:02}" was key-72
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 71.
    &"the value is {i}." was the value is 72.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-70
    &"key-{i:02}" was key-71
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 70.
    &"the value is {i}." was the value is 71.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-69
    &"key-{i:02}" was key-70
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 69.
    &"the value is {i}." was the value is 70.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-68
    &"key-{i:02}" was key-69
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 68.
    &"the value is {i}." was the value is 69.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-67
    &"key-{i:02}" was key-68
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 67.
    &"the value is {i}." was the value is 68.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-66
    &"key-{i:02}" was key-67
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 66.
    &"the value is {i}." was the value is 67.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-65
    &"key-{i:02}" was key-66
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 65.
    &"the value is {i}." was the value is 66.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-64
    &"key-{i:02}" was key-65
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 64.
    &"the value is {i}." was the value is 65.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-63
    &"key-{i:02}" was key-64
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 63.
    &"the value is {i}." was the value is 64.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-62
    &"key-{i:02}" was key-63
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 62.
    &"the value is {i}." was the value is 63.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-61
    &"key-{i:02}" was key-62
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 61.
    &"the value is {i}." was the value is 62.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-60
    &"key-{i:02}" was key-61
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 60.
    &"the value is {i}." was the value is 61.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-59
    &"key-{i:02}" was key-60
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 59.
    &"the value is {i}." was the value is 60.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-58
    &"key-{i:02}" was key-59
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 58.
    &"the value is {i}." was the value is 59.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-57
    &"key-{i:02}" was key-58
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 57.
    &"the value is {i}." was the value is 58.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-56
    &"key-{i:02}" was key-57
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 56.
    &"the value is {i}." was the value is 57.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-55
    &"key-{i:02}" was key-56
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 55.
    &"the value is {i}." was the value is 56.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-54
    &"key-{i:02}" was key-55
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 54.
    &"the value is {i}." was the value is 55.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-53
    &"key-{i:02}" was key-54
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 53.
    &"the value is {i}." was the value is 54.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-52
    &"key-{i:02}" was key-53
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 52.
    &"the value is {i}." was the value is 53.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-51
    &"key-{i:02}" was key-52
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 51.
    &"the value is {i}." was the value is 52.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-50
    &"key-{i:02}" was key-51
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 50.
    &"the value is {i}." was the value is 51.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-49
    &"key-{i:02}" was key-50
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 49.
    &"the value is {i}." was the value is 50.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-48
    &"key-{i:02}" was key-49
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 48.
    &"the value is {i}." was the value is 49.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-47
    &"key-{i:02}" was key-48
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 47.
    &"the value is {i}." was the value is 48.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-46
    &"key-{i:02}" was key-47
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 46.
    &"the value is {i}." was the value is 47.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-45
    &"key-{i:02}" was key-46
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 45.
    &"the value is {i}." was the value is 46.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-44
    &"key-{i:02}" was key-45
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 44.
    &"the value is {i}." was the value is 45.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-43
    &"key-{i:02}" was key-44
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 43.
    &"the value is {i}." was the value is 44.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-42
    &"key-{i:02}" was key-43
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 42.
    &"the value is {i}." was the value is 43.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-41
    &"key-{i:02}" was key-42
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 41.
    &"the value is {i}." was the value is 42.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-40
    &"key-{i:02}" was key-41
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 40.
    &"the value is {i}." was the value is 41.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-39
    &"key-{i:02}" was key-40
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 39.
    &"the value is {i}." was the value is 40.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-38
    &"key-{i:02}" was key-39
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 38.
    &"the value is {i}." was the value is 39.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-37
    &"key-{i:02}" was key-38
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 37.
    &"the value is {i}." was the value is 38.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-36
    &"key-{i:02}" was key-37
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 36.
    &"the value is {i}." was the value is 37.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-35
    &"key-{i:02}" was key-36
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 35.
    &"the value is {i}." was the value is 36.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-34
    &"key-{i:02}" was key-35
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 34.
    &"the value is {i}." was the value is 35.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-33
    &"key-{i:02}" was key-34
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 33.
    &"the value is {i}." was the value is 34.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-32
    &"key-{i:02}" was key-33
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 32.
    &"the value is {i}." was the value is 33.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-31
    &"key-{i:02}" was key-32
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 31.
    &"the value is {i}." was the value is 32.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-30
    &"key-{i:02}" was key-31
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 30.
    &"the value is {i}." was the value is 31.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-29
    &"key-{i:02}" was key-30
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 29.
    &"the value is {i}." was the value is 30.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-28
    &"key-{i:02}" was key-29
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 28.
    &"the value is {i}." was the value is 29.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-27
    &"key-{i:02}" was key-28
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 27.
    &"the value is {i}." was the value is 28.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-26
    &"key-{i:02}" was key-27
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 26.
    &"the value is {i}." was the value is 27.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-25
    &"key-{i:02}" was key-26
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 25.
    &"the value is {i}." was the value is 26.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-24
    &"key-{i:02}" was key-25
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 24.
    &"the value is {i}." was the value is 25.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-23
    &"key-{i:02}" was key-24
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 23.
    &"the value is {i}." was the value is 24.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-22
    &"key-{i:02}" was key-23
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 22.
    &"the value is {i}." was the value is 23.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-21
    &"key-{i:02}" was key-22
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 21.
    &"the value is {i}." was the value is 22.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-20
    &"key-{i:02}" was key-21
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 20.
    &"the value is {i}." was the value is 21.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-19
    &"key-{i:02}" was key-20
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 19.
    &"the value is {i}." was the value is 20.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-18
    &"key-{i:02}" was key-19
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 18.
    &"the value is {i}." was the value is 19.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-17
    &"key-{i:02}" was key-18
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 17.
    &"the value is {i}." was the value is 18.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-16
    &"key-{i:02}" was key-17
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 16.
    &"the value is {i}." was the value is 17.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-15
    &"key-{i:02}" was key-16
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 15.
    &"the value is {i}." was the value is 16.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-14
    &"key-{i:02}" was key-15
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 14.
    &"the value is {i}." was the value is 15.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-13
    &"key-{i:02}" was key-14
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 13.
    &"the value is {i}." was the value is 14.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-12
    &"key-{i:02}" was key-13
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 12.
    &"the value is {i}." was the value is 13.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-11
    &"key-{i:02}" was key-12
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 11.
    &"the value is {i}." was the value is 12.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-10
    &"key-{i:02}" was key-11
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 10.
    &"the value is {i}." was the value is 11.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-09
    &"key-{i:02}" was key-10
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 9.
    &"the value is {i}." was the value is 10.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-08
    &"key-{i:02}" was key-09
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 8.
    &"the value is {i}." was the value is 9.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-07
    &"key-{i:02}" was key-08
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 7.
    &"the value is {i}." was the value is 8.
    /root/nimdbx/tests/test.nim(260, 32): Check failed: $curs.key == &"key-{i:02}"
    $curs.key was key-06
    &"key-{i:02}" was key-07
    /root/nimdbx/tests/test.nim(261, 34): Check failed: $curs.value == &"the value is {i}."
    $curs.value was the value is 6.
    &"the value is {i}." was the value is 7.