kracht-4bf58ae2-38d8

job succeeded

starting new job...


→ running command: cd "/etc/byggsteg/job-clone//kracht/trunk" && git reset --hard && git pull

HEAD is now at df18ce2 feat: Improve and modularize prelude
From https://codeberg.org/jjba23/kracht
   df18ce2..c8aca60  trunk      -> origin/trunk
 * [new tag]         v0.3.0     -> v0.3.0
Updating df18ce2..c8aca60
Fast-forward
 .gitignore   |  3 ++-
 manifest.scm | 11 ++++++-----
 2 files changed, 8 insertions(+), 6 deletions(-)


→ running command: cd /etc/byggsteg/job-clone/kracht/trunk && uname -a

Linux wolk-jjba 7.1.5-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux


→ running command: cd /etc/byggsteg/job-clone/kracht/trunk && git log --name-status HEAD^..HEAD

commit c8aca60fbce7355ae52f75f677418502224fa089
Author: Josep Bigorra <jjbigorra@gmail.com>
Date:   Mon Oct 12 15:20:12 2026 +0200

    update: Test library

M       .gitignore
M       manifest.scm


→ running command: cd /etc/byggsteg/job-clone/kracht/trunk && maak test

The following derivation will be built:
  /gnu/store/86i7nplbmlfysaaw6fkv29h2z2yixln7-profile.drv

building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
building profile with 6 packages...

scanning directories for unit tests...
scanning present working directory for unit tests...

shuffled the files with seed 67036440 (replay with VERITAS_SEED=67036440)

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


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


