kracht-60b3fce6-5bd1

job succeeded

starting new job...
clonegit pull succeeded21 lines
HEAD is now at d174e8c feat: ??? Add test to flatten-list
From https://codeberg.org/jjba23/kracht
   d174e8c..a283f14  trunk      -> origin/trunk
Updating d174e8c..a283f14
Fast-forward
 README.org                         | 221 ++++++++++-
 src/kracht/io.scm                  | 103 +++++
 src/kracht/lists.scm               | 125 ++++++
 src/kracht/prelude.scm             | 663 +++++++++++++------------------
 src/kracht/sql.scm                 | 491 +++++++++++++++++++++++
 src/kracht/strings.scm             | 178 +++++++++
 src/kracht/web.scm                 | 348 +++++++++++++++++
 test/veritas/unit/modules-spec.scm | 152 +++++++
 test/veritas/unit/prelude-spec.scm | 783 +++++++++++++++++++++++++++++++++++--
 9 files changed, 2641 insertions(+), 423 deletions(-)
 create mode 100644 src/kracht/io.scm
 create mode 100644 src/kracht/lists.scm
 create mode 100644 src/kracht/sql.scm
 create mode 100644 src/kracht/strings.scm
 create mode 100644 src/kracht/web.scm
 create mode 100644 test/veritas/unit/modules-spec.scm
setupuname -a succeeded1 lines
Linux wolk-jjba 7.1.5-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
setupgit log --name-status HEAD^..HEAD succeeded10 lines
commit a283f14ae016022f41f6eea16cb69df9a72deee5
Merge: 3834fb4 d174e8c
Author: Josep Bigorra <jjbigorra@gmail.com>
Date:   Sun Oct 11 21:18:42 2026 +0200

    Merge branch 'trunk' of ssh://codeberg.org/jjba23/kracht into trunk

commit d174e8c003dfa8c340953f53c94884c9cd0087cc
Author: Josep Bigorra <jjbigorra@gmail.com>
Date:   Thu Aug 27 10:06:03 2026 +0200

    feat: ??? Add test to flatten-list

M       test/veritas/unit/prelude-spec.scm
testmaak test succeeded652 lines
scanning directories for unit tests...
scanning present working directory for unit tests...

found unit tests: (prelude-spec.scm modules-spec.scm)


running unit tests from file: prelude-spec.scm, entrypoint: spec