[info] shuffled with seed 67036440 (replay with VERITAS_SEED=67036440)
------------------------------------------
[suite] Prelude test suite
  [test] assoc-lens tests
    [assert] nested lookup
    [pass] got: 1
    [assert] intermediate value is not an alist
    [pass] got: #f
    [assert] missing nested key
    [pass] got: #f
  [test] alist-set tests
    [assert] replace an existing key in place
    [pass] got: ((a . 9) (b . 2))
    [assert] add a new key at the front
    [pass] got: ((c . 3) (a . 1))
    [assert] the original alist is never mutated
    [pass] got: ((a . 1))
  [test] assoc-ref-or-empty-str tests
    [assert] key is first element
    [pass] got: value
    [assert] key is last element
    [pass] got: value
    [assert] key found - non-string value
    [pass] got: 2
    [assert] key not found
    [pass] got: 
    [assert] empty alist
    [pass] got: 
    [assert] key found - string value
    [pass] got: hello
  [test] non-empty-string? tests
    [assert] non-empty-string? with empty string
    [pass] got: #f
    [assert] non-empty-string? with whitespace
    [pass] got: #t
    [assert] non-empty-string? with a number
    [pass] got: #f
    [assert] non-empty-string? with #t (not a string)
    [pass] got: #f
    [assert] non-empty-string? with non-empty string
    [pass] got: #t
    [assert] non-empty-string? with #f
    [pass] got: #f
  [test] string-drop-first-last-n tests
    [assert] drop one leading and the last char
    [pass] got: ell
    [assert] n larger than length is clamped
    [pass] got: 
    [assert] n at the boundary returns empty string
    [pass] got: 
    [assert] short strings are returned unaltered
    [pass] got: ab
    [assert] negative n is clamped to zero
    [pass] got: hell
    [assert] drop two leading and the last char
    [pass] got: ll
    [assert] n = 0 drops only the last char
    [pass] got: hell
  [test] assoc-ref-or tests
    [assert] found key
    [pass] got: 1
    [assert] missing key defaults to #f
    [pass] got: #f
    [assert] missing key uses the given default
    [pass] got: missing
  [test] string-drop tests
    [assert] string-drop-first-last two chars
    [pass] got: ab
    [assert] string-drop-first-last-line single line
    [pass] got: 
    [assert] string-drop-first-last-line normal case
    [pass] got: middle line
    [assert] string-drop-first-last-line empty input
    [pass] got: 
    [assert] string-drop-first-last normal case
    [pass] got: ell
    [assert] string-drop-first-last-line two lines
    [pass] got: 
    [assert] string-drop-first-last single char
    [pass] got: a
    [assert] string-drop-first-last empty string
    [pass] got: 
  [test] alist-from-url-encoded-body
    [assert] space character (%20)
    [pass] got: ((message . hello world))
    [assert] keys and values with special characters (URL-encoded)
    [pass] got: ((param_1 . value with spaces) (param/2 . another_value!))
    [assert] empty key and empty value
    [pass] got: ()
    [assert] curly braces characters (%7B, %7D)
    [pass] got: ((json . {data}))
    [assert] only an ampersand
    [pass] got: ()
    [assert] plus sign (%2B) - often used for space, but distinct from actual '+'
    [pass] got: ((code . a+b))
    [assert] multiple encoded characters in one value
    [pass] got: ((complex . a&b=c?d e))
    [assert] ampersand character (%26)
    [pass] got: ((data . one&two))
    [assert] parentheses characters (%28, %29)
    [pass] got: ((func . f(x)))
    [assert] comma character (%2C)
    [pass] got: ((list . a,b,c))
    [assert] equals sign character (%3D)
    [pass] got: ((equation . x=y))
    [assert] unicode characters (e.g., '?' - %C3%A9 in UTF-8)
    [pass] got: ((name . fianc?))
    [assert] empty &-separated segments are skipped
    [pass] got: ((a . 1) (b . 2))
    [assert] empty body
    [pass] got: ()
    [assert] literal equals sign stays part of the value
    [pass] got: ((q . a=b))
    [assert] single key value pair
    [pass] got: ((name . John Doe))
    [assert] hash/pound sign character (%23)
    [pass] got: ((tag . #important))
    [assert] exclamation mark character (%21)
    [pass] got: ((warning . danger!))
    [assert] mixed valid and malformed pairs
    [pass] got: ((a . 1) (b . ) (c . 3))
    [assert] question mark character (%3F)
    [pass] got: ((query . what?))
    [assert] colon character (%3A)
    [pass] got: ((protocol . http:))
    [assert] multiple key-value pairs
    [pass] got: ((name . Jane Doe) (age . 30))
    [assert] multiple keys, no equals sign
    [pass] got: ((key1 . ) (key2 . ))
    [assert] semicolon character (%3B)
    [pass] got: ((cookie . id;user))
    [assert] slash character (%2F)
    [pass] got: ((path . /usr/local))
    [assert] at symbol character (%40)
    [pass] got: ((email . test@example.com))
    [assert] key with no value
    [pass] got: ((key . ))
    [assert] square brackets characters (%5B, %5D)
    [pass] got: ((array . [1,2]))
    [assert] value with no key (unlikely but possible from split)
    [pass] got: (( . value))
    [assert] duplicate keys
    [pass] got: ((item . apple) (item . orange))
    [assert] dollar sign character (%24)
    [pass] got: ((amount . $100))
    [assert] backslash character (%5C)
    [pass] got: ((winpath . C:\Users\))
    [assert] single key, no equals sign
    [pass] got: ((key-only . ))
  [test] empty-string? tests
    [assert] empty-string? with whitespace
    [pass] got: #f
    [assert] empty-string? with empty string
    [pass] got: #t
    [assert] empty-string? with non-empty string
    [pass] got: #f
------------------------------------------
[suite] Another test suite
  [test] html-unescape tests
    [assert] Mix of entities
    [pass] got: He's a "guy".
    [assert] Multiple entity occurrences
    [pass] got: It's a "quote".
    [assert] C-cedilla entity
    [pass] got: ?
    [assert] String with no entities
    [pass] got: Hello, World!
    [assert] Accented a entity
    [pass] got: ?
    [assert] Accented A entity
    [pass] got: ?
    [assert] Single quot entity
    [pass] got: "
    [assert] Example sentence unescaped
    [pass] got: ?l?, m?ndo! Isto ? um teste.
    [assert] Empty string
    [pass] got: 
    [assert] Single apos entity
    [pass] got: '
  [test] Round-trip tests
    [assert] Unescape then escape round-trips the significant characters
    [pass] got: <div>'test'</div>
    [assert] Example sentence
    [pass] got: Ol?, m?ndo! Isto ? um teste.
    [assert] Escape then unescape
    [pass] got: Hello, it's a "test" with ?????.
    [assert] Unescape then escape (for chars in alist)
    [pass] got: 'áéíóú"
  [test] html-escape tests
    [assert] Double quote
    [pass] got: "
    [assert] Accented u
    [pass] got: ú
    [assert] Accented O
    [pass] got: Ó
    [assert] Accented I
    [pass] got: Í
    [assert] Empty string
    [pass] got: 
    [assert] Accented U
    [pass] got: Ú
    [assert] Example sentence escaped
    [pass] got: Ólá, múndo! Isto é um teste.
    [assert] C-cedilla
    [pass] got: ç
    [assert] Accented i
    [pass] got: í
    [assert] Multiple accents
    [pass] got: Árvore é bonita
    [assert] Single quote
    [pass] got: '
    [assert] String with no special characters
    [pass] got: Hello, World!
    [assert] Accented o
    [pass] got: ó
    [assert] String with multiple occurrences
    [pass] got: He said, "It's a beautiful day!"
    [assert] Accented E
    [pass] got: É
    [assert] N-tilde
    [pass] got: ñ
    [assert] Mix of quotes
    [pass] got: He's a "guy".
  [test] sha tests
    [assert] get-short-commit-sha works as expected
    [pass] got: #t
------------------------------------------
[suite] flatten-list
  [test] length is preserved for proper lists
    [assert] a flattened tree has the same element count
    [pass] got: 6
  [test] it survives the deeply nested input it is used on
    [assert] a hundred levels deep
    [pass] got: (deep)
  [test] it scales the way its callers need it to
    [assert] a thousand sibling lists
    [pass] 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 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999)
    [assert] depth-first, left to right
    [pass] got: (1 2 3 4 5 6 7 8)
    [assert] a thousand levels deep
    [pass] got: (deep)
  [test] it does not disturb its input
    [assert] flattening twice changes nothing
    [pass] got: (1 2 3 4 5)
    [assert] the argument is untouched
    [pass] got: (1 (2 3) (4 (5)))
  [test] what counts as a leaf
    [assert] numbers and booleans are not list-like
    [pass] got: (0 #f #t 1)
    [assert] a string is a leaf, not a list of characters
    [pass] got: (abc)
    [assert] mixed atoms keep their order and identity
    [pass] got: (1 two #t x three 4)
    [assert] and a dotted pair on its own likewise
    [pass] got: (a b)
    [assert] a vector is a leaf too
    [pass] got: (1 #(2 3) 4)
    [assert] an improper tail is flattened, not kept whole
    [pass] got: (a b c)
  [test] the shapes it has to handle
    [assert] a list with nothing to flatten
    [pass] got: (1 2 3)
    [assert] deep nesting
    [pass] got: (1 2 3 4 5)
    [assert] nesting on both sides of a spine
    [pass] got: (1 2 3 4 5 6)
    [assert] an empty list of empty lists
    [pass] got: ()
    [assert] an empty list
    [pass] got: ()
    [assert] one level of nesting
    [pass] got: (1 2 3 4)
    [assert] empty lists disappear
    [pass] got: (1 2)
    [assert] a bare atom becomes a one-element list
    [pass] got: (a)
------------------------------------------
[suite] SRFI re-exports
  [test] match and pretty-print re-exports
    [assert] pretty-print writes to a string
    [pass] got: #t
    [assert] match
    [pass] got: 3
  [test] srfi-111 boxes
    [assert] set-box!
    [pass] got: 8
    [assert] box?
    [pass] got: #t
    [assert] box and unbox
    [pass] got: 7
  [test] srfi-2, 8, 11 and 26 syntactic forms
    [assert] receive
    [pass] got: (1 2)
    [assert] and-let* failure
    [pass] got: #f
    [assert] let*-values
    [pass] got: 2
    [assert] let-values
    [pass] got: 7
    [assert] cute
    [pass] got: (2 3)
    [assert] and-let* success
    [pass] got: ok
    [assert] cut
    [pass] got: 3
  [test] srfi-43 vector procedures
    [assert] vector-append
    [pass] got: #(1 2 3)
    [assert] vector-for-each
    [pass] got: 6
    [assert] vector-index
    [pass] got: 2
    [assert] vector-count
    [pass] got: 2
    [assert] vector-map receives the index
    [pass] got: #(0 2 6)
    [assert] vector-fold
    [pass] got: 6
  [test] srfi-19 date and time
    [assert] make-date returns a date
    [pass] got: #t
    [assert] current-date returns a date
    [pass] got: #t
    [assert] date->string returns a string
    [pass] got: #t
  [test] native Guile hash tables are left untouched
    [assert] core make-hash-table/hash-ref still work
    [pass] got: found
  [test] srfi-1 list procedures
    [assert] lset-union
    [pass] got: (1 2 3)
    [assert] reduce
    [pass] got: 6
    [assert] delete-duplicates
    [pass] got: (1 2 3)
    [assert] take and drop
    [pass] got: ((1 2) (3 4))
    [assert] fold
    [pass] got: 6
    [assert] count
    [pass] got: 2
    [assert] list-tabulate
    [pass] got: (0 1 4)
    [assert] fold-right
    [pass] got: (1 2 3)
    [assert] filter-map
    [pass] got: (1 9)
    [assert] zip
    [pass] got: ((1 a) (2 b))
------------------------------------------
[suite] Robustness test suite
  [test] html escaping covers the HTML-significant characters
    [assert] uppercase legacy entities are decoded
    [pass] got: &<>"
    [assert] malformed numeric references are untouched
    [pass] got: &#; &#x; � &#xg;
    [assert] slashes, stars, dollars and percent are left alone
    [pass] got: a/b*c$%
    [assert] both quote styles are escaped
    [pass] got: "x" 'y'
    [assert] escaping is not idempotent
    [pass] got: &
    [assert] numeric character references are decoded
    [pass] got: '&
    [assert] legacy entities are still decoded
    [pass] got: a/b*c$%
    [assert] angle brackets are escaped
    [pass] got: <script>
    [assert] unknown entity left untouched
    [pass] got: &unknown;
    [assert] ampersand is escaped
    [pass] got: a & b
  [test] shuffle-fy does not mutate its input
    [assert] the original list is unchanged
    [pass] got: (1 2 3 4 5)
  [test] shuffle-fy preserves the elements
    [assert] a shuffled range is still the range
    [pass] 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] empty list
    [pass] got: ()
    [assert] single element list
    [pass] got: (1)
    [assert] the same seed yields the same order
    [pass] got: (10 3 9 6 13 15 8 18 19 0 4 12 7 11 2 5 14 17 16 1)
  [test] SQL literal escaping
    [assert] value->sql-literal escapes quotes
    [pass] got: 'O''Brien'
    [assert] value->sql-literal boolean true
    [pass] got: 1
    [assert] pair->sql-assignment hyphenated column
    [pass] got: first_name = 'Josep'
    [assert] escape-sql-string doubles backslashes on request
    [pass] got: a\\b''c
    [assert] pair->sql-assignment keeps numbers raw
    [pass] got: age = 30
    [assert] value->sql-literal plain string
    [pass] got: 'hello'
    [assert] quote-sql-identifier doubles embedded quotes
    [pass] got: "we""ird"
    [assert] value->sql-literal number
    [pass] got: 42
    [assert] escape-sql-string doubles quotes
    [pass] got: O''Brien
    [assert] quote-sql-identifier wraps a symbol
    [pass] got: "select"
    [assert] pair->sql-assignment escapes quotes
    [pass] got: name = 'O''Brien'
    [assert] escape-sql-string rejects NUL
    [pass] got: rejected
    [assert] value->sql-literal boolean false
    [pass] got: 0
  [test] base64 round trips
    [assert] utf-8
    [pass] got: h?llo w?rld ?????
    [assert] newlines inside the payload
    [pass] got: line one
line two
    [assert] ascii
    [pass] got: hello world
    [assert] whitespace in the encoded input is ignored
    [pass] got: hello
    [assert] embedded heredoc-looking terminator is safe
    [pass] got: x
EOFEOF
y
  [test] base64-decode known vectors
    [assert] padded two bytes
    [pass] got: fo
    [assert] hello world
    [pass] got: hello world
    [assert] padded one byte
    [pass] got: f
    [assert] empty string
    [pass] got: 
    [assert] unpadded three bytes
    [pass] got: foo
  [test] file read/write helpers
    [assert] cleanup the temporary file
    [pass] success running without errors
    [assert] read-file-string returns exact contents
    [pass] got: line 1
line 2

    [assert] write-file-string returns the character count
    [pass] got: 14
  [test] base64-encode known vectors
    [assert] one byte needs two padding chars
    [pass] got: Zg==
    [assert] hello
    [pass] got: aGVsbG8=
    [assert] hello world
    [pass] got: aGVsbG8gd29ybGQ=
    [assert] three bytes need no padding
    [pass] got: Zm9v
    [assert] two bytes need one padding char
    [pass] got: Zm8=
    [assert] empty string
    [pass] got: 
------------------------------------------
[suite] context-aware escaping
  [test] JavaScript string literals
    [assert] BMP characters use \xHH
    [pass] got: caf\xE9
    [assert] a backslash is escaped, not left to combine
    [pass] got: a\x5Cb
    [assert] an encoded value needs no further HTML escaping
    [pass] got: it\x27s\x20\x3C\x2Fscript\x3E
    [assert] no slash survives, so </script is impossible
    [pass] got: #f
    [assert] alphanumerics stay readable
    [pass] got: abcXYZ019
    [assert] quotes and spaces become escapes
    [pass] got: O\x27Reilly\x20\x22x\x22
    [assert] a non-BMP character becomes a surrogate pair
    [pass] got: \uD83D\uDE00
    [assert] a newline cannot break the literal
    [pass] got: a\x0Ab
    [assert] the line separator U+2028 is escaped
    [pass] got: a\u2028b
  [test] every encoder leaves the empty string alone
    [assert] empty input, empty output
    [pass] got: (   )
  [test] unquoted attribute values
    [assert] letters, digits, - _ and . pass through
    [pass] got: abc-1_2.3
    [assert] quotes are encoded rather than ended
    [pass] got: "'
    [assert] whitespace and delimiters cannot end the value
    [pass] got: a b=c/d>e
    [assert] a non-BMP character stays one reference
    [pass] got: 😀
  [test] html-escape-context picks an encoder per position
    [assert] text is the default
    [pass] got: <b>
    [assert] javascript string
    [pass] got: a\x22b
    [assert] unquoted attribute
    [pass] got: a b
    [assert] quoted attribute
    [pass] got: a"b
    [assert] an unknown context is an error
    [pass] got: rejected
    [assert] url component
    [pass] got: a%2Fb%3Fc%3Dd%26e
    [assert] css value
    [pass] got: a\000022 b
    [assert] text
    [pass] got: <b>
  [test] CSS values
    [assert] alphanumerics stay readable
    [pass] got: TimesNewRoman10px
    [assert] a non-BMP character uses a six-digit escape
    [pass] got: \01F600 
    [assert] no function call survives
    [pass] got: #f
    [assert] a percent sign is escaped
    [pass] got: 100\000025 
------------------------------------------
[suite] SQL statement builder
  [test] INSERT binds every value
    [assert] parameters follow row order
    [pass] got: (O'Brien 30)
  [test] DELETE conditions
    [assert] a null test binds nothing
    [pass] got: (7)
  [test] upsert: ON DUPLICATE KEY UPDATE for MySQL
    [assert] an explicit column list keeps the key out of it
    [pass] got: INSERT INTO `users` (`id`, `name`, `age`) VALUES (?, ?, ?) ON DUPLICATE KEY UPDATE `name` = VALUES(`name`)
    [assert] MySQL quotes its identifiers and sources VALUES()
    [pass] got: INSERT INTO `users` (`id`, `name`) VALUES (?, ?) ON DUPLICATE KEY UPDATE `id` = VALUES(`id`), `name` = VALUES(`name`)
  [test] upsert: misuse is reported
    [assert] a conflict target that is not in the rows
    [pass] got: rejected
    [assert] ON CONFLICT DO UPDATE needs a target
    [pass] got: rejected
    [assert] MySQL has no conflict target to give
    [pass] got: rejected
    [assert] a column that is not in the rows
    [pass] got: rejected
    [assert] MySQL has no RETURNING
    [pass] got: rejected
    [assert] an unknown dialect
    [pass] got: rejected
    [assert] MySQL has no DO NOTHING
    [pass] got: rejected
    [assert] an update that is neither 'auto, 'nothing nor a list
    [pass] got: rejected
    [assert] nothing left to update
    [pass] got: rejected
  [test] WHERE fragments compose
    [assert] with its parameters
    [pass] got: (1 2)
    [assert] #:start-index continues another fragment
    [pass] got:  WHERE "a" = $4
    [assert] an empty condition list yields no clause
    [pass] got: 
  [test] IN and NOT IN
    [assert] a populated NOT IN binds each element
    [pass] got: (SELECT * FROM "users" WHERE "id" NOT IN (?, ?, ?) (1 2 3))
    [assert] an empty IN never matches
    [pass] got: SELECT * FROM "users" WHERE 1 = 0
    [assert] an empty NOT IN always matches
    [pass] got: SELECT * FROM "users" WHERE 1 = 1
  [test] UPDATE binds the SET values before the WHERE ones
    [assert] parameters
    [pass] got: (A 9 7)
    [assert] no conditions means no WHERE clause
    [pass] got: UPDATE "users" SET "active" = ?
  [test] misuse is reported, not silently mis-compiled
    [assert] too many values
    [pass] got: rejected
    [assert] a condition that is not a pair or list
    [pass] got: rejected
    [assert] an unknown ORDER BY direction
    [pass] got: rejected
    [assert] an operator outside the allow-list
    [pass] got: rejected
    [assert] an INSERT with no columns
    [pass] got: rejected
    [assert] too few values
    [pass] got: rejected
    [assert] an unknown placeholder style
    [pass] got: rejected
  [test] INSERT ... RETURNING
    [assert] a column list is quoted
    [pass] got: INSERT INTO "users" ("name") VALUES (?) RETURNING "id"
    [assert] the star stays unquoted
    [pass] got: INSERT INTO "users" ("name") VALUES (?) RETURNING *
  [test] sql-parameterize fills a hand-written template
    [assert] renumbered for PostgreSQL
    [pass] got: UPDATE t SET a = $1 WHERE b = $2
    [assert] a template with no values is left alone
    [pass] got: SELECT 1
    [assert] question marks in order
    [pass] got: (SELECT * FROM t WHERE a = ? AND b = ? (1 2))
  [test] identifier quoting is what keeps a value out of the SQL
    [assert] and never appears in the statement
    [pass] got: #f
    [assert] a quote in a column name is doubled, not closed
    [pass] got: SELECT * FROM "t" WHERE "x""; DROP TABLE t" = ?
    [assert] #:quote-identifiers? #f emits bare names
    [pass] got: SELECT id FROM users WHERE first_name = ?
  [test] multi-row INSERT refuses rows that do not line up
    [assert] an empty batch
    [pass] got: rejected
    [assert] a row carrying an extra column
    [pass] got: rejected
    [assert] a row with different columns
    [pass] got: rejected
  [test] #:dialect decides how identifiers are delimited
    [assert] an unknown dialect is rejected
    [pass] got: rejected
    [assert] and so do the other builders
    [pass] got: (UPDATE `users` SET `name` = ? WHERE `id` = ? DELETE FROM `users` WHERE `id` = ?)
    [assert] MySQL uses backticks, not double quotes
    [pass] got: SELECT `id`, `name` FROM `users` WHERE `id` = ? LIMIT ?
    [assert] quote-sql-identifier switches delimiter on request
    [pass] got: ("id" `id`)
    [assert] the default is still ANSI quoting
    [pass] got: SELECT "id" FROM "users" WHERE "id" = ?
  [test] SELECT with every clause
    [assert] a lone OFFSET numbers from the first free slot
    [pass] got: SELECT * FROM "users" OFFSET $1
  [test] upsert: multi-row batches
    [assert] parameters run row by row
    [pass] got: (1 A 2 B)
  [test] upsert: ON CONFLICT for PostgreSQL and SQLite
    [assert] an explicit column list narrows the update
    [pass] got: INSERT INTO "users" ("id", "name", "age") VALUES (?, ?, ?) ON CONFLICT ("id") DO UPDATE SET "name" = EXCLUDED."name"
    [assert] and may omit it
    [pass] got: INSERT INTO "users" ("id", "name") VALUES (?, ?) ON CONFLICT DO NOTHING
    [assert] DO NOTHING keeps the conflict target
    [pass] got: INSERT INTO "users" ("id", "name") VALUES (?, ?) ON CONFLICT ("id") DO NOTHING
    [assert] sqlite renders the same ON CONFLICT form
    [pass] got: INSERT INTO "users" ("id", "name") VALUES (?, ?) ON CONFLICT ("id") DO UPDATE SET "name" = EXCLUDED."name"
    [assert] the upsert binds no parameter of its own
    [pass] got: (1 A 2)
  [test] a query hands itself to the driver
    [assert] sql-query->alist exposes the sql and the params
    [pass] got: (SELECT * FROM "t" WHERE "id" = ? (1))
  [test] placeholder dialects
    [assert] a procedure supplies a custom style
    [pass] got: SELECT :p1
    [assert] percent (pyformat)
    [pass] got: INSERT INTO "users" ("name") VALUES (%s)
  [test] multi-row INSERT
    [assert] one row is a legal batch
    [pass] got: INSERT INTO "users" ("name") VALUES (?)
    [assert] parameters run row by row
    [pass] got: (A 1 B 2)
    [assert] rows are put into the first row's column order
    [pass] got: (A 1 B 2)
    [assert] numbered placeholders keep counting across rows
    [pass] got: INSERT INTO "users" ("name", "age") VALUES ($1, $2), ($3, $4)
[info] ran 7 tasks in: 0 seconds, 22764 microseconds

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


[info] shuffled with seed 67036440 (replay with VERITAS_SEED=67036440)
------------------------------------------
[suite] Kracht sub-modules
  [test] the split is clean: modules do not leak each other's names
    [assert] (kracht sql) does not export flatten-list
    [pass] got: #f
    [assert] (kracht sql) exports sql-select
    [pass] got: #t
    [assert] (kracht io) does not export base64-encode
    [pass] got: #f
    [assert] (kracht sql) exports sql-parameterize
    [pass] got: #t
    [assert] (kracht strings) does not export html-escape
    [pass] got: #f
    [assert] (kracht sql) exports quote-sql-identifier
    [pass] got: #t
    [assert] (kracht strings) exports base64-encode
    [pass] got: #t
    [assert] (kracht prelude) re-exports html-entity-ref
    [pass] got: #t
    [assert] (kracht sql) does not export the web encoders
    [pass] got: #f
    [assert] (kracht web) exports html-escape-context
    [pass] got: #t
    [assert] (kracht html-entities) exports html-char-ref
    [pass] got: #t
    [assert] (kracht prelude) re-exports sql-insert
    [pass] got: #t
    [assert] (kracht sql) exports value->sql-literal
    [pass] got: #t
    [assert] (kracht html-entities) is tables only, not the escapers
    [pass] got: #f
    [assert] (kracht prelude) re-exports sql-insert-many
    [pass] got: #t
    [assert] (kracht sql) exports sql-upsert-many
    [pass] got: #t
  [test] (kracht sql) works standalone
    [assert] sql-select binds its value
    [pass] got: (SELECT * FROM "t" WHERE "id" = ? (1))
    [assert] sql-insert-many groups one VALUES per row
    [pass] got: INSERT INTO "t" ("a") VALUES (?), (?)
    [assert] symbol->sql-column
    [pass] got: first_name
    [assert] quote-sql-identifier
    [pass] got: "select"
    [assert] sql-upsert renders ON CONFLICT
    [pass] got: INSERT INTO "t" ("id", "a") VALUES (?, ?) ON CONFLICT ("id") DO UPDATE SET "a" = EXCLUDED."a"
    [assert] value->sql-literal escapes quotes
    [pass] got: 'O''Brien'
    [assert] sql-column->symbol
    [pass] got: first-name
  [test] (kracht html-entities) works standalone
    [assert] an unknown reference is #f
    [pass] got: #f
    [assert] html-char-ref writes a reference
    [pass] got: <
    [assert] and the decode table is the HTML5 one
    [pass] got: 2125
    [assert] including one the HTML4 set has no name for
    [pass] got: ?
    [assert] html-entity-ref reads a reference
    [pass] got: &
    [assert] the escape table is the HTML4 set
    [pass] got: 253
  [test] (kracht web) works standalone
    [assert] html-unescape
    [pass] got: <
    [assert] html-escape
    [pass] got: '
    [assert] alist-from-url-encoded-body
    [pass] got: ((a . 1))
    [assert] html-escape-css-value
    [pass] got: 100\000025 
    [assert] html-escape ampersand
    [pass] got: a & b
    [assert] html-escape-context javascript
    [pass] got: a\x22b
    [assert] html-unescape numeric reference
    [pass] got: '
  [test] (kracht lists) works standalone
    [assert] flatten-list
    [pass] got: (1 2 3)
    [assert] assoc-ref-or
    [pass] got: 1
    [assert] alist?
    [pass] got: #t
  [test] (kracht io) works standalone
    [assert] get-short-commit-sha returns a string
    [pass] got: #t
    [assert] syscall returns a string
    [pass] got: #t
  [test] (kracht strings) works standalone
    [assert] base64-encode
    [pass] got: aGVsbG8=
    [assert] string-drop-first-last
    [pass] got: ell
    [assert] base64-decode
    [pass] got: hello
    [assert] non-empty-string?
    [pass] got: #t
[info] ran 1 tasks in: 0 seconds, 7713 microseconds

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


[info] shuffled with seed 67036440 (replay with VERITAS_SEED=67036440)
------------------------------------------
[suite] HTML entity tables
  [test] html-unescape uses the wider table
    [assert] numeric references still work alongside them
    [pass] got: ?'
    [assert] the HTML5-only names decode too
    [pass] got: a/b*c$%
    [assert] a two-code-point reference decodes to two
    [pass] got: (2 ??)
    [assert] two references with nothing between them
    [pass] got: ??
    [assert] the legacy upper-case spellings still work
    [pass] got: &<>"
    [assert] a string of symbols comes back
    [pass] got: Price? ?5 ? ? ??
    [assert] a reference at the very end of the string
    [pass] got: 5 ?
    [assert] an unknown name is still left alone
    [pass] got: &nope;
  [test] a reference stands for the character the standard gives it
    [assert] the CJK brackets have no reference to write
    [pass] got: (#f #f)
    [assert] so those characters pass through unchanged
    [pass] got: ??
    [assert] while the references still decode as HTML5 reads them
    [pass] got: (? ?)
    [assert] the mathematical brackets are what is written
    [pass] got: (⟨ ⟩)
    [assert] and they survive a round trip
    [pass] got: ??
  [test] html-entity-ref reads a reference
    [assert] a Greek letter
    [pass] got: ?
    [assert] an arrow
    [pass] got: ?
    [assert] a non-breaking space
    [pass] got: ?
    [assert] a mathematical symbol
    [pass] got: ?
    [assert] and another
    [pass] got: ?
    [assert] the legacy upper-case spelling too
    [pass] got: &
    [assert] a currency sign's HTML5-only spelling
    [pass] got: $
    [assert] punctuation the old table did not have
    [pass] got: ?
    [assert] an entity standing for two code points
    [pass] got: ??
    [assert] a currency sign
    [pass] got: ?
    [assert] case matters: this is the capital
    [pass] got: ?
    [assert] the ampersand entity
    [pass] got: &
  [test] html-char-ref writes a reference
    [assert] another
    [pass] got: >
    [assert] a significant character
    [pass] got: <
    [assert] a symbol
    [pass] got: ©
    [assert] and the apostrophe HTML5 gave us
    [pass] got: '
    [assert] a character with no entity
    [pass] got: #f
    [assert] a non-breaking space
    [pass] got:  
    [assert] another
    [pass] got: "
    [assert] and another
    [pass] got: ã
    [assert] nor an astral-plane character
    [pass] got: #f
    [assert] a digit has none either
    [pass] got: #f
    [assert] an accent, as before
    [pass] got: á
    [assert] another
    [pass] got: &
    [assert] nor does a slash
    [pass] got: #f
  [test] the tables are the standard's, not a hand-written sample
    [assert] every HTML5 reference ending in a semicolon
    [pass] got: 2125
    [assert] the escape set is the HTML4 one
    [pass] got: 253
  [test] html-entity-ref refuses what is not a reference
    [assert] the empty string
    [pass] got: #f
    [assert] an empty reference
    [pass] got: #f
    [assert] a reference with no semicolon
    [pass] got: #f
    [assert] a name with no ampersand
    [pass] got: #f
    [assert] an unknown name
    [pass] got: #f
  [test] every entry is shaped the way a lookup expects
    [assert] escape keys are single characters
    [pass] got: #t
    [assert] decode names run from & to ;
    [pass] got: #t
    [assert] escape values are named references
    [pass] got: #t
  [test] the two tables agree with each other
    [assert] nothing is emitted that cannot be read back
    [pass] got: ()
    [assert] the encoder's own lookup is consistent
    [pass] got: ()
    [assert] and reading it back gives the same character
    [pass] got: ()
  [test] html-escape uses the wider table
    [assert] and the five significant ones are unaffected
    [pass] got: <>&"'
    [assert] the HTML5-only names are still not emitted
    [pass] got: a/b*c$%
    [assert] a character with no entity passes through
    [pass] got: a?
    [assert] a non-breaking space is written as one
    [pass] got: a b
    [assert] symbols and accents all become entities
    [pass] got: Price… €5 — © α→ café
  [test] escaping and unescaping are inverses over the whole table
    [assert] every escapable character survives a round trip
    [pass] got: ()
    [assert] and so does a sentence mixing them
    [pass] got: caf? ? ? 3 ? ?
[info] ran 1 tasks in: 0 seconds, 6100 microseconds

finished running tests
;;; note: source file ./src/kracht/prelude.scm
;;;       newer than compiled /gnu/store/33ykn8h81msmj1k67l11avsbh2y6xc82-profile/lib/guile/3.0/site-ccache/kracht/prelude.go
;;; found fresh local cache at /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/kracht/trunk/src/kracht/prelude.scm.go
;;; note: source file ./src/kracht/strings.scm
;;;       newer than compiled /gnu/store/33ykn8h81msmj1k67l11avsbh2y6xc82-profile/lib/guile/3.0/site-ccache/kracht/strings.go
;;; found fresh local cache at /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/kracht/trunk/src/kracht/strings.scm.go
;;; note: source file ./src/kracht/lists.scm
;;;       newer than compiled /gnu/store/33ykn8h81msmj1k67l11avsbh2y6xc82-profile/lib/guile/3.0/site-ccache/kracht/lists.go
;;; found fresh local cache at /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/kracht/trunk/src/kracht/lists.scm.go
;;; note: source file ./src/kracht/sql.scm
;;;       newer than compiled /gnu/store/33ykn8h81msmj1k67l11avsbh2y6xc82-profile/lib/guile/3.0/site-ccache/kracht/sql.go
;;; found fresh local cache at /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/kracht/trunk/src/kracht/sql.scm.go
;;; note: source file ./src/kracht/web.scm
;;;       newer than compiled /gnu/store/33ykn8h81msmj1k67l11avsbh2y6xc82-profile/lib/guile/3.0/site-ccache/kracht/web.go
;;; found fresh local cache at /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/kracht/trunk/src/kracht/web.scm.go
;;; note: source file ./src/kracht/html-entities.scm
;;;       newer than compiled /gnu/store/33ykn8h81msmj1k67l11avsbh2y6xc82-profile/lib/guile/3.0/site-ccache/kracht/html-entities.go
;;; found fresh local cache at /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/kracht/trunk/src/kracht/html-entities.scm.go
;;; note: source file ./src/kracht/io.scm
;;;       newer than compiled /gnu/store/33ykn8h81msmj1k67l11avsbh2y6xc82-profile/lib/guile/3.0/site-ccache/kracht/io.go
;;; found fresh local cache at /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/kracht/trunk/src/kracht/io.scm.go


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

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.


→ running command: cd /etc/byggsteg/job-clone/kracht/trunk && sudo maak deploy

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_005fhtml_002dentities.html'
removed '/srv/http/jointhefreeworld.org/api-docs/kracht/kracht_005fio.html'
removed '/srv/http/jointhefreeworld.org/api-docs/kracht/kracht_005flists.html'
removed '/srv/http/jointhefreeworld.org/api-docs/kracht/kracht_005fprelude.html'
removed '/srv/http/jointhefreeworld.org/api-docs/kracht/kracht_005fsql.html'
removed '/srv/http/jointhefreeworld.org/api-docs/kracht/kracht_005fstrings.html'
removed '/srv/http/jointhefreeworld.org/api-docs/kracht/kracht_005fweb.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_005fhtml_002dentities.html' -> '/srv/http/jointhefreeworld.org/api-docs/kracht/kracht_005fhtml_002dentities.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)))))