------------------------------------------
[suite] Prelude test suite
  [test] string-drop tests
    [assert] string-drop-first-last-line empty input
    [pass] expect: , got: 
    [assert] string-drop-first-last-line single line
    [pass] expect: , got: 
    [assert] string-drop-first-last normal case
    [pass] expect: ell, got: ell
    [assert] string-drop-first-last-line two lines
    [pass] expect: , got: 
    [assert] string-drop-first-last two chars
    [pass] expect: ab, got: ab
    [assert] string-drop-first-last empty string
    [pass] expect: , got: 
    [assert] string-drop-first-last-line normal case
    [pass] expect: middle line, got: middle line
    [assert] string-drop-first-last single char
    [pass] expect: a, got: a
  [test] non-empty-string? tests
    [assert] non-empty-string? with a number
    [pass] expect: #f, got: #f
    [assert] non-empty-string? with whitespace
    [pass] expect: #t, got: #t
    [assert] non-empty-string? with #f
    [pass] expect: #f, got: #f
    [assert] non-empty-string? with non-empty string
    [pass] expect: #t, got: #t
    [assert] non-empty-string? with empty string
    [pass] expect: #f, got: #f
    [assert] non-empty-string? with #t (not a string)
    [pass] expect: #f, got: #f
  [test] alist-from-url-encoded-body
    [assert] semicolon character (%3B)
    [pass] expect: ((cookie . id;user)), got: ((cookie . id;user))
    [assert] curly braces characters (%7B, %7D)
    [pass] expect: ((json . {data})), got: ((json . {data}))
    [assert] empty &-separated segments are skipped
    [pass] expect: ((a . 1) (b . 2)), got: ((a . 1) (b . 2))
    [assert] equals sign character (%3D)
    [pass] expect: ((equation . x=y)), got: ((equation . x=y))
    [assert] square brackets characters (%5B, %5D)
    [pass] expect: ((array . [1,2])), got: ((array . [1,2]))
    [assert] space character (%20)
    [pass] expect: ((message . hello world)), got: ((message . hello world))
    [assert] multiple encoded characters in one value
    [pass] expect: ((complex . a&b=c?d e)), got: ((complex . a&b=c?d e))
    [assert] ampersand character (%26)
    [pass] expect: ((data . one&two)), got: ((data . one&two))
    [assert] only an ampersand
    [pass] expect: (), got: ()
    [assert] single key, no equals sign
    [pass] expect: ((key-only . )), got: ((key-only . ))
    [assert] dollar sign character (%24)
    [pass] expect: ((amount . $100)), got: ((amount . $100))
    [assert] single key value pair
    [pass] expect: ((name . John Doe)), got: ((name . John Doe))
    [assert] hash/pound sign character (%23)
    [pass] expect: ((tag . #important)), got: ((tag . #important))
    [assert] value with no key (unlikely but possible from split)
    [pass] expect: (( . value)), got: (( . value))
    [assert] colon character (%3A)
    [pass] expect: ((protocol . http:)), got: ((protocol . http:))
    [assert] comma character (%2C)
    [pass] expect: ((list . a,b,c)), got: ((list . a,b,c))
    [assert] unicode characters (e.g., '?' - %C3%A9 in UTF-8)
    [pass] expect: ((name . fianc?)), got: ((name . fianc?))
    [assert] slash character (%2F)
    [pass] expect: ((path . /usr/local)), got: ((path . /usr/local))
    [assert] multiple key-value pairs
    [pass] expect: ((name . Jane Doe) (age . 30)), got: ((name . Jane Doe) (age . 30))
    [assert] plus sign (%2B) - often used for space, but distinct from actual '+'
    [pass] expect: ((code . a+b)), got: ((code . a+b))
    [assert] key with no value
    [pass] expect: ((key . )), got: ((key . ))
    [assert] parentheses characters (%28, %29)
    [pass] expect: ((func . f(x))), got: ((func . f(x)))
    [assert] question mark character (%3F)
    [pass] expect: ((query . what?)), got: ((query . what?))
    [assert] exclamation mark character (%21)
    [pass] expect: ((warning . danger!)), got: ((warning . danger!))
    [assert] backslash character (%5C)
    [pass] expect: ((winpath . C:\Users\)), got: ((winpath . C:\Users\))
    [assert] empty key and empty value
    [pass] expect: (), got: ()
    [assert] multiple keys, no equals sign
    [pass] expect: ((key1 . ) (key2 . )), got: ((key1 . ) (key2 . ))
    [assert] literal equals sign stays part of the value
    [pass] expect: ((q . a=b)), got: ((q . a=b))
    [assert] empty body
    [pass] expect: (), got: ()
    [assert] keys and values with special characters (URL-encoded)
    [pass] expect: ((param_1 . value with spaces) (param/2 . another_value!)), got: ((param_1 . value with spaces) (param/2 . another_value!))
    [assert] mixed valid and malformed pairs
    [pass] expect: ((a . 1) (b . ) (c . 3)), got: ((a . 1) (b . ) (c . 3))
    [assert] at symbol character (%40)
    [pass] expect: ((email . test@example.com)), got: ((email . test@example.com))
    [assert] duplicate keys
    [pass] expect: ((item . apple) (item . orange)), got: ((item . apple) (item . orange))
  [test] assoc-lens tests
    [assert] nested lookup
    [pass] expect: 1, got: 1
    [assert] missing nested key
    [pass] expect: #f, got: #f
    [assert] intermediate value is not an alist
    [pass] expect: #f, got: #f
  [test] assoc-ref-or-empty-str tests
    [assert] key not found
    [pass] expect: , got: 
    [assert] key found - non-string value
    [pass] expect: 2, got: 2
    [assert] key is first element
    [pass] expect: value, got: value
    [assert] empty alist
    [pass] expect: , got: 
    [assert] key found - string value
    [pass] expect: hello, got: hello
    [assert] key is last element
    [pass] expect: value, got: value
  [test] empty-string? tests
    [assert] empty-string? with whitespace
    [pass] expect: #f, got: #f
    [assert] empty-string? with empty string
    [pass] expect: #t, got: #t
    [assert] empty-string? with non-empty string
    [pass] expect: #f, got: #f
  [test] assoc-ref-or tests
    [assert] missing key uses the given default
    [pass] expect: missing, got: missing
    [assert] missing key defaults to #f
    [pass] expect: #f, got: #f
    [assert] found key
    [pass] expect: 1, got: 1
  [test] string-drop-first-last-n tests
    [assert] n = 0 drops only the last char
    [pass] expect: hell, got: hell
    [assert] drop two leading and the last char
    [pass] expect: ll, got: ll
    [assert] short strings are returned unaltered
    [pass] expect: ab, got: ab
    [assert] n at the boundary returns empty string
    [pass] expect: , got: 
    [assert] negative n is clamped to zero
    [pass] expect: hell, got: hell
    [assert] n larger than length is clamped
    [pass] expect: , got: 
    [assert] drop one leading and the last char
    [pass] expect: ell, got: ell
  [test] alist-set tests
    [assert] replace an existing key in place
    [pass] expect: ((a . 9) (b . 2)), got: ((a . 9) (b . 2))
    [assert] add a new key at the front
    [pass] expect: ((c . 3) (a . 1)), got: ((c . 3) (a . 1))
    [assert] the original alist is never mutated
    [pass] expect: ((a . 1)), got: ((a . 1))
------------------------------------------
[suite] context-aware escaping
  [test] JavaScript string literals
    [assert] no slash survives, so </script is impossible
    [pass] expect: #f, got: #f
    [assert] alphanumerics stay readable
    [pass] expect: abcXYZ019, got: abcXYZ019
    [assert] the line separator U+2028 is escaped
    [pass] expect: a\u2028b, got: a\u2028b
    [assert] a backslash is escaped, not left to combine
    [pass] expect: a\x5Cb, got: a\x5Cb
    [assert] an encoded value needs no further HTML escaping
    [pass] expect: it\x27s\x20\x3C\x2Fscript\x3E, got: it\x27s\x20\x3C\x2Fscript\x3E
    [assert] a non-BMP character becomes a surrogate pair
    [pass] expect: \uD83D\uDE00, got: \uD83D\uDE00
    [assert] a newline cannot break the literal
    [pass] expect: a\x0Ab, got: a\x0Ab
    [assert] quotes and spaces become escapes
    [pass] expect: O\x27Reilly\x20\x22x\x22, got: O\x27Reilly\x20\x22x\x22
    [assert] BMP characters use \xHH
    [pass] expect: caf\xE9, got: caf\xE9
  [test] every encoder leaves the empty string alone
    [assert] empty input, empty output
    [pass] expect: (   ), got: (   )
  [test] CSS values
    [assert] no function call survives
    [pass] expect: #f, got: #f
    [assert] a percent sign is escaped
    [pass] expect: 100\000025 , got: 100\000025 
    [assert] a non-BMP character uses a six-digit escape
    [pass] expect: \01F600 , got: \01F600 
    [assert] alphanumerics stay readable
    [pass] expect: TimesNewRoman10px, got: TimesNewRoman10px
  [test] html-escape-context picks an encoder per position
    [assert] text
    [pass] expect: <b>, got: <b>
    [assert] quoted attribute
    [pass] expect: a"b, got: a"b
    [assert] url component
    [pass] expect: a%2Fb%3Fc%3Dd%26e, got: a%2Fb%3Fc%3Dd%26e
    [assert] css value
    [pass] expect: a\000022 b, got: a\000022 b
    [assert] an unknown context is an error
    [pass] expect: rejected, got: rejected
    [assert] unquoted attribute
    [pass] expect: a b, got: a b
    [assert] javascript string
    [pass] expect: a\x22b, got: a\x22b
    [assert] text is the default
    [pass] expect: <b>, got: <b>
  [test] unquoted attribute values
    [assert] whitespace and delimiters cannot end the value
    [pass] expect: a b=c/d>e, got: a b=c/d>e
    [assert] quotes are encoded rather than ended
    [pass] expect: "', got: "'
    [assert] letters, digits, - _ and . pass through
    [pass] expect: abc-1_2.3, got: abc-1_2.3
    [assert] a non-BMP character stays one reference
    [pass] expect: 😀, got: 😀
------------------------------------------
[suite] Robustness test suite
  [test] base64 round trips
    [assert] ascii
    [pass] expect: hello world, got: hello world
    [assert] whitespace in the encoded input is ignored
    [pass] expect: hello, got: hello
    [assert] embedded heredoc-looking terminator is safe
    [pass] expect: x
EOFEOF
y, got: x
EOFEOF
y
    [assert] utf-8
    [pass] expect: h?llo w?rld ?????, got: h?llo w?rld ?????
    [assert] newlines inside the payload
    [pass] expect: line one
line two, got: line one
line two
  [test] base64-encode known vectors
    [assert] hello world
    [pass] expect: aGVsbG8gd29ybGQ=, got: aGVsbG8gd29ybGQ=
    [assert] empty string
    [pass] expect: , got: 
    [assert] hello
    [pass] expect: aGVsbG8=, got: aGVsbG8=
    [assert] two bytes need one padding char
    [pass] expect: Zm8=, got: Zm8=
    [assert] one byte needs two padding chars
    [pass] expect: Zg==, got: Zg==
    [assert] three bytes need no padding
    [pass] expect: Zm9v, got: Zm9v
  [test] html escaping covers the HTML-significant characters
    [assert] both quote styles are escaped
    [pass] expect: "x" 'y', got: "x" 'y'
    [assert] escaping is not idempotent
    [pass] expect: &, got: &
    [assert] slashes, stars, dollars and percent are left alone
    [pass] expect: a/b*c$%, got: a/b*c$%
    [assert] angle brackets are escaped
    [pass] expect: <script>, got: <script>
    [assert] numeric character references are decoded
    [pass] expect: '&, got: '&
    [assert] ampersand is escaped
    [pass] expect: a & b, got: a & b
    [assert] malformed numeric references are untouched
    [pass] expect: &#; &#x; � &#xg;, got: &#; &#x; � &#xg;
    [assert] uppercase legacy entities are decoded
    [pass] expect: &<>", got: &<>"
    [assert] legacy entities are still decoded
    [pass] expect: a/b*c$%, got: a/b*c$%
    [assert] unknown entity left untouched
    [pass] expect: &unknown;, got: &unknown;
  [test] shuffle-fy does not mutate its input
    [assert] the original list is unchanged
    [pass] expect: (1 2 3 4 5), got: (1 2 3 4 5)
  [test] file read/write helpers
    [assert] read-file-string returns exact contents
    [pass] expect: line 1
line 2
, got: line 1
line 2

    [assert] cleanup the temporary file
    [pass] success running without errors
    [assert] write-file-string returns the character count
    [pass] expect: 14, got: 14
  [test] SQL literal escaping
    [assert] value->sql-literal number
    [pass] expect: 42, got: 42
    [assert] escape-sql-string rejects NUL
    [pass] expect: rejected, got: rejected
    [assert] pair->sql-assignment keeps numbers raw
    [pass] expect: age = 30, got: age = 30
    [assert] pair->sql-assignment escapes quotes
    [pass] expect: name = 'O''Brien', got: name = 'O''Brien'
    [assert] pair->sql-assignment hyphenated column
    [pass] expect: first_name = 'Josep', got: first_name = 'Josep'
    [assert] quote-sql-identifier doubles embedded quotes
    [pass] expect: "we""ird", got: "we""ird"
    [assert] quote-sql-identifier wraps a symbol
    [pass] expect: "select", got: "select"
    [assert] value->sql-literal boolean false
    [pass] expect: 0, got: 0
    [assert] escape-sql-string doubles backslashes on request
    [pass] expect: a\\b''c, got: a\\b''c
    [assert] value->sql-literal escapes quotes
    [pass] expect: 'O''Brien', got: 'O''Brien'
    [assert] escape-sql-string doubles quotes
    [pass] expect: O''Brien, got: O''Brien
    [assert] value->sql-literal plain string
    [pass] expect: 'hello', got: 'hello'
    [assert] value->sql-literal boolean true
    [pass] expect: 1, got: 1
  [test] shuffle-fy preserves the elements
    [assert] empty list
    [pass] expect: (), got: ()
    [assert] the same seed yields the same order
    [pass] expect: (10 3 9 6 13 15 8 18 19 0 4 12 7 11 2 5 14 17 16 1), got: (10 3 9 6 13 15 8 18 19 0 4 12 7 11 2 5 14 17 16 1)
    [assert] a shuffled range is still the range
    [pass] expect: (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49), got: (0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49)
    [assert] single element list
    [pass] expect: (1), got: (1)
  [test] base64-decode known vectors
    [assert] padded one byte
    [pass] expect: f, got: f
    [assert] hello world
    [pass] expect: hello world, got: hello world
    [assert] unpadded three bytes
    [pass] expect: foo, got: foo
    [assert] empty string
    [pass] expect: , got: 
    [assert] padded two bytes
    [pass] expect: fo, got: fo
------------------------------------------
[suite] Another test suite
  [test] html-escape tests
    [assert] Accented I
    [pass] expect: Í, got: Í
    [assert] C-cedilla
    [pass] expect: ç, got: ç
    [assert] Accented U
    [pass] expect: Ú, got: Ú
    [assert] Accented i
    [pass] expect: í, got: í
    [assert] Accented O
    [pass] expect: Ó, got: Ó
    [assert] Example sentence escaped
    [pass] expect: Ólá, múndo! Isto é um teste., got: Ólá, múndo! Isto é um teste.
    [assert] Accented E
    [pass] expect: É, got: É
    [assert] N-tilde
    [pass] expect: ñ, got: ñ
    [assert] Accented u
    [pass] expect: ú, got: ú
    [assert] String with multiple occurrences
    [pass] expect: He said, "It's a beautiful day!", got: He said, "It's a beautiful day!"
    [assert] Accented o
    [pass] expect: ó, got: ó
    [assert] Mix of quotes
    [pass] expect: He's a "guy"., got: He's a "guy".
    [assert] Empty string
    [pass] expect: , got: 
    [assert] Single quote
    [pass] expect: ', got: '
    [assert] Double quote
    [pass] expect: ", got: "
    [assert] String with no special characters
    [pass] expect: Hello, World!, got: Hello, World!
    [assert] Multiple accents
    [pass] expect: Árvore é bonita, got: Árvore é bonita
  [test] html-unescape tests
    [assert] C-cedilla entity
    [pass] expect: ?, got: ?
    [assert] Empty string
    [pass] expect: , got: 
    [assert] Single quot entity
    [pass] expect: ", got: "
    [assert] Single apos entity
    [pass] expect: ', got: '
    [assert] Accented A entity
    [pass] expect: ?, got: ?
    [assert] Example sentence unescaped
    [pass] expect: ?l?, m?ndo! Isto ? um teste., got: ?l?, m?ndo! Isto ? um teste.
    [assert] Multiple entity occurrences
    [pass] expect: It's a "quote"., got: It's a "quote".
    [assert] String with no entities
    [pass] expect: Hello, World!, got: Hello, World!
    [assert] Mix of entities
    [pass] expect: He's a "guy"., got: He's a "guy".
    [assert] Accented a entity
    [pass] expect: ?, got: ?
  [test] Round-trip tests
    [assert] Unescape then escape (for chars in alist)
    [pass] expect: 'áéíóú", got: 'áéíóú"
    [assert] Unescape then escape round-trips the significant characters
    [pass] expect: <div>'test'</div>, got: <div>'test'</div>
    [assert] Escape then unescape
    [pass] expect: Hello, it's a "test" with ?????., got: Hello, it's a "test" with ?????.
    [assert] Example sentence
    [pass] expect: Ol?, m?ndo! Isto ? um teste., got: Ol?, m?ndo! Isto ? um teste.
  [test] sha tests
    [assert] get-short-commit-sha works as expected
    [pass] expect: #t, got: #t
------------------------------------------
[suite] SQL statement builder
  [test] identifier quoting is what keeps a value out of the SQL
    [assert] a quote in a column name is doubled, not closed
    [pass] expect: SELECT * FROM "t" WHERE "x""; DROP TABLE t" = ?, got: SELECT * FROM "t" WHERE "x""; DROP TABLE t" = ?
    [assert] and never appears in the statement
    [pass] expect: #f, got: #f
    [assert] #:quote-identifiers? #f emits bare names
    [pass] expect: SELECT id FROM users WHERE first_name = ?, got: SELECT id FROM users WHERE first_name = ?
  [test] sql-parameterize fills a hand-written template
    [assert] a template with no values is left alone
    [pass] expect: SELECT 1, got: SELECT 1
    [assert] renumbered for PostgreSQL
    [pass] expect: UPDATE t SET a = $1 WHERE b = $2, got: UPDATE t SET a = $1 WHERE b = $2
    [assert] question marks in order
    [pass] expect: (SELECT * FROM t WHERE a = ? AND b = ? (1 2)), got: (SELECT * FROM t WHERE a = ? AND b = ? (1 2))
  [test] SELECT with every clause
    [assert] a lone OFFSET numbers from the first free slot
    [pass] expect: SELECT * FROM "users" OFFSET $1, got: SELECT * FROM "users" OFFSET $1
  [test] UPDATE binds the SET values before the WHERE ones
    [assert] no conditions means no WHERE clause
    [pass] expect: UPDATE "users" SET "active" = ?, got: UPDATE "users" SET "active" = ?
    [assert] parameters
    [pass] expect: (A 9 7), got: (A 9 7)
  [test] IN and NOT IN
    [assert] an empty IN never matches
    [pass] expect: SELECT * FROM "users" WHERE 1 = 0, got: SELECT * FROM "users" WHERE 1 = 0
    [assert] an empty NOT IN always matches
    [pass] expect: SELECT * FROM "users" WHERE 1 = 1, got: SELECT * FROM "users" WHERE 1 = 1
    [assert] a populated NOT IN binds each element
    [pass] expect: (SELECT * FROM "users" WHERE "id" NOT IN (?, ?, ?) (1 2 3)), got: (SELECT * FROM "users" WHERE "id" NOT IN (?, ?, ?) (1 2 3))
  [test] WHERE fragments compose
    [assert] an empty condition list yields no clause
    [pass] expect: , got: 
    [assert] #:start-index continues another fragment
    [pass] expect:  WHERE "a" = $4, got:  WHERE "a" = $4
    [assert] with its parameters
    [pass] expect: (1 2), got: (1 2)
  [test] INSERT ... RETURNING
    [assert] the star stays unquoted
    [pass] expect: INSERT INTO "users" ("name") VALUES (?) RETURNING *, got: INSERT INTO "users" ("name") VALUES (?) RETURNING *
    [assert] a column list is quoted
    [pass] expect: INSERT INTO "users" ("name") VALUES (?) RETURNING "id", got: INSERT INTO "users" ("name") VALUES (?) RETURNING "id"
  [test] a query hands itself to the driver
    [assert] sql-query->alist exposes the sql and the params
    [pass] expect: (SELECT * FROM "t" WHERE "id" = ? (1)), got: (SELECT * FROM "t" WHERE "id" = ? (1))
  [test] INSERT binds every value
    [assert] parameters follow row order
    [pass] expect: (O'Brien 30), got: (O'Brien 30)
  [test] misuse is reported, not silently mis-compiled
    [assert] an unknown ORDER BY direction
    [pass] expect: rejected, got: rejected
    [assert] a condition that is not a pair or list
    [pass] expect: rejected, got: rejected
    [assert] an INSERT with no columns
    [pass] expect: rejected, got: rejected
    [assert] too many values
    [pass] expect: rejected, got: rejected
    [assert] an operator outside the allow-list
    [pass] expect: rejected, got: rejected
    [assert] too few values
    [pass] expect: rejected, got: rejected
    [assert] an unknown placeholder style
    [pass] expect: rejected, got: rejected
  [test] placeholder dialects
    [assert] a procedure supplies a custom style
    [pass] expect: SELECT :p1, got: SELECT :p1
    [assert] percent (pyformat)
    [pass] expect: INSERT INTO "users" ("name") VALUES (%s), got: INSERT INTO "users" ("name") VALUES (%s)
  [test] DELETE conditions
    [assert] a null test binds nothing
    [pass] expect: (7), got: (7)
------------------------------------------
[suite] SRFI re-exports
  [test] srfi-2, 8, 11 and 26 syntactic forms
    [assert] cute
    [pass] expect: (2 3), got: (2 3)
    [assert] receive
    [pass] expect: (1 2), got: (1 2)
    [assert] and-let* failure
    [pass] expect: #f, got: #f
    [assert] cut
    [pass] expect: 3, got: 3
    [assert] let*-values
    [pass] expect: 2, got: 2
    [assert] and-let* success
    [pass] expect: ok, got: ok
    [assert] let-values
    [pass] expect: 7, got: 7
  [test] match and pretty-print re-exports
    [assert] match
    [pass] expect: 3, got: 3
    [assert] pretty-print writes to a string
    [pass] expect: #t, got: #t
  [test] srfi-111 boxes
    [assert] box?
    [pass] expect: #t, got: #t
    [assert] set-box!
    [pass] expect: 8, got: 8
    [assert] box and unbox
    [pass] expect: 7, got: 7
  [test] native Guile hash tables are left untouched
    [assert] core make-hash-table/hash-ref still work
    [pass] expect: found, got: found
  [test] srfi-1 list procedures
    [assert] take and drop
    [pass] expect: ((1 2) (3 4)), got: ((1 2) (3 4))
    [assert] reduce
    [pass] expect: 6, got: 6
    [assert] count
    [pass] expect: 2, got: 2
    [assert] delete-duplicates
    [pass] expect: (1 2 3), got: (1 2 3)
    [assert] filter-map
    [pass] expect: (1 9), got: (1 9)
    [assert] lset-union
    [pass] expect: (1 2 3), got: (1 2 3)
    [assert] fold
    [pass] expect: 6, got: 6
    [assert] fold-right
    [pass] expect: (1 2 3), got: (1 2 3)
    [assert] zip
    [pass] expect: ((1 a) (2 b)), got: ((1 a) (2 b))
    [assert] list-tabulate
    [pass] expect: (0 1 4), got: (0 1 4)
  [test] srfi-19 date and time
    [assert] make-date returns a date
    [pass] expect: #t, got: #t
    [assert] current-date returns a date
    [pass] expect: #t, got: #t
    [assert] date->string returns a string
    [pass] expect: #t, got: #t
  [test] srfi-43 vector procedures
    [assert] vector-count
    [pass] expect: 2, got: 2
    [assert] vector-fold
    [pass] expect: 6, got: 6
    [assert] vector-for-each
    [pass] expect: 6, got: 6
    [assert] vector-index
    [pass] expect: 2, got: 2
    [assert] vector-append
    [pass] expect: #(1 2 3), got: #(1 2 3)
    [assert] vector-map receives the index
    [pass] expect: #(0 2 6), got: #(0 2 6)
[info] ran 6 tasks in: 0 seconds, 30242 microseconds

running unit tests from file: modules-spec.scm, entrypoint: spec


------------------------------------------
[suite] Kracht sub-modules
  [test] the split is clean: modules do not leak each other's names
    [assert] (kracht web) exports html-escape-context
    [pass] expect: #t, got: #t
    [assert] (kracht prelude) re-exports sql-insert
    [pass] expect: #t, got: #t;;; note: source file ./test/veritas/unit/prelude-spec.scm
;;;       newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/kracht/trunk/test/veritas/unit/prelude-spec.scm.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling ./test/veritas/unit/prelude-spec.scm
;;; note: source file ./src/kracht/prelude.scm
;;;       newer than compiled /gnu/store/10jb7l516f6j7swgqshkg5fdc997zs3a-profile/lib/guile/3.0/site-ccache/kracht/prelude.go
;;; note: source file ./src/kracht/prelude.scm
;;;       newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/kracht/trunk/src/kracht/prelude.scm.go
;;; compiling ./src/kracht/prelude.scm
;;; compiling ./src/kracht/strings.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/kracht/trunk/src/kracht/strings.scm.go
;;; compiling ./src/kracht/lists.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/kracht/trunk/src/kracht/lists.scm.go
;;; compiling ./src/kracht/sql.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/kracht/trunk/src/kracht/sql.scm.go
;;; compiling ./src/kracht/web.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/kracht/trunk/src/kracht/web.scm.go
;;; compiling ./src/kracht/io.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/kracht/trunk/src/kracht/io.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/kracht/trunk/src/kracht/prelude.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/kracht/trunk/test/veritas/unit/prelude-spec.scm.go
;;; compiling ./test/veritas/unit/modules-spec.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/kracht/trunk/test/veritas/unit/modules-spec.scm.go

    [assert] (kracht sql) exports sql-parameterize
    [pass] expect: #t, got: #t
    [assert] (kracht sql) does not export flatten-list
    [pass] expect: #f, got: #f
    [assert] (kracht sql) exports value->sql-literal
    [pass] expect: #t, got: #t
    [assert] (kracht strings) does not export html-escape
    [pass] expect: #f, got: #f
    [assert] (kracht strings) exports base64-encode
    [pass] expect: #t, got: #t
    [assert] (kracht sql) does not export the web encoders
    [pass] expect: #f, got: #f
    [assert] (kracht io) does not export base64-encode
    [pass] expect: #f, got: #f
    [assert] (kracht sql) exports sql-select
    [pass] expect: #t, got: #t
    [assert] (kracht sql) exports quote-sql-identifier
    [pass] expect: #t, got: #t
  [test] (kracht web) works standalone
    [assert] html-escape-context javascript
    [pass] expect: a\x22b, got: a\x22b
    [assert] html-unescape
    [pass] expect: <, got: <
    [assert] html-escape-css-value
    [pass] expect: 100\000025 , got: 100\000025 
    [assert] alist-from-url-encoded-body
    [pass] expect: ((a . 1)), got: ((a . 1))
    [assert] html-unescape numeric reference
    [pass] expect: ', got: '
    [assert] html-escape
    [pass] expect: ', got: '
    [assert] html-escape ampersand
    [pass] expect: a & b, got: a & b
  [test] (kracht strings) works standalone
    [assert] base64-decode
    [pass] expect: hello, got: hello
    [assert] string-drop-first-last
    [pass] expect: ell, got: ell
    [assert] base64-encode
    [pass] expect: aGVsbG8=, got: aGVsbG8=
    [assert] non-empty-string?
    [pass] expect: #t, got: #t
  [test] (kracht lists) works standalone
    [assert] alist?
    [pass] expect: #t, got: #t
    [assert] flatten-list
    [pass] expect: (1 2 3), got: (1 2 3)
    [assert] assoc-ref-or
    [pass] expect: 1, got: 1
  [test] (kracht io) works standalone
    [assert] syscall returns a string
    [pass] expect: #t, got: #t
    [assert] get-short-commit-sha returns a string
    [pass] expect: #t, got: #t
  [test] (kracht sql) works standalone
    [assert] value->sql-literal escapes quotes
    [pass] expect: 'O''Brien', got: 'O''Brien'
    [assert] sql-select binds its value
    [pass] expect: (SELECT * FROM "t" WHERE "id" = ? (1)), got: (SELECT * FROM "t" WHERE "id" = ? (1))
    [assert] sql-column->symbol
    [pass] expect: first-name, got: first-name
    [assert] quote-sql-identifier
    [pass] expect: "select", got: "select"
    [assert] symbol->sql-column
    [pass] expect: first_name, got: first_name
[info] ran 1 tasks in: 0 seconds, 11473 microseconds

finished running tests


--------------------------------------------------------------

Maak: the infinitely extensible command runner

Loading tasks from Maak file: /etc/byggsteg/job-clone/kracht/trunk/maak.scm

Executing Maak tasks: test

--------------------------------------------------------------

=> Running Maak task: test

  Run project's tests.
deploysudo maak deploy pending41 lines
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /etc/byggsteg/job-clone/kracht/trunk/src/kracht/io.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/kracht/trunk/src/kracht/io.scm.go
;;; compiling /etc/byggsteg/job-clone/kracht/trunk/src/kracht/lists.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/kracht/trunk/src/kracht/lists.scm.go
;;; note: source file /etc/byggsteg/job-clone/kracht/trunk/src/kracht/prelude.scm
;;;       newer than compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/kracht/trunk/src/kracht/prelude.scm.go
;;; compiling /etc/byggsteg/job-clone/kracht/trunk/src/kracht/prelude.scm
;;; compiling /etc/byggsteg/job-clone/kracht/trunk/src/kracht/strings.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/kracht/trunk/src/kracht/strings.scm.go
;;; compiling /etc/byggsteg/job-clone/kracht/trunk/src/kracht/sql.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/kracht/trunk/src/kracht/sql.scm.go
;;; compiling /etc/byggsteg/job-clone/kracht/trunk/src/kracht/web.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/kracht/trunk/src/kracht/web.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/kracht/trunk/src/kracht/prelude.scm.go
API documentation saved to doc/api
index.texi: warning: must specify a title with a title command or @top
renamed './index' -> './doc/api-dist'
removed '/srv/http/jointhefreeworld.org/api-docs/kracht/API.html'
removed '/srv/http/jointhefreeworld.org/api-docs/kracht/kracht_005fprelude.html'
removed directory '/srv/http/jointhefreeworld.org/api-docs/kracht'
mkdir: created directory '/srv/http/jointhefreeworld.org/api-docs/kracht'
renamed 'doc/api-dist/API.html' -> '/srv/http/jointhefreeworld.org/api-docs/kracht/API.html'
renamed 'doc/api-dist/kracht_005fio.html' -> '/srv/http/jointhefreeworld.org/api-docs/kracht/kracht_005fio.html'
renamed 'doc/api-dist/kracht_005flists.html' -> '/srv/http/jointhefreeworld.org/api-docs/kracht/kracht_005flists.html'
renamed 'doc/api-dist/kracht_005fprelude.html' -> '/srv/http/jointhefreeworld.org/api-docs/kracht/kracht_005fprelude.html'
renamed 'doc/api-dist/kracht_005fsql.html' -> '/srv/http/jointhefreeworld.org/api-docs/kracht/kracht_005fsql.html'
renamed 'doc/api-dist/kracht_005fstrings.html' -> '/srv/http/jointhefreeworld.org/api-docs/kracht/kracht_005fstrings.html'
renamed 'doc/api-dist/kracht_005fweb.html' -> '/srv/http/jointhefreeworld.org/api-docs/kracht/kracht_005fweb.html'
removed 'doc/api/index.texi'
removed directory 'doc/api'
removed directory 'doc/api-dist'
removed directory 'doc'


--------------------------------------------------------------

Maak: the infinitely extensible command runner

Loading tasks from Maak file: /etc/byggsteg/job-clone/kracht/trunk/maak.scm

Executing Maak tasks: deploy

--------------------------------------------------------------

=> Running Maak task: deploy

  Generate documentation for the project and publish to web directory.
inspect the job's lambda expression
(lambda()
  `((task . ("maak-test" "maak-deploy"))
    (project . "kracht")
    (branch-name . "trunk")            
    (clone-url . "https://codeberg.org/jjba23/kracht.git")
    (env . ((VERITAS_REPORTER . monotone-reporter)))))