maak-2b7274a7-51db

job succeeded

job
(lambda()
  `((task . ("maak-test"))
    (project . "maak")
    (branch-name . "feat/zig-build-ergonomics")
    (clone-url . "https://github.com/urutau-ltd/maak.git")))
starting new job...
clonegit clone -b "feat/zig-build-ergonomics" "https://github.com/urutau-ltd/maak.git" "/etc/byggsteg/job-clone//maak/feat… succeeded1 lines · 0.7s
Cloning into '/etc/byggsteg/job-clone//maak/feat/zig-build-ergonomics'...
setupuname -a succeeded1 lines · 0.0s
Linux wolk-jjba 7.2.11-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
setupgit log --name-status HEAD^..HEAD succeeded5 lines · 0.0s
commit 3de9c8c258d321b580e4d3c80786ef7a335cd75c
Author: FuncProgLinux <softwarelibre@urutau-ltd.org>
Date:   Wed Nov 25 10:43:11 2026 -0600

    docs(zig): document optional build steps

M       docs/zig.org
testmaak test succeeded5029 lines · 40s
--------------------------------------------------------------

Maak 1.0.0: the infinitely extensible command runner

Loading tasks from: /etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/maak.scm

Executing Maak tasks: test


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

=> Running Maak task: test

  Run the project's unit test suite with Veritas.

The suite is started by ./scripts/maak-test rather than from here, and the
direction is the point: that script is bash and guile, it never loads this
checkout's library before the suite does, so a change that breaks (maak main)
still gets a test run and a report instead of a command line that will not
start.  It also chooses the environment -- the manifest under Guix, this
project's flake under Nix, or the guile already on PATH -- and says which one
it chose.  MAAK_TEST_ENV=guix|nix|plain picks one outright.

  Execute command:
./scripts/maak-test
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/maak.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.6/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/maak.scm.go
maak-test: running the suite in this project's Guix manifest
/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/channels.scm:15:6: warning: channel 'jointhefreeworld' is not trusted
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling ./test/veritas/unit/niri.scm
;;; note: source file ./src/maak/dsl.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/dsl.go
;;; note: source file ./src/maak/dsl.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/dsl.go
;;; note: source file ./src/maak/dsl.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/dsl.go
;;; compiling ./src/maak/dsl.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/dsl.scm.go
;;; note: source file ./src/maak/shell.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/shell.go
;;; note: source file ./src/maak/shell.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/shell.go
;;; note: source file ./src/maak/shell.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/shell.go
;;; compiling ./src/maak/shell.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/shell.scm.go
;;; note: source file ./src/maak/niri.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/niri.go
;;; note: source file ./src/maak/niri.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/niri.go
;;; note: source file ./src/maak/niri.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/niri.go
;;; compiling ./src/maak/niri.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/niri.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/niri.scm.go
mkdir: created directory '/tmp/maak-test-niri-niri-available-14633'
removed '/tmp/maak-test-niri-niri-available-14633/niri'
removed directory '/tmp/maak-test-niri-niri-available-14633'
mkdir: created directory '/tmp/maak-test-niri-niri-unavailable-14633'
removed directory '/tmp/maak-test-niri-niri-unavailable-14633'

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

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

found unit tests: (niri.scm shell.scm formats.scm sift.scm elevation.scm gradle.scm cli.scm zig.scm container.scm dsl.scm completion.scm errors.scm cargo.scm git.scm guix.scm maven.scm docstrings.scm plan.scm metadata.scm elisp.scm guide.scm maak-veritas.scm version.scm archive.scm integration.scm net.scm frontend.scm explain.scm tasks.scm commands.scm json.scm listing.scm watch.scm cc.scm bundle.scm declarative.scm python.scm)


running unit tests from file: niri.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] niri argument lists
  [🧪 test] the program and subcommand come first
    ✅ got: (niri msg outputs)
  [🧪 test] JSON is a flag of msg, before the subcommand
    ✅ got: (niri msg --json windows)
  [🧪 test] an action is its own subcommand
    ✅ got: (niri msg action close-window)
  [🧪 test] an output names the output before the action
    ✅ got: (niri msg output DP-1 mode 1920x1080@60)
  [🧪 test] the generic runner prints the command
    ✅ got: niri msg action close-window
  [🧪 test] capture returns nothing in a dry run
    ✅ got: 
+----------------------------------------------+
[📑 suite] niri queries
  [🧪 test] every query reaches its subcommand
    ✅ got: (niri msg version niri msg outputs niri msg workspaces niri msg windows niri msg layers niri msg keyboard-layouts niri msg focused-output niri msg focused-window niri msg pick-window niri msg pick-color niri msg overview-state niri msg casts niri msg request-error)
  [🧪 test] a query can ask for JSON
    ✅ got: niri msg --json workspaces
  [🧪 test] niri-available? finds niri on PATH
    ✅ got: #t
  [🧪 test] niri-available? is false when niri is not on PATH
    ✅ got: #f
+----------------------------------------------+
[📑 suite] niri actions
  [🧪 test] the argument-free actions are plain subcommands
    ✅ got: (niri msg action close-window niri msg action fullscreen-window niri msg action toggle-windowed-fullscreen niri msg action toggle-overview niri msg action focus-workspace-previous niri msg action focus-window-previous niri msg action screenshot niri msg action screenshot-screen niri msg action screenshot-window niri msg action power-off-monitors niri msg action power-on-monitors niri msg action unset-workspace-name)
  [🧪 test] a workspace can be focused by reference
    ✅ got: niri msg action focus-workspace 2
  [🧪 test] a workspace name stays one argument
    ✅ got: niri msg action focus-workspace 'my space'
  [🧪 test] a column and a window take their index
    ✅ got: (niri msg action focus-column 1 niri msg action focus-window 42)
  [🧪 test] a monitor is named as it is
    ✅ got: niri msg action focus-monitor DP-1
  [🧪 test] moving a window carries its id and focus decision
    ✅ got: niri msg action move-window-to-workspace --window-id 7 --focus false 3
  [🧪 test] moving a column names the workspace
    ✅ got: niri msg action move-column-to-workspace 4
  [🧪 test] windows and columns move to a monitor
    ✅ got: (niri msg action move-window-to-monitor HDMI-A-1 niri msg action move-column-to-monitor HDMI-A-1)
  [🧪 test] width changes carry their optional id
    ✅ got: (niri msg action set-window-width --id 5 +10% niri msg action set-column-width 50%);;; compiling ./test/veritas/unit/shell.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/shell.scm.go
mkdir: created directory '/tmp/maak-test-files-14633'
removed '/tmp/maak-test-files-14633/a.txt'
removed directory '/tmp/maak-test-files-14633'
mkdir: created directory '/tmp/maak-test-parents-14633'
mkdir: created directory '/tmp/maak-test-parents-14633/deep'
mkdir: created directory '/tmp/maak-test-parents-14633/deep/nested'
removed '/tmp/maak-test-parents-14633/deep/nested/a.txt'
removed directory '/tmp/maak-test-parents-14633/deep/nested'
removed directory '/tmp/maak-test-parents-14633/deep'
removed directory '/tmp/maak-test-parents-14633'
mkdir: created directory '/tmp/maak-test-append-14633'
removed '/tmp/maak-test-append-14633/a.txt'
removed directory '/tmp/maak-test-append-14633'
mkdir: created directory '/tmp/maak-test-missing-14633'
mkdir: created directory '/tmp/maak-test-touch-14633'
removed '/tmp/maak-test-touch-14633/touched'
removed directory '/tmp/maak-test-touch-14633'
mkdir: created directory '/tmp/maak-test-spaces-14633'
mkdir: created directory '/tmp/maak-test-spaces-14633/a b'
removed directory '/tmp/maak-test-spaces-14633/a b'
removed directory '/tmp/maak-test-spaces-14633'
mkdir: created directory '/tmp/maak-test-touch-space-14633'
removed '/tmp/maak-test-touch-space-14633/a b.txt'
removed directory '/tmp/maak-test-touch-space-14633'
mkdir: created directory '/tmp/maak-test-cp-space-14633'
removed '/tmp/maak-test-cp-space-14633/a b.txt'
removed '/tmp/maak-test-cp-space-14633/c d.txt'
removed directory '/tmp/maak-test-cp-space-14633'
mkdir: created directory '/tmp/maak-test-mv-space-14633'
renamed '/tmp/maak-test-mv-space-14633/a b.txt' -> '/tmp/maak-test-mv-space-14633/c d.txt'
removed '/tmp/maak-test-mv-space-14633/c d.txt'
removed directory '/tmp/maak-test-mv-space-14633'
mkdir: created directory '/tmp/maak-test-ln-space-14633'
removed '/tmp/maak-test-ln-space-14633/a b.txt'
removed '/tmp/maak-test-ln-space-14633/c d.txt'
removed directory '/tmp/maak-test-ln-space-14633'
mkdir: created directory '/tmp/maak-test-chmod-space-14633'
removed '/tmp/maak-test-chmod-space-14633/a b.sh'
removed directory '/tmp/maak-test-chmod-space-14633'
mkdir: created directory '/tmp/maak-test-rm-space-14633'
mkdir: created directory '/tmp/maak-test-rm-space-14633/a b'
removed directory '/tmp/maak-test-rm-space-14633/a b'
removed directory '/tmp/maak-test-rm-space-14633'
mkdir: created directory '/tmp/maak-test-expand-rm-14633'
removed '/tmp/maak-test-expand-rm-14633/a b.txt'
removed '/tmp/maak-test-expand-rm-14633/c.txt'
removed '/tmp/maak-test-expand-rm-14633/keep.log'
removed directory '/tmp/maak-test-expand-rm-14633'
mkdir: created directory '/tmp/maak-test-expand-cp-14633'
mkdir: created directory '/tmp/maak-test-expand-cp-14633/dest'
removed '/tmp/maak-test-expand-cp-14633/a b.txt'
removed '/tmp/maak-test-expand-cp-14633/c.txt'
removed '/tmp/maak-test-expand-cp-14633/dest/a b.txt'
removed '/tmp/maak-test-expand-cp-14633/dest/c.txt'
removed directory '/tmp/maak-test-expand-cp-14633/dest'
removed directory '/tmp/maak-test-expand-cp-14633'
mkdir: created directory '/tmp/maak-test-expand-chmod-14633'
removed '/tmp/maak-test-expand-chmod-14633/a.txt'
removed '/tmp/maak-test-expand-chmod-14633/b.txt'
removed directory '/tmp/maak-test-expand-chmod-14633'

  [🧪 test] a workspace can be named and unnamed
    ✅ got: niri msg action set-workspace-name web
  [🧪 test] spawn separates niri's flags from the program
    ✅ got: niri msg action spawn -- foot -e htop
  [🧪 test] spawn-sh keeps the line for the shell
    ✅ got: niri msg action spawn-sh -- 'echo hi'
  [🧪 test] quit skips the confirmation by default
    ✅ got: niri msg action quit --skip-confirmation
  [🧪 test] spawn refuses an empty program list
    ✅ success catching error: %exception: (#<&maak-error message: "niri-spawn expects a non-empty list of strings, starting with the program" hint: "Write (niri-spawn (list \"foot\")).">)
  [🧪 test] spawn refuses arguments that are not strings
    ✅ success catching error: %exception: (#<&maak-error message: "niri-spawn expects a non-empty list of strings, starting with the program" hint: "Write (niri-spawn (list \"foot\")).">)
+----------------------------------------------+
[📑 suite] niri outputs
  [🧪 test] turning an output on and off
    ✅ got: (niri msg output DP-1 on niri msg output DP-1 off)
  [🧪 test] an output mode is passed through
    ✅ got: niri msg output DP-1 mode 1920x1080@60
  [🧪 test] scale, transform and position reach the right actions
    ✅ got: (niri msg output DP-1 scale 1.5 niri msg output DP-1 transform 90 niri msg output DP-1 position 0 1080)
ℹ️ info - ran 4 tasks in: 0 seconds, 44926 microseconds

running unit tests from file: shell.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] Shell quoting and lookup
  [🧪 test] shell-quote wraps in single quotes
    ✅ got: 'a b'
    ✅ got: ''
  [🧪 test] shell-quote escapes embedded single quotes
    ✅ got: 'it'\''s'
  [🧪 test] which finds a program that exists
    ✅ got: #t
  [🧪 test] which returns #f for a missing program
    ✅ got: #f
  [🧪 test] command-exists? mirrors which
    ✅ got: #t
    ✅ got: #f
  [🧪 test] require-command returns the path it found
    ✅ got: #t
  [🧪 test] require-command raises for a missing program
    ✅ success catching error: %exception: (#<&maak-error message: "required command not found on PATH: definitely-not-a-real-command-maak-test" hint: "Install `definitely-not-a-real-command-maak-test', or add it to PATH.">)
+----------------------------------------------+
[📑 suite] File helpers
  [🧪 test] write-file then read-file round-trips
    ✅ got: hello
  [🧪 test] write-file creates parent directories
    ✅ got: deep
  [🧪 test] write-file appends when asked
    ✅ got: onetwo
  [🧪 test] read-file returns its default for a missing file
    ✅ got: fallback
  [🧪 test] read-file of a missing file is #f without a default
    ✅ got: #f
  [🧪 test] touch creates a file
    ✅ got: #t
  [🧪 test] with-directory changes the directory
    ✅ got: #t
  [🧪 test] with-directory restores the directory
    ✅ got: /etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics
+----------------------------------------------+
[📑 suite] Capturing output
  [🧪 test] capture returns the output of a successful command
    ✅ got: fine

  [🧪 test] capture raises when the command fails;;; compiling ./test/veritas/unit/formats.scm
;;; note: source file ./src/maak/formats.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/formats.go
;;; note: source file ./src/maak/formats.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/formats.go
;;; note: source file ./src/maak/formats.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/formats.go
;;; compiling ./src/maak/formats.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/formats.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/formats.scm.go
mkdir: created directory '/tmp/maak-formats-read-14633'
removed '/tmp/maak-formats-read-14633/maak.json'
removed directory '/tmp/maak-formats-read-14633'
mkdir: created directory '/tmp/maak-formats-unknown-14633'
removed '/tmp/maak-formats-unknown-14633/maak.ini'
removed directory '/tmp/maak-formats-unknown-14633'

    ✅ success catching error: %exception: (#<&maak-error message: "command failed (exit code 3): exit 3" hint: "Fix the command above, or run `maak --dry-run' to inspect it first.">)
  [🧪 test] capture keeps partial output only when allowed to fail
    ✅ got: partial

  [🧪 test] capture includes standard error when asked
    ✅ got: oops

+----------------------------------------------+
[📑 suite] File helpers keep paths with spaces whole
  [🧪 test] mkdir-p creates one directory, not a directory per word
    ✅ got: #t
  [🧪 test] touch creates a file whose name has a space
    ✅ got: #t
  [🧪 test] cp copies paths whose names have spaces
    ✅ got: #t
  [🧪 test] mv moves paths whose names have spaces
    ✅ got: #t
  [🧪 test] ln-s links a path whose name has a space
    ✅ got: #t
  [🧪 test] chmod-file changes the mode of a path with a space
    ✅ got: 448
  [🧪 test] delete-file-recursively removes a directory with a space
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Shell expansion when asked for
  [🧪 test] delete-file-recursively expands a wildcard when asked
    ✅ got: #t
  [🧪 test] cp expands a wildcard when asked
    ✅ got: #t
  [🧪 test] chmod-file expands a wildcard when asked
    ✅ got: (384 384)
+----------------------------------------------+
[📑 suite] Environment helpers
  [🧪 test] home-dir and tmp-dir return strings
    ✅ got: #t
    ✅ got: #t
  [🧪 test] env-set! then env-get round-trips
    ✅ got: value
  [🧪 test] env-unset! removes the variable
    ✅ got: #f
  [🧪 test] env-get falls back to its default
    ✅ got: default
  [🧪 test] with-env sets and restores the variable
    ✅ got: inner
    ✅ got: #f
  [🧪 test] with-env restores an existing value
    ✅ got: outer
  [🧪 test] with-env-vars sets every pair
    ✅ got: (1 2)
+----------------------------------------------+
[📑 suite] Environment files
  [🧪 test] the assignments are read in the order they are written
    ✅ got: ((CI . 1) (MAAK_SMOKE . hello) (MAAK_SMOKE_QUOTED . quoted value) (SINGLE . single quoted) (EMPTY . ) (DATABASE_URL . postgres://localhost/dev?sslmode=disable) (INDENTED . spaced))
  [🧪 test] environment files skip lines without an =
    ✅ got: #f
  [🧪 test] environment files skip comments
    ✅ got: #f
  [🧪 test] a file that does not exist has no assignments
    ✅ got: ()
  [🧪 test] loading sets the names and reports them
    ✅ got: (CI MAAK_SMOKE MAAK_SMOKE_QUOTED SINGLE EMPTY DATABASE_URL INDENTED)
    ✅ got: hello
    ✅ got: quoted value
  [🧪 test] the environment keeps a name it already has
    ✅ got: from-the-environment
  [🧪 test] overriding is possible when asked for
    ✅ got: hello
  [🧪 test] loading a file that is not there changes nothing
    ✅ got: ()
ℹ️ info - ran 7 tasks in: 0 seconds, 282726 microseconds

running unit tests from file: formats.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] JSON
  [🧪 test] an object becomes a string-keyed alist
    ✅ got: ((a . 1) (b . two))
  [🧪 test] an array becomes a list, in order
    ✅ got: (1 2 3)
  [🧪 test] true, false and null keep their meaning
    ✅ got: (#t #f null)
  [🧪 test] an escape is decoded
    ✅ got: a
b
  [🧪 test] a surrogate pair is one character
    ✅ got: 😀
  [🧪 test] a duplicate key is refused
    ✅ success catching error: %exception: (#<&maak-error message: "<json>: duplicate key \"a\" at line 1, column 10" hint: "Check the syntax near the reported position, or use a task file in a format maak reads whole.">)
  [🧪 test] text after the value is refused
    ✅ success catching error: %exception: (#<&maak-error message: "<json>: unexpected characters after the JSON value at line 1, column 4" hint: "Check the syntax near the reported position, or use a task file in a format maak reads whole.">)
  [🧪 test] a trailing comma is refused
    ✅ success catching error: %exception: (#<&maak-error message: "<json>: a trailing comma is not allowed here at line 1, column 3" hint: "Check the syntax near the reported position, or use a task file in a format maak reads whole.">)
+----------------------------------------------+
[📑 suite] TOML
  [🧪 test] a key and a value become a pair
    ✅ got: ((version . 1))
  [🧪 test] a table header nests what follows it
    ✅ got: ((tasks (build (command cargo build))))
  [🧪 test] strings, booleans, numbers and comments are read
    ✅ got: ((name . maak) (ok . #t) (n . 3))
  [🧪 test] an inline table becomes an alist
    ✅ got: ((env (A . 1) (B . 2)))
  [🧪 test] an array may span several lines
    ✅ got: ((dependencies requests>=2 rich))
  [🧪 test] an array of tables appends one table per header
    ✅ got: ((tasks ((name . build)) ((name . test))))
  [🧪 test] a table after an array of tables is a table of its own
    ✅ got: ((tool (uv (index ((name . a)))) (ruff (line-length . 100))))
  [🧪 test] a key defined twice is refused
    ✅ success catching error: %exception: (#<&maak-error message: "<toml>: a key is defined twice at line 2" hint: "Check the syntax on that line, or use a task file in a format maak reads whole.">)
  [🧪 test] an array of tables and a table of the same name are refused
    ✅ success catching error: %exception: (#<&maak-error message: "<toml>: tasks is a table, not an array of tables at line 3" hint: "Check the syntax on that line, or use a task file in a format maak reads whole.">)
+----------------------------------------------+
[📑 suite] YAML
  [🧪 test] a block mapping becomes an alist
    ✅ got: ((a . 1) (b . 2))
  [🧪 test] a nested mapping follows its key
    ✅ got: ((a (b . 1) (c . 2)) (d . 3))
  [🧪 test] a block sequence becomes a list
    ✅ got: (cargo build)
  [🧪 test] a flow sequence becomes a list
    ✅ got: ((command cargo build))
  [🧪 test] a sequence of mappings keeps each item
    ✅ got: ((tasks ((name . build) (command cargo build)) ((name . test) (command . cargo test))))
  [🧪 test] a quoted scalar keeps its spaces
    ✅ got: ((doc . build it))
  [🧪 test] a comment is not part of the value
    ✅ got: ((a . 1))
  [🧪 test] a duplicate key is refused
    ✅ success catching error: %exception: (#<&maak-error message: "<yaml>: duplicate key \"a\" at line 2" hint: "Check the syntax on that line, or use a task file in a format maak reads whole.">);;; compiling ./test/veritas/unit/sift.scm
;;; note: source file ./src/maak/sift.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/sift.go
;;; note: source file ./src/maak/sift.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/sift.go
;;; note: source file ./src/maak/sift.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/sift.go
;;; compiling ./src/maak/sift.scm
;;; note: source file ./src/maak/watch.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/watch.go
;;; note: source file ./src/maak/watch.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/watch.go
;;; note: source file ./src/maak/watch.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/watch.go
;;; compiling ./src/maak/watch.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/watch.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/sift.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/sift.scm.go
removed '/tmp/maak-sift-14633-1/one.scm'
removed '/tmp/maak-sift-14633-1/notes.txt'
removed directory '/tmp/maak-sift-14633-1'
removed '/tmp/maak-sift-14633-2/sub/two.el'
removed directory '/tmp/maak-sift-14633-2/sub'
removed directory '/tmp/maak-sift-14633-2'
removed '/tmp/maak-sift-14633-3/fixtures/wrong.scm'
removed directory '/tmp/maak-sift-14633-3/fixtures'
removed '/tmp/maak-sift-14633-3/right.scm'
removed directory '/tmp/maak-sift-14633-3'
removed '/tmp/maak-sift-14633-4/b.scm'
removed '/tmp/maak-sift-14633-4/a.scm'
removed directory '/tmp/maak-sift-14633-4'

  [🧪 test] an anchor is refused rather than guessed
    ✅ success catching error: %exception: (#<&maak-error message: "<yaml>: multi-line scalars, anchors, aliases and tags are not read here at line 1" hint: "Check the syntax on that line, or use a task file in a format maak reads whole.">)
+----------------------------------------------+
[📑 suite] Data files and accessors
  [🧪 test] an extension names the format
    ✅ got: (json toml yaml yaml)
  [🧪 test] an unknown extension names no format
    ✅ got: #f
  [🧪 test] a mapping is told from a sequence
    ✅ got: (#t #f #t)
  [🧪 test] a reference reads a key and its default
    ✅ got: (1 missing)
  [🧪 test] a file is read by its extension
    ✅ got: ((version . 1))
  [🧪 test] an unknown extension is refused
    ✅ got: #t
ℹ️ info - ran 4 tasks in: 0 seconds, 41143 microseconds

running unit tests from file: sift.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] The sift command line
  [🧪 test] the plain form names the subcommand and the file
    ✅ got: (sift check src)
  [🧪 test] the dialect and the style reach the command line
    ✅ got: (sift check --dialect scheme --style community src)
  [🧪 test] a lint run can ask for a severity and a format
    ✅ got: (sift lint --severity warning --format github src tests)
  [🧪 test] format writes when asked
    ✅ got: (sift format --write src)
  [🧪 test] format can print the patch instead
    ✅ got: (sift format --diff src)
  [🧪 test] formatting options that take a number are written as words
    ✅ got: (sift format --line-length 96 --indent 2 src)
  [🧪 test] several filters are repeated rather than joined
    ✅ got: (sift lint --exclude-checker SIFT001 --exclude-checker SIFT002 src)
  [🧪 test] named checkers are joined with commas
    ✅ got: (sift lint --checker unused-module,SIFT012 src)
  [🧪 test] arguments this builder does not name come last
    ✅ got: (sift lint -- src)
  [🧪 test] writing and printing at once is refused
    ✅ success catching error: %exception: (#<&maak-error message: "sift: --write and --stdout ask for two destinations" hint: "Write the files with #:write? #t, or print them with #:stdout? #t.">)
  [🧪 test] sorting without writing is refused
    ✅ success catching error: %exception: (#<&maak-error message: "sift: --sort needs --write" hint: "Add #:write? #t, or drop #:sort?; sorting to standard output would reorder what is printed only.">)
  [🧪 test] ci refuses to fix what it judges
    ✅ success catching error: %exception: (#<&maak-error message: "sift: ci does not take --fix" hint: "Run (sift \"fix\" files) and then (sift-ci files), so the pipeline judges the tree it fixed.">)
  [🧪 test] an empty subcommand is refused
    ✅ success catching error: %exception: (#<&maak-error message: "sift needs a subcommand, got \"\"" hint: "Write (sift-ci \"src\"), or (sift \"lint\" \"src\").">)
  [🧪 test] files that are not strings are refused
    ✅ success catching error: %exception: (#<&maak-error message: "sift takes a string or a list of strings, got (1 2)" hint: "Write '(\"src\" \"tests\") for several files or directories.">)
+----------------------------------------------+
[📑 suite] Reading sift's three answers
  [🧪 test] zero is clean
    ✅ got: clean
  [🧪 test] one is a finding;;; compiling ./test/veritas/unit/elevation.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/elevation.scm.go
mkdir: created directory '/tmp/maak-test-elevation-fallback-14633'
removed directory '/tmp/maak-test-elevation-fallback-14633'
mkdir: created directory '/tmp/maak-test-elevation-doas-14633'
removed '/tmp/maak-test-elevation-doas-14633/doas'
removed directory '/tmp/maak-test-elevation-doas-14633'
mkdir: created directory '/tmp/maak-test-elevation-both-14633'
removed '/tmp/maak-test-elevation-both-14633/doas'
removed '/tmp/maak-test-elevation-both-14633/sudo'
removed directory '/tmp/maak-test-elevation-both-14633'
mkdir: created directory '/tmp/maak-test-elevation-preferred-14633'
removed '/tmp/maak-test-elevation-preferred-14633/doas'
removed directory '/tmp/maak-test-elevation-preferred-14633'
mkdir: created directory '/tmp/maak-test-elevation-not-executable-14633'
removed '/tmp/maak-test-elevation-not-executable-14633/doas'
removed directory '/tmp/maak-test-elevation-not-executable-14633'
;;; compiling ./test/veritas/unit/gradle.scm
;;; note: source file ./src/maak/gradle.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/gradle.go
;;; note: source file ./src/maak/gradle.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/gradle.go
;;; note: source file ./src/maak/gradle.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/gradle.go
;;; compiling ./src/maak/gradle.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/gradle.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/gradle.scm.go
mkdir: created directory '/tmp/maak-gradle-output-14633'
removed '/tmp/maak-gradle-output-14633/gradle'
removed directory '/tmp/maak-gradle-output-14633'
mkdir: created directory '/tmp/maak-gradle-wrapper-14633'
removed '/tmp/maak-gradle-wrapper-14633/gradlew'
removed directory '/tmp/maak-gradle-wrapper-14633'
mkdir: created directory '/tmp/maak-gradle-no-wrapper-14633'
removed directory '/tmp/maak-gradle-no-wrapper-14633'

    ✅ got: findings
  [🧪 test] two is an error, which is not a finding
    ✅ got: error
  [🧪 test] a dry run answers clean without running anything
[DRY-RUN]: definitely-not-a-program check

    ✅ got: clean
+----------------------------------------------+
[📑 suite] Finding the files sift reads
  [🧪 test] the walk finds Lisp files and leaves the rest alone
    ✅ got: (one.scm)
  [🧪 test] the walk descends into a subdirectory
    ✅ got: (two.el)
  [🧪 test] a pruned directory is skipped
    ✅ got: (right.scm)
  [🧪 test] the walk answers in sorted order
    ✅ got: (a.scm b.scm)
  [🧪 test] a directory that is not there is an error
    ✅ success catching error: %exception: (#<&maak-error message: "sift-files: /definitely/not/a/directory is not a directory" hint: "Name a directory of the checkout, or build the list by hand.">)
ℹ️ info - ran 3 tasks in: 0 seconds, 33827 microseconds

running unit tests from file: elevation.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] Choosing the escalation command
  [🧪 test] sudo is the fallback
    ✅ got: sudo
  [🧪 test] doas is chosen when it is installed
    ✅ got: doas
  [🧪 test] doas wins over sudo when both are installed
    ✅ got: doas
  [🧪 test] an explicit preference wins
    ✅ got: my-escalator
  [🧪 test] a file that is not executable is not a command
    ✅ got: sudo
  [🧪 test] the default is a non-empty string
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Using the escalation command
  [🧪 test] dollar puts the chosen command first
    ✅ got: doas echo hi
  [🧪 test] dollar keeps the decoration order
    ✅ got: doas env A=1 echo hi >/dev/null 2>&1
  [🧪 test] run puts the chosen command in its argv
    ✅ got: doas env A=1 echo hi
  [🧪 test] a pipeline stage uses the chosen command
    ✅ got: doas env A=1 true
  [🧪 test] the escalation command may carry options
    ✅ got: doas -n echo hi
  [🧪 test] options may be separated by any whitespace
    ✅ got: doas -n echo hi
  [🧪 test] an empty escalation command turns the request off
    ✅ got: echo hi
  [🧪 test] an empty escalation command runs for real too
    ✅ got: #t
  [🧪 test] decorate-command is the single place the choice is applied
    ✅ got: doas env A=1 true
  [🧪 test] without the request nothing is added
    ✅ got: true
ℹ️ info - ran 2 tasks in: 0 seconds, 86613 microseconds

running unit tests from file: gradle.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] The Gradle command line
  [🧪 test] a task is the program and its name
    ✅ got: (gradle build)
  [🧪 test] the project, properties and excludes reach the command
    ✅ got: (gradle --project-dir service -Pversion=1.2.3 -Pflag -x test --no-daemon --parallel --build-cache --warning-mode all --console plain --max-workers 4 clean build)
  [🧪 test] the offline, refresh and rerun flags are words
    ✅ got: (gradle --offline --refresh-dependencies --rerun-tasks --continue --stacktrace test)
  [🧪 test] arguments are appended as they are
    ✅ got: (gradle test --tests Foo);;; compiling ./test/veritas/unit/cli.scm
;;; note: source file ./src/maak/main.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/main.go
;;; note: source file ./src/maak/main.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/main.go
;;; note: source file ./src/maak/main.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/main.go
;;; compiling ./src/maak/main.scm
;;; note: source file ./src/maak/maak.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/maak.go
;;; note: source file ./src/maak/maak.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/maak.go
;;; note: source file ./src/maak/maak.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/maak.go
;;; compiling ./src/maak/maak.scm
;;; note: source file ./src/maak/nix.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/nix.go
;;; note: source file ./src/maak/nix.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/nix.go
;;; note: source file ./src/maak/nix.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/nix.go
;;; compiling ./src/maak/nix.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/nix.scm.go
;;; note: source file ./src/maak/guix.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/guix.go
;;; note: source file ./src/maak/guix.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/guix.go
;;; note: source file ./src/maak/guix.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/guix.go
;;; compiling ./src/maak/guix.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/guix.scm.go
;;; note: source file ./src/maak/bundle.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/bundle.go
;;; note: source file ./src/maak/bundle.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/bundle.go
;;; note: source file ./src/maak/bundle.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/bundle.go
;;; compiling ./src/maak/bundle.scm
;;; note: source file ./src/maak/container.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/container.go
;;; note: source file ./src/maak/container.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/container.go
;;; note: source file ./src/maak/container.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/container.go
;;; compiling ./src/maak/container.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/container.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/bundle.scm.go
;;; note: source file ./src/maak/cc.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/cc.go
;;; note: source file ./src/maak/cc.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/cc.go
;;; note: source file ./src/maak/cc.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/cc.go
;;; compiling ./src/maak/cc.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/cc.scm.go
;;; note: source file ./src/maak/cargo.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/cargo.go
;;; note: source file ./src/maak/cargo.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/cargo.go
;;; note: source file ./src/maak/cargo.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/cargo.go
;;; compiling ./src/maak/cargo.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/cargo.scm.go
;;; compiling ./src/maak/zig.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/zig.scm.go
;;; note: source file ./src/maak/python.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/python.go
;;; note: source file ./src/maak/python.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/python.go
;;; note: source file ./src/maak/python.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/python.go
;;; compiling ./src/maak/python.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/python.scm.go
;;; note: source file ./src/maak/frontend.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/frontend.go
;;; note: source file ./src/maak/frontend.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/frontend.go
;;; note: source file ./src/maak/frontend.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/frontend.go
;;; compiling ./src/maak/frontend.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/frontend.scm.go
;;; note: source file ./src/maak/maven.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/maven.go
;;; note: source file ./src/maak/maven.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/maven.go
;;; note: source file ./src/maak/maven.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/maven.go
;;; compiling ./src/maak/maven.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/maven.scm.go
;;; note: source file ./src/maak/elisp.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/elisp.go
;;; note: source file ./src/maak/elisp.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/elisp.go
;;; note: source file ./src/maak/elisp.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/elisp.go
;;; compiling ./src/maak/elisp.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/elisp.scm.go
;;; note: source file ./src/maak/i18n.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/i18n.go
;;; note: source file ./src/maak/i18n.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/i18n.go
;;; note: source file ./src/maak/i18n.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/i18n.go
;;; compiling ./src/maak/i18n.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/i18n.scm.go
;;; note: source file ./src/maak/version.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/version.go
;;; note: source file ./src/maak/version.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/version.go
;;; note: source file ./src/maak/version.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/version.go
;;; compiling ./src/maak/version.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/version.scm.go
;;; note: source file ./src/maak/git.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/git.go
;;; note: source file ./src/maak/git.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/git.go
;;; note: source file ./src/maak/git.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/git.go
;;; compiling ./src/maak/git.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/git.scm.go
;;; note: source file ./src/maak/archive.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/archive.go
;;; note: source file ./src/maak/archive.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/archive.go
;;; note: source file ./src/maak/archive.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/archive.go
;;; compiling ./src/maak/archive.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/archive.scm.go
;;; note: source file ./src/maak/net.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/net.go
;;; note: source file ./src/maak/net.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/net.go
;;; note: source file ./src/maak/net.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/net.go
;;; compiling ./src/maak/net.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/net.scm.go
;;; note: source file ./src/maak/veritas.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/veritas.go
;;; note: source file ./src/maak/veritas.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/veritas.go
;;; note: source file ./src/maak/veritas.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/veritas.go
;;; compiling ./src/maak/veritas.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/veritas.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/maak.scm.go
;;; note: source file ./src/maak/tasks.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/tasks.go
;;; note: source file ./src/maak/tasks.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/tasks.go
;;; note: source file ./src/maak/tasks.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/tasks.go
;;; compiling ./src/maak/tasks.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/tasks.scm.go
  [🧪 test] an empty task list is refused
    ✅ success catching error: %exception: (#<&maak-error message: "gradle needs at least one task" hint: "Write (gradle-build), or (gradle \"test\" #:arguments '(\"--tests\" \"Foo\")).">)
  [🧪 test] a warning mode Gradle does not know is refused
    ✅ success catching error: %exception: (#<&maak-error message: "gradle's warning-mode takes all, fail, summary, none, got \"loud\"" hint: "Write #:warning-mode \"all\".">)
  [🧪 test] a worker count that is not positive is refused
    ✅ success catching error: %exception: (#<&maak-error message: "gradle takes a positive worker count, got 0" hint: "Write #:max-workers 4, or omit it for Gradle's default.">)
+----------------------------------------------+
[📑 suite] Running Gradle
  [🧪 test] a wrapper passes its arguments to the task
    ✅ got: (#t)
  [🧪 test] the output query returns what Gradle wrote
    ✅ got: gradle-output-ok

+----------------------------------------------+
[📑 suite] The Gradle wrapper
  [🧪 test] a directory with gradlew answers with it
    ✅ got: (#t /tmp/maak-gradle-wrapper-14633/gradlew)
  [🧪 test] a directory without gradlew answers with the program
    ✅ got: (#f gradle)
ℹ️ info - ran 3 tasks in: 0 seconds, 39422 microseconds

running unit tests from file: cli.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] Command line switches
  [🧪 test] the environment switch understands the usual negatives
    ✅ got: #f
    ✅ got: #f
    ✅ got: #f
    ✅ got: #f
    ✅ got: #f
    ✅ got: #t
    ✅ got: #t
  [🧪 test] the banner is on unless something turns it off
    ✅ got: #t
    ✅ got: #f
    ✅ got: #t
  [🧪 test] MAAK_NO_BANNER turns the banner off and --banner wins over it
    ✅ got: #f
    ✅ got: #t
    ✅ got: #f
  [🧪 test] environment files come from the flag, the environment, or the file
    ✅ got: (a.env b.env)
    ✅ got: ()
    ✅ got: (one.env two.env)
    ✅ got: (test/maak/fixtures/.env)
+----------------------------------------------+
[📑 suite] Banner and listing
  [🧪 test] the banner greets and names the Maak file
    ✅ got: 0
    ✅ got: the infinitely extensible
    ✅ got: test/maak/fixtures/cli.scm
    ✅ got: ok-task-ran
  [🧪 test] --no-banner keeps the task output
    ✅ got: 0
    ✅ got: #f
    ✅ got: #f
    ✅ got: ok-task-ran
  [🧪 test] MAAK_NO_BANNER is honoured by the run, not only by the switch
    ✅ got: 0
    ✅ got: #f
  [🧪 test] --list shows every task with its docstring
    ✅ got: 0
    ✅ got: Print a line and succeed.
    ✅ got: Fail the way a task is supposed to fail.
  [🧪 test] a listing describes the file it loaded, not the one before it
    ✅ got: #f
+----------------------------------------------+
[📑 suite] The shapes a listing takes
  [🧪 test] a layout may be named with the flag that asks for the listing
    ✅ got: 0
  [🧪 test] the names layout prints one task name per line and nothing else
    ✅ got: boom
ok
report-default
report-env

  [🧪 test] the default layout names the file and how many tasks it holds
    ✅ got: 4 tasks in
  [🧪 test] the default layout starts both docstrings in the same column
    ✅ got: #t
  [🧪 test] the plain layout keeps the name and the colon it always had
    ✅ got: ok: Print a line and succeed.
  [🧪 test] the long layout says what a task needs first
    ✅ got: needs: prepare
  [🧪 test] a listing leaves out the task that asked to be left out
    ✅ got: #f
  [🧪 test] the json layout is the listing an editor reads
    ✅ got: {"version":1,
  [🧪 test] a width folds a docstring that is longer than it
    ✅ got: #t
  [🧪 test] an unknown layout is refused, naming the listing as the problem
    ✅ got: (1 #t)
  [🧪 test] a width too narrow to fold into is refused
    ✅ got: invalid listing width: 7
+----------------------------------------------+
[📑 suite] A task that fails
  [🧪 test] a task error prints one line with its hint and no backtrace
    ✅ got: 1
    ✅ got: maak: error: no artefact for cli-test
    ✅ got: hint: Run `maak ok' first.
    ✅ got: #f
    ✅ got: #f
  [🧪 test] an unknown task lists the tasks that do exist
    ✅ got: 1
    ✅ got: Unknown task: nope
    ✅ got: Available tasks: boom, ok
+----------------------------------------------+
[📑 suite] Environment files at the command line
  [🧪 test] --env-file is read before the tasks run
    ✅ got: 0
    ✅ got: TAG=from-env-file
  [🧪 test] MAAK_ENV_FILE is read when no flag is given
    ✅ got: TAG=from-env-file
  [🧪 test] a .env beside the Maak file is read by default
    ✅ got: DEFAULT=from-default-env
  [🧪 test] --no-env-file reads nothing at all
    ✅ got: DEFAULT=unset
  [🧪 test] the environment beats the file for a name it already has
    ✅ got: TAG=from-the-environment
+----------------------------------------------+
[📑 suite] Several tasks in one run
  [🧪 test] a failure stops the tasks after it by default
    ✅ got: 1
    ✅ got: first-pass-ran
    ✅ got: #f
    ✅ got: no artefact for second-fail
  [🧪 test] --keep-going runs the tasks after a failure and fails at the end
    ✅ got: 1
    ✅ got: first-pass-ran
    ✅ got: last-pass-ran
    ✅ got: maak: error (task second-fail):
    ✅ got: no artefact for second-fail
    ✅ got: (task third-fail):
    ✅ got: 2 tasks failed: second-fail, third-fail
  [🧪 test] --ignore-errors keeps going and still exits 0
    ✅ got: 0
    ✅ got: last-pass-ran
    ✅ got: maak: warning: 1 task failed and --ignore-errors was given: second-fail
    ✅ got: no artefact for second-fail
+----------------------------------------------+
[📑 suite] Changing directory before anything else
  [🧪 test] --directory reads the Maak file of the directory it entered
    ✅ got: 0
    ✅ got: Entering directory
    ✅ got: subdir-marker-ran
  [🧪 test] a directory that is not there is an error, not a silent fallback
    ✅ got: 1
    ✅ got: no such directory: no/such/directory
    ✅ got: #t
    ✅ got: #t
  [🧪 test] the directory entered is reported by default
    ✅ got: #t
  [🧪 test] --no-print-directory leaves the report out
    ✅ got: #f
;;; note: source file ./src/maak/declarative.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/declarative.go
;;; note: source file ./src/maak/declarative.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/declarative.go
;;; note: source file ./src/maak/declarative.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/declarative.go
;;; compiling ./src/maak/declarative.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/declarative.scm.go
;;; compiling ./src/maak/completion.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/completion.scm.go
;;; note: source file ./src/maak/plan.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/plan.go
;;; note: source file ./src/maak/plan.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/plan.go
;;; note: source file ./src/maak/plan.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/plan.go
;;; compiling ./src/maak/plan.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/plan.scm.go
;;; note: source file ./src/maak/explain.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/explain.go
;;; note: source file ./src/maak/explain.scm
;;;       newer than compiled /gnu/store/4hfxlm4plkm6fn7x61lgzw99rgi3ybgl-maak-1.0.0/lib/guile/3.0/site-ccache/maak/explain.go
;;; note: source file ./src/maak/explain.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/maak/explain.go
;;; compiling ./src/maak/explain.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/explain.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/src/maak/main.scm.go
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/cli.scm.go
;;; compiling /etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/maak/fixtures/cli.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/maak/fixtures/cli.scm.go
;;; compiling /etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/maak/fixtures/keep-going.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/maak/fixtures/keep-going.scm.go
;;; compiling /etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/maak/fixtures/order.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/maak/fixtures/order.scm.go
;;; compiling /etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/maak/fixtures/subdir/maak.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/maak/fixtures/subdir/maak.scm.go
;;; compiling /etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/maak/fixtures/several.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/maak/fixtures/several.scm.go
;;; compiling ./test/veritas/unit/zig.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/zig.scm.go
mkdir: created directory '/tmp/maak-zig-version-14633'
removed '/tmp/maak-zig-version-14633/zig'
removed directory '/tmp/maak-zig-version-14633'
mkdir: created directory '/tmp/maak-zig-failure-14633'
removed '/tmp/maak-zig-failure-14633/zig'
removed directory '/tmp/maak-zig-failure-14633'
mkdir: created directory '/tmp/maak-zig-clean-default-14633'
mkdir: created directory '/tmp/maak-zig-clean-default-14633/zig-out'
removed '/tmp/maak-zig-clean-default-14633/zig-out/app'
removed directory '/tmp/maak-zig-clean-default-14633/zig-out'
removed directory '/tmp/maak-zig-clean-default-14633'
mkdir: created directory '/tmp/maak-zig-clean-named-14633'
mkdir: created directory '/tmp/maak-zig-clean-named-14633/build'
mkdir: created directory '/tmp/maak-zig-clean-named-14633/build/out'
removed '/tmp/maak-zig-clean-named-14633/build/out/app'
removed directory '/tmp/maak-zig-clean-named-14633/build/out'
removed directory '/tmp/maak-zig-clean-named-14633/build'
removed directory '/tmp/maak-zig-clean-named-14633'

  [🧪 test] --quiet asks for silence as well
    ✅ got: #f
  [🧪 test] --no-print-directory runs the same task without the line
    ✅ got: 0
    ✅ got: subdir-marker-ran
    ✅ got: #f
+----------------------------------------------+
[📑 suite] The arguments a run passes on
  [🧪 test] the words after `--' reach the task that was named
    ✅ got: args=one,two
  [🧪 test] a task that takes no arguments is handed none
    ✅ got: 0
  [🧪 test] the arity failure is still the one Guile raised
    ✅ got: Wrong number of arguments
  [🧪 test] a word that names a task is pointed out as an argument
    ✅ got: `beta' names a task of this Maak file
  [🧪 test] the hint spells out the run that was probably meant
    ✅ got: To run several tasks, name them in one comma separated list (`maak alpha,beta') or one word each after `--' (`maak -- alpha beta')
  [🧪 test] a word that names no task leaves the arity error alone
    ✅ got: #f
  [🧪 test] the hint is printed where a run keeps going as well
    ✅ got: `beta' names a task of this Maak file
ℹ️ info - ran 8 tasks in: 1 seconds, -615036 microseconds

running unit tests from file: zig.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] The zig command line
  [🧪 test] a plain subcommand is the program and its name
    ✅ got: (zig version)
  [🧪 test] arguments are passed after the subcommand
    ✅ got: (zig fmt src)
  [🧪 test] a program value may carry a wrapper
    ✅ got: (ccache zig version)
  [🧪 test] a subcommand that is not a name is refused
    ✅ success catching error: %exception: (#<&maak-error message: "zig needs a subcommand, got #f" hint: "Write (zig \"version\"), or (zig-build).">)
+----------------------------------------------+
[📑 suite] The zig build command line
  [🧪 test] no step builds the default install step
    ✅ got: (zig build)
  [🧪 test] an empty step list builds the default install step
    ✅ got: (zig build)
  [🧪 test] a step may be one string or a list of them
    ✅ got: ((zig build test) (zig build test run))
  [🧪 test] the target, the cpu and the build options reach the command
    ✅ got: (zig build install -Doptimize=ReleaseSafe -Dtarget=aarch64-linux-gnu -Dcpu=baseline -Dfoo=bar -Dflag)
  [🧪 test] the prefix and the cache directories are words
    ✅ got: (zig build --prefix out --prefix-lib-dir out/lib --prefix-exe-dir out/bin --prefix-include-dir out/include --build-file build.zig --cache-dir cache --global-cache-dir global-cache --zig-lib-dir lib)
  [🧪 test] the system paths and the fetch mode are repeated
    ✅ got: (zig build --search-prefix deps --search-prefix vendor --system /nix/store --fetch=all)
  [🧪 test] the build report is the flags zig spells
    ✅ got: (zig build test --summary all --color off -j4 --verbose)
  [🧪 test] arguments are appended as they are
    ✅ got: (zig build run -- --help)
  [🧪 test] steps that are not strings are refused
    ✅ success catching error: %exception: (#<&maak-error message: "zig-build takes a string or a list of strings, got (build)" hint: "Write '(\"test\" \"run\") for the steps.">)
  [🧪 test] an optimization mode zig does not know is refused;;; compiling ./test/veritas/unit/container.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/container.scm.go
mkdir: created directory '/tmp/maak-test-container-empty-path-14633'
removed directory '/tmp/maak-test-container-empty-path-14633'
mkdir: created directory '/tmp/maak-test-container-docker-only-14633'
removed '/tmp/maak-test-container-docker-only-14633/docker'
removed directory '/tmp/maak-test-container-docker-only-14633'
mkdir: created directory '/tmp/maak-test-container-both-14633'
removed '/tmp/maak-test-container-both-14633/docker'
removed '/tmp/maak-test-container-both-14633/podman'
removed directory '/tmp/maak-test-container-both-14633'
mkdir: created directory '/tmp/maak-test-container-preferred-14633'
removed '/tmp/maak-test-container-preferred-14633/podman'
removed directory '/tmp/maak-test-container-preferred-14633'
mkdir: created directory '/tmp/maak-test-container-empty-preference-14633'
removed '/tmp/maak-test-container-empty-preference-14633/docker'
removed directory '/tmp/maak-test-container-empty-preference-14633'
mkdir: created directory '/tmp/maak-test-container-podman-compose-14633'
removed '/tmp/maak-test-container-podman-compose-14633/podman-compose'
removed directory '/tmp/maak-test-container-podman-compose-14633'
mkdir: created directory '/tmp/maak-test-container-podman-compose-fallback-14633'
removed directory '/tmp/maak-test-container-podman-compose-fallback-14633'
mkdir: created directory '/tmp/maak-test-container-available-14633'
removed '/tmp/maak-test-container-available-14633/podman'
removed directory '/tmp/maak-test-container-available-14633'
mkdir: created directory '/tmp/maak-test-container-unavailable-14633'
removed directory '/tmp/maak-test-container-unavailable-14633'
mkdir: created directory '/tmp/maak-test-container-compose-available-14633'
removed '/tmp/maak-test-container-compose-available-14633/podman-compose'
removed directory '/tmp/maak-test-container-compose-available-14633'
mkdir: created directory '/tmp/maak-test-container-compose-unavailable-14633'
removed directory '/tmp/maak-test-container-compose-unavailable-14633'

    ✅ success catching error: %exception: (#<&maak-error message: "zig's optimize takes Debug, ReleaseSafe, ReleaseFast, ReleaseSmall, got \"Fastest\"" hint: "Write #:optimize \"Debug\".">)
  [🧪 test] a summary mode zig does not know is refused
    ✅ success catching error: %exception: (#<&maak-error message: "zig's summary takes all, new, failures, line, none, got \"everything\"" hint: "Write #:summary \"all\".">)
  [🧪 test] a colour zig does not know is refused
    ✅ success catching error: %exception: (#<&maak-error message: "zig's color takes auto, off, on, got \"rainbow\"" hint: "Write #:color \"auto\".">)
  [🧪 test] a job count that is not positive is refused
    ✅ success catching error: %exception: (#<&maak-error message: "zig takes a positive job count, got 0" hint: "Write #:jobs 4, or omit it for Zig's default.">)
  [🧪 test] a fetch mode zig does not know is refused
    ✅ success catching error: %exception: (#<&maak-error message: "zig's #:fetch takes #t, \"needed\" or \"all\", got \"sometimes\"" hint: "Write #:fetch #t, or #:fetch \"all\" to fetch lazy dependencies.">)
+----------------------------------------------+
[📑 suite] Running zig
  [🧪 test] the build wrapper runs the default step
    ✅ got: (#t)
  [🧪 test] the named build steps are one word each
    ✅ got: (#t #t)
  [🧪 test] the direct commands run through the same program
    ✅ got: (#t #t #t)
  [🧪 test] the remaining wrappers name their own command
    ✅ got: (#t #t #t #t #t)
  [🧪 test] the output query returns what zig printed
    ✅ got: 0.16.0
  [🧪 test] a failing query is refused by the command it ran
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Cleaning a Zig install prefix
  [🧪 test] the default prefix is removed
    ✅ got: #f
  [🧪 test] a named prefix is removed
    ✅ got: #f
  [🧪 test] an absolute prefix is refused
    ✅ got: #t
  [🧪 test] a prefix that leaves the project is refused
    ✅ got: #t
  [🧪 test] the project root is refused
    ✅ got: #t
  [🧪 test] uninstall names zig's missing implementation
    ✅ got: #t
ℹ️ info - ran 4 tasks in: 0 seconds, 94915 microseconds

running unit tests from file: container.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] Container engine detection
  [🧪 test] an empty search path falls back to podman
    ✅ got: podman
  [🧪 test] docker is found when podman is not
    ✅ got: docker
  [🧪 test] podman wins when both are installed
    ✅ got: podman
  [🧪 test] an explicit preference wins
    ✅ got: docker
  [🧪 test] an empty preference is ignored
    ✅ got: docker
  [🧪 test] docker compose is the docker program plus its subcommand
    ✅ got: (docker compose)
  [🧪 test] podman-compose is preferred for podman
    ✅ got: (podman-compose)
  [🧪 test] podman compose is the fallback
    ✅ got: (podman compose)
  [🧪 test] a compose preference is split into words
    ✅ got: (podman-compose --ansi never)
  [🧪 test] a compose preference splits on any whitespace
    ✅ got: (podman-compose --ansi never)
  [🧪 test] the default engine is a non-empty string
    ✅ got: #t
  [🧪 test] container-available? looks on PATH
    ✅ got: #t
  [🧪 test] container-available? is false for a missing engine
    ✅ got: #f
  [🧪 test] compose-available? looks for the first word
    ✅ got: #t
  [🧪 test] compose-available? is false for a missing program
    ✅ got: #f
  [🧪 test] an empty engine is refused
    ✅ success catching error: %exception: (#<&maak-error message: "container engine must be a non-empty string, got \"\"" hint: "Set MAAK_CONTAINER_ENGINE to podman or docker.">)
+----------------------------------------------+
[📑 suite] Container commands
  [🧪 test] the engine is the first word
    ✅ got: (docker ps --all)
  [🧪 test] run carries every option in a stable order
    ✅ got: (podman run --detach --rm --interactive --tty --privileged --name db --workdir /app --entrypoint /bin/sh --network host --user 1000 --platform linux/amd64 --pull always --env A=1 --publish 8080:80 --volume v:/data --mount type=bind --label role=db postgres postgres -c x)
  [🧪 test] run removes the container by default
    ✅ got: (podman run --rm alpine)
  [🧪 test] build carries tags, files, args and labels
    ✅ got: (docker build --tag p:dev --file Containerfile --target runtime --platform linux/arm64 --network host --no-cache --pull --quiet --build-arg VERSION=1 --label a=b .)
  [🧪 test] ps can include stopped containers
    ✅ got: (podman ps --all)
  [🧪 test] images passes extra arguments through
    ✅ got: (docker images --quiet)
  [🧪 test] stop names every container
    ✅ got: (podman stop a b)
  [🧪 test] rm forces and removes volumes
    ✅ got: (podman rm --force --volumes db)
  [🧪 test] exec passes environment and user
    ✅ got: (docker exec --interactive --tty --workdir /app --user postgres --env PGPASSWORD=x db psql -c select 1)
  [🧪 test] logs can follow, tail and filter by time
    ✅ got: (podman logs --follow --tail 50 --since 1h db)
  [🧪 test] pull is a plain subcommand
    ✅ got: (docker pull img)
  [🧪 test] push is a plain subcommand
    ✅ got: (docker push img)
  [🧪 test] tag names the source and the new name
    ✅ got: (docker tag a b)
  [🧪 test] inspect can format a field
    ✅ got: (podman inspect --format {{.State.Status}} --type container db)
  [🧪 test] the generic runner prints the engine command
    ✅ got: docker volume ls
  [🧪 test] capture returns nothing in a dry run
    ✅ got: 
  [🧪 test] an empty image is refused
    ✅ success catching error: %exception: (#<&maak-error message: "container-run expects the image to run" hint: "Write (container-run image #:command (list program argument)).">)
  [🧪 test] an empty context is refused
    ✅ success catching error: %exception: (#<&maak-error message: "container-build expects a build context" hint: "Write (container-build build-context #:tag image-name).">)
+----------------------------------------------+
[📑 suite] Compose commands
  [🧪 test] global options come before the subcommand
    ✅ got: (docker compose --file compose.yml --project-name p --env-file .env --profile dev ps)
  [🧪 test] up detaches, builds and waits
    ✅ got: (podman-compose up --detach --build --force-recreate --remove-orphans --wait web)
  [🧪 test] up can avoid starting the services
    ✅ got: (docker compose up --detach --remove-orphans --no-start);;; compiling ./test/veritas/unit/dsl.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/dsl.scm.go
mkdir: created directory '/tmp/maak-test-processes-14633'
removed directory '/tmp/maak-test-processes-14633'
mkdir: created directory '/tmp/maak-test-processes-14633'
removed '/tmp/maak-test-processes-14633/out.txt'
removed directory '/tmp/maak-test-processes-14633'
mkdir: created directory '/tmp/maak-test-processes-14633'
removed directory '/tmp/maak-test-processes-14633'

  [🧪 test] down can remove volumes and images
    ✅ got: (docker compose down --volumes --remove-orphans --rmi all --timeout 10 db)
  [🧪 test] build passes no-cache and pull
    ✅ got: (docker compose build --no-cache --pull web)
  [🧪 test] logs can follow and drop colour
    ✅ got: (docker compose logs --follow --tail 20 --no-color web)
  [🧪 test] ps can list everything and format it
    ✅ got: (docker compose ps --all --format json web)
  [🧪 test] exec allocates no terminal by default
    ✅ got: (docker compose exec -T --user root web id)
  [🧪 test] exec can allocate a terminal when asked
    ✅ got: (docker compose exec --tty --index 2 web sh)
  [🧪 test] tty wins over the default -T
    ✅ got: (docker compose exec --tty web sh)
  [🧪 test] run uses a one-off container
    ✅ got: (docker compose run --rm --no-deps --workdir /app --user root web make)
  [🧪 test] pull and restart take service names
    ✅ got: (docker compose pull --ignore-pull-failures web)
    ✅ got: (docker compose restart --timeout 5 web)
  [🧪 test] config can validate without printing
    ✅ got: (docker compose config -q --services)
  [🧪 test] the generic runner prints the compose command
    ✅ got: docker compose --file compose.yml top
  [🧪 test] capture returns nothing in a dry run
    ✅ got: 
  [🧪 test] an empty program is refused
    ✅ success catching error: %exception: (#<&maak-error message: "compose expects a non-empty program list" hint: "Set MAAK_COMPOSE, or use container-compose-command.">)
ℹ️ info - ran 3 tasks in: 0 seconds, 173160 microseconds

running unit tests from file: dsl.scm, entrypoint: spec

mkdir: created directory '/tmp/maak-test-processes-14633'
removed '/tmp/maak-test-processes-14633/stage-env.txt'
removed directory '/tmp/maak-test-processes-14633'
mkdir: created directory '/tmp/maak-test-processes-14633'
removed '/tmp/maak-test-processes-14633/pipeline-env.txt'
removed directory '/tmp/maak-test-processes-14633'
mkdir: created directory '/tmp/maak-test-processes-14633'
removed '/tmp/maak-test-processes-14633/override.txt'
removed directory '/tmp/maak-test-processes-14633'
mkdir: created directory '/tmp/maak-test-processes-14633'
removed '/tmp/maak-test-processes-14633/printed.txt'
removed directory '/tmp/maak-test-processes-14633'
mkdir: created directory '/tmp/maak-test-processes-14633'
ONE
TWO
removed '/tmp/maak-test-processes-14633/teed.txt'
removed directory '/tmp/maak-test-processes-14633'
mkdir: created directory '/tmp/maak-test-processes-14633'
removed '/tmp/maak-test-processes-14633/teed.txt'
removed directory '/tmp/maak-test-processes-14633'
mkdir: created directory '/tmp/maak-test-processes-14633'
removed '/tmp/maak-test-processes-14633/printed.txt'
removed '/tmp/maak-test-processes-14633/kept.txt'
removed directory '/tmp/maak-test-processes-14633'
mkdir: created directory '/tmp/maak-test-processes-14633'

  [🧪 test] down can remove volumes and images
    ✅ got: (docker compose down --volumes --remove-orphans --rmi all --timeout 10 db)
  [🧪 test] build passes no-cache and pull
    ✅ got: (docker compose build --no-cache --pull web)
  [🧪 test] logs can follow and drop colour
    ✅ got: (docker compose logs --follow --tail 20 --no-color web)
  [🧪 test] ps can list everything and format it
    ✅ got: (docker compose ps --all --format json web)
  [🧪 test] exec allocates no terminal by default
    ✅ got: (docker compose exec -T --user root web id)
  [🧪 test] exec can allocate a terminal when asked
    ✅ got: (docker compose exec --tty --index 2 web sh)
  [🧪 test] tty wins over the default -T
    ✅ got: (docker compose exec --tty web sh)
  [🧪 test] run uses a one-off container
    ✅ got: (docker compose run --rm --no-deps --workdir /app --user root web make)
  [🧪 test] pull and restart take service names
    ✅ got: (docker compose pull --ignore-pull-failures web)
    ✅ got: (docker compose restart --timeout 5 web)
  [🧪 test] config can validate without printing
    ✅ got: (docker compose config -q --services)
  [🧪 test] the generic runner prints the compose command
    ✅ got: docker compose --file compose.yml top
  [🧪 test] capture returns nothing in a dry run
    ✅ got: 
  [🧪 test] an empty program is refused
    ✅ success catching error: %exception: (#<&maak-error message: "compose expects a non-empty program list" hint: "Set MAAK_COMPOSE, or use container-compose-command.">)
ℹ️ info - ran 3 tasks in: 0 seconds, 173160 microseconds

running unit tests from file: dsl.scm, entrypoint: spec


  [🧪 test] down can remove volumes and images
    ✅ got: (docker compose down --volumes --remove-orphans --rmi all --timeout 10 db)
  [🧪 test] build passes no-cache and pull
    ✅ got: (docker compose build --no-cache --pull web)
  [🧪 test] logs can follow and drop colour
    ✅ got: (docker compose logs --follow --tail 20 --no-color web)
  [🧪 test] ps can list everything and format it
    ✅ got: (docker compose ps --all --format json web)
  [🧪 test] exec allocates no terminal by default
    ✅ got: (docker compose exec -T --user root web id)
  [🧪 test] exec can allocate a terminal when asked
    ✅ got: (docker compose exec --tty --index 2 web sh)
  [🧪 test] tty wins over the default -T
    ✅ got: (docker compose exec --tty web sh)
  [🧪 test] run uses a one-off container
    ✅ got: (docker compose run --rm --no-deps --workdir /app --user root web make)
  [🧪 test] pull and restart take service names
    ✅ got: (docker compose pull --ignore-pull-failures web)
    ✅ got: (docker compose restart --timeout 5 web)
  [🧪 test] config can validate without printing
    ✅ got: (docker compose config -q --services)
  [🧪 test] the generic runner prints the compose command
    ✅ got: docker compose --file compose.yml top
  [🧪 test] capture returns nothing in a dry run
    ✅ got: 
  [🧪 test] an empty program is refused
    ✅ success catching error: %exception: (#<&maak-error message: "compose expects a non-empty program list" hint: "Set MAAK_COMPOSE, or use container-compose-command.">)
ℹ️ info - ran 3 tasks in: 0 seconds, 173160 microseconds

running unit tests from file: dsl.scm, entrypoint: spec

removed directory '/tmp/maak-test-processes-14633'
mkdir: created directory '/tmp/maak-test-processes-14633'
removed '/tmp/maak-test-processes-14633/keep.log'
removed directory '/tmp/maak-test-processes-14633'
mkdir: created directory '/tmp/maak-test-processes-14633'
removed '/tmp/maak-test-processes-14633/*.txt'
removed directory '/tmp/maak-test-processes-14633'
mkdir: created directory '/tmp/maak-test-processes-14633'
mkdir: created directory '/tmp/maak-test-processes-14633/sub'
removed '/tmp/maak-test-processes-14633/sub/a.txt'
removed directory '/tmp/maak-test-processes-14633/sub'
removed directory '/tmp/maak-test-processes-14633'
mkdir: created directory '/tmp/maak-test-processes-14633'
removed '/tmp/maak-test-processes-14633/keep.txt'
removed directory '/tmp/maak-test-processes-14633'
mkdir: created directory '/tmp/maak-test-processes-14633'
removed '/tmp/maak-test-processes-14633/a.txt'
removed '/tmp/maak-test-processes-14633/keep.log'
removed directory '/tmp/maak-test-processes-14633'

  [🧪 test] down can remove volumes and images
    ✅ got: (docker compose down --volumes --remove-orphans --rmi all --timeout 10 db)
  [🧪 test] build passes no-cache and pull
    ✅ got: (docker compose build --no-cache --pull web)
  [🧪 test] logs can follow and drop colour
    ✅ got: (docker compose logs --follow --tail 20 --no-color web)
  [🧪 test] ps can list everything and format it
    ✅ got: (docker compose ps --all --format json web)
  [🧪 test] exec allocates no terminal by default
    ✅ got: (docker compose exec -T --user root web id)
  [🧪 test] exec can allocate a terminal when asked
    ✅ got: (docker compose exec --tty --index 2 web sh)
  [🧪 test] tty wins over the default -T
    ✅ got: (docker compose exec --tty web sh)
  [🧪 test] run uses a one-off container
    ✅ got: (docker compose run --rm --no-deps --workdir /app --user root web make)
  [🧪 test] pull and restart take service names
    ✅ got: (docker compose pull --ignore-pull-failures web)
    ✅ got: (docker compose restart --timeout 5 web)
  [🧪 test] config can validate without printing
    ✅ got: (docker compose config -q --services)
  [🧪 test] the generic runner prints the compose command
    ✅ got: docker compose --file compose.yml top
  [🧪 test] capture returns nothing in a dry run
    ✅ got: 
  [🧪 test] an empty program is refused
    ✅ success catching error: %exception: (#<&maak-error message: "compose expects a non-empty program list" hint: "Set MAAK_COMPOSE, or use container-compose-command.">)
ℹ️ info - ran 3 tasks in: 0 seconds, 173160 microseconds

running unit tests from file: dsl.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] Pretty multiline strings
  [🧪 test] dedent removes the common indentation
    ✅ got: hello
    ✅ got: a
  b
  [🧪 test] dedent drops surrounding blank lines
    ✅ got: a
b
  [🧪 test] dedent keeps interior blank lines
    ✅ got: a

b
  [🧪 test] dedent expands tabs
    ✅ got: a
b
  [🧪 test] dedent of a single word is the word
    ✅ got: word
  [🧪 test] indent adds spaces to every line
    ✅ got:   a
  b
  [🧪 test] indent can leave the first line flush
    ✅ got: a
  b
  [🧪 test] the text macro joins and dedents its lines
    ✅ got: a
b
    ✅ got: x
y
  [🧪 test] string-lines splits on newlines
    ✅ got: (a b)
  [🧪 test] unlines joins with newlines
    ✅ got: a
b
  [🧪 test] unwords joins with spaces
    ✅ got: a b
  [🧪 test] blank-line? recognises whitespace
    ✅ got: #t
    ✅ got: #t
    ✅ got: #f
  [🧪 test] leading-whitespace-count counts spaces and tabs
    ✅ got: 3
    ✅ got: 2
    ✅ got: 0
+----------------------------------------------+
[📑 suite] Load paths
  [🧪 test] split-load-path splits on colons
    ✅ got: (a b)
  [🧪 test] split-load-path drops empty entries
    ✅ got: (a b)
  [🧪 test] split-load-path handles the empty cases
    ✅ got: ()
    ✅ got: ()
  [🧪 test] with-load-path adds the directories
    ✅ got: #t
  [🧪 test] with-load-path restores the load path
    ✅ got: #f
  [🧪 test] with-load-path restores the load path after an error
    ✅ success catching error: misc-error: (#f deliberate failure () #f)
    ✅ got: #f
  [🧪 test] add-load-path! records the directory
    ✅ got: /tmp/maak-test-add
    ✅ got: #t
    ✅ got: #t
  [🧪 test] add-load-paths! adds every directory
    ✅ got: #t
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Maak errors
  [🧪 test] make-maak-error builds a typed error
    ✅ got: #t
    ✅ got: message
    ✅ got: hint
    ✅ got: #f
  [🧪 test] raise-maak-error raises a catchable maak error
    ✅ got: boom
  [🧪 test] raise-maak-error carries its hint
    ✅ got: try this
  [🧪 test] find-maak-error returns #f for a foreign error
    ✅ got: #f
  [🧪 test] raise-maak-error is catchable with assert-error
    ✅ success catching error: %exception: (#<&maak-error message: "nope" hint: #f>)
+----------------------------------------------+
[📑 suite] Programs, arguments and jobs
  [🧪 test] run returns #t when the program exits with 0
    ✅ got: #t
  [🧪 test] run keeps a space inside one argument
    ✅ got: #t
  [🧪 test] run returns #f when a failure is allowed
    ✅ got: #f
  [🧪 test] run raises when a command fails
    ✅ success catching error: %exception: (#<&maak-error message: "command failed (exit code 3): sh -c 'exit 3'" hint: "Fix the command above, or run `maak --dry-run' to inspect it first.">)
  [🧪 test] run refuses an empty argument list
    ✅ success catching error: %exception: (#<&maak-error message: "run expects a non-empty list of strings, starting with the program" hint: "Write (run (list \"mkdir\" \"-p\" dir)) instead of one long command.">)
  [🧪 test] run refuses an argument that is not a string
    ✅ success catching error: %exception: (#<&maak-error message: "run expects a non-empty list of strings, starting with the program" hint: "Write (run (list \"mkdir\" \"-p\" dir)) instead of one long command.">)
  [🧪 test] a dry run does not start the program
    ✅ got: #f
  [🧪 test] an async run returns a job with a pid
    ✅ got: #t
  [🧪 test] wait-job is #t for a successful job
    ✅ got: #t
  [🧪 test] wait-job is #f for a failing job
    ✅ got: #f
  [🧪 test] job-exit-code reports the exit code
    ✅ got: 4
  [🧪 test] a job can be waited on twice
    ✅ got: #t
  [🧪 test] job-done? does not wait for a running job
    ✅ got: #f
  [🧪 test] job-done? is true once the job has finished
    ✅ got: #t
  [🧪 test] a background shell command is a job too
    ✅ got: #t
  [🧪 test] job-command keeps the command as written
    ✅ got: sh -c 'exit 0'
+----------------------------------------------+
[📑 suite] Pipelines and shell expansion
  [🧪 test] a pipeline feeds each stage into the next
    ✅ got: hello

  [🧪 test] a failing stage fails the whole pipeline
    ✅ got: #f
  [🧪 test] a pipeline raises when a stage fails
    ✅ success catching error: %exception: (#<&maak-error message: "pipeline failed: stage 1 (false) exited with code 1" hint: "Fix the failing stage above, or run `maak --dry-run' to inspect the pipeline first.">)
  [🧪 test] a pipeline with no stages is refused
    ✅ success catching error: %exception: (#<&maak-error message: "run-pipeline expects a non-empty list of stages: argument lists or (stage ...) forms" hint: "Write (run-pipeline (list (list \"cat\" file) (stage (list \"grep\" pattern) #:env '(\"LC_ALL=C\")))).">)
  [🧪 test] a pipeline with an empty stage is refused
    ✅ success catching error: %exception: (#<&maak-error message: "run-pipeline expects a non-empty list of stages: argument lists or (stage ...) forms" hint: "Write (run-pipeline (list (list \"cat\" file) (stage (list \"grep\" pattern) #:env '(\"LC_ALL=C\")))).">)
  [🧪 test] a dry run does not start the pipeline
    ✅ got: #f
  [🧪 test] a stage whose program is missing fails the pipeline
    ✅ got: #f
  [🧪 test] a stage takes environment variables of its own
    ✅ got: stage
  [🧪 test] a pipeline gives its environment to every stage
    ✅ got: shared
  [🧪 test] a stage's environment wins over the pipeline's
    ✅ got: stage
  [🧪 test] a dry run shows a stage's environment and sudo
    ✅ got: #t
  [🧪 test] a captured pipeline returns what every stage wrote
    ✅ got: (one
two
 ONE
TWO
)
  [🧪 test] a capture of more than a pipeful loses nothing
    ✅ got: 20000

  [🧪 test] a captured pipeline prints nothing itself
    ✅ got: 
  [🧪 test] a capture leaves no temporary file behind
    ✅ got: #f
  [🧪 test] a captured pipeline reports the stages that failed
    ✅ got: #f
  [🧪 test] a stage's tee file keeps what the stage wrote
    ✅ got: one
two

  [🧪 test] the stage after a tee reads the same bytes
    ✅ got: one

  [🧪 test] a tee on the last stage prints what it keeps
    ✅ got: hello

  [🧪 test] a tee that cannot be written is refused before the pipeline
    ✅ success catching error: %exception: (#<&maak-error message: "stage 1 (printf 'x\n') cannot record its output to /tmp/maak-test-processes-14633/missing/log.txt: No such file or directory: \"/tmp/maak-test-processes-14633/missing/log.txt\"" hint: "Point #:tee at a file the task may write, or drop it and read the pipeline's output another way.">)
  [🧪 test] a stage refuses a tee that is not a file name
    ✅ success catching error: %exception: (#<&maak-error message: "stage expects #:tee to name a file, got 42" hint: "Write (stage (list \"grep\" pattern) #:tee \"clean.txt\").">)
  [🧪 test] a background pipeline cannot capture its output
    ✅ success catching error: %exception: (#<&maak-error message: "a background pipeline cannot capture its output" hint: "Wait for the job and capture a foreground pipeline, or give the stage a file with (stage argv #:tee file).">)
  [🧪 test] a dry run shows the tee a stage writes to
    ✅ got: #t
  [🧪 test] a dry run of a captured pipeline returns an empty result
[DRY-RUN]: printf 'x
'

    ✅ got: ()
  [🧪 test] a stage refuses an empty argument list
    ✅ success catching error: %exception: (#<&maak-error message: "stage expects a non-empty list of strings, starting with the program" hint: "Write (stage (list \"grep\" pattern) #:env '(\"LC_ALL=C\")).">)
  [🧪 test] a pipeline refuses a stage that is not an argument list;;; compiling ./test/veritas/unit/completion.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/completion.scm.go

    ✅ success catching error: %exception: (#<&maak-error message: "run-pipeline expects a non-empty list of stages: argument lists or (stage ...) forms" hint: "Write (run-pipeline (list (list \"cat\" file) (stage (list \"grep\" pattern) #:env '(\"LC_ALL=C\")))).">)
  [🧪 test] an async pipeline returns a job
    ✅ got: #t
  [🧪 test] a failing async pipeline fails its job
    ✅ got: #f
  [🧪 test] run expands a wildcard when asked to
    ✅ got: #t
  [🧪 test] run takes a wildcard literally without the opt-in
    ✅ got: #t
+----------------------------------------------+
[📑 suite] File helpers
  [🧪 test] rm-rf removes a directory and its contents
    ✅ got: #t
  [🧪 test] rm-rf is a dry run under dry-run?
    ✅ got: #t
  [🧪 test] rm-rf expands a wildcard when asked to
    ✅ got: #t
ℹ️ info - ran 6 tasks in: 1 seconds, 10105 microseconds

running unit tests from file: completion.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] The completions are generated from one description
  [🧪 test] the bash script is what maak renders
    ✅ got: # bash completion for maak.
#
# Generated by `maak --completion bash'.  Edit src/maak/completion.scm and run
# `maak completions'; this file is a copy of what that task writes.

_maak_styles=(table plain long names json completion)
_maak_shells=(bash zsh fish)
_maak_options=(-f --file -C --directory -e --env-file --no-env-file --banner --no-banner -h --help -i --ignore-errors -j --jobs -k --keep-going -l --list --list-width --json --plan --watch --explain --completion -t --tasks -L --load-path -n --dry-run --no-print-directory -q --quiet -v --version --debug)

# The tasks of the Maak file the line is about, one name per line.
#
# maak answers this rather than this script reading the file: a task a macro
# defines, one a used module brings in, and one a task file in JSON, TOML or
# YAML describes are all tasks a run would find.  The -f/--file and
# -C/--directory given before the cursor are handed over, so `maak -C sub'
# offers the tasks of sub, which is what a run there would use.
#
# shortcut: a value written as one word (-Csub, --file=x) is not read here;
# upgrade when someone asks for it, since the two-word spelling is the rest.
_maak_tasks() {
  local -a selection=()
  local i
  for ((i = 1; i < COMP_CWORD; i++)); do
    case "${COMP_WORDS[i]}" in
      -f | --file | -C | --directory)
        if [[ -n "${COMP_WORDS[i + 1]:-}" ]]; then
          selection+=("${COMP_WORDS[i]}" "${COMP_WORDS[i + 1]}")
          ((i++))
        fi
        ;;
    esac
  done
  maak --list=names "${selection[@]}" 2>/dev/null
}

# Whether a `--' before the cursor left the line with tasks alone.
_maak_after_separator() {
  local i
  for ((i = 1; i < COMP_CWORD; i++)); do
    case "${COMP_WORDS[i]}" in
      --) return 0 ;;
      -*) ;;
      *) return 1 ;;
    esac
  done
  return 1
}

_maak() {
  local cur="${COMP_WORDS[COMP_CWORD]}"
  local prev="${COMP_WORDS[COMP_CWORD - 1]}"
  local prefix="" stem="${cur}" name
  COMPREPLY=()

  # The layout of `--list=STYLE', after the `='.
  if [[ "${cur}" == --list=* ]]; then
    mapfile -t COMPREPLY < <(compgen -P "--list=" -W "${_maak_styles[*]}" \
      -- "${cur#--list=}")
    return 0
  fi

  case "${prev}" in
    -C | --directory | -L | --load-path)
      mapfile -t COMPREPLY < <(compgen -d -- "${cur}")
      return 0
      ;;
    -f | --file | -e | --env-file)
      mapfile -t COMPREPLY < <(compgen -f -- "${cur}")
      return 0
      ;;
    --completion)
      mapfile -t COMPREPLY < <(compgen -W "${_maak_shells[*]}" -- "${cur}")
      return 0
      ;;
    -j | --jobs | --list-width)
      # A number, which the reader knows better than the shell.
      return 0
      ;;
    -t | --tasks)
      # A comma separated task list, completed below like any other task.
      ;;
  esac

  if [[ "${cur}" == -* ]] && ! _maak_after_separator; then
    mapfile -t COMPREPLY < <(compgen -W "${_maak_options[*]}" -- "${cur}")
    return 0
  fi

  # A comma continues a task list, as in `maak fmt,quick'.
  if [[ "${cur}" == *,* ]]; then
    prefix="${cur%,*},"
    stem="${cur##*,}"
  fi

  while IFS= read -r name; do
    if [[ -n "${name}" && "${name}" == "${stem}"* ]]; then
      COMPREPLY+=("${prefix}${name}")
    fi
  done < <(_maak_tasks)

  return 0
}

complete -F _maak maak

  [🧪 test] the zsh script is what maak renders
    ✅ got: #compdef maak
#
# zsh completion for maak.
#
# Generated by `maak --completion zsh'.  Edit src/maak/completion.scm and run
# `maak completions'; this file is a copy of what that task writes.

_maak() {
    # `_arguments' rewrites `words' while an action runs, so the line as it was
    # typed is kept here for the task action below to read.
    local -a maak_line=("${words[@]}")
    local maak_position=${CURRENT}
    _arguments -s -S \
        '(-f --file)--file[Specify the path to the Maak file]:Maak file:_files' \
        '(-f --file)-f[Specify the path to the Maak file]' \
        '(-C --directory)--directory[Change to a directory before reading the Maak file]:directory:_directories' \
        '(-C --directory)-C[Change to a directory before reading the Maak file]' \
        '(-e --env-file)--env-file[Read NAME=VALUE assignments from a file]:Maak file:_files' \
        '(-e --env-file)-e[Read NAME=VALUE assignments from a file]' \
        '--no-env-file[Read no environment file at all]' \
        '--banner[Print the greeting banner]' \
        '--no-banner[Skip the greeting banner]' \
        '(-h --help)--help[Display the help screen and exit]' \
        '(-h --help)-h[Display the help screen and exit]' \
        '(-i --ignore-errors)--ignore-errors[Keep going after a failure, and still succeed]' \
        '(-i --ignore-errors)-i[Keep going after a failure, and still succeed]' \
        '(-j --jobs)--jobs[Run up to this many tasks at the same time]:N:' \
        '(-j --jobs)-j[Run up to this many tasks at the same time]' \
        '(-k --keep-going)--keep-going[Keep going after a failure]' \
        '(-k --keep-going)-k[Keep going after a failure]' \
        '(-l --list)--list=-[List the tasks of the Maak file]:layout:(table plain long names json completion)' \
        '(-l --list)-l[List the tasks of the Maak file]' \
        '--list-width[Fold a listing to this many columns]:N:' \
        '--json[Print the listing or the plan as JSON]' \
        '--plan[Print the plan a run would execute, without running it]' \
        '--watch[Re-run the named tasks whenever the tree changes]' \
        '--explain[Explain a task, what it calls and which environment file wins]' \
        '--completion[Print the completion script for a shell]:shell:(bash zsh fish)' \
        '(-t --tasks)--tasks[Run the tasks named in a comma separated list]:task:_maak_tasks' \
        '(-t --tasks)-t[Run the tasks named in a comma separated list]' \
        '(-L --load-path)--load-path[Add a directory to the Guile load path]:directory:_directories' \
        '(-L --load-path)-L[Add a directory to the Guile load path]' \
        '(-n --dry-run)--dry-run[Print the commands a run would execute, without running them]' \
        '(-n --dry-run)-n[Print the commands a run would execute, without running them]' \
        '--no-print-directory[Do not report the directories -C enters]' \
        '(-q --quiet)--quiet[Suppress logging output]' \
        '(-q --quiet)-q[Suppress logging output]' \
        '(-v --version)--version[Print the version and exit]' \
        '(-v --version)-v[Print the version and exit]' \
        '--debug[Print the Guile backtrace on an error]' \
        '*:task:_maak_tasks'
}

# The tasks of the Maak file the line is about, as `name:summary' words.
#
# maak answers this rather than this script reading the file, so a task a
# macro defines or a used module brings in is offered like any other, and the
# -f/--file and -C/--directory given before the cursor decide which file is
# read.  `_sequence' walks a comma separated task list one word at a time.
_maak_tasks() {
    local -a entries
    local -a selection
    local i
    for ((i = 2; i < maak_position; i++)); do
        case "${maak_line[i]}" in
            -f|--file|-C|--directory)
                if (( i + 1 < maak_position )); then
                    selection+=("${maak_line[i]}" "${maak_line[i + 1]}")
                    (( i++ ))
                fi
                ;;
        esac
    done
    entries=(${(f)"$(maak --list=completion ${selection[@]} 2>/dev/null)"})
    # `_describe' reads a candidate and its description apart on a colon.
    entries=("${(@)entries//$'\t'/:}")
    (( ${#entries} )) || return 1
    _sequence -s , _describe -t maak-tasks 'maak task' entries
}

# Autoloaded from fpath, zsh calls `_maak' itself; sourced by hand, the
# binding is made here.
if [[ "${funcstack[1]}" == "_maak" ]]; then
    _maak "$@"
else
    compdef _maak maak 2>/dev/null || true
fi

  [🧪 test] the fish script is what maak renders
    ✅ got: # fish completion for maak.
#
# Generated by `maak --completion fish'.  Edit src/maak/completion.scm and run
# `maak completions'; this file is a copy of what that task writes.

# Start from nothing, and offer no file name where maak expects a task.
complete -c maak -e
complete -c maak -f

complete -c maak -s f -l file -r -F -d "Specify the path to the Maak file"
complete -c maak -s C -l directory -r -a "(__fish_complete_directories)" -d "Change to a directory before reading the Maak file"
complete -c maak -s e -l env-file -r -F -d "Read NAME=VALUE assignments from a file"
complete -c maak -l no-env-file -d "Read no environment file at all"
complete -c maak -l banner -d "Print the greeting banner"
complete -c maak -l no-banner -d "Skip the greeting banner"
complete -c maak -s h -l help -d "Display the help screen and exit"
complete -c maak -s i -l ignore-errors -d "Keep going after a failure, and still succeed"
complete -c maak -s j -l jobs -x -d "Run up to this many tasks at the same time"
complete -c maak -s k -l keep-going -d "Keep going after a failure"
complete -c maak -s l -l list -f -d "List the tasks of the Maak file"
complete -c maak -s l -l list -x -a "table plain long names json completion" -n "string match -q -- '--list=*' (commandline -ct)" -d "Lay the listing out this way"
complete -c maak -l list-width -x -d "Fold a listing to this many columns"
complete -c maak -l json -d "Print the listing or the plan as JSON"
complete -c maak -l plan -d "Print the plan a run would execute, without running it"
complete -c maak -l watch -d "Re-run the named tasks whenever the tree changes"
complete -c maak -l explain -d "Explain a task, what it calls and which environment file wins"
complete -c maak -l completion -x -a "bash zsh fish" -d "Print the completion script for a shell"
complete -c maak -s t -l tasks -x -a "(__fish_maak_targets)" -d "Run the tasks named in a comma separated list"
complete -c maak -s L -l load-path -r -a "(__fish_complete_directories)" -d "Add a directory to the Guile load path"
complete -c maak -s n -l dry-run -d "Print the commands a run would execute, without running them"
complete -c maak -l no-print-directory -d "Do not report the directories -C enters"
complete -c maak -s q -l quiet -d "Suppress logging output"
complete -c maak -s v -l version -d "Print the version and exit"
complete -c maak -l debug -d "Print the Guile backtrace on an error"

# The tasks of the Maak file the line is about, as candidates with the first
# line of the task's docstring beside them.
#
# maak answers this rather than this script reading the file, so a task a
# macro defines or a used module brings in is offered like any other, and the
# -f/--file and -C/--directory given before the cursor decide which file is
# read.
function __fish_maak_tasks
    set -l words (commandline -opc)
    set -l selection
    for i in (seq (count $words))
        switch $words[$i]
            case -f --file -C --directory
                if test (count $words) -gt $i
                    set -a selection $words[$i] $words[(math $i + 1)]
                end
        end
    end
    maak --list=completion $selection 2>/dev/null
end

# The same candidates, carrying on a comma separated task list, as in
# `maak fmt,quick'.
function __fish_maak_targets
    set -l token (commandline -ct)
    set -l prefix ""
    set -l stem $token
    if string match -q "*,*" -- $token
        set prefix (string replace -r '[^,]*$' '' -- $token)
        set stem (string replace -r '^.*,' '' -- $token)
    end
    for line in (__fish_maak_tasks)
        set -l name (string replace -r '\t.*$' '' -- $line)
        string match -q -- "$stem*" $name; or continue
        if test -n "$prefix"
            printf '%s%s\t%s\n' $prefix $name \
                (string replace -r '^[^\t]*\t' '' -- $line)
        else
            printf '%s\n' $line
        end
    end
end

complete -c maak -a "(__fish_maak_targets)" -d "Maak task"

  [🧪 test] an unknown shell is refused rather than answered
    ✅ success catching error: %exception: (#<&maak-error message: "unknown shell: tcsh" hint: "`--completion' takes one of bash, zsh, fish.">)
+----------------------------------------------+
[📑 suite] The option table and the option grammar agree
  [🧪 test] every option of the grammar is described
    ✅ got: ()
  [🧪 test] no described option is one the grammar does not have
    ✅ got: ()
  [🧪 test] a value is described exactly when the grammar takes one
    ✅ got: ()
  [🧪 test] a short name is described exactly when the grammar has one
    ✅ got: ()
  [🧪 test] every generated script offers every described option
    ✅ got: ()
+----------------------------------------------+
[📑 suite] The listing a shell reads
  [🧪 test] a task is a name, a tab and the first line of its docstring
    ✅ got: build        Compile everything.
  [🧪 test] a task that asked to be left out is left out
    ✅ got: #f
  [🧪 test] names and completion describe the same tasks
    ✅ got: (build deploy echo report)
+----------------------------------------------+
[📑 suite] The scripts in a real shell
  [🧪 test] the bash script parses as bash
    ✅ got: 0
  [🧪 test] the bash script offers the tasks of the Maak file
    ✅ got: deploy
  [🧪 test] the bash script offers only the tasks that start with the word
    ✅ got: build
  [🧪 test] the bash script offers the options of the grammar
    ✅ got: --list-width
  [🧪 test] the bash script offers the layouts after --list=
    ✅ got: --list=completion
  [🧪 test] the bash script carries a comma separated task list on
    ✅ got: echo,deploy
  [🧪 test] the bash script asks for no number
    ✅ got: 
  [🧪 test] the bash script offers files after --file
    ✅ got: maak.scm
  [🧪 test] the bash script reads the file a --file names
    ✅ got: twelve
  [🧪 test] the bash script reads the directory a -C enters, and says nothing else
    ✅ got: twelve
  [🧪 test] the bash script offers no option after a --
    ✅ got: #f
  [🧪 test] the zsh script parses as zsh
    ✅ got: #t
  [🧪 test] the zsh script describes every option to _arguments
    ✅ got: #t
  [🧪 test] the zsh script hands _describe a name and its summary
    ✅ got: #t
  [🧪 test] the zsh script leaves a task that asked to be left out alone
    ✅ got: #t
  [🧪 test] the zsh script reads the file a --file names
    ✅ got: #t
  [🧪 test] the fish script parses as fish
    ✅ got: 0
  [🧪 test] the fish script offers a task with its docstring
    ✅ got: build        Compile everything.
  [🧪 test] the fish script offers the layouts after --list=
    ✅ got: --list=json
+----------------------------------------------+
[📑 suite] The task that regenerates the scripts
  [🧪 test] a dry run of it leaves the scripts alone
    ✅ got: (0 (# bash completion for maak.
#
# Generated by `maak --completion bash'.  Edit src/maak/completion.scm and run
# `maak completions'; this file is a copy of what that task writes.

_maak_styles=(table plain long names json completion)
_maak_shells=(bash zsh fish)
_maak_options=(-f --file -C --directory -e --env-file --no-env-file --banner --no-banner -h --help -i --ignore-errors -j --jobs -k --keep-going -l --list --list-width --json --plan --watch --explain --completion -t --tasks -L --load-path -n --dry-run --no-print-directory -q --quiet -v --version --debug)

# The tasks of the Maak file the line is about, one name per line.
#
# maak answers this rather than this script reading the file: a task a macro
# defines, one a used module brings in, and one a task file in JSON, TOML or
# YAML describes are all tasks a run would find.  The -f/--file and
# -C/--directory given before the cursor are handed over, so `maak -C sub'
# offers the tasks of sub, which is what a run there would use.
#
# shortcut: a value written as one word (-Csub, --file=x) is not read here;
# upgrade when someone asks for it, since the two-word spelling is the rest.
_maak_tasks() {
  local -a selection=()
  local i
  for ((i = 1; i < COMP_CWORD; i++)); do
    case "${COMP_WORDS[i]}" in
      -f | --file | -C | --directory)
        if [[ -n "${COMP_WORDS[i + 1]:-}" ]]; then
          selection+=("${COMP_WORDS[i]}" "${COMP_WORDS[i + 1]}")
          ((i++))
        fi
        ;;
    esac
  done
  maak --list=names "${selection[@]}" 2>/dev/null
}

# Whether a `--' before the cursor left the line with tasks alone.
_maak_after_separator() {
  local i
  for ((i = 1; i < COMP_CWORD; i++)); do
    case "${COMP_WORDS[i]}" in
      --) return 0 ;;
      -*) ;;
      *) return 1 ;;
    esac
  done
  return 1
}

_maak() {
  local cur="${COMP_WORDS[COMP_CWORD]}"
  local prev="${COMP_WORDS[COMP_CWORD - 1]}"
  local prefix="" stem="${cur}" name
  COMPREPLY=()

  # The layout of `--list=STYLE', after the `='.
  if [[ "${cur}" == --list=* ]]; then
    mapfile -t COMPREPLY < <(compgen -P "--list=" -W "${_maak_styles[*]}" \
      -- "${cur#--list=}")
    return 0
  fi

  case "${prev}" in
    -C | --directory | -L | --load-path)
      mapfile -t COMPREPLY < <(compgen -d -- "${cur}")
      return 0
      ;;
    -f | --file | -e | --env-file)
      mapfile -t COMPREPLY < <(compgen -f -- "${cur}")
      return 0
      ;;
    --completion)
      mapfile -t COMPREPLY < <(compgen -W "${_maak_shells[*]}" -- "${cur}")
      return 0
      ;;
    -j | --jobs | --list-width)
      # A number, which the reader knows better than the shell.
      return 0
      ;;
    -t | --tasks)
      # A comma separated task list, completed below like any other task.
      ;;
  esac

  if [[ "${cur}" == -* ]] && ! _maak_after_separator; then
    mapfile -t COMPREPLY < <(compgen -W "${_maak_options[*]}" -- "${cur}")
    return 0
  fi

  # A comma continues a task list, as in `maak fmt,quick'.
  if [[ "${cur}" == *,* ]]; then
    prefix="${cur%,*},"
    stem="${cur##*,}"
  fi

  while IFS= read -r name; do
    if [[ -n "${name}" && "${name}" == "${stem}"* ]]; then
      COMPREPLY+=("${prefix}${name}")
    fi
  done < <(_maak_tasks)

  return 0
}

complete -F _maak maak
 #compdef maak
#
# zsh completion for maak.
#
# Generated by `maak --completion zsh'.  Edit src/maak/completion.scm and run
# `maak completions'; this file is a copy of what that task writes.

_maak() {
    # `_arguments' rewrites `words' while an action runs, so the line as it was
    # typed is kept here for the task action below to read.
    local -a maak_line=("${words[@]}")
    local maak_position=${CURRENT}
    _arguments -s -S \
        '(-f --file)--file[Specify the path to the Maak file]:Maak file:_files' \
        '(-f --file)-f[Specify the path to the Maak file]' \
        '(-C --directory)--directory[Change to a directory before reading the Maak file]:directory:_directories' \
        '(-C --directory)-C[Change to a directory before reading the Maak file]' \
        '(-e --env-file)--env-file[Read NAME=VALUE assignments from a file]:Maak file:_files' \
        '(-e --env-file)-e[Read NAME=VALUE assignments from a file]' \
        '--no-env-file[Read no environment file at all]' \
        '--banner[Print the greeting banner]' \
        '--no-banner[Skip the greeting banner]' \
        '(-h --help)--help[Display the help screen and exit]' \
        '(-h --help)-h[Display the help screen and exit]' \
        '(-i --ignore-errors)--ignore-errors[Keep going after a failure, and still succeed]' \
        '(-i --ignore-errors)-i[Keep going after a failure, and still succeed]' \
        '(-j --jobs)--jobs[Run up to this many tasks at the same time]:N:' \
        '(-j --jobs)-j[Run up to this many tasks at the same time]' \
        '(-k --keep-going)--keep-going[Keep going after a failure]' \
        '(-k --keep-going)-k[Keep going after a failure]' \
        '(-l --list)--list=-[List the tasks of the Maak file]:layout:(table plain long names json completion)' \
        '(-l --list)-l[List the tasks of the Maak file]' \
        '--list-width[Fold a listing to this many columns]:N:' \
        '--json[Print the listing or the plan as JSON]' \
        '--plan[Print the plan a run would execute, without running it]' \
        '--watch[Re-run the named tasks whenever the tree changes]' \
        '--explain[Explain a task, what it calls and which environment file wins]' \
        '--completion[Print the completion script for a shell]:shell:(bash zsh fish)' \
        '(-t --tasks)--tasks[Run the tasks named in a comma separated list]:task:_maak_tasks' \
        '(-t --tasks)-t[Run the tasks named in a comma separated list]' \
        '(-L --load-path)--load-path[Add a directory to the Guile load path]:directory:_directories' \
        '(-L --load-path)-L[Add a directory to the Guile load path]' \
        '(-n --dry-run)--dry-run[Print the commands a run would execute, without running them]' \
        '(-n --dry-run)-n[Print the commands a run would execute, without running them]' \
        '--no-print-directory[Do not report the directories -C enters]' \
        '(-q --quiet)--quiet[Suppress logging output]' \
        '(-q --quiet)-q[Suppress logging output]' \
        '(-v --version)--version[Print the version and exit]' \
        '(-v --version)-v[Print the version and exit]' \
        '--debug[Print the Guile backtrace on an error]' \
        '*:task:_maak_tasks'
}

# The tasks of the Maak file the line is about, as `name:summary' words.
#
# maak answers this rather than this script reading the file, so a task a
# macro defines or a used module brings in is offered like any other, and the
# -f/--file and -C/--directory given before the cursor decide which file is
# read.  `_sequence' walks a comma separated task list one word at a time.
_maak_tasks() {
    local -a entries
    local -a selection
    local i
    for ((i = 2; i < maak_position; i++)); do
        case "${maak_line[i]}" in
            -f|--file|-C|--directory)
                if (( i + 1 < maak_position )); then
                    selection+=("${maak_line[i]}" "${maak_line[i + 1]}")
                    (( i++ ))
                fi
                ;;
        esac
    done
    entries=(${(f)"$(maak --list=completion ${selection[@]} 2>/dev/null)"})
    # `_describe' reads a candidate and its description apart on a colon.
    entries=("${(@)entries//$'\t'/:}")
    (( ${#entries} )) || return 1
    _sequence -s , _describe -t maak-tasks 'maak task' entries
}

# Autoloaded from fpath, zsh calls `_maak' itself; sourced by hand, the
# binding is made here.
if [[ "${funcstack[1]}" == "_maak" ]]; then
    _maak "$@"
else
    compdef _maak maak 2>/dev/null || true
fi
 # fish completion for maak.
#
# Generated by `maak --completion fish'.  Edit src/maak/completion.scm and run
# `maak completions'; this file is a copy of what that task writes.

# Start from nothing, and offer no file name where maak expects a task.
complete -c maak -e
complete -c maak -f

complete -c maak -s f -l file -r -F -d "Specify the path to the Maak file"
complete -c maak -s C -l directory -r -a "(__fish_complete_directories)" -d "Change to a directory before reading the Maak file"
complete -c maak -s e -l env-file -r -F -d "Read NAME=VALUE assignments from a file"
complete -c maak -l no-env-file -d "Read no environment file at all"
complete -c maak -l banner -d "Print the greeting banner"
complete -c maak -l no-banner -d "Skip the greeting banner"
complete -c maak -s h -l help -d "Display the help screen and exit"
complete -c maak -s i -l ignore-errors -d "Keep going after a failure, and still succeed"
complete -c maak -s j -l jobs -x -d "Run up to this many tasks at the same time"
complete -c maak -s k -l keep-going -d "Keep going after a failure"
complete -c maak -s l -l list -f -d "List the tasks of the Maak file"
complete -c maak -s l -l list -x -a "table plain long names json completion" -n "string match -q -- '--list=*' (commandline -ct)" -d "Lay the listing out this way"
complete -c maak -l list-width -x -d "Fold a listing to this many columns"
complete -c maak -l json -d "Print the listing or the plan as JSON"
complete -c maak -l plan -d "Print the plan a run would execute, without running it"
complete -c maak -l watch -d "Re-run the named tasks whenever the tree changes"
complete -c maak -l explain -d "Explain a task, what it calls and which environment file wins"
complete -c maak -l completion -x -a "bash zsh fish" -d "Print the completion script for a shell"
complete -c maak -s t -l tasks -x -a "(__fish_maak_targets)" -d "Run the tasks named in a comma separated list"
complete -c maak -s L -l load-path -r -a "(__fish_complete_directories)" -d "Add a directory to the Guile load path"
complete -c maak -s n -l dry-run -d "Print the commands a run would execute, without running them"
complete -c maak -l no-print-directory -d "Do not report the directories -C enters"
complete -c maak -s q -l quiet -d "Suppress logging output"
complete -c maak -s v -l version -d "Print the version and exit"
complete -c maak -l debug -d "Print the Guile backtrace on an error"

# The tasks of the Maak file the line is about, as candidates with the first
# line of the task's docstring beside them.
#
# maak answers this rather than this script reading the file, so a task a
# macro defines or a used module brings in is offered like any other, and the
# -f/--file and -C/--directory given before the cursor decide which file is
# read.
function __fish_maak_tasks
    set -l words (commandline -opc)
    set -l selection
    for i in (seq (count $words))
        switch $words[$i]
            case -f --file -C --directory
                if test (count $words) -gt $i
                    set -a selection $words[$i] $words[(math $i + 1)]
                end
        end
    end
    maak --list=completion $selection 2>/dev/null
end

# The same candidates, carrying on a comma separated task list, as in
# `maak fmt,quick'.
function __fish_maak_targets
    set -l token (commandline -ct)
    set -l prefix ""
    set -l stem $token
    if string match -q "*,*" -- $token
        set prefix (string replace -r '[^,]*$' '' -- $token)
        set stem (string replace -r '^.*,' '' -- $token)
    end
    for line in (__fish_maak_tasks)
        set -l name (string replace -r '\t.*$' '' -- $line)
        string match -q -- "$stem*" $name; or continue
        if test -n "$prefix"
            printf '%s%s\t%s\n' $prefix $name \
                (string replace -r '^[^\t]*\t' '' -- $line)
        else
            printf '%s\n' $line
        end
    end
end

complete -c maak -a "(__fish_maak_targets)" -d "Maak task"
))
+----------------------------------------------+
[📑 suite] `--completion' on the command line
  [🧪 test] --completion prints the script the file holds
    ✅ got: # fish completion for maak.
#
# Generated by `maak --completion fish'.  Edit src/maak/completion.scm and run
# `maak completions'; this file is a copy of what that task writes.

# Start from nothing, and offer no file name where maak expects a task.
complete -c maak -e
complete -c maak -f

complete -c maak -s f -l file -r -F -d "Specify the path to the Maak file"
complete -c maak -s C -l directory -r -a "(__fish_complete_directories)" -d "Change to a directory before reading the Maak file"
complete -c maak -s e -l env-file -r -F -d "Read NAME=VALUE assignments from a file"
complete -c maak -l no-env-file -d "Read no environment file at all"
complete -c maak -l banner -d "Print the greeting banner"
complete -c maak -l no-banner -d "Skip the greeting banner"
complete -c maak -s h -l help -d "Display the help screen and exit"
complete -c maak -s i -l ignore-errors -d "Keep going after a failure, and still succeed"
complete -c maak -s j -l jobs -x -d "Run up to this many tasks at the same time"
complete -c maak -s k -l keep-going -d "Keep going after a failure"
complete -c maak -s l -l list -f -d "List the tasks of the Maak file"
complete -c maak -s l -l list -x -a "table plain long names json completion" -n "string match -q -- '--list=*' (commandline -ct)" -d "Lay the listing out this way"
complete -c maak -l list-width -x -d "Fold a listing to this many columns"
complete -c maak -l json -d "Print the listing or the plan as JSON"
complete -c maak -l plan -d "Print the plan a run would execute, without running it"
complete -c maak -l watch -d "Re-run the named tasks whenever the tree changes"
complete -c maak -l explain -d "Explain a task, what it calls and which environment file wins"
complete -c maak -l completion -x -a "bash zsh fish" -d "Print the completion script for a shell"
complete -c maak -s t -l tasks -x -a "(__fish_maak_targets)" -d "Run the tasks named in a comma separated list"
complete -c maak -s L -l load-path -r -a "(__fish_complete_directories)" -d "Add a directory to the Guile load path"
complete -c maak -s n -l dry-run -d "Print the commands a run would execute, without running them"
complete -c maak -l no-print-directory -d "Do not report the directories -C enters"
complete -c maak -s q -l quiet -d "Suppress logging output"
complete -c maak -s v -l version -d "Print the version and exit"
complete -c maak -l debug -d "Print the Guile backtrace on an error"

# The tasks of the Maak file the line is about, as candidates with the first
# line of the task's docstring beside them.
#
# maak answers this rather than this script reading the file, so a task a
# macro defines or a used module brings in is offered like any other, and the
# -f/--file and -C/--directory given before the cursor decide which file is
# read.
function __fish_maak_tasks
    set -l words (commandline -opc)
    set -l selection
    for i in (seq (count $words))
        switch $words[$i]
            case -f --file -C --directory
                if test (count $words) -gt;;; compiling ./test/veritas/unit/errors.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/errors.scm.go
;;; compiling ./test/veritas/unit/cargo.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/cargo.scm.go
mkdir: created directory '/tmp/maak-cargo-version-14633'
removed '/tmp/maak-cargo-version-14633/cargo'
removed directory '/tmp/maak-cargo-version-14633'
mkdir: created directory '/tmp/maak-cargo-names-14633'
removed '/tmp/maak-cargo-names-14633/cargo'
removed directory '/tmp/maak-cargo-names-14633'
mkdir: created directory '/tmp/maak-cargo-binaries-14633'
removed '/tmp/maak-cargo-binaries-14633/cargo'
removed directory '/tmp/maak-cargo-binaries-14633'
mkdir: created directory '/tmp/maak-cargo-target-14633'
removed '/tmp/maak-cargo-target-14633/cargo'
removed directory '/tmp/maak-cargo-target-14633'
mkdir: created directory '/tmp/maak-cargo-artifact-14633'
removed '/tmp/maak-cargo-artifact-14633/cargo'
removed directory '/tmp/maak-cargo-artifact-14633'
mkdir: created directory '/tmp/maak-cargo-ambiguous-14633'
removed '/tmp/maak-cargo-ambiguous-14633/cargo'
removed directory '/tmp/maak-cargo-ambiguous-14633'
mkdir: created directory '/tmp/maak-cargo-active-14633'
removed '/tmp/maak-cargo-active-14633/rustup'
removed directory '/tmp/maak-cargo-active-14633'
mkdir: created directory '/tmp/maak-cargo-toolchains-14633'
removed '/tmp/maak-cargo-toolchains-14633/rustup'
removed directory '/tmp/maak-cargo-toolchains-14633'
 $i
                    set -a selection $words[$i] $words[(math $i + 1)]
                end
        end
    end
    maak --list=completion $selection 2>/dev/null
end

# The same candidates, carrying on a comma separated task list, as in
# `maak fmt,quick'.
function __fish_maak_targets
    set -l token (commandline -ct)
    set -l prefix ""
    set -l stem $token
    if string match -q "*,*" -- $token
        set prefix (string replace -r '[^,]*$' '' -- $token)
        set stem (string replace -r '^.*,' '' -- $token)
    end
    for line in (__fish_maak_tasks)
        set -l name (string replace -r '\t.*$' '' -- $line)
        string match -q -- "$stem*" $name; or continue
        if test -n "$prefix"
            printf '%s%s\t%s\n' $prefix $name \
                (string replace -r '^[^\t]*\t' '' -- $line)
        else
            printf '%s\n' $line
        end
    end
end

complete -c maak -a "(__fish_maak_targets)" -d "Maak task"

  [🧪 test] --completion needs no Maak file
    ✅ got: (0 #t)
  [🧪 test] an unknown shell is refused with the shells maak knows
    ✅ got: (1 #t)
ℹ️ info - ran 6 tasks in: 2 seconds, -33684 microseconds

running unit tests from file: errors.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] Messages of caught errors
  [🧪 test] an error message is reported as it stands
    ✅ got: boom
  [🧪 test] an unbound variable is named
    ✅ got: Unbound variable: no-such-binding
  [🧪 test] a primitive failure explains itself
    ✅ got: expecting pair
  [🧪 test] a primitive failure is not named by the procedure
    ✅ got: #f
  [🧪 test] a missing module is named the way Guile names it
    ✅ got: no code for module (no such module)
  [🧪 test] the irritants of a user error are shown
    ✅ got: custom a b
  [🧪 test] a template that cannot be filled is shown as it stands
    ✅ got: thrown ~S here
+----------------------------------------------+
[📑 suite] Reporting to the user
  [🧪 test] a maak error is labelled
    ✅ got: maak: error:
  [🧪 test] a maak error prints its message
    ✅ got: Unknown task: nope
  [🧪 test] a maak error prints its hint
    ✅ got: hint: Available tasks: build, test
  [🧪 test] a maak error prints no backtrace
    ✅ got: #f
  [🧪 test] a maak error without a hint prints its message
    ✅ got: nope
  [🧪 test] a maak error without a hint prints no hint
    ✅ got: #f
  [🧪 test] an unexpected error prints what went wrong
    ✅ got: boom
  [🧪 test] an unexpected error points at the debug switch
    ✅ got: MAAK_DEBUG=1
  [🧪 test] an unexpected error prints no backtrace
    ✅ got: #f
  [🧪 test] a missing module names the module
    ✅ got: no code for module (no such module)
  [🧪 test] a missing module points at the load path switch
    ✅ got: -L/--load-path
  [🧪 test] a missing module names the load path variable
    ✅ got: MAAK_LOAD_PATH
  [🧪 test] an unbound variable is named
    ✅ got: no-such-binding
  [🧪 test] an unbound variable says where it is not bound
    ✅ got: is not bound here
  [🧪 test] an unbound variable explains the import rule
    ✅ got: resolve-module
ℹ️ info - ran 2 tasks in: 0 seconds, 11605 microseconds

running unit tests from file: cargo.scm, entrypoint: spec

;;; compiling ./test/veritas/unit/git.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/git.scm.go
mkdir: created directory '/tmp/maak-test-git-init-14633'
removed '/tmp/maak-test-git-init-14633/.git/description'
removed '/tmp/maak-test-git-init-14633/.git/hooks/applypatch-msg.sample'
removed '/tmp/maak-test-git-init-14633/.git/hooks/commit-msg.sample'
removed '/tmp/maak-test-git-init-14633/.git/hooks/fsmonitor-watchman.sample'
removed '/tmp/maak-test-git-init-14633/.git/hooks/post-update.sample'
removed '/tmp/maak-test-git-init-14633/.git/hooks/pre-applypatch.sample'
removed '/tmp/maak-test-git-init-14633/.git/hooks/pre-commit.sample'
removed '/tmp/maak-test-git-init-14633/.git/hooks/pre-merge-commit.sample'
removed '/tmp/maak-test-git-init-14633/.git/hooks/pre-push.sample'
removed '/tmp/maak-test-git-init-14633/.git/hooks/pre-rebase.sample'
removed '/tmp/maak-test-git-init-14633/.git/hooks/pre-receive.sample'
removed '/tmp/maak-test-git-init-14633/.git/hooks/prepare-commit-msg.sample'
removed '/tmp/maak-test-git-init-14633/.git/hooks/push-to-checkout.sample'
removed '/tmp/maak-test-git-init-14633/.git/hooks/sendemail-validate.sample'
removed '/tmp/maak-test-git-init-14633/.git/hooks/update.sample'
removed directory '/tmp/maak-test-git-init-14633/.git/hooks'
removed '/tmp/maak-test-git-init-14633/.git/info/exclude'
removed directory '/tmp/maak-test-git-init-14633/.git/info'
removed directory '/tmp/maak-test-git-init-14633/.git/refs/heads'
removed directory '/tmp/maak-test-git-init-14633/.git/refs/tags'
removed directory '/tmp/maak-test-git-init-14633/.git/refs'
removed '/tmp/maak-test-git-init-14633/.git/HEAD'
removed directory '/tmp/maak-test-git-init-14633/.git/objects/pack'
removed directory '/tmp/maak-test-git-init-14633/.git/objects/info'
removed directory '/tmp/maak-test-git-init-14633/.git/objects'
removed '/tmp/maak-test-git-init-14633/.git/config'
removed directory '/tmp/maak-test-git-init-14633/.git'
removed directory '/tmp/maak-test-git-init-14633'
mkdir: created directory '/tmp/maak-test-git-add-14633'
removed '/tmp/maak-test-git-add-14633/.git/description'
removed '/tmp/maak-test-git-add-14633/.git/hooks/applypatch-msg.sample'
removed '/tmp/maak-test-git-add-14633/.git/hooks/commit-msg.sample'
removed '/tmp/maak-test-git-add-14633/.git/hooks/fsmonitor-watchman.sample'
removed '/tmp/maak-test-git-add-14633/.git/hooks/post-update.sample'
removed '/tmp/maak-test-git-add-14633/.git/hooks/pre-applypatch.sample'
removed '/tmp/maak-test-git-add-14633/.git/hooks/pre-commit.sample'
removed '/tmp/maak-test-git-add-14633/.git/hooks/pre-merge-commit.sample'
removed '/tmp/maak-test-git-add-14633/.git/hooks/pre-push.sample'
removed '/tmp/maak-test-git-add-14633/.git/hooks/pre-rebase.sample'
removed '/tmp/maak-test-git-add-14633/.git/hooks/pre-receive.sample'
removed '/tmp/maak-test-git-add-14633/.git/hooks/prepare-commit-msg.sample'
removed '/tmp/maak-test-git-add-14633/.git/hooks/push-to-checkout.sample'
removed '/tmp/maak-test-git-add-14633/.git/hooks/sendemail-validate.sample'
removed '/tmp/maak-test-git-add-14633/.git/hooks/update.sample'
removed directory '/tmp/maak-test-git-add-14633/.git/hooks'
removed '/tmp/maak-test-git-add-14633/.git/info/exclude'
removed directory '/tmp/maak-test-git-add-14633/.git/info'
removed directory '/tmp/maak-test-git-add-14633/.git/refs/heads'
removed directory '/tmp/maak-test-git-add-14633/.git/refs/tags'
removed directory '/tmp/maak-test-git-add-14633/.git/refs'
removed '/tmp/maak-test-git-add-14633/.git/HEAD'
removed directory '/tmp/maak-test-git-add-14633/.git/objects/pack'
removed directory '/tmp/maak-test-git-add-14633/.git/objects/info'
removed '/tmp/maak-test-git-add-14633/.git/objects/43/dd47ea691c90a5fa7827892c70241913351963'
removed directory '/tmp/maak-test-git-add-14633/.git/objects/43'
removed directory '/tmp/maak-test-git-add-14633/.git/objects'
removed '/tmp/maak-test-git-add-14633/.git/config'
removed '/tmp/maak-test-git-add-14633/.git/index'
removed directory '/tmp/maak-test-git-add-14633/.git'
removed '/tmp/maak-test-git-add-14633/a.txt'
removed directory '/tmp/maak-test-git-add-14633'
mkdir: created directory '/tmp/maak-test-git-commit-14633'
[trunk (root-commit) 5f40503] first
 1 file changed, 1 insertion(+)
 create mode 100644 a.txt
removed '/tmp/maak-test-git-commit-14633/.git/description'
removed '/tmp/maak-test-git-commit-14633/.git/hooks/applypatch-msg.sample'
removed '/tmp/maak-test-git-commit-14633/.git/hooks/commit-msg.sample'
removed '/tmp/maak-test-git-commit-14633/.git/hooks/fsmonitor-watchman.sample'
removed '/tmp/maak-test-git-commit-14633/.git/hooks/post-update.sample'
removed '/tmp/maak-test-git-commit-14633/.git/hooks/pre-applypatch.sample'
removed '/tmp/maak-test-git-commit-14633/.git/hooks/pre-commit.sample'
removed '/tmp/maak-test-git-commit-14633/.git/hooks/pre-merge-commit.sample'
removed '/tmp/maak-test-git-commit-14633/.git/hooks/pre-push.sample'
removed '/tmp/maak-test-git-commit-14633/.git/hooks/pre-rebase.sample'
removed '/tmp/maak-test-git-commit-14633/.git/hooks/pre-receive.sample'
removed '/tmp/maak-test-git-commit-14633/.git/hooks/prepare-commit-msg.sample'
removed '/tmp/maak-test-git-commit-14633/.git/hooks/push-to-checkout.sample'
removed '/tmp/maak-test-git-commit-14633/.git/hooks/sendemail-validate.sample'
removed '/tmp/maak-test-git-commit-14633/.git/hooks/update.sample'
removed directory '/tmp/maak-test-git-commit-14633/.git/hooks'
removed '/tmp/maak-test-git-commit-14633/.git/info/exclude'
removed directory '/tmp/maak-test-git-commit-14633/.git/info'
removed '/tmp/maak-test-git-commit-14633/.git/refs/heads/trunk'
removed directory '/tmp/maak-test-git-commit-14633/.git/refs/heads'
removed directory '/tmp/maak-test-git-commit-14633/.git/refs/tags'
removed directory '/tmp/maak-test-git-commit-14633/.git/refs'
removed '/tmp/maak-test-git-commit-14633/.git/HEAD'
removed directory '/tmp/maak-test-git-commit-14633/.git/objects/pack'
removed directory '/tmp/maak-test-git-commit-14633/.git/objects/info'
removed '/tmp/maak-test-git-commit-14633/.git/objects/43/dd47ea691c90a5fa7827892c70241913351963'
removed directory '/tmp/maak-test-git-commit-14633/.git/objects/43'
removed '/tmp/maak-test-git-commit-14633/.git/objects/07/74631921416916f52abe96497a247055976283'
removed directory '/tmp/maak-test-git-commit-14633/.git/objects/07'
removed '/tmp/maak-test-git-commit-14633/.git/objects/5f/405039366362a57c755cd67b243dec6bd55f98'
removed directory '/tmp/maak-test-git-commit-14633/.git/objects/5f'
removed directory '/tmp/maak-test-git-commit-14633/.git/objects'
removed '/tmp/maak-test-git-commit-14633/.git/config'
removed '/tmp/maak-test-git-commit-14633/.git/COMMIT_EDITMSG'
removed '/tmp/maak-test-git-commit-14633/.git/logs/HEAD'
removed '/tmp/maak-test-git-commit-14633/.git/logs/refs/heads/trunk'
removed directory '/tmp/maak-test-git-commit-14633/.git/logs/refs/heads'
removed directory '/tmp/maak-test-git-commit-14633/.git/logs/refs'
removed directory '/tmp/maak-test-git-commit-14633/.git/logs'
removed '/tmp/maak-test-git-commit-14633/.git/index'
removed directory '/tmp/maak-test-git-commit-14633/.git'
removed '/tmp/maak-test-git-commit-14633/a.txt'
removed directory '/tmp/maak-test-git-commit-14633'
mkdir: created directory '/tmp/maak-test-git-revision-14633'
[trunk (root-commit) 5f40503] first
 1 file changed, 1 insertion(+)
 create mode 100644 a.txt
removed '/tmp/maak-test-git-revision-14633/.git/description'
removed '/tmp/maak-test-git-revision-14633/.git/hooks/applypatch-msg.sample'
removed '/tmp/maak-test-git-revision-14633/.git/hooks/commit-msg.sample'
removed '/tmp/maak-test-git-revision-14633/.git/hooks/fsmonitor-watchman.sample'
removed '/tmp/maak-test-git-revision-14633/.git/hooks/post-update.sample'
removed '/tmp/maak-test-git-revision-14633/.git/hooks/pre-applypatch.sample'
removed '/tmp/maak-test-git-revision-14633/.git/hooks/pre-commit.sample'
removed '/tmp/maak-test-git-revision-14633/.git/hooks/pre-merge-commit.sample'
removed '/tmp/maak-test-git-revision-14633/.git/hooks/pre-push.sample'
removed '/tmp/maak-test-git-revision-14633/.git/hooks/pre-rebase.sample'
removed '/tmp/maak-test-git-revision-14633/.git/hooks/pre-receive.sample'
removed '/tmp/maak-test-git-revision-14633/.git/hooks/prepare-commit-msg.sample'
removed '/tmp/maak-test-git-revision-14633/.git/hooks/push-to-checkout.sample'
removed '/tmp/maak-test-git-revision-14633/.git/hooks/sendemail-validate.sample'
removed '/tmp/maak-test-git-revision-14633/.git/hooks/update.sample'
removed directory '/tmp/maak-test-git-revision-14633/.git/hooks'
removed '/tmp/maak-test-git-revision-14633/.git/info/exclude'
removed directory '/tmp/maak-test-git-revision-14633/.git/info'
removed '/tmp/maak-test-git-revision-14633/.git/refs/heads/trunk'
removed directory '/tmp/maak-test-git-revision-14633/.git/refs/heads'
removed directory '/tmp/maak-test-git-revision-14633/.git/refs/tags'
removed directory '/tmp/maak-test-git-revision-14633/.git/refs'
removed '/tmp/maak-test-git-revision-14633/.git/HEAD'
removed directory '/tmp/maak-test-git-revision-14633/.git/objects/pack'
removed directory '/tmp/maak-test-git-revision-14633/.git/objects/info'
removed '/tmp/maak-test-git-revision-14633/.git/objects/43/dd47ea691c90a5fa7827892c70241913351963'
removed directory '/tmp/maak-test-git-revision-14633/.git/objects/43'
removed '/tmp/maak-test-git-revision-14633/.git/objects/07/74631921416916f52abe96497a247055976283'
removed directory '/tmp/maak-test-git-revision-14633/.git/objects/07'
removed '/tmp/maak-test-git-revision-14633/.git/objects/5f/405039366362a57c755cd67b243dec6bd55f98'
removed directory '/tmp/maak-test-git-revision-14633/.git/objects/5f'
removed directory '/tmp/maak-test-git-revision-14633/.git/objects'
removed '/tmp/maak-test-git-revision-14633/.git/config'
removed '/tmp/maak-test-git-revision-14633/.git/COMMIT_EDITMSG'
removed '/tmp/maak-test-git-revision-14633/.git/logs/HEAD'
removed '/tmp/maak-test-git-revision-14633/.git/logs/refs/heads/trunk'
removed directory '/tmp/maak-test-git-revision-14633/.git/logs/refs/heads'
removed directory '/tmp/maak-test-git-revision-14633/.git/logs/refs'
removed directory '/tmp/maak-test-git-revision-14633/.git/logs'
removed '/tmp/maak-test-git-revision-14633/.git/index'
removed directory '/tmp/maak-test-git-revision-14633/.git'
removed '/tmp/maak-test-git-revision-14633/a.txt'
removed directory '/tmp/maak-test-git-revision-14633'
mkdir: created directory '/tmp/maak-test-git-dirty-14633'
[trunk (root-commit) 5f40503] first
 1 file changed, 1 insertion(+)
 create mode 100644 a.txt
removed '/tmp/maak-test-git-dirty-14633/.git/description'
removed '/tmp/maak-test-git-dirty-14633/.git/hooks/applypatch-msg.sample'
removed '/tmp/maak-test-git-dirty-14633/.git/hooks/commit-msg.sample'
removed '/tmp/maak-test-git-dirty-14633/.git/hooks/fsmonitor-watchman.sample'
removed '/tmp/maak-test-git-dirty-14633/.git/hooks/post-update.sample'
removed '/tmp/maak-test-git-dirty-14633/.git/hooks/pre-applypatch.sample'
removed '/tmp/maak-test-git-dirty-14633/.git/hooks/pre-commit.sample'
removed '/tmp/maak-test-git-dirty-14633/.git/hooks/pre-merge-commit.sample'
removed '/tmp/maak-test-git-dirty-14633/.git/hooks/pre-push.sample'
removed '/tmp/maak-test-git-dirty-14633/.git/hooks/pre-rebase.sample'
removed '/tmp/maak-test-git-dirty-14633/.git/hooks/pre-receive.sample'
removed '/tmp/maak-test-git-dirty-14633/.git/hooks/prepare-commit-msg.sample'
removed '/tmp/maak-test-git-dirty-14633/.git/hooks/push-to-checkout.sample'
removed '/tmp/maak-test-git-dirty-14633/.git/hooks/sendemail-validate.sample'
removed '/tmp/maak-test-git-dirty-14633/.git/hooks/update.sample'
removed directory '/tmp/maak-test-git-dirty-14633/.git/hooks'
removed '/tmp/maak-test-git-dirty-14633/.git/info/exclude'
removed directory '/tmp/maak-test-git-dirty-14633/.git/info'
removed '/tmp/maak-test-git-dirty-14633/.git/refs/heads/trunk'
removed directory '/tmp/maak-test-git-dirty-14633/.git/refs/heads'
removed directory '/tmp/maak-test-git-dirty-14633/.git/refs/tags'
removed directory '/tmp/maak-test-git-dirty-14633/.git/refs'
removed '/tmp/maak-test-git-dirty-14633/.git/HEAD'
removed directory '/tmp/maak-test-git-dirty-14633/.git/objects/pack'
removed directory '/tmp/maak-test-git-dirty-14633/.git/objects/info'
removed '/tmp/maak-test-git-dirty-14633/.git/objects/43/dd47ea691c90a5fa7827892c70241913351963'
removed directory '/tmp/maak-test-git-dirty-14633/.git/objects/43'
removed '/tmp/maak-test-git-dirty-14633/.git/objects/07/74631921416916f52abe96497a247055976283'
removed directory '/tmp/maak-test-git-dirty-14633/.git/objects/07'
removed '/tmp/maak-test-git-dirty-14633/.git/objects/5f/405039366362a57c755cd67b243dec6bd55f98'
removed directory '/tmp/maak-test-git-dirty-14633/.git/objects/5f'
removed directory '/tmp/maak-test-git-dirty-14633/.git/objects'
removed '/tmp/maak-test-git-dirty-14633/.git/config'
removed '/tmp/maak-test-git-dirty-14633/.git/COMMIT_EDITMSG'
removed '/tmp/maak-test-git-dirty-14633/.git/logs/HEAD'
removed '/tmp/maak-test-git-dirty-14633/.git/logs/refs/heads/trunk'
removed directory '/tmp/maak-test-git-dirty-14633/.git/logs/refs/heads'
removed directory '/tmp/maak-test-git-dirty-14633/.git/logs/refs'
removed directory '/tmp/maak-test-git-dirty-14633/.git/logs'
removed '/tmp/maak-test-git-dirty-14633/.git/index'
removed directory '/tmp/maak-test-git-dirty-14633/.git'
removed '/tmp/maak-test-git-dirty-14633/a.txt'
removed directory '/tmp/maak-test-git-dirty-14633'
mkdir: created directory '/tmp/maak-test-git-clean-14633'
[trunk (root-commit) 5f40503] first
 1 file changed, 1 insertion(+)
 create mode 100644 a.txt
removed '/tmp/maak-test-git-clean-14633/.git/description'
removed '/tmp/maak-test-git-clean-14633/.git/hooks/applypatch-msg.sample'
removed '/tmp/maak-test-git-clean-14633/.git/hooks/commit-msg.sample'
removed '/tmp/maak-test-git-clean-14633/.git/hooks/fsmonitor-watchman.sample'
removed '/tmp/maak-test-git-clean-14633/.git/hooks/post-update.sample'
removed '/tmp/maak-test-git-clean-14633/.git/hooks/pre-applypatch.sample'
removed '/tmp/maak-test-git-clean-14633/.git/hooks/pre-commit.sample'
removed '/tmp/maak-test-git-clean-14633/.git/hooks/pre-merge-commit.sample'
removed '/tmp/maak-test-git-clean-14633/.git/hooks/pre-push.sample'
removed '/tmp/maak-test-git-clean-14633/.git/hooks/pre-rebase.sample'
removed '/tmp/maak-test-git-clean-14633/.git/hooks/pre-receive.sample'
removed '/tmp/maak-test-git-clean-14633/.git/hooks/prepare-commit-msg.sample'
removed '/tmp/maak-test-git-clean-14633/.git/hooks/push-to-checkout.sample'
removed '/tmp/maak-test-git-clean-14633/.git/hooks/sendemail-validate.sample'
removed '/tmp/maak-test-git-clean-14633/.git/hooks/update.sample'
removed directory '/tmp/maak-test-git-clean-14633/.git/hooks'
removed '/tmp/maak-test-git-clean-14633/.git/info/exclude'
removed directory '/tmp/maak-test-git-clean-14633/.git/info'
removed '/tmp/maak-test-git-clean-14633/.git/refs/heads/trunk'
removed directory '/tmp/maak-test-git-clean-14633/.git/refs/heads'
removed directory '/tmp/maak-test-git-clean-14633/.git/refs/tags'
removed directory '/tmp/maak-test-git-clean-14633/.git/refs'
removed '/tmp/maak-test-git-clean-14633/.git/HEAD'
removed directory '/tmp/maak-test-git-clean-14633/.git/objects/pack'
removed directory '/tmp/maak-test-git-clean-14633/.git/objects/info'
removed '/tmp/maak-test-git-clean-14633/.git/objects/43/dd47ea691c90a5fa7827892c70241913351963'
removed directory '/tmp/maak-test-git-clean-14633/.git/objects/43'
removed '/tmp/maak-test-git-clean-14633/.git/objects/07/74631921416916f52abe96497a247055976283'
removed directory '/tmp/maak-test-git-clean-14633/.git/objects/07'
removed '/tmp/maak-test-git-clean-14633/.git/objects/5f/405039366362a57c755cd67b243dec6bd55f98'
removed directory '/tmp/maak-test-git-clean-14633/.git/objects/5f'
removed directory '/tmp/maak-test-git-clean-14633/.git/objects'
removed '/tmp/maak-test-git-clean-14633/.git/config'
removed '/tmp/maak-test-git-clean-14633/.git/COMMIT_EDITMSG'
removed '/tmp/maak-test-git-clean-14633/.git/logs/HEAD'
removed '/tmp/maak-test-git-clean-14633/.git/logs/refs/heads/trunk'
removed directory '/tmp/maak-test-git-clean-14633/.git/logs/refs/heads'
removed directory '/tmp/maak-test-git-clean-14633/.git/logs/refs'
removed directory '/tmp/maak-test-git-clean-14633/.git/logs'
removed '/tmp/maak-test-git-clean-14633/.git/index'
removed directory '/tmp/maak-test-git-clean-14633/.git'
removed '/tmp/maak-test-git-clean-14633/a.txt'
removed directory '/tmp/maak-test-git-clean-14633'
mkdir: created directory '/tmp/maak-test-git-tag-14633'
[trunk (root-commit) 5f40503] first
 1 file changed, 1 insertion(+)
 create mode 100644 a.txt
removed '/tmp/maak-test-git-tag-14633/.git/description'
removed '/tmp/maak-test-git-tag-14633/.git/hooks/applypatch-msg.sample'
removed '/tmp/maak-test-git-tag-14633/.git/hooks/commit-msg.sample'
removed '/tmp/maak-test-git-tag-14633/.git/hooks/fsmonitor-watchman.sample'
removed '/tmp/maak-test-git-tag-14633/.git/hooks/post-update.sample'
removed '/tmp/maak-test-git-tag-14633/.git/hooks/pre-applypatch.sample'
removed '/tmp/maak-test-git-tag-14633/.git/hooks/pre-commit.sample'
removed '/tmp/maak-test-git-tag-14633/.git/hooks/pre-merge-commit.sample'
removed '/tmp/maak-test-git-tag-14633/.git/hooks/pre-push.sample'
removed '/tmp/maak-test-git-tag-14633/.git/hooks/pre-rebase.sample'
removed '/tmp/maak-test-git-tag-14633/.git/hooks/pre-receive.sample'
removed '/tmp/maak-test-git-tag-14633/.git/hooks/prepare-commit-msg.sample'
removed '/tmp/maak-test-git-tag-14633/.git/hooks/push-to-checkout.sample'
removed '/tmp/maak-test-git-tag-14633/.git/hooks/sendemail-validate.sample'
removed '/tmp/maak-test-git-tag-14633/.git/hooks/update.sample'
removed directory '/tmp/maak-test-git-tag-14633/.git/hooks'
removed '/tmp/maak-test-git-tag-14633/.git/info/exclude'
removed directory '/tmp/maak-test-git-tag-14633/.git/info'
removed '/tmp/maak-test-git-tag-14633/.git/refs/heads/trunk'
removed directory '/tmp/maak-test-git-tag-14633/.git/refs/heads'
removed '/tmp/maak-test-git-tag-14633/.git/refs/tags/v1'
removed directory '/tmp/maak-test-git-tag-14633/.git/refs/tags'
removed directory '/tmp/maak-test-git-tag-14633/.git/refs'
removed '/tmp/maak-test-git-tag-14633/.git/HEAD'
removed directory '/tmp/maak-test-git-tag-14633/.git/objects/pack'
removed directory '/tmp/maak-test-git-tag-14633/.git/objects/info'
removed '/tmp/maak-test-git-tag-14633/.git/objects/43/dd47ea691c90a5fa7827892c70241913351963'
removed directory '/tmp/maak-test-git-tag-14633/.git/objects/43'
removed '/tmp/maak-test-git-tag-14633/.git/objects/07/74631921416916f52abe96497a247055976283'
removed directory '/tmp/maak-test-git-tag-14633/.git/objects/07'
removed '/tmp/maak-test-git-tag-14633/.git/objects/5f/405039366362a57c755cd67b243dec6bd55f98'
removed directory '/tmp/maak-test-git-tag-14633/.git/objects/5f'
removed '/tmp/maak-test-git-tag-14633/.git/objects/d4/90fdd27d543f5c2d9cc8a212b3b150ea2efdc7'
removed directory '/tmp/maak-test-git-tag-14633/.git/objects/d4'
removed directory '/tmp/maak-test-git-tag-14633/.git/objects'
removed '/tmp/maak-test-git-tag-14633/.git/config'
removed '/tmp/maak-test-git-tag-14633/.git/COMMIT_EDITMSG'
removed '/tmp/maak-test-git-tag-14633/.git/logs/HEAD'
removed '/tmp/maak-test-git-tag-14633/.git/logs/refs/heads/trunk'
removed directory '/tmp/maak-test-git-tag-14633/.git/logs/refs/heads'
removed directory '/tmp/maak-test-git-tag-14633/.git/logs/refs'
removed directory '/tmp/maak-test-git-tag-14633/.git/logs'
removed '/tmp/maak-test-git-tag-14633/.git/index'
removed directory '/tmp/maak-test-git-tag-14633/.git'
removed '/tmp/maak-test-git-tag-14633/a.txt'
removed directory '/tmp/maak-test-git-tag-14633'
mkdir: created directory '/tmp/maak-test-git-describe-14633'
[trunk (root-commit) 5f40503] first
 1 file changed, 1 insertion(+)
 create mode 100644 a.txt
removed '/tmp/maak-test-git-describe-14633/.git/description'
removed '/tmp/maak-test-git-describe-14633/.git/hooks/applypatch-msg.sample'
removed '/tmp/maak-test-git-describe-14633/.git/hooks/commit-msg.sample'
removed '/tmp/maak-test-git-describe-14633/.git/hooks/fsmonitor-watchman.sample'
removed '/tmp/maak-test-git-describe-14633/.git/hooks/post-update.sample'
removed '/tmp/maak-test-git-describe-14633/.git/hooks/pre-applypatch.sample'
removed '/tmp/maak-test-git-describe-14633/.git/hooks/pre-commit.sample'
removed '/tmp/maak-test-git-describe-14633/.git/hooks/pre-merge-commit.sample'
removed '/tmp/maak-test-git-describe-14633/.git/hooks/pre-push.sample'
removed '/tmp/maak-test-git-describe-14633/.git/hooks/pre-rebase.sample'
removed '/tmp/maak-test-git-describe-14633/.git/hooks/pre-receive.sample'
removed '/tmp/maak-test-git-describe-14633/.git/hooks/prepare-commit-msg.sample'
removed '/tmp/maak-test-git-describe-14633/.git/hooks/push-to-checkout.sample'
removed '/tmp/maak-test-git-describe-14633/.git/hooks/sendemail-validate.sample'
removed '/tmp/maak-test-git-describe-14633/.git/hooks/update.sample'
removed directory '/tmp/maak-test-git-describe-14633/.git/hooks'
removed '/tmp/maak-test-git-describe-14633/.git/info/exclude'
removed directory '/tmp/maak-test-git-describe-14633/.git/info'
removed '/tmp/maak-test-git-describe-14633/.git/refs/heads/trunk'
removed directory '/tmp/maak-test-git-describe-14633/.git/refs/heads'
removed '/tmp/maak-test-git-describe-14633/.git/refs/tags/v2'
removed directory '/tmp/maak-test-git-describe-14633/.git/refs/tags'
removed directory '/tmp/maak-test-git-describe-14633/.git/refs'
removed '/tmp/maak-test-git-describe-14633/.git/HEAD'
removed directory '/tmp/maak-test-git-describe-14633/.git/objects/pack'
removed directory '/tmp/maak-test-git-describe-14633/.git/objects/info'
removed '/tmp/maak-test-git-describe-14633/.git/objects/43/dd47ea691c90a5fa7827892c70241913351963'
removed directory '/tmp/maak-test-git-describe-14633/.git/objects/43'
removed '/tmp/maak-test-git-describe-14633/.git/objects/07/74631921416916f52abe96497a247055976283'
removed directory '/tmp/maak-test-git-describe-14633/.git/objects/07'
removed '/tmp/maak-test-git-describe-14633/.git/objects/5f/405039366362a57c755cd67b243dec6bd55f98'
removed directory '/tmp/maak-test-git-describe-14633/.git/objects/5f'
removed directory '/tmp/maak-test-git-describe-14633/.git/objects'
removed '/tmp/maak-test-git-describe-14633/.git/config'
removed '/tmp/maak-test-git-describe-14633/.git/COMMIT_EDITMSG'
removed '/tmp/maak-test-git-describe-14633/.git/logs/HEAD'
removed '/tmp/maak-test-git-describe-14633/.git/logs/refs/heads/trunk'
removed directory '/tmp/maak-test-git-describe-14633/.git/logs/refs/heads'
removed directory '/tmp/maak-test-git-describe-14633/.git/logs/refs'
removed directory '/tmp/maak-test-git-describe-14633/.git/logs'
removed '/tmp/maak-test-git-describe-14633/.git/index'
removed directory '/tmp/maak-test-git-describe-14633/.git'
removed '/tmp/maak-test-git-describe-14633/a.txt'
removed directory '/tmp/maak-test-git-describe-14633'
mkdir: created directory '/tmp/maak-test-git-switch-14633'
[trunk (root-commit) 5f40503] first
 1 file changed, 1 insertion(+)
 create mode 100644 a.txt
Switched to branch 'feature'
removed '/tmp/maak-test-git-switch-14633/.git/description'
removed '/tmp/maak-test-git-switch-14633/.git/hooks/applypatch-msg.sample'
removed '/tmp/maak-test-git-switch-14633/.git/hooks/commit-msg.sample'
removed '/tmp/maak-test-git-switch-14633/.git/hooks/fsmonitor-watchman.sample'
removed '/tmp/maak-test-git-switch-14633/.git/hooks/post-update.sample'
removed '/tmp/maak-test-git-switch-14633/.git/hooks/pre-applypatch.sample'
removed '/tmp/maak-test-git-switch-14633/.git/hooks/pre-commit.sample'
removed '/tmp/maak-test-git-switch-14633/.git/hooks/pre-merge-commit.sample'
removed '/tmp/maak-test-git-switch-14633/.git/hooks/pre-push.sample'
removed '/tmp/maak-test-git-switch-14633/.git/hooks/pre-rebase.sample'
removed '/tmp/maak-test-git-switch-14633/.git/hooks/pre-receive.sample'
removed '/tmp/maak-test-git-switch-14633/.git/hooks/prepare-commit-msg.sample'
removed '/tmp/maak-test-git-switch-14633/.git/hooks/push-to-checkout.sample'
removed '/tmp/maak-test-git-switch-14633/.git/hooks/sendemail-validate.sample'
removed '/tmp/maak-test-git-switch-14633/.git/hooks/update.sample'
removed directory '/tmp/maak-test-git-switch-14633/.git/hooks'
removed '/tmp/maak-test-git-switch-14633/.git/info/exclude'
removed directory '/tmp/maak-test-git-switch-14633/.git/info'
removed '/tmp/maak-test-git-switch-14633/.git/refs/heads/trunk'
removed '/tmp/maak-test-git-switch-14633/.git/refs/heads/feature'
removed directory '/tmp/maak-test-git-switch-14633/.git/refs/heads'
removed directory '/tmp/maak-test-git-switch-14633/.git/refs/tags'
removed directory '/tmp/maak-test-git-switch-14633/.git/refs'
removed directory '/tmp/maak-test-git-switch-14633/.git/objects/pack'
removed directory '/tmp/maak-test-git-switch-14633/.git/objects/info'
removed '/tmp/maak-test-git-switch-14633/.git/objects/43/dd47ea691c90a5fa7827892c70241913351963'
removed directory '/tmp/maak-test-git-switch-14633/.git/objects/43'
removed '/tmp/maak-test-git-switch-14633/.git/objects/07/74631921416916f52abe96497a247055976283'
removed directory '/tmp/maak-test-git-switch-14633/.git/objects/07'
removed '/tmp/maak-test-git-switch-14633/.git/objects/5f/405039366362a57c755cd67b243dec6bd55f98'
removed directory '/tmp/maak-test-git-switch-14633/.git/objects/5f'
removed directory '/tmp/maak-test-git-switch-14633/.git/objects'
removed '/tmp/maak-test-git-switch-14633/.git/config'
removed '/tmp/maak-test-git-switch-14633/.git/COMMIT_EDITMSG'
removed '/tmp/maak-test-git-switch-14633/.git/logs/HEAD'
removed '/tmp/maak-test-git-switch-14633/.git/logs/refs/heads/trunk'
removed '/tmp/maak-test-git-switch-14633/.git/logs/refs/heads/feature'
removed directory '/tmp/maak-test-git-switch-14633/.git/logs/refs/heads'
removed directory '/tmp/maak-test-git-switch-14633/.git/logs/refs'
removed directory '/tmp/maak-test-git-switch-14633/.git/logs'
removed '/tmp/maak-test-git-switch-14633/.git/index'
removed '/tmp/maak-test-git-switch-14633/.git/HEAD'
removed directory '/tmp/maak-test-git-switch-14633/.git'
removed '/tmp/maak-test-git-switch-14633/a.txt'
removed directory '/tmp/maak-test-git-switch-14633'
mkdir: created directory '/tmp/maak-test-git-detached-14633'
[trunk (root-commit) 5f40503] first
 1 file changed, 1 insertion(+)
 create mode 100644 a.txt
HEAD is now at 5f40503 first
removed '/tmp/maak-test-git-detached-14633/.git/description'
removed '/tmp/maak-test-git-detached-14633/.git/hooks/applypatch-msg.sample'
removed '/tmp/maak-test-git-detached-14633/.git/hooks/commit-msg.sample'
removed '/tmp/maak-test-git-detached-14633/.git/hooks/fsmonitor-watchman.sample'
removed '/tmp/maak-test-git-detached-14633/.git/hooks/post-update.sample'
removed '/tmp/maak-test-git-detached-14633/.git/hooks/pre-applypatch.sample'
removed '/tmp/maak-test-git-detached-14633/.git/hooks/pre-commit.sample'
removed '/tmp/maak-test-git-detached-14633/.git/hooks/pre-merge-commit.sample'
removed '/tmp/maak-test-git-detached-14633/.git/hooks/pre-push.sample'
removed '/tmp/maak-test-git-detached-14633/.git/hooks/pre-rebase.sample'
removed '/tmp/maak-test-git-detached-14633/.git/hooks/pre-receive.sample'
removed '/tmp/maak-test-git-detached-14633/.git/hooks/prepare-commit-msg.sample'
removed '/tmp/maak-test-git-detached-14633/.git/hooks/push-to-checkout.sample'
removed '/tmp/maak-test-git-detached-14633/.git/hooks/sendemail-validate.sample'
removed '/tmp/maak-test-git-detached-14633/.git/hooks/update.sample'
removed directory '/tmp/maak-test-git-detached-14633/.git/hooks'
removed '/tmp/maak-test-git-detached-14633/.git/info/exclude'
removed directory '/tmp/maak-test-git-detached-14633/.git/info'
removed '/tmp/maak-test-git-detached-14633/.git/refs/heads/trunk'
removed directory '/tmp/maak-test-git-detached-14633/.git/refs/heads'
removed directory '/tmp/maak-test-git-detached-14633/.git/refs/tags'
removed directory '/tmp/maak-test-git-detached-14633/.git/refs'
removed directory '/tmp/maak-test-git-detached-14633/.git/objects/pack'
removed directory '/tmp/maak-test-git-detached-14633/.git/objects/info'
removed '/tmp/maak-test-git-detached-14633/.git/objects/43/dd47ea691c90a5fa7827892c70241913351963'
removed directory '/tmp/maak-test-git-detached-14633/.git/objects/43'
removed '/tmp/maak-test-git-detached-14633/.git/objects/07/74631921416916f52abe96497a247055976283'
removed directory '/tmp/maak-test-git-detached-14633/.git/objects/07'
removed '/tmp/maak-test-git-detached-14633/.git/objects/5f/405039366362a57c755cd67b243dec6bd55f98'
removed directory '/tmp/maak-test-git-detached-14633/.git/objects/5f'
removed directory '/tmp/maak-test-git-detached-14633/.git/objects'
removed '/tmp/maak-test-git-detached-14633/.git/config'
removed '/tmp/maak-test-git-detached-14633/.git/COMMIT_EDITMSG'
removed '/tmp/maak-test-git-detached-14633/.git/logs/HEAD'
removed '/tmp/maak-test-git-detached-14633/.git/logs/refs/heads/trunk'
removed directory '/tmp/maak-test-git-detached-14633/.git/logs/refs/heads'
removed directory '/tmp/maak-test-git-detached-14633/.git/logs/refs'
removed directory '/tmp/maak-test-git-detached-14633/.git/logs'
removed '/tmp/maak-test-git-detached-14633/.git/index'
removed '/tmp/maak-test-git-detached-14633/.git/HEAD'
removed directory '/tmp/maak-test-git-detached-14633/.git'
removed '/tmp/maak-test-git-detached-14633/a.txt'
removed directory '/tmp/maak-test-git-detached-14633'
mkdir: created directory '/tmp/maak-test-git-remote-14633'
removed '/tmp/maak-test-git-remote-14633/.git/description'
removed '/tmp/maak-test-git-remote-14633/.git/hooks/applypatch-msg.sample'
removed '/tmp/maak-test-git-remote-14633/.git/hooks/commit-msg.sample'
removed '/tmp/maak-test-git-remote-14633/.git/hooks/fsmonitor-watchman.sample'
removed '/tmp/maak-test-git-remote-14633/.git/hooks/post-update.sample'
removed '/tmp/maak-test-git-remote-14633/.git/hooks/pre-applypatch.sample'
removed '/tmp/maak-test-git-remote-14633/.git/hooks/pre-commit.sample'
removed '/tmp/maak-test-git-remote-14633/.git/hooks/pre-merge-commit.sample'
removed '/tmp/maak-test-git-remote-14633/.git/hooks/pre-push.sample'
removed '/tmp/maak-test-git-remote-14633/.git/hooks/pre-rebase.sample'
removed '/tmp/maak-test-git-remote-14633/.git/hooks/pre-receive.sample'
removed '/tmp/maak-test-git-remote-14633/.git/hooks/prepare-commit-msg.sample'
removed '/tmp/maak-test-git-remote-14633/.git/hooks/push-to-checkout.sample'
removed '/tmp/maak-test-git-remote-14633/.git/hooks/sendemail-validate.sample'
removed '/tmp/maak-test-git-remote-14633/.git/hooks/update.sample'
removed directory '/tmp/maak-test-git-remote-14633/.git/hooks'
removed '/tmp/maak-test-git-remote-14633/.git/info/exclude'
removed directory '/tmp/maak-test-git-remote-14633/.git/info'
removed directory '/tmp/maak-test-git-remote-14633/.git/refs/heads'
removed directory '/tmp/maak-test-git-remote-14633/.git/refs/tags'
removed directory '/tmp/maak-test-git-remote-14633/.git/refs'
removed '/tmp/maak-test-git-remote-14633/.git/HEAD'
removed directory '/tmp/maak-test-git-remote-14633/.git/objects/pack'
removed directory '/tmp/maak-test-git-remote-14633/.git/objects/info'
removed directory '/tmp/maak-test-git-remote-14633/.git/objects'
removed '/tmp/maak-test-git-remote-14633/.git/config'
removed directory '/tmp/maak-test-git-remote-14633/.git'
removed directory '/tmp/maak-test-git-remote-14633'
mkdir: created directory '/tmp/maak-test-git-remotes-14633'
removed '/tmp/maak-test-git-remotes-14633/.git/description'
removed '/tmp/maak-test-git-remotes-14633/.git/hooks/applypatch-msg.sample'
removed '/tmp/maak-test-git-remotes-14633/.git/hooks/commit-msg.sample'
removed '/tmp/maak-test-git-remotes-14633/.git/hooks/fsmonitor-watchman.sample'
removed '/tmp/maak-test-git-remotes-14633/.git/hooks/post-update.sample'
removed '/tmp/maak-test-git-remotes-14633/.git/hooks/pre-applypatch.sample'
removed '/tmp/maak-test-git-remotes-14633/.git/hooks/pre-commit.sample'
removed '/tmp/maak-test-git-remotes-14633/.git/hooks/pre-merge-commit.sample'
removed '/tmp/maak-test-git-remotes-14633/.git/hooks/pre-push.sample'
removed '/tmp/maak-test-git-remotes-14633/.git/hooks/pre-rebase.sample'
removed '/tmp/maak-test-git-remotes-14633/.git/hooks/pre-receive.sample'
removed '/tmp/maak-test-git-remotes-14633/.git/hooks/prepare-commit-msg.sample'
removed '/tmp/maak-test-git-remotes-14633/.git/hooks/push-to-checkout.sample'
removed '/tmp/maak-test-git-remotes-14633/.git/hooks/sendemail-validate.sample'
removed '/tmp/maak-test-git-remotes-14633/.git/hooks/update.sample'
removed directory '/tmp/maak-test-git-remotes-14633/.git/hooks'
removed '/tmp/maak-test-git-remotes-14633/.git/info/exclude'
removed directory '/tmp/maak-test-git-remotes-14633/.git/info'
removed directory '/tmp/maak-test-git-remotes-14633/.git/refs/heads'
removed directory '/tmp/maak-test-git-remotes-14633/.git/refs/tags'
removed directory '/tmp/maak-test-git-remotes-14633/.git/refs'
removed '/tmp/maak-test-git-remotes-14633/.git/HEAD'
removed directory '/tmp/maak-test-git-remotes-14633/.git/objects/pack'
removed directory '/tmp/maak-test-git-remotes-14633/.git/objects/info'
removed directory '/tmp/maak-test-git-remotes-14633/.git/objects'
removed '/tmp/maak-test-git-remotes-14633/.git/config'
removed directory '/tmp/maak-test-git-remotes-14633/.git'
removed directory '/tmp/maak-test-git-remotes-14633'
mkdir: created directory '/tmp/maak-test-git-diff-14633'
[trunk (root-commit) 5f40503] first
 1 file changed, 1 insertion(+)
 create mode 100644 a.txt
removed '/tmp/maak-test-git-diff-14633/.git/description'
removed '/tmp/maak-test-git-diff-14633/.git/hooks/applypatch-msg.sample'
removed '/tmp/maak-test-git-diff-14633/.git/hooks/commit-msg.sample'
removed '/tmp/maak-test-git-diff-14633/.git/hooks/fsmonitor-watchman.sample'
removed '/tmp/maak-test-git-diff-14633/.git/hooks/post-update.sample'
removed '/tmp/maak-test-git-diff-14633/.git/hooks/pre-applypatch.sample'
removed '/tmp/maak-test-git-diff-14633/.git/hooks/pre-commit.sample'
removed '/tmp/maak-test-git-diff-14633/.git/hooks/pre-merge-commit.sample'
removed '/tmp/maak-test-git-diff-14633/.git/hooks/pre-push.sample'
removed '/tmp/maak-test-git-diff-14633/.git/hooks/pre-rebase.sample'
removed '/tmp/maak-test-git-diff-14633/.git/hooks/pre-receive.sample'
removed '/tmp/maak-test-git-diff-14633/.git/hooks/prepare-commit-msg.sample'
removed '/tmp/maak-test-git-diff-14633/.git/hooks/push-to-checkout.sample'
removed '/tmp/maak-test-git-diff-14633/.git/hooks/sendemail-validate.sample'
removed '/tmp/maak-test-git-diff-14633/.git/hooks/update.sample'
removed directory '/tmp/maak-test-git-diff-14633/.git/hooks'
removed '/tmp/maak-test-git-diff-14633/.git/info/exclude'
removed directory '/tmp/maak-test-git-diff-14633/.git/info'
removed '/tmp/maak-test-git-diff-14633/.git/refs/heads/trunk'
removed directory '/tmp/maak-test-git-diff-14633/.git/refs/heads'
removed directory '/tmp/maak-test-git-diff-14633/.git/refs/tags'
removed directory '/tmp/maak-test-git-diff-14633/.git/refs'
removed '/tmp/maak-test-git-diff-14633/.git/HEAD'
removed directory '/tmp/maak-test-git-diff-14633/.git/objects/pack'
removed directory '/tmp/maak-test-git-diff-14633/.git/objects/info'
removed '/tmp/maak-test-git-diff-14633/.git/objects/43/dd47ea691c90a5fa7827892c70241913351963'
removed directory '/tmp/maak-test-git-diff-14633/.git/objects/43'
removed '/tmp/maak-test-git-diff-14633/.git/objects/07/74631921416916f52abe96497a247055976283'
removed directory '/tmp/maak-test-git-diff-14633/.git/objects/07'
removed '/tmp/maak-test-git-diff-14633/.git/objects/5f/405039366362a57c755cd67b243dec6bd55f98'
removed directory '/tmp/maak-test-git-diff-14633/.git/objects/5f'
removed directory '/tmp/maak-test-git-diff-14633/.git/objects'
removed '/tmp/maak-test-git-diff-14633/.git/config'
removed '/tmp/maak-test-git-diff-14633/.git/COMMIT_EDITMSG'
removed '/tmp/maak-test-git-diff-14633/.git/logs/HEAD'
removed '/tmp/maak-test-git-diff-14633/.git/logs/refs/heads/trunk'
removed directory '/tmp/maak-test-git-diff-14633/.git/logs/refs/heads'
removed directory '/tmp/maak-test-git-diff-14633/.git/logs/refs'
removed directory '/tmp/maak-test-git-diff-14633/.git/logs'
removed '/tmp/maak-test-git-diff-14633/.git/index'
removed directory '/tmp/maak-test-git-diff-14633/.git'
removed '/tmp/maak-test-git-diff-14633/a.txt'
removed directory '/tmp/maak-test-git-diff-14633'
mkdir: created directory '/tmp/maak-test-git-stash-14633'
[trunk (root-commit) 5f40503] first
 1 file changed, 1 insertion(+)
 create mode 100644 a.txt
Saved working directory and index state WIP on trunk: 5f40503 first
On branch trunk
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   a.txt

no changes added to commit (use "git add" and/or "git commit -a")
Dropped refs/stash@{0} (d76d09c4c6bfa608d41ea0da56779007e2b1ea6a)
removed '/tmp/maak-test-git-stash-14633/.git/description'
removed '/tmp/maak-test-git-stash-14633/.git/hooks/applypatch-msg.sample'
removed '/tmp/maak-test-git-stash-14633/.git/hooks/commit-msg.sample'
removed '/tmp/maak-test-git-stash-14633/.git/hooks/fsmonitor-watchman.sample'
removed '/tmp/maak-test-git-stash-14633/.git/hooks/post-update.sample'
removed '/tmp/maak-test-git-stash-14633/.git/hooks/pre-applypatch.sample'
removed '/tmp/maak-test-git-stash-14633/.git/hooks/pre-commit.sample'
removed '/tmp/maak-test-git-stash-14633/.git/hooks/pre-merge-commit.sample'
removed '/tmp/maak-test-git-stash-14633/.git/hooks/pre-push.sample'
removed '/tmp/maak-test-git-stash-14633/.git/hooks/pre-rebase.sample'
removed '/tmp/maak-test-git-stash-14633/.git/hooks/pre-receive.sample'
removed '/tmp/maak-test-git-stash-14633/.git/hooks/prepare-commit-msg.sample'
removed '/tmp/maak-test-git-stash-14633/.git/hooks/push-to-checkout.sample'
removed '/tmp/maak-test-git-stash-14633/.git/hooks/sendemail-validate.sample'
removed '/tmp/maak-test-git-stash-14633/.git/hooks/update.sample'
removed directory '/tmp/maak-test-git-stash-14633/.git/hooks'
removed '/tmp/maak-test-git-stash-14633/.git/info/exclude'
removed directory '/tmp/maak-test-git-stash-14633/.git/info'
removed '/tmp/maak-test-git-stash-14633/.git/refs/heads/trunk'
removed directory '/tmp/maak-test-git-stash-14633/.git/refs/heads'
removed directory '/tmp/maak-test-git-stash-14633/.git/refs/tags'
removed directory '/tmp/maak-test-git-stash-14633/.git/refs'
removed '/tmp/maak-test-git-stash-14633/.git/HEAD'
removed directory '/tmp/maak-test-git-stash-14633/.git/objects/pack'
removed directory '/tmp/maak-test-git-stash-14633/.git/objects/info'
removed '/tmp/maak-test-git-stash-14633/.git/objects/43/dd47ea691c90a5fa7827892c70241913351963'
removed directory '/tmp/maak-test-git-stash-14633/.git/objects/43'
removed '/tmp/maak-test-git-stash-14633/.git/objects/07/74631921416916f52abe96497a247055976283'
removed directory '/tmp/maak-test-git-stash-14633/.git/objects/07'
removed '/tmp/maak-test-git-stash-14633/.git/objects/5f/405039366362a57c755cd67b243dec6bd55f98'
removed directory '/tmp/maak-test-git-stash-14633/.git/objects/5f'
removed '/tmp/maak-test-git-stash-14633/.git/objects/05/0e879f0cedd631f18224712f4c54f1162850d6'
removed directory '/tmp/maak-test-git-stash-14633/.git/objects/05'
removed '/tmp/maak-test-git-stash-14633/.git/objects/64/c5e5885a4b06010b3a0c20edb7900dd0311025'
removed directory '/tmp/maak-test-git-stash-14633/.git/objects/64'
removed '/tmp/maak-test-git-stash-14633/.git/objects/aa/d2fe6de7e85e540a89abff48edc7e6e61584b6'
removed directory '/tmp/maak-test-git-stash-14633/.git/objects/aa'
removed '/tmp/maak-test-git-stash-14633/.git/objects/d7/6d09c4c6bfa608d41ea0da56779007e2b1ea6a'
removed directory '/tmp/maak-test-git-stash-14633/.git/objects/d7'
removed directory '/tmp/maak-test-git-stash-14633/.git/objects'
removed '/tmp/maak-test-git-stash-14633/.git/config'
removed '/tmp/maak-test-git-stash-14633/.git/COMMIT_EDITMSG'
removed '/tmp/maak-test-git-stash-14633/.git/logs/HEAD'
removed '/tmp/maak-test-git-stash-14633/.git/logs/refs/heads/trunk'
removed directory '/tmp/maak-test-git-stash-14633/.git/logs/refs/heads'
removed directory '/tmp/maak-test-git-stash-14633/.git/logs/refs'
removed directory '/tmp/maak-test-git-stash-14633/.git/logs'
removed '/tmp/maak-test-git-stash-14633/.git/ORIG_HEAD'
removed '/tmp/maak-test-git-stash-14633/.git/AUTO_MERGE'
removed '/tmp/maak-test-git-stash-14633/.git/index'
removed directory '/tmp/maak-test-git-stash-14633/.git'
removed '/tmp/maak-test-git-stash-14633/a.txt'
removed directory '/tmp/maak-test-git-stash-14633'
mkdir: created directory '/tmp/maak-test-git-clean-file-14633'
[trunk (root-commit) 73a34ed] first
 1 file changed, 1 insertion(+)
 create mode 100644 a.txt
Removing junk.txt
removed '/tmp/maak-test-git-clean-file-14633/.git/description'
removed '/tmp/maak-test-git-clean-file-14633/.git/hooks/applypatch-msg.sample'
removed '/tmp/maak-test-git-clean-file-14633/.git/hooks/commit-msg.sample'
removed '/tmp/maak-test-git-clean-file-14633/.git/hooks/fsmonitor-watchman.sample'
removed '/tmp/maak-test-git-clean-file-14633/.git/hooks/post-update.sample'
removed '/tmp/maak-test-git-clean-file-14633/.git/hooks/pre-applypatch.sample'
removed '/tmp/maak-test-git-clean-file-14633/.git/hooks/pre-commit.sample'
removed '/tmp/maak-test-git-clean-file-14633/.git/hooks/pre-merge-commit.sample'
removed '/tmp/maak-test-git-clean-file-14633/.git/hooks/pre-push.sample'
removed '/tmp/maak-test-git-clean-file-14633/.git/hooks/pre-rebase.sample'
removed '/tmp/maak-test-git-clean-file-14633/.git/hooks/pre-receive.sample'
removed '/tmp/maak-test-git-clean-file-14633/.git/hooks/prepare-commit-msg.sample'
removed '/tmp/maak-test-git-clean-file-14633/.git/hooks/push-to-checkout.sample'
removed '/tmp/maak-test-git-clean-file-14633/.git/hooks/sendemail-validate.sample'
removed '/tmp/maak-test-git-clean-file-14633/.git/hooks/update.sample'
removed directory '/tmp/maak-test-git-clean-file-14633/.git/hooks'
removed '/tmp/maak-test-git-clean-file-14633/.git/info/exclude'
removed directory '/tmp/maak-test-git-clean-file-14633/.git/info'
removed '/tmp/maak-test-git-clean-file-14633/.git/refs/heads/trunk'
removed directory '/tmp/maak-test-git-clean-file-14633/.git/refs/heads'
removed directory '/tmp/maak-test-git-clean-file-14633/.git/refs/tags'
removed directory '/tmp/maak-test-git-clean-file-14633/.git/refs'
removed '/tmp/maak-test-git-clean-file-14633/.git/HEAD'
removed directory '/tmp/maak-test-git-clean-file-14633/.git/objects/pack'
removed directory '/tmp/maak-test-git-clean-file-14633/.git/objects/info'
removed '/tmp/maak-test-git-clean-file-14633/.git/objects/43/dd47ea691c90a5fa7827892c70241913351963'
removed directory '/tmp/maak-test-git-clean-file-14633/.git/objects/43'
removed '/tmp/maak-test-git-clean-file-14633/.git/objects/07/74631921416916f52abe96497a247055976283'
removed directory '/tmp/maak-test-git-clean-file-14633/.git/objects/07'
removed '/tmp/maak-test-git-clean-file-14633/.git/objects/73/a34edb0bd8276ca18f1968f62fb48b9fc32548'
removed directory '/tmp/maak-test-git-clean-file-14633/.git/objects/73'
removed directory '/tmp/maak-test-git-clean-file-14633/.git/objects'
removed '/tmp/maak-test-git-clean-file-14633/.git/config'
removed '/tmp/maak-test-git-clean-file-14633/.git/COMMIT_EDITMSG'
removed '/tmp/maak-test-git-clean-file-14633/.git/logs/HEAD'
removed '/tmp/maak-test-git-clean-file-14633/.git/logs/refs/heads/trunk'
removed directory '/tmp/maak-test-git-clean-file-14633/.git/logs/refs/heads'
removed directory '/tmp/maak-test-git-clean-file-14633/.git/logs/refs'
removed directory '/tmp/maak-test-git-clean-file-14633/.git/logs'
removed '/tmp/maak-test-git-clean-file-14633/.git/index'
removed directory '/tmp/maak-test-git-clean-file-14633/.git'
removed '/tmp/maak-test-git-clean-file-14633/a.txt'
removed directory '/tmp/maak-test-git-clean-file-14633'
mkdir: created directory '/tmp/maak-test-git-output-14633'
[trunk (root-commit) 73a34ed] first
 1 file changed, 1 insertion(+)
 create mode 100644 a.txt
removed '/tmp/maak-test-git-output-14633/.git/description'
removed '/tmp/maak-test-git-output-14633/.git/hooks/applypatch-msg.sample'
removed '/tmp/maak-test-git-output-14633/.git/hooks/commit-msg.sample'
removed '/tmp/maak-test-git-output-14633/.git/hooks/fsmonitor-watchman.sample'
removed '/tmp/maak-test-git-output-14633/.git/hooks/post-update.sample'
removed '/tmp/maak-test-git-output-14633/.git/hooks/pre-applypatch.sample'
removed '/tmp/maak-test-git-output-14633/.git/hooks/pre-commit.sample'
removed '/tmp/maak-test-git-output-14633/.git/hooks/pre-merge-commit.sample'
removed '/tmp/maak-test-git-output-14633/.git/hooks/pre-push.sample'
removed '/tmp/maak-test-git-output-14633/.git/hooks/pre-rebase.sample'
removed '/tmp/maak-test-git-output-14633/.git/hooks/pre-receive.sample'
removed '/tmp/maak-test-git-output-14633/.git/hooks/prepare-commit-msg.sample'
removed '/tmp/maak-test-git-output-14633/.git/hooks/push-to-checkout.sample'
removed '/tmp/maak-test-git-output-14633/.git/hooks/sendemail-validate.sample'
removed '/tmp/maak-test-git-output-14633/.git/hooks/update.sample'
removed directory '/tmp/maak-test-git-output-14633/.git/hooks'
removed '/tmp/maak-test-git-output-14633/.git/info/exclude'
removed directory '/tmp/maak-test-git-output-14633/.git/info'
removed '/tmp/maak-test-git-output-14633/.git/refs/heads/trunk'
removed directory '/tmp/maak-test-git-output-14633/.git/refs/heads'
removed directory '/tmp/maak-test-git-output-14633/.git/refs/tags'
removed directory '/tmp/maak-test-git-output-14633/.git/refs'
removed '/tmp/maak-test-git-output-14633/.git/HEAD'
removed directory '/tmp/maak-test-git-output-14633/.git/objects/pack'
removed directory '/tmp/maak-test-git-output-14633/.git/objects/info'
removed '/tmp/maak-test-git-output-14633/.git/objects/43/dd47ea691c90a5fa7827892c70241913351963'
removed directory '/tmp/maak-test-git-output-14633/.git/objects/43'
removed '/tmp/maak-test-git-output-14633/.git/objects/07/74631921416916f52abe96497a247055976283'
removed directory '/tmp/maak-test-git-output-14633/.git/objects/07'
removed '/tmp/maak-test-git-output-14633/.git/objects/73/a34edb0bd8276ca18f1968f62fb48b9fc32548'
removed directory '/tmp/maak-test-git-output-14633/.git/objects/73'
removed directory '/tmp/maak-test-git-output-14633/.git/objects'
removed '/tmp/maak-test-git-output-14633/.git/config'
removed '/tmp/maak-test-git-output-14633/.git/COMMIT_EDITMSG'
removed '/tmp/maak-test-git-output-14633/.git/logs/HEAD'
removed '/tmp/maak-test-git-output-14633/.git/logs/refs/heads/trunk'
removed directory '/tmp/maak-test-git-output-14633/.git/logs/refs/heads'
removed directory '/tmp/maak-test-git-output-14633/.git/logs/refs'
removed directory '/tmp/maak-test-git-output-14633/.git/logs'
removed '/tmp/maak-test-git-output-14633/.git/index'
removed directory '/tmp/maak-test-git-output-14633/.git'
removed '/tmp/maak-test-git-output-14633/a.txt'
removed directory '/tmp/maak-test-git-output-14633'
mkdir: created directory '/tmp/maak-test-git-failure-14633'
fatal: Needed a single revision
removed '/tmp/maak-test-git-failure-14633/.git/description'
removed '/tmp/maak-test-git-failure-14633/.git/hooks/applypatch-msg.sample'
removed '/tmp/maak-test-git-failure-14633/.git/hooks/commit-msg.sample'
removed '/tmp/maak-test-git-failure-14633/.git/hooks/fsmonitor-watchman.sample'
removed '/tmp/maak-test-git-failure-14633/.git/hooks/post-update.sample'
removed '/tmp/maak-test-git-failure-14633/.git/hooks/pre-applypatch.sample'
removed '/tmp/maak-test-git-failure-14633/.git/hooks/pre-commit.sample'
removed '/tmp/maak-test-git-failure-14633/.git/hooks/pre-merge-commit.sample'
removed '/tmp/maak-test-git-failure-14633/.git/hooks/pre-push.sample'
removed '/tmp/maak-test-git-failure-14633/.git/hooks/pre-rebase.sample'
removed '/tmp/maak-test-git-failure-14633/.git/hooks/pre-receive.sample'
removed '/tmp/maak-test-git-failure-14633/.git/hooks/prepare-commit-msg.sample'
removed '/tmp/maak-test-git-failure-14633/.git/hooks/push-to-checkout.sample'
removed '/tmp/maak-test-git-failure-14633/.git/hooks/sendemail-validate.sample'
removed '/tmp/maak-test-git-failure-14633/.git/hooks/update.sample'
removed directory '/tmp/maak-test-git-failure-14633/.git/hooks'
removed '/tmp/maak-test-git-failure-14633/.git/info/exclude'
removed directory '/tmp/maak-test-git-failure-14633/.git/info'
removed directory '/tmp/maak-test-git-failure-14633/.git/refs/heads'
removed directory '/tmp/maak-test-git-failure-14633/.git/refs/tags'
removed directory '/tmp/maak-test-git-failure-14633/.git/refs'
removed '/tmp/maak-test-git-failure-14633/.git/HEAD'
removed directory '/tmp/maak-test-git-failure-14633/.git/objects/pack'
removed directory '/tmp/maak-test-git-failure-14633/.git/objects/info'
removed directory '/tmp/maak-test-git-failure-14633/.git/objects'
removed '/tmp/maak-test-git-failure-14633/.git/config'
removed directory '/tmp/maak-test-git-failure-14633/.git'
removed directory '/tmp/maak-test-git-failure-14633'
mkdir: created directory '/tmp/maak-test-git-archive-tar-14633'
mkdir: created directory '/tmp/maak-test-git-archive-out-14633'
[trunk (root-commit) 73a34ed] first
 1 file changed, 1 insertion(+)
 create mode 100644 a.txt
removed '/tmp/maak-test-git-archive-tar-14633/.git/description'
removed '/tmp/maak-test-git-archive-tar-14633/.git/hooks/applypatch-msg.sample'
removed '/tmp/maak-test-git-archive-tar-14633/.git/hooks/commit-msg.sample'
removed '/tmp/maak-test-git-archive-tar-14633/.git/hooks/fsmonitor-watchman.sample'
removed '/tmp/maak-test-git-archive-tar-14633/.git/hooks/post-update.sample'
removed '/tmp/maak-test-git-archive-tar-14633/.git/hooks/pre-applypatch.sample'
removed '/tmp/maak-test-git-archive-tar-14633/.git/hooks/pre-commit.sample'
removed '/tmp/maak-test-git-archive-tar-14633/.git/hooks/pre-merge-commit.sample'
removed '/tmp/maak-test-git-archive-tar-14633/.git/hooks/pre-push.sample'
removed '/tmp/maak-test-git-archive-tar-14633/.git/hooks/pre-rebase.sample'
removed '/tmp/maak-test-git-archive-tar-14633/.git/hooks/pre-receive.sample'
removed '/tmp/maak-test-git-archive-tar-14633/.git/hooks/prepare-commit-msg.sample'
removed '/tmp/maak-test-git-archive-tar-14633/.git/hooks/push-to-checkout.sample'
removed '/tmp/maak-test-git-archive-tar-14633/.git/hooks/sendemail-validate.sample'
removed '/tmp/maak-test-git-archive-tar-14633/.git/hooks/update.sample'
removed directory '/tmp/maak-test-git-archive-tar-14633/.git/hooks'
removed '/tmp/maak-test-git-archive-tar-14633/.git/info/exclude'
removed directory '/tmp/maak-test-git-archive-tar-14633/.git/info'
removed '/tmp/maak-test-git-archive-tar-14633/.git/refs/heads/trunk'
removed directory '/tmp/maak-test-git-archive-tar-14633/.git/refs/heads'
removed directory '/tmp/maak-test-git-archive-tar-14633/.git/refs/tags'
removed directory '/tmp/maak-test-git-archive-tar-14633/.git/refs'
removed '/tmp/maak-test-git-archive-tar-14633/.git/HEAD'
removed directory '/tmp/maak-test-git-archive-tar-14633/.git/objects/pack'
removed directory '/tmp/maak-test-git-archive-tar-14633/.git/objects/info'
removed '/tmp/maak-test-git-archive-tar-14633/.git/objects/43/dd47ea691c90a5fa7827892c70241913351963'
removed directory '/tmp/maak-test-git-archive-tar-14633/.git/objects/43'
removed '/tmp/maak-test-git-archive-tar-14633/.git/objects/07/74631921416916f52abe96497a247055976283'
removed directory '/tmp/maak-test-git-archive-tar-14633/.git/objects/07'
removed '/tmp/maak-test-git-archive-tar-14633/.git/objects/73/a34edb0bd8276ca18f1968f62fb48b9fc32548'
removed directory '/tmp/maak-test-git-archive-tar-14633/.git/objects/73'
removed directory '/tmp/maak-test-git-archive-tar-14633/.git/objects'
removed '/tmp/maak-test-git-archive-tar-14633/.git/config'
removed '/tmp/maak-test-git-archive-tar-14633/.git/COMMIT_EDITMSG'
removed '/tmp/maak-test-git-archive-tar-14633/.git/logs/HEAD'
removed '/tmp/maak-test-git-archive-tar-14633/.git/logs/refs/heads/trunk'
removed directory '/tmp/maak-test-git-archive-tar-14633/.git/logs/refs/heads'
removed directory '/tmp/maak-test-git-archive-tar-14633/.git/logs/refs'
removed directory '/tmp/maak-test-git-archive-tar-14633/.git/logs'
removed '/tmp/maak-test-git-archive-tar-14633/.git/index'
removed directory '/tmp/maak-test-git-archive-tar-14633/.git'
removed '/tmp/maak-test-git-archive-tar-14633/a.txt'
removed directory '/tmp/maak-test-git-archive-tar-14633'
removed '/tmp/maak-test-git-archive-out-14633/p.tar.gz'
removed directory '/tmp/maak-test-git-archive-out-14633'
mkdir: created directory '/tmp/maak-test-git-archive-zip-14633'
mkdir: created directory '/tmp/maak-test-git-archive-zip-out-14633'
[trunk (root-commit) 73a34ed] first
 1 file changed, 1 insertion(+)
 create mode 100644 a.txt
removed '/tmp/maak-test-git-archive-zip-14633/.git/description'
removed '/tmp/maak-test-git-archive-zip-14633/.git/hooks/applypatch-msg.sample'
removed '/tmp/maak-test-git-archive-zip-14633/.git/hooks/commit-msg.sample'
removed '/tmp/maak-test-git-archive-zip-14633/.git/hooks/fsmonitor-watchman.sample'
removed '/tmp/maak-test-git-archive-zip-14633/.git/hooks/post-update.sample'
removed '/tmp/maak-test-git-archive-zip-14633/.git/hooks/pre-applypatch.sample'
removed '/tmp/maak-test-git-archive-zip-14633/.git/hooks/pre-commit.sample'
removed '/tmp/maak-test-git-archive-zip-14633/.git/hooks/pre-merge-commit.sample'
removed '/tmp/maak-test-git-archive-zip-14633/.git/hooks/pre-push.sample'
removed '/tmp/maak-test-git-archive-zip-14633/.git/hooks/pre-rebase.sample'
removed '/tmp/maak-test-git-archive-zip-14633/.git/hooks/pre-receive.sample'
removed '/tmp/maak-test-git-archive-zip-14633/.git/hooks/prepare-commit-msg.sample'
removed '/tmp/maak-test-git-archive-zip-14633/.git/hooks/push-to-checkout.sample'
removed '/tmp/maak-test-git-archive-zip-14633/.git/hooks/sendemail-validate.sample'
removed '/tmp/maak-test-git-archive-zip-14633/.git/hooks/update.sample'
removed directory '/tmp/maak-test-git-archive-zip-14633/.git/hooks'
removed '/tmp/maak-test-git-archive-zip-14633/.git/info/exclude'
removed directory '/tmp/maak-test-git-archive-zip-14633/.git/info'
removed '/tmp/maak-test-git-archive-zip-14633/.git/refs/heads/trunk'
removed directory '/tmp/maak-test-git-archive-zip-14633/.git/refs/heads'
removed directory '/tmp/maak-test-git-archive-zip-14633/.git/refs/tags'
removed directory '/tmp/maak-test-git-archive-zip-14633/.git/refs'
removed '/tmp/maak-test-git-archive-zip-14633/.git/HEAD'
removed directory '/tmp/maak-test-git-archive-zip-14633/.git/objects/pack'
removed directory '/tmp/maak-test-git-archive-zip-14633/.git/objects/info'
removed '/tmp/maak-test-git-archive-zip-14633/.git/objects/43/dd47ea691c90a5fa7827892c70241913351963'
removed directory '/tmp/maak-test-git-archive-zip-14633/.git/objects/43'
removed '/tmp/maak-test-git-archive-zip-14633/.git/objects/07/74631921416916f52abe96497a247055976283'
removed directory '/tmp/maak-test-git-archive-zip-14633/.git/objects/07'
removed '/tmp/maak-test-git-archive-zip-14633/.git/objects/73/a34edb0bd8276ca18f1968f62fb48b9fc32548'
removed directory '/tmp/maak-test-git-archive-zip-14633/.git/objects/73'
removed directory '/tmp/maak-test-git-archive-zip-14633/.git/objects'
removed '/tmp/maak-test-git-archive-zip-14633/.git/config'
removed '/tmp/maak-test-git-archive-zip-14633/.git/COMMIT_EDITMSG'
removed '/tmp/maak-test-git-archive-zip-14633/.git/logs/HEAD'
removed '/tmp/maak-test-git-archive-zip-14633/.git/logs/refs/heads/trunk'
removed directory '/tmp/maak-test-git-archive-zip-14633/.git/logs/refs/heads'
removed directory '/tmp/maak-test-git-archive-zip-14633/.git/logs/refs'
removed directory '/tmp/maak-test-git-archive-zip-14633/.git/logs'
removed '/tmp/maak-test-git-archive-zip-14633/.git/index'
removed directory '/tmp/maak-test-git-archive-zip-14633/.git'
removed '/tmp/maak-test-git-archive-zip-14633/a.txt'
removed directory '/tmp/maak-test-git-archive-zip-14633'
removed '/tmp/maak-test-git-archive-zip-out-14633/p.zip'
removed directory '/tmp/maak-test-git-archive-zip-out-14633'
mkdir: created directory '/tmp/maak-test-git-clone-source-14633'
mkdir: created directory '/tmp/maak-test-git-clone-parent-14633'
[trunk (root-commit) 73a34ed] first
 1 file changed, 1 insertion(+)
 create mode 100644 a.txt
Cloning into '/tmp/maak-test-git-clone-parent-14633/target'...
done.
removed '/tmp/maak-test-git-clone-source-14633/.git/description'
removed '/tmp/maak-test-git-clone-source-14633/.git/hooks/applypatch-msg.sample'
removed '/tmp/maak-test-git-clone-source-14633/.git/hooks/commit-msg.sample'
removed '/tmp/maak-test-git-clone-source-14633/.git/hooks/fsmonitor-watchman.sample'
removed '/tmp/maak-test-git-clone-source-14633/.git/hooks/post-update.sample'
removed '/tmp/maak-test-git-clone-source-14633/.git/hooks/pre-applypatch.sample'
removed '/tmp/maak-test-git-clone-source-14633/.git/hooks/pre-commit.sample'
removed '/tmp/maak-test-git-clone-source-14633/.git/hooks/pre-merge-commit.sample'
removed '/tmp/maak-test-git-clone-source-14633/.git/hooks/pre-push.sample'
removed '/tmp/maak-test-git-clone-source-14633/.git/hooks/pre-rebase.sample'
removed '/tmp/maak-test-git-clone-source-14633/.git/hooks/pre-receive.sample'
removed '/tmp/maak-test-git-clone-source-14633/.git/hooks/prepare-commit-msg.sample'
removed '/tmp/maak-test-git-clone-source-14633/.git/hooks/push-to-checkout.sample'
removed '/tmp/maak-test-git-clone-source-14633/.git/hooks/sendemail-validate.sample'
removed '/tmp/maak-test-git-clone-source-14633/.git/hooks/update.sample'
removed directory '/tmp/maak-test-git-clone-source-14633/.git/hooks'
removed '/tmp/maak-test-git-clone-source-14633/.git/info/exclude'
removed directory '/tmp/maak-test-git-clone-source-14633/.git/info'
removed '/tmp/maak-test-git-clone-source-14633/.git/refs/heads/trunk'
removed directory '/tmp/maak-test-git-clone-source-14633/.git/refs/heads'
removed directory '/tmp/maak-test-git-clone-source-14633/.git/refs/tags'
removed directory '/tmp/maak-test-git-clone-source-14633/.git/refs'
removed '/tmp/maak-test-git-clone-source-14633/.git/HEAD'
removed directory '/tmp/maak-test-git-clone-source-14633/.git/objects/pack'
removed directory '/tmp/maak-test-git-clone-source-14633/.git/objects/info'
removed '/tmp/maak-test-git-clone-source-14633/.git/objects/43/dd47ea691c90a5fa7827892c70241913351963'
removed directory '/tmp/maak-test-git-clone-source-14633/.git/objects/43'
removed '/tmp/maak-test-git-clone-source-14633/.git/objects/07/74631921416916f52abe96497a247055976283'
removed directory '/tmp/maak-test-git-clone-source-14633/.git/objects/07'
removed '/tmp/maak-test-git-clone-source-14633/.git/objects/73/a34edb0bd8276ca18f1968f62fb48b9fc32548'
removed directory '/tmp/maak-test-git-clone-source-14633/.git/objects/73'
removed directory '/tmp/maak-test-git-clone-source-14633/.git/objects'
removed '/tmp/maak-test-git-clone-source-14633/.git/config'
removed '/tmp/maak-test-git-clone-source-14633/.git/COMMIT_EDITMSG'
removed '/tmp/maak-test-git-clone-source-14633/.git/logs/HEAD'
removed '/tmp/maak-test-git-clone-source-14633/.git/logs/refs/heads/trunk'
removed directory '/tmp/maak-test-git-clone-source-14633/.git/logs/refs/heads'
removed directory '/tmp/maak-test-git-clone-source-14633/.git/logs/refs'
removed directory '/tmp/maak-test-git-clone-source-14633/.git/logs'
removed '/tmp/maak-test-git-clone-source-14633/.git/index'
removed directory '/tmp/maak-test-git-clone-source-14633/.git'
removed '/tmp/maak-test-git-clone-source-14633/a.txt'
removed directory '/tmp/maak-test-git-clone-source-14633'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/description'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/hooks/applypatch-msg.sample'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/hooks/commit-msg.sample'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/hooks/fsmonitor-watchman.sample'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/hooks/post-update.sample'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/hooks/pre-applypatch.sample'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/hooks/pre-commit.sample'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/hooks/pre-merge-commit.sample'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/hooks/pre-push.sample'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/hooks/pre-rebase.sample'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/hooks/pre-receive.sample'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/hooks/prepare-commit-msg.sample'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/hooks/push-to-checkout.sample'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/hooks/sendemail-validate.sample'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/hooks/update.sample'
removed directory '/tmp/maak-test-git-clone-parent-14633/target/.git/hooks'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/info/exclude'
removed directory '/tmp/maak-test-git-clone-parent-14633/target/.git/info'
removed directory '/tmp/maak-test-git-clone-parent-14633/target/.git/objects/pack'
removed directory '/tmp/maak-test-git-clone-parent-14633/target/.git/objects/info'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/objects/43/dd47ea691c90a5fa7827892c70241913351963'
removed directory '/tmp/maak-test-git-clone-parent-14633/target/.git/objects/43'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/objects/07/74631921416916f52abe96497a247055976283'
removed directory '/tmp/maak-test-git-clone-parent-14633/target/.git/objects/07'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/objects/73/a34edb0bd8276ca18f1968f62fb48b9fc32548'
removed directory '/tmp/maak-test-git-clone-parent-14633/target/.git/objects/73'
removed directory '/tmp/maak-test-git-clone-parent-14633/target/.git/objects'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/refs/heads/trunk'
removed directory '/tmp/maak-test-git-clone-parent-14633/target/.git/refs/heads'
removed directory '/tmp/maak-test-git-clone-parent-14633/target/.git/refs/tags'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/refs/remotes/origin/HEAD'
removed directory '/tmp/maak-test-git-clone-parent-14633/target/.git/refs/remotes/origin'
removed directory '/tmp/maak-test-git-clone-parent-14633/target/.git/refs/remotes'
removed directory '/tmp/maak-test-git-clone-parent-14633/target/.git/refs'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/packed-refs'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/logs/refs/remotes/origin/HEAD'
removed directory '/tmp/maak-test-git-clone-parent-14633/target/.git/logs/refs/remotes/origin'
removed directory '/tmp/maak-test-git-clone-parent-14633/target/.git/logs/refs/remotes'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/logs/refs/heads/trunk'
removed directory '/tmp/maak-test-git-clone-parent-14633/target/.git/logs/refs/heads'
removed directory '/tmp/maak-test-git-clone-parent-14633/target/.git/logs/refs'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/logs/HEAD'
removed directory '/tmp/maak-test-git-clone-parent-14633/target/.git/logs'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/HEAD'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/config'
removed '/tmp/maak-test-git-clone-parent-14633/target/.git/index'
removed directory '/tmp/maak-test-git-clone-parent-14633/target/.git'
removed '/tmp/maak-test-git-clone-parent-14633/target/a.txt'
removed directory '/tmp/maak-test-git-clone-parent-14633/target'
removed directory '/tmp/maak-test-git-clone-parent-14633'

+----------------------------------------------+
[📑 suite] The cargo command line
  [🧪 test] a plain subcommand is the program and its name
    ✅ got: (cargo build)
  [🧪 test] features are joined with commas after the subcommand
    ✅ got: (cargo build --features openssl,serde --release)
  [🧪 test] global options come before the subcommand
    ✅ got: (cargo --manifest-path Cargo.toml --offline --locked -v -v --color never --jobs 4 build)
  [🧪 test] a package, a target and a profile reach the command
    ✅ got: (cargo build --package app --all-features --target wasm32-unknown-unknown --profile release)
  [🧪 test] arguments are passed through, including a program's own words
    ✅ got: (cargo run -- --help)
  [🧪 test] a program value may carry a wrapper
    ✅ got: (ccache cargo build)
  [🧪 test] release and profile cannot both be given
    ✅ success catching error: %exception: (#<&maak-error message: "cargo: --release and --profile ask for two profiles" hint: "Write #:release? #t or #:profile \"release\", not both.">)
  [🧪 test] a subcommand that is not a name is refused
    ✅ success catching error: %exception: (#<&maak-error message: "cargo needs a subcommand, got #f" hint: "Write (cargo-build), or (cargo \"build\" #:arguments '(\"--release\")).">)
  [🧪 test] a job count that is not positive is refused
    ✅ success catching error: %exception: (#<&maak-error message: "cargo takes a positive job count, got 0" hint: "Write #:jobs 4, or omit it for cargo's default.">)
  [🧪 test] a colour that cargo does not know is refused
    ✅ success catching error: %exception: (#<&maak-error message: "cargo's #:color takes auto, always or never, got \"rainbow\"" hint: "Write #:color \"never\" to keep a log readable.">)
+----------------------------------------------+
[📑 suite] Running cargo
  [🧪 test] a wrapper passes its arguments after the subcommand
    ✅ got: (#t)
+----------------------------------------------+
[📑 suite] What cargo metadata says
  [🧪 test] the package version is read from the metadata
    ✅ got: 1.2.3
  [🧪 test] the workspace's package names are read in cargo's order
    ✅ got: (app libcrate)
  [🧪 test] the binary targets are told from the library targets
    ✅ got: (app helper)
  [🧪 test] the target directory is read from the metadata
    ✅ got: /tmp/target
  [🧪 test] an artefact path names the profile and the triple
    ✅ got: (/tmp/target/release/app /tmp/target/aarch64-unknown-linux-gnu/debug/app)
  [🧪 test] a workspace with several packages needs one named
    ✅ got: #t
+----------------------------------------------+
[📑 suite] rustup
  [🧪 test] the argv names the program and its words
    ✅ got: (rustup toolchain list)
  [🧪 test] the active toolchain is the first word of the answer
    ✅ got: stable-x86_64-unknown-linux-gnu
  [🧪 test] the installed toolchains are read one per line
    ✅ got: (stable-x86_64-unknown-linux-gnu nightly-x86_64-unknown-linux-gnu)
ℹ️ info - ran 4 tasks in: 0 seconds, 190446 microseconds

running unit tests from file: git.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] Git argument lists
  [🧪 test] git-argv names the checkout with -C
    ✅ got: (git -C /tmp/repo status)
  [🧪 test] git-argv defaults to the current directory
    ✅ got: (git -C . status)
  [🧪 test] a clone puts the destination last
    ✅ got: git clone --branch main --depth 1 https://example.org/p.git vendor/p
  [🧪 test] a bare clone asks for --bare
    ✅ got: git clone --bare ../other
  [🧪 test] switching can create the branch
    ✅ got: git -C . switch -c feature
  [🧪 test] a commit keeps its message as one argument
    ✅ got: git -C . commit --all -m
  [🧪 test] a commit can amend an empty tree
    ✅ got: commit --all --amend --allow-empty -m
  [🧪 test] an annotated tag passes its message
    ✅ got: git -C . tag --annotate -m
  [🧪 test] log has its usual default shape
    ✅ got: git -C . log --oneline --graph --decorate -n 20
  [🧪 test] log passes explicit arguments through
    ✅ got: git -C . log --oneline --graph --decorate -5 --all
  [🧪 test] the subcommand wrappers reach git
    ✅ got: (git -C . rebase --interactive HEAD~2)
  [🧪 test] a remote is added with its own subcommand
    ✅ got: git -C . remote add origin url
  [🧪 test] an archive names format, prefix and output
    ✅ got: git -C . archive --format=zip --prefix=p/ -o /tmp/p.zip v1.0
  [🧪 test] an empty commit message is refused
    ✅ success catching error: %exception: (#<&maak-error message: "git-commit expects a commit message" hint: "Write (git-commit \"feat: add the report\").">)
  [🧪 test] an empty archive name is refused
    ✅ success catching error: %exception: (#<&maak-error message: "git-archive expects the archive file to write" hint: "Write (git-archive \"project-1.0.tar.gz\" #:prefix \"project-1.0/\").">)
  [🧪 test] an empty branch name is refused
    ✅ success catching error: %exception: (#<&maak-error message: "git-switch expects a branch name" hint: "Write (git-switch \"trunk\").">)
  [🧪 test] an empty clone URL is refused
    ✅ success catching error: %exception: (#<&maak-error message: "git-clone expects the URL of the repository to clone" hint: "Write (git-clone \"https://example.org/project.git\").">)
+----------------------------------------------+
[📑 suite] Git repositories
  [🧪 test] git-init creates a repository
    ✅ got: #t
  [🧪 test] git-add stages an untracked file
    ✅ got: A  a.txt
  [🧪 test] git-commit records the tree, and the branch reads back
    ✅ got: trunk
  [🧪 test] git-current-revision is a full hash
    ✅ got: 40
  [🧪 test] git-dirty? notices a modified file
    ✅ got: #t
  [🧪 test] git-dirty? is false after a commit
    ✅ got: #f
  [🧪 test] git-tag and git-tags agree
    ✅ got: (v1)
  [🧪 test] git-describe-tag finds the release tag
    ✅ got: v2
  [🧪 test] a branch can be created and switched to
    ✅ got: feature
  [🧪 test] a detached HEAD answers with its revision
    ✅ got: 40
  [🧪 test] a remote can be added and read back
    ✅ got: https://example.org/p.git
  [🧪 test] git-remotes lists what was added
    ✅ got: (origin)
  [🧪 test] git-diff reports a modified file when failures are allowed
    ✅ got: #f
  [🧪 test] a stash can be made and popped
    ✅ got: #t
  [🧪 test] git-clean removes an untracked file
    ✅ got: #t
  [🧪 test] git-output reads a value rather than printing it
    ✅ got: trunk;;; compiling ./test/veritas/unit/guix.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/guix.scm.go
mkdir: created directory '/tmp/maak-test-guix-14633'
removed '/tmp/maak-test-guix-14633/channels.scm'
removed directory '/tmp/maak-test-guix-14633'
mkdir: created directory '/tmp/maak-test-guix-14633'
removed '/tmp/maak-test-guix-14633/channels.scm'
removed directory '/tmp/maak-test-guix-14633'
mkdir: created directory '/tmp/maak-test-guix-14633'
removed '/tmp/maak-test-guix-14633/guix'
removed directory '/tmp/maak-test-guix-14633'
mkdir: created directory '/tmp/maak-test-guix-14633'
removed '/tmp/maak-test-guix-14633/guix'
removed directory '/tmp/maak-test-guix-14633'
mkdir: created directory '/tmp/maak-test-guix-14633'
removed '/tmp/maak-test-guix-14633/channels.scm'
removed directory '/tmp/maak-test-guix-14633'
;;; compiling ./test/veritas/unit/maven.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/maven.scm.go
mkdir: created directory '/tmp/maak-maven-output-14633'
removed '/tmp/maak-maven-output-14633/mvn'
removed directory '/tmp/maak-maven-output-14633'
mkdir: created directory '/tmp/maak-maven-wrapper-14633'
removed '/tmp/maak-maven-wrapper-14633/mvnw'
removed directory '/tmp/maak-maven-wrapper-14633'
mkdir: created directory '/tmp/maak-maven-no-wrapper-14633'
removed directory '/tmp/maak-maven-no-wrapper-14633'

  [🧪 test] a failed command raises unless failure is allowed
    ✅ got: #f
  [🧪 test] git-archive-tar writes the tracked files
    ✅ got: p/a.txt
  [🧪 test] git-archive-zip writes the tracked files
    ✅ got: p/a.txt
  [🧪 test] git-clone copies a repository
    ✅ got: #t
ℹ️ info - ran 2 tasks in: 2 seconds, -487124 microseconds

running unit tests from file: guix.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] Guix values
  [🧪 test] guix-available? answers with a boolean
    ✅ got: #t
  [🧪 test] a missing channels file is named in the error
    ✅ got: #t
  [🧪 test] a package name cannot be empty
    ✅ got: #t
  [🧪 test] a pinned revision has to be a commit
    ✅ got: #t
  [🧪 test] guix-program refuses arguments that are not a list
    ✅ success catching error: %exception: (#<&maak-error message: "guix-program expects its arguments as a list of strings" hint: "Write (guix-program \"hello\" '(--version)).">)
  [🧪 test] a query without Guix says how to get it
    ✅ got: #t
  [🧪 test] guix-channels reads the pins of a channels file
    ✅ got: 40
  [🧪 test] a query removes the file it ran
    ✅ got: #t
  [🧪 test] a failed query keeps the file it ran, and names it
    ✅ got: #t
  [🧪 test] a dry run prints the query instead of asking Guix
    ✅ got: #t
ℹ️ info - ran 1 tasks in: 0 seconds, 175059 microseconds

running unit tests from file: maven.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] The Maven command line
  [🧪 test] a goal is the program and its name
    ✅ got: (mvn package)
  [🧪 test] profiles and properties are words before the goals
    ✅ got: (mvn -P release -DskipTests=true -Dfoo=bar clean package)
  [🧪 test] the project, settings and CI options reach the command
    ✅ got: (mvn -f pom.xml -s settings.xml -o -U -B --no-transfer-progress -T 4 -fae -am -amd -pl a,b -rf :core verify)
  [🧪 test] the thread value may be the string Maven accepts
    ✅ got: (mvn -T 1C test)
  [🧪 test] arguments are appended as they are
    ✅ got: (mvn test -DskipITs)
  [🧪 test] an empty goal list is refused
    ✅ success catching error: %exception: (#<&maak-error message: "maven needs at least one goal" hint: "Write (maven-package), or (maven \"verify\" #:arguments '(\"-DskipTests\")).">)
  [🧪 test] a thread count that is not positive is refused
    ✅ success catching error: %exception: (#<&maak-error message: "maven's #:threads takes a positive number, got 0" hint: "Write #:threads 4, or #:threads \"1C\".">)
  [🧪 test] a property that is not a word or a pair is refused
    ✅ success catching error: %exception: (#<&maak-error message: "42 is not a Maven property" hint: "Write a \"name=value\" string or a (name . value) pair.">)
+----------------------------------------------+
[📑 suite] Running Maven
  [🧪 test] a wrapper passes its arguments to the goal
    ✅ got: (#t)
  [🧪 test] the output query returns what Maven wrote
    ✅ got: maven-output-ok

+----------------------------------------------+
[📑 suite] The Maven wrapper
  [🧪 test] a directory with mvnw answers with it
    ✅ got: (#t /tmp/maak-maven-wrapper-14633/mvnw)
  [🧪 test] a directory without mvnw answers with the program
    ✅ got: (#f mvn)
ℹ️ info - ran 3 tasks in: 0 seconds, 42867 microseconds

running unit tests from file: docstrings.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] Task docstring layout
  [🧪 test] a single line stays inline
    ✅ got: (build: Compile the project.)
  [🧪 test] two lines align the continuation
    ✅ got: (t: first    second)
  [🧪 test] one paragraph keeps every line aligned under the name
    ✅ got: (t: first    second    third    fourth)
  [🧪 test] a paragraph break starts a block under the name
    ✅ got: (t:    first    second     third)
  [🧪 test] a wrapped paragraph aligns with the widest name
    ✅ got: (collect-artefacts: Gather the build output.                    The result is a tarball.)
  [🧪 test] an indented multi-line docstring keeps its alignment
    ✅ got: (t: first    second)
  [🧪 test] a block keeps its blank lines blank
    ✅ got: (t:    a     b     c)
  [🧪 test] a docstring with no documentation prints the name only
    ✅ got: (t:)
    ✅ got: (t:)
    ✅ got: (t:)
  [🧪 test] source indentation is removed before laying out
    ✅ got: (t: first    second)
  [🧪 test] the margin follows the length of the name
    ✅ got: (longname: a           b)
  [🧪 test] blank lines inside a block are not padded
    ✅ got: (t:    a     b)
  [🧪 test] the name is emphasised with ANSI escapes
    ✅ got: #t
+----------------------------------------------+
[📑 suite] The aligned listing
  [🧪 test] a task with no documentation prints its name alone
    ✅ got: (  t)
  [🧪 test] the documentation starts after the widest name in the listing
    ✅ got: (  t     one line    long  another)
  [🧪 test] the paragraph breaks inside a docstring are kept
    ✅ got: (  t  first       second)
  [🧪 test] what a task needs first is printed under it, aligned with its documentation
    ✅ got: (  deploy  Ship it.           needs: build, test)
  [🧪 test] a long layout adds the invocation a task holds up as an example
    ✅ got: (  deploy  Ship it.           example: maak deploy prod)
  [🧪 test] the table keeps a task that asked to be left out out of it
    ✅ got: (  keep  List me.)
  [🧪 test] a heading names the file and how many tasks it holds
    ✅ got: #t
  [🧪 test] a listing with no file to name has no heading
    ✅ got: (  t     one line    long  another)
  [🧪 test] a name wider than the column keeps a line of its own
    ✅ got: (  twenty-five-characters-here                             Compile it.)
  [🧪 test] a width folds a docstring that does not fit in it
    ✅ got: #t
ℹ️ info - ran 2 tasks in: 0 seconds, 6449 microseconds

running unit tests from file: plan.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] A plan for a person
  [🧪 test] a direct command is named by its argv
    ✅ got: #t
  [🧪 test] a shell command is named as the shell reads it
    ✅ got: #t
  [🧪 test] a pipeline is named stage by stage
    ✅ got: #t
  [🧪 test] a command says where it would run
    ✅ got: #t
  [🧪 test] a command says what environment it was given
    ✅ got: #t
  [🧪 test] a command says it would be elevated
    ✅ got: #t
  [🧪 test] a captured command is in the plan too
    ✅ got: #t
  [🧪 test] a task that runs nothing says so
    ✅ got: #t
  [🧪 test] planning does not run the command
    ✅ got: #f
  [🧪 test] the plan can be printed as an option beside the task list
    ✅ got: 1
+----------------------------------------------+
[📑 suite] A plan for a machine
  [🧪 test] the JSON plan is versioned
    ✅ got: 1
  [🧪 test] the JSON plan names every command
    ✅ got: 5
  [🧪 test] a run step carries its kind and argv
    ✅ got: (run (echo world))
  [🧪 test] a shell step carries its line
    ✅ got: shell
  [🧪 test] a pipeline step carries each stage
    ✅ got: (cat maak.scm)
  [🧪 test] a step carries its environment and elevation
    ✅ got: ((CI=1) #t)
  [🧪 test] a step carries the directory it would run in
    ✅ got: #t
  [🧪 test] a task's own printing does not corrupt the JSON
    ✅ got: 1
  [🧪 test] a task's own printing still reaches the reader
    ✅ got: #t
+----------------------------------------------+
[📑 suite] What --plan refuses
  [🧪 test] a plan and a listing are different questions
    ✅ got: #t
ℹ️ info - ran 3 tasks in: 0 seconds, 96697 microseconds

running unit tests from file: metadata.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] What a task declares about itself
  [🧪 test] a task that declares nothing needs nothing
    ✅ got: ()
  [🧪 test] a task declares what it needs first
    ✅ got: (fmt)
  [🧪 test] a dependency may be named as a string
    ✅ got: (fmt)
  [🧪 test] a task declares an example invocation
    ✅ got: maak build
  [🧪 test] a task with no example has an empty one
    ✅ got: 
  [🧪 test] a task is visible unless it says otherwise
    ✅ got: #f
  [🧪 test] a task can ask a listing to leave it out
    ✅ got: #t
  [🧪 test] metadata for something that is not a task is refused
    ✅ success catching error: %exception: (#<&maak-error message: "task-metadata! expects the procedure a task is defined as, got 42" hint: "Write (task-metadata! deploy #:depends '(build)) after the definition of `deploy'.">)
  [🧪 test] a dependency that is not a name is refused
    ✅ success catching error: %exception: (#<&maak-error message: "task-metadata!: 42 does not name a task" hint: "A dependency is a task name, written as a symbol or a string.">)
+----------------------------------------------+
[📑 suite] The order a run puts the tasks in
  [🧪 test] dependencies come before the task that needs them
    ✅ got: (fmt build test deploy)
  [🧪 test] a task named twice is run once
    ✅ got: (fmt build)
  [🧪 test] the order the tasks were named is kept
    ✅ got: (fmt build test)
  [🧪 test] a run of nothing is no order at all
    ✅ got: ()
  [🧪 test] a dependency that names no task is an error
    ✅ success catching error: %exception: (#<&maak-error message: "Unknown task: no-such-task" hint: "Available tasks: chatty, greet, only-computes">);;; compiling ./test/veritas/unit/docstrings.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/docstrings.scm.go
;;; compiling ./test/veritas/unit/plan.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/plan.scm.go
;;; compiling /etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/maak/fixtures/plan.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/maak/fixtures/plan.scm.go
;;; compiling ./test/veritas/unit/metadata.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/metadata.scm.go
;;; compiling ./test/maak/fixtures/metadata.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/maak/fixtures/metadata.scm.go
;;; compiling ./test/veritas/unit/elisp.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/elisp.scm.go
mkdir: created directory '/tmp/maak-elisp-output-14633'
removed '/tmp/maak-elisp-output-14633/emacs'
removed directory '/tmp/maak-elisp-output-14633'
mkdir: created directory '/tmp/maak-elisp-version-14633'
removed '/tmp/maak-elisp-version-14633/emacs'
removed directory '/tmp/maak-elisp-version-14633'
mkdir: created directory '/tmp/maak-elisp-version-14633'
removed '/tmp/maak-elisp-version-14633/foo.el'
removed directory '/tmp/maak-elisp-version-14633'
mkdir: created directory '/tmp/maak-elisp-requires-14633'
removed '/tmp/maak-elisp-requires-14633/foo.el'
removed directory '/tmp/maak-elisp-requires-14633'
mkdir: created directory '/tmp/maak-elisp-provide-14633'
removed '/tmp/maak-elisp-provide-14633/foo.el'
removed directory '/tmp/maak-elisp-provide-14633'
mkdir: created directory '/tmp/maak-elisp-conventions-14633'
removed '/tmp/maak-elisp-conventions-14633/foo.el'
removed directory '/tmp/maak-elisp-conventions-14633'
mkdir: created directory '/tmp/maak-elisp-good-14633'
removed '/tmp/maak-elisp-good-14633/foo.el'
removed directory '/tmp/maak-elisp-good-14633'
mkdir: created directory '/tmp/maak-elisp-bad-14633'
removed '/tmp/maak-elisp-bad-14633/bar.el'
removed directory '/tmp/maak-elisp-bad-14633'
mkdir: created directory '/tmp/maak-elisp-files-14633'
mkdir: created directory '/tmp/maak-elisp-files-14633/lisp'
mkdir: created directory '/tmp/maak-elisp-files-14633/lisp/sub'
mkdir: created directory '/tmp/maak-elisp-files-14633/.cache'
removed '/tmp/maak-elisp-files-14633/lisp/sub/b.el'
removed directory '/tmp/maak-elisp-files-14633/lisp/sub'
removed '/tmp/maak-elisp-files-14633/lisp/a.el'
removed directory '/tmp/maak-elisp-files-14633/lisp'
removed '/tmp/maak-elisp-files-14633/.cache/c.el'
removed directory '/tmp/maak-elisp-files-14633/.cache'
removed directory '/tmp/maak-elisp-files-14633'

  [🧪 test] a cycle is an error
    ✅ success catching error: %exception: (#<&maak-error message: "dependency cycle: loop-a -> loop-b -> loop-a" hint: "Remove one of the dependencies; a task may not need itself, directly or through other tasks.">)
  [🧪 test] a cycle says which tasks it runs through
    ✅ got: dependency cycle: loop-a -> loop-b -> loop-a
+----------------------------------------------+
[📑 suite] A listing honours the declarations
  [🧪 test] the listing leaves a hidden task out
    ✅ got: #f
  [🧪 test] the listing says what a task needs first
    ✅ got: #t
ℹ️ info - ran 3 tasks in: 0 seconds, 5815 microseconds

running unit tests from file: elisp.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] The Emacs batch command line
  [🧪 test] the quiet batch invocation is the default
    ✅ got: (emacs --batch -Q)
  [🧪 test] load paths, files, evals, functions and arguments keep their order
    ✅ got: (emacs --batch -Q -L lisp -l test/foo-tests.el --eval (princ 1) -f batch-byte-compile foo.el)
  [🧪 test] a run can keep the site file when asked
    ✅ got: (emacs --batch)
  [🧪 test] the program value may carry flags
    ✅ got: (emacs -nw --batch -Q)
  [🧪 test] a Lisp string literal escapes quotes and backslashes
    ✅ got: "a\"b\\c"
+----------------------------------------------+
[📑 suite] Running Emacs
  [🧪 test] a batch run is what a dry run prints
    ✅ got: (#t)
  [🧪 test] the output query returns what Emacs printed
    ✅ got: 29.1

  [🧪 test] the version trims the printed answer
    ✅ got: 29.1
+----------------------------------------------+
[📑 suite] The three checks
  [🧪 test] byte-compiling names the function and the files
    ✅ got: (#t #t)
  [🧪 test] warnings can be made to fail the compile
    ✅ got: #t
  [🧪 test] checkdoc runs over the files it was given
    ✅ got: #t
  [🧪 test] ERT loads the test files and runs every test by default
    ✅ got: (#t #t)
  [🧪 test] an ERT selector is inserted as the expression it is
    ✅ got: #t
  [🧪 test] an empty file list is refused
    ✅ success catching error: %exception: (#<&maak-error message: "elisp-byte-compile needs at least one file" hint: "Write (elisp-byte-compile (elisp-files \"lisp\")).">)
+----------------------------------------------+
[📑 suite] The practices
  [🧪 test] the version header is read
    ✅ got: 1.2.3
  [🧪 test] the requirements header is read as it is written
    ✅ got: ((emacs "27.1"))
  [🧪 test] the provided feature is read
    ✅ got: (foo)
  [🧪 test] lexical binding and the footer are recognised
    ✅ got: (#t #t)
  [🧪 test] a file that keeps the conventions has no problems
    ✅ got: ()
  [🧪 test] a bare file names every convention it is missing
    ✅ got: 6
  [🧪 test] the files are found recursively and hidden directories are skipped
    ✅ got: (/tmp/maak-elisp-files-14633/lisp/a.el /tmp/maak-elisp-files-14633/lisp/sub/b.el)
ℹ️ info - ran 4 tasks in: 0 seconds, 136346 microseconds

running unit tests from file: guide.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] The guide
  [🧪 test] every page of the guide is a file that exists
    ✅ got: ()
  [🧪 test] every file: link in the guide names a file that exists
    ✅ got: ()
  [🧪 test] every ::#anchor names a CUSTOM_ID in the page it points at
    ✅ got: ()
  [🧪 test] every page under docs/ is linked from the index
    ✅ got: ()
  [🧪 test] no page links to a heading with [[*Heading]]
    ✅ got: ()
ℹ️ info - ran 1 tasks in: 0 seconds, 69788 microseconds

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


+----------------------------------------------+
[📑 suite] The Veritas invocation
  [🧪 test] the plain invocation puts the checkout first on the load path
    ✅ got: (guile -L ./src -L ./test -c (exit ((@ (veritas runner) run-tests))))
  [🧪 test] the load paths and the interpreter can be named
    ✅ got: (guile3 -L src -L specs -c (exit ((@ (veritas runner) run-tests))))
  [🧪 test] one load path is accepted without a list
    ✅ got: (guile -L src -c (exit ((@ (veritas runner) run-tests))))
  [🧪 test] the expression can be replaced
    ✅ got: (guile -L ./src -L ./test -c (display 1))
  [🧪 test] the shell shape quotes the expression as one word
    ✅ got: '(exit ((@ (veritas runner) run-tests)))'
  [🧪 test] an empty module name is refused
    ✅ success catching error: %exception: (#<&maak-error message: "veritas's module takes a non-empty string, got \"\"" hint: "Name the value as a string, or leave the option out.">)
  [🧪 test] load paths that are not strings are refused
    ✅ success catching error: %exception: (#<&maak-error message: "veritas's load paths takes a string or a list of strings, got (1)" hint: "Write a list such as ./src and ./test for the load paths.">)
+----------------------------------------------+
[📑 suite] The variables the runner reads
  [🧪 test] the four variables name the module, the tree and the type
    ✅ got: (VERITAS_TEST_MODULE=veritas VERITAS_TEST_TOP_DIR=test VERITAS_TEST_TYPE=unit VERITAS_RUN_BENCHMARKS=false)
  [🧪 test] a project with integration specs names its own
    ✅ got: (VERITAS_TEST_MODULE=guile-sift VERITAS_TEST_TOP_DIR=specs VERITAS_TEST_TYPE=integration VERITAS_RUN_BENCHMARKS=true)
  [🧪 test] the suite is not run in a dry run
[DRY-RUN]: env VERITAS_TEST_MODULE=veritas VERITAS_TEST_TOP_DIR=test VERITAS_TEST_TYPE=unit VERITAS_RUN_BENCHMARKS=false guile -L ./src -L ./test -c '(exit ((@ (veritas runner) run-tests)))'

    ✅ got: #t
ℹ️ info - ran 2 tasks in: 0 seconds, 2893 microseconds

running unit tests from file: version.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] The version's copies
  [🧪 test] the program writes the version in three numbers
    ✅ got: #t
  [🧪 test] the RPM spec carries the released version
    ✅ got: 1.4.1
  [🧪 test] the manual page carries the released version
    ✅ got: 1.4.1
  [🧪 test] the installation page carries the released version
    ✅ got: 1.4.1
  [🧪 test] the Arch recipe carries the released version
    ✅ got: 1.4.1
  [🧪 test] the Void Linux template carries the released version
    ✅ got: 1.4.1
  [🧪 test] the Homebrew formula carries the released version
    ✅ got: 1.4.1
  [🧪 test] the Debian changelog's newest entry carries the released version
    ✅ got: 1.4.1
ℹ️ info - ran 1 tasks in: 0 seconds, 6015 microseconds;;; compiling ./test/veritas/unit/guide.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/guide.scm.go
;;; compiling ./test/veritas/unit/maak-veritas.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/maak-veritas.scm.go
;;; compiling ./test/veritas/unit/version.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/version.scm.go
;;; compiling ./test/veritas/unit/archive.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/archive.scm.go
mkdir: created directory '/tmp/maak-test-archive-dry-run-14633-1'
removed directory '/tmp/maak-test-archive-dry-run-14633-1'
mkdir: created directory '/tmp/maak-test-archive-tar-create-14633-2'
mkdir: created directory '/tmp/maak-test-archive-tar-create-14633-2/tree'
removed '/tmp/maak-test-archive-tar-create-14633-2/tree/a.txt'
removed '/tmp/maak-test-archive-tar-create-14633-2/tree/b.txt'
removed directory '/tmp/maak-test-archive-tar-create-14633-2/tree'
removed '/tmp/maak-test-archive-tar-create-14633-2/p.tar.gz'
removed directory '/tmp/maak-test-archive-tar-create-14633-2'
mkdir: created directory '/tmp/maak-test-archive-tar-exclude-14633-3'
mkdir: created directory '/tmp/maak-test-archive-tar-exclude-14633-3/tree'
removed '/tmp/maak-test-archive-tar-exclude-14633-3/tree/a.txt'
removed '/tmp/maak-test-archive-tar-exclude-14633-3/tree/b.log'
removed directory '/tmp/maak-test-archive-tar-exclude-14633-3/tree'
removed '/tmp/maak-test-archive-tar-exclude-14633-3/p.tar.gz'
removed directory '/tmp/maak-test-archive-tar-exclude-14633-3'
mkdir: created directory '/tmp/maak-test-archive-tar-tree-14633-4'
mkdir: created directory '/tmp/maak-test-archive-tar-tree-14633-4/tree'
removed '/tmp/maak-test-archive-tar-tree-14633-4/tree/a.txt'
removed directory '/tmp/maak-test-archive-tar-tree-14633-4/tree'
removed '/tmp/maak-test-archive-tar-tree-14633-4/p.tar.gz'
removed directory '/tmp/maak-test-archive-tar-tree-14633-4'
mkdir: created directory '/tmp/maak-test-archive-tar-outside-14633-5'
mkdir: created directory '/tmp/maak-test-archive-tar-outside-14633-5/tree'
removed '/tmp/maak-test-archive-tar-outside-14633-5/tree/a.txt'
removed directory '/tmp/maak-test-archive-tar-outside-14633-5/tree'
removed '/tmp/maak-test-archive-tar-outside-14633-5/p.tar.gz'
removed directory '/tmp/maak-test-archive-tar-outside-14633-5'
mkdir: created directory '/tmp/maak-test-archive-tar-extract-14633-6'
mkdir: created directory '/tmp/maak-test-archive-tar-extract-14633-6/tree'
mkdir: created directory '/tmp/maak-test-archive-tar-extract-14633-6/out'
removed '/tmp/maak-test-archive-tar-extract-14633-6/tree/a.txt'
removed directory '/tmp/maak-test-archive-tar-extract-14633-6/tree'
removed '/tmp/maak-test-archive-tar-extract-14633-6/p.tar.gz'
removed '/tmp/maak-test-archive-tar-extract-14633-6/out/a.txt'
removed directory '/tmp/maak-test-archive-tar-extract-14633-6/out'
removed directory '/tmp/maak-test-archive-tar-extract-14633-6'
mkdir: created directory '/tmp/maak-test-archive-tar-strip-14633-7'
mkdir: created directory '/tmp/maak-test-archive-tar-strip-14633-7/tree'
mkdir: created directory '/tmp/maak-test-archive-tar-strip-14633-7/tree/p'
mkdir: created directory '/tmp/maak-test-archive-tar-strip-14633-7/out'
removed '/tmp/maak-test-archive-tar-strip-14633-7/tree/p/a.txt'
removed directory '/tmp/maak-test-archive-tar-strip-14633-7/tree/p'
removed directory '/tmp/maak-test-archive-tar-strip-14633-7/tree'
removed '/tmp/maak-test-archive-tar-strip-14633-7/p.tar.gz'
removed '/tmp/maak-test-archive-tar-strip-14633-7/out/a.txt'
removed directory '/tmp/maak-test-archive-tar-strip-14633-7/out'
removed directory '/tmp/maak-test-archive-tar-strip-14633-7'
mkdir: created directory '/tmp/maak-test-archive-tar-xz-14633-8'
mkdir: created directory '/tmp/maak-test-archive-tar-xz-14633-8/tree'
removed '/tmp/maak-test-archive-tar-xz-14633-8/tree/a.txt'
removed directory '/tmp/maak-test-archive-tar-xz-14633-8/tree'
removed '/tmp/maak-test-archive-tar-xz-14633-8/p.tar.xz'
removed directory '/tmp/maak-test-archive-tar-xz-14633-8'
mkdir: created directory '/tmp/maak-test-archive-tar-list-14633-9'
mkdir: created directory '/tmp/maak-test-archive-tar-list-14633-9/tree'
a.txt
removed '/tmp/maak-test-archive-tar-list-14633-9/tree/a.txt'
removed directory '/tmp/maak-test-archive-tar-list-14633-9/tree'
removed '/tmp/maak-test-archive-tar-list-14633-9/p.tar.gz'
removed directory '/tmp/maak-test-archive-tar-list-14633-9'
mkdir: created directory '/tmp/maak-test-archive-tar-cwd-14633-10'
mkdir: created directory '/tmp/maak-test-archive-tar-cwd-14633-10/tree'
  adding: a.txt (stored 0%)
removed '/tmp/maak-test-archive-tar-cwd-14633-10/tree/a.txt'
removed directory '/tmp/maak-test-archive-tar-cwd-14633-10/tree'
removed '/tmp/maak-test-archive-tar-cwd-14633-10/p.tar.gz'
removed '/tmp/maak-test-archive-tar-cwd-14633-10/p.zip'
removed directory '/tmp/maak-test-archive-tar-cwd-14633-10'
mkdir: created directory '/tmp/maak-test-archive-zip-create-14633-11'
mkdir: created directory '/tmp/maak-test-archive-zip-create-14633-11/tree'
  adding: a.txt (stored 0%)
removed '/tmp/maak-test-archive-zip-create-14633-11/tree/a.txt'
removed directory '/tmp/maak-test-archive-zip-create-14633-11/tree'
removed '/tmp/maak-test-archive-zip-create-14633-11/p.zip'
removed directory '/tmp/maak-test-archive-zip-create-14633-11'
mkdir: created directory '/tmp/maak-test-archive-zip-extract-14633-12'
mkdir: created directory '/tmp/maak-test-archive-zip-extract-14633-12/tree'
  adding: a.txt (stored 0%)
mkdir: created directory '/tmp/maak-test-archive-zip-extract-14633-12/out'
Archive:  /tmp/maak-test-archive-zip-extract-14633-12/p.zip
 extracting: /tmp/maak-test-archive-zip-extract-14633-12/out/a.txt  
removed '/tmp/maak-test-archive-zip-extract-14633-12/tree/a.txt'
removed directory '/tmp/maak-test-archive-zip-extract-14633-12/tree'
removed '/tmp/maak-test-archive-zip-extract-14633-12/p.zip'
removed '/tmp/maak-test-archive-zip-extract-14633-12/out/a.txt'
removed directory '/tmp/maak-test-archive-zip-extract-14633-12/out'
removed directory '/tmp/maak-test-archive-zip-extract-14633-12'
mkdir: created directory '/tmp/maak-test-archive-zip-exclude-14633-13'
mkdir: created directory '/tmp/maak-test-archive-zip-exclude-14633-13/tree'
  adding: a.txt (stored 0%)
removed '/tmp/maak-test-archive-zip-exclude-14633-13/tree/a.txt'
removed '/tmp/maak-test-archive-zip-exclude-14633-13/tree/b.log'
removed directory '/tmp/maak-test-archive-zip-exclude-14633-13/tree'
removed '/tmp/maak-test-archive-zip-exclude-14633-13/p.zip'
removed directory '/tmp/maak-test-archive-zip-exclude-14633-13'
mkdir: created directory '/tmp/maak-test-archive-zip-recursive-14633-14'
mkdir: created directory '/tmp/maak-test-archive-zip-recursive-14633-14/tree'
mkdir: created directory '/tmp/maak-test-archive-zip-recursive-14633-14/tree/src'
  adding: src/ (stored 0%)
  adding: src/a.txt (stored 0%)
removed '/tmp/maak-test-archive-zip-recursive-14633-14/tree/src/a.txt'
removed directory '/tmp/maak-test-archive-zip-recursive-14633-14/tree/src'
removed directory '/tmp/maak-test-archive-zip-recursive-14633-14/tree'
removed '/tmp/maak-test-archive-zip-recursive-14633-14/p.zip'
removed directory '/tmp/maak-test-archive-zip-recursive-14633-14'
mkdir: created directory '/tmp/maak-test-archive-zip-list-14633-15'
mkdir: created directory '/tmp/maak-test-archive-zip-list-14633-15/tree'
  adding: a.txt (stored 0%)
Archive:  /tmp/maak-test-archive-zip-list-14633-15/p.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
        3  11-25-2026 18:21   a.txt
---------                     -------
        3                     1 file
removed '/tmp/maak-test-archive-zip-list-14633-15/tree/a.txt'
removed directory '/tmp/maak-test-archive-zip-list-14633-15/tree'
removed '/tmp/maak-test-archive-zip-list-14633-15/p.zip'
removed directory '/tmp/maak-test-archive-zip-list-14633-15'


running unit tests from file: archive.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] Archive argument lists
  [🧪 test] a .tar.gz name selects gzip
    ✅ got: (tar -c -z -f p.tar.gz src)
  [🧪 test] a .tar.xz name selects xz
    ✅ got: (tar -c -J -f p.tar.xz src)
  [🧪 test] a .tar name selects no compression
    ✅ got: (tar -c -f p.tar src)
  [🧪 test] a .tar.zst name selects zstd
    ✅ got: (tar -c --zstd -f p.tar.zst src)
  [🧪 test] the short extension names select their compressor
    ✅ got: ((tar -c -z -f p.tgz src) (tar -c -j -f p.tbz2 src) (tar -c -J -f p.txz src) (tar -c --zstd -f p.tzst src))
  [🧪 test] a compression symbol is accepted too
    ✅ got: (-z)
  [🧪 test] an explicit compression wins over the extension
    ✅ got: (tar -c -j -f p.tar.gz src)
  [🧪 test] gzip is accepted by name and by alias
    ✅ got: (-z)
  [🧪 test] bzip2 is accepted by name and by alias
    ✅ got: (-j)
  [🧪 test] xz has a single spelling
    ✅ got: (-J)
  [🧪 test] zstd is accepted by name and by alias
    ✅ got: (--zstd)
  [🧪 test] no compression is the empty flag list
    ✅ got: ()
  [🧪 test] an unknown compression is refused
    ✅ success catching error: %exception: (#<&maak-error message: "unknown tar compression: rar" hint: "Use one of: none, gz, bz2, xz, zstd.">)
  [🧪 test] tar options precede the files
    ✅ got: (tar -c -z -v -f p.tar.gz -C src --exclude=*.o .)
  [🧪 test] tar extraction names the tree and the strip count
    ✅ got: (tar -x -f p.tar.gz -C out --strip-components=1)
  [🧪 test] tar extraction is verbose when asked
    ✅ got: (tar -x -v -f p.tar.gz)
  [🧪 test] tar extraction refuses a negative strip count
    ✅ success catching error: %exception: (#<&maak-error message: "tar-extract expects #:strip-components to be a non-negative integer, got -1" hint: "Use 0 to keep the archive's paths, or 1 to drop its top-level directory.">)
  [🧪 test] tar listing is a separate argv
    ✅ got: (tar -t -f p.tar.gz)
  [🧪 test] zip passes exclude patterns after the files
    ✅ got: (zip -r p.zip src -x *.o *.go)
  [🧪 test] zip can store bare names and be quiet
    ✅ got: (zip -q -r -j p.zip a.txt)
  [🧪 test] zip extraction defaults to overwriting
    ✅ got: (unzip -o p.zip -d out)
  [🧪 test] zip extraction can keep existing files
    ✅ got: (unzip -n p.zip)
  [🧪 test] zip listing is its own argv
    ✅ got: (unzip -l p.zip)
  [🧪 test] an empty tar name is refused
    ✅ success catching error: %exception: (#<&maak-error message: "tar-create expects the archive file to write" hint: "Write (tar-create \"project-1.0.tar.gz\" (list \"src\" \"README.org\")).">)
  [🧪 test] an empty zip name is refused
    ✅ success catching error: %exception: (#<&maak-error message: "zip-create expects the archive file to write" hint: "Write (zip-create \"project-1.0.zip\" (list \"src\" \"README.org\")).">)
  [🧪 test] an empty file list is refused by tar
    ✅ success catching error: %exception: (#<&maak-error message: "tar-create expects at least one file to put in the archive" hint: "Name the paths to pack, as in (list \"src\" \"README.org\").">)
  [🧪 test] an empty file list is refused by zip
    ✅ success catching error: %exception: (#<&maak-error message: "zip-create expects at least one file to put in the archive" hint: "Name the paths to pack, as in (list \"src\" \"README.org\").">)
  [🧪 test] a dry run prints the command it would run
    ✅ got: tar -c -z -f /tmp/maak-test-archive-dry-run-14633-1/p.tar.gz src
+----------------------------------------------+
[📑 suite] Real tar archives
  [🧪 test] a created tarball lists its files
    ✅ got: (#t #t)
  [🧪 test] an excluded file is not in the tarball
    ✅ got: (#t #f)
  [🧪 test] packing a tree does not fail on the tarball being written
    ✅ got: #t
  [🧪 test] the tarball lands in the task directory, not the packed tree
    ✅ got: (#t #f)
  [🧪 test] a tarball can be extracted
    ✅ got: hello
  [🧪 test] a strip count removes the top-level directory
    ✅ got: deep
  [🧪 test] an xz tarball round-trips
    ✅ got: #t
  [🧪 test] tar-list succeeds on a real archive
    ✅ got: #t
  [🧪 test] packing a tree leaves the working directory where it was
    ✅ got: /etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics
+----------------------------------------------+
[📑 suite] Real zip archives
  [🧪 test] a created zip lists its files
    ✅ got: #t
  [🧪 test] a zip can be extracted
    ✅ got: hello
  [🧪 test] an excluded file is not in the zip
    ✅ got: (#t #f)
  [🧪 test] a directory tree is added recursively
    ✅ got: #t
  [🧪 test] zip-list succeeds on a real archive
    ✅ got: #t
ℹ️ info - ran 3 tasks in: 0 seconds, 462961 microseconds

running unit tests from file: integration.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] The launcher as a process
  [🧪 test] this checkout's Maak file loads through the launcher beside it
    ✅ got: 0
  [🧪 test] the listing names a task only this checkout's Maak file defines
    ✅ got: (0 #t)
  [🧪 test] the help text is read from the resources the launcher ships beside itself
    ✅ got: (0 #t)
  [🧪 test] the version banner is printed and the run succeeds
    ✅ got: (0 #t)
  [🧪 test] the version is answered where there is no Maak file to read
    ✅ got: (0 #t #f)
  [🧪 test] the help screen is answered where there is no Maak file to read
    ✅ got: (0 #t #f)
  [🧪 test] a task of a named Maak file runs and reports its own output
    ✅ got: (0 #t #t)
  [🧪 test] a task file in YAML is listed like a Maak file
    ✅ got: (0 #t #t)
  [🧪 test] a task of a YAML task file is planned with the commands it declares
    ✅ got: (0 #t #t)
  [🧪 test] a failing task exits non-zero and leaves its message on standard error
    ✅ got: (1 #t #f)
  [🧪 test] a task the Maak file does not define is refused, and the run says which exist
    ✅ got: (1 #t)
  [🧪 test] -C enters the directory before the Maak file is looked for
    ✅ got: (0 #t)
  [🧪 test] --plan reaches the launcher with the task and its arguments
    ✅ got: (0 #t #t)
  [🧪 test] the explain subcommand is a word, not a task
    ✅ got: (0 #t)
  [🧪 test] this checkout's bundle task asks for a pack
    ✅ got: (0 #t)
  [🧪 test] a failure stops the tasks after it
    ✅ got: (1 #f)
  [🧪 test] --keep-going runs the rest and still exits non-zero
    ✅ got: (1 #t)
  [🧪 test] -j runs the tasks named and prints their output in that order
    ✅ got: (0 #t #t #t)
  [🧪 test] -j with a failing task exits non-zero and says which task failed
    ✅ got: (1 #t #t)
  [🧪 test] -j 1 runs the tasks one after another and still succeeds
    ✅ got: (0 #t #t)
  [🧪 test] a job count that is not a positive number is refused
    ✅ got: (1 #t)
  [🧪 test] -j starts a task only after the ones it needs have finished
    ✅ got: (0 #t)
  [🧪 test] maak and the editor helper describe the same file the same way
    ✅ got: {"version":1,"file":"/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/contrib/test/fixture/maak.scm","root":"/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/contrib/test/fixture","tasks":[{"name":"deploy","doc":"Ship the build to the server.\n\nTwo lines, so the preview indents both.\n\nArgs:\n  target: the host to ship to, as HOST[:PORT].\n  env: which environment's .env file to read, when there is one.\n  jobs: how many uploads at once; maak cannot pass a keyword.","line":18,"depends":["build"],"example":"maak deploy prod.example.com","arguments":[{"name":"target","kind":"required","default":"","hasDefault":false,"keyword":"","doc":"the host to ship to, as HOST[:PORT]."},{"name":"env","kind":"optional","default":"\"dev\"","hasDefault":true,"keyword":"","doc":"which environment's .env file to read, when there is one."},{"name":"jobs","kind":"key","default":"1","hasDefault":true,"keyword":"#:jobs","doc":"how many uploads at once; maak cannot pass a keyword."},{"name":"extra","kind":"rest","default":"","hasDefault":false,"keyword":"","doc":""}]},{"name":"report","doc":"Print the report for DAY.","line":33,"depends":[],"example":"","arguments":[{"name":"day","kind":"required","default":"","hasDefault":false,"keyword":"","doc":""}]},{"name":"echo","doc":"Echo every word.","line":38,"depends":[],"example":"","arguments":[{"name":"words","kind":"rest","default":"","hasDefault":false,"keyword":"","doc":""}]},{"name":"build","doc":"Compile everything.","line":55,"depends":[],"example":"","arguments":[]}]}

  [🧪 test] maak and the editor helper agree on this checkout's Maak file
    ✅ got: {"version":1,"file":"/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/maak.scm","root":"/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics","tasks":[{"name":"help","doc":"Display program help screen.","line":39,"depends":[],"example":"","arguments":[]},{"name":"default","doc":"Default task to run, call program's help.","line":43,"depends":[],"example":"","arguments":[]},{"name":"man","doc":"Preview the maak manual page without installing it.","line":47,"depends":[],"example":"","arguments":[]},{"name":"version","doc":"Print the maak version.","line":51,"depends":[],"example":"","arguments":[]},{"name":"sync-version","doc":"Write the version into every file that cannot read it from the module, then\ncommit and tag the release.\n\nThe version is written by hand once, in src/maak/version.scm, which is what\n`maak --version' prints and what default.nix reads while it evaluates the\nderivation.  The RPM spec, the Arch recipe, the Homebrew formula, the manual\npage and the installation page cannot read a Scheme module, so they carry\ncopies, and this task rewrites them from that file.\n\nA release is then the whole ritual in one command: the copies are made to agree,\neverything tracked that changed is committed as `chore: Release vX.Y.Z', and\nthat commit is tagged `vX.Y.Z' with an annotated tag.  The commit is `git\ncommit -am', so it takes\nevery tracked change in the tree rather than only the ones this task made;\ncommit anything unrelated first if it should not ride along.  A version whose\ntag already exists is refused rather than committed again or retagged, and a\ntree with nothing left to commit is tagged where it stands.\n\nDIRECTORY is the checkout to work in, the current directory by default.  The\nversion is read from the file there rather than from the running library, so\nthe task writes the checkout's version whether it is run by this checkout's\nmaak or by an older one already installed.\n\nEach copy is found by a regular expression over the file and only the version\ninside the match is replaced, so everything around it -- the spec's alignment,\nthe manual page's quoting, the installation page's wording -- is left exactly\nas it was.","line":94,"depends":[],"example":"","arguments":[{"name":"directory","kind":"optional","default":"\".\"","hasDefault":true,"keyword":"","doc":""}]},{"name":"completions","doc":"Regenerate the Bash, Zsh and fish completions from one description.\n\n`src/maak/completion.scm' holds the option table and renders it per shell, so\nthis task writes files instead of deciding anything: `--completion SHELL'\nprints the same text, and an installed maak answers with the completions of the\ncommand line it actually has.","line":273,"depends":[],"example":"","arguments":[]},{"name":"git-init","doc":"Initialise a git repository here, with any arguments git init takes.","line":299,"depends":[],"example":"","arguments":[{"name":"arguments","kind":"rest","default":"","hasDefault":false,"keyword":"","doc":""}]},{"name":"git-status","doc":"Show the current branch and a short status of the working tree.","line":303,"depends":[],"example":"","arguments":[]},{"name":"git-add","doc":"Stage PATHS, or every change in the tree when none is named.","line":307,"depends":[],"example":"","arguments":[{"name":"paths","kind":"rest","default":"","hasDefault":false,"keyword":"","doc":""}]},{"name":"git-commit","doc":"Commit every tracked change with MESSAGE.","line":311,"depends":[],"example":"","arguments":[{"name":"message","kind":"required","default":"","hasDefault":false,"keyword":"","doc":""}]},{"name":"git-tag","doc":"Tag the current commit as NAME, without an annotation.","line":315,"depends":[],"example":"","arguments":[{"name":"name","kind":"required","default":"","hasDefault":false,"keyword":"","doc":""}]},{"name":"git-branch","doc":"List the branches, or create the branches NAMES name.","line":319,"depends":[],"example":"","arguments":[{"name":"names","kind":"rest","default":"","hasDefault":false,"keyword":"","doc":""}]},{"name":"git-switch","doc":"Switch to BRANCH, which must already exist.","line":323,"depends":[],"example":"","arguments":[{"name":"branch","kind":"required","default":"","hasDefault":false,"keyword":"","doc":""}]},{"name":"git-pull","doc":"Pull from the upstream branch, with any arguments git pull takes.","line":327,"depends":[],"example":"","arguments":[{"name":"arguments","kind":"rest","default":"","hasDefault":false,"keyword":"","doc":""}]},{"name":"git-push","doc":"Push the current branch, with any arguments git push takes.\n\nA bare push does not send tags that are not annotated; `maak git-push --\n--tags' sends them too.","line":331,"depends":[],"example":"","arguments":[{"name":"arguments","kind":"rest","default":"","hasDefault":false,"keyword":"","doc":""}]},{"name":"git-log","doc":"Show the history as a decorated one-line graph, twenty commits by default.","line":338,"depends":[],"example":"","arguments":[{"name":"arguments","kind":"rest","default":"","hasDefault":false,"keyword":"","doc":""}]},{"name":"package-tar","doc":"Write the last commit as maak-VERSION.tar.gz, under a maak-VERSION/ prefix.","line":347,"depends":[],"example":"","arguments":[]},{"name":"package-zip","doc":"Write the last commit as maak-VERSION.zip, under a maak-VERSION/ prefix.","line":352,"depends":[],"example":"","arguments":[]},{"name":"arithmetics","doc":"Do some quick math.","line":357,"depends":[],"example":"","arguments":[]},{"name":"fmt","doc":"Format Scheme source code files according to the Guix style guide.","line":365,"depends":[],"example":"","arguments":[]},{"name":"vars","doc":"Display some system variables.","line":371,"depends":[],"example":"","arguments":[]},{"name":"quick-math","doc":"","line":378,"depends":[],"example":"","arguments":[{"name":"x-arg","kind":"required","default":"","hasDefault":false,"keyword":"","doc":""},{"name":"y-arg","kind":"required","default":"","hasDefault":false,"keyword":"","doc":""}]},{"name":"repl","doc":"Development REPL.","line":392,"depends":[],"example":"","arguments":[]},{"name":"docs","doc":"Generate technical API documentation for Maak, and render it as HTML.\n\nDokgen reads the modules rather than their text, so every exported procedure\nthat has a docstring is in the reference.  Beside the Texinfo it writes the\nstylesheet and the script the page is read with, and a directory of diagrams\nfor the docstrings that carry one; Texinfo copies neither, so both are put\nbeside the page that points at them.","line":398,"depends":[],"example":"","arguments":[]},{"name":"deploy","doc":"Generate documentation for the project and publish to web directory.","line":433,"depends":[],"example":"","arguments":[]},{"name":"diagrams","doc":"Render every mermaid source under resources/diagrams to the SVG beside it.","line":458,"depends":[],"example":"","arguments":[]},{"name":"package-docker","doc":"Build a Docker image for Maak.","line":474,"depends":[],"example":"","arguments":[]},{"name":"package-bundle","doc":"Pack this project's automation as a self-contained artefact.\n\nArgs:\n  pack-format: a guix pack format: tarball, squashfs or docker.","line":487,"depends":[],"example":"","arguments":[{"name":"pack-format","kind":"optional","default":"\"tarball\"","hasDefault":true,"keyword":"","doc":"a guix pack format: tarball, squashfs or docker."}]},{"name":"push-docker-latest","doc":"Push the latest locally generated Docker image to Dockerhub.","line":500,"depends":["package-docker"],"example":"maak push-docker-latest","arguments":[]},{"name":"push-docker-tag","doc":"Push the locally generated Docker image to Dockerhub.","line":515,"depends":["package-docker"],"example":"","arguments":[]},{"name":"deb-build","doc":"Build .deb package (unsigned)","line":531,"depends":[],"example":"","arguments":[]},{"name":"rpm-build","doc":"Build RPM package for openSUSE and Fedora/RHEL","line":561,"depends":[],"example":"","arguments":[]},{"name":"hot-reload","doc":"Hot-reloading developer's setup.\n\nThe listing is printed now and again whenever the tree changes.  Each run is a\nfresh `./scripts/maak --list', so an edit to this file is what the next listing\nshows, and the watch is maak's own: no watchexec to install, and the checkout's\nmaak is the one that runs.","line":598,"depends":[],"example":"","arguments":[]},{"name":"hr","doc":"Alias to hot-reloading.","line":616,"depends":[],"example":"","arguments":[]},{"name":"dev","doc":"Developer's setup.","line":620,"depends":[],"example":"","arguments":[]},{"name":"pure-dev","doc":"Pure isolated development shell.","line":624,"depends":[],"example":"","arguments":[]},{"name":"nix-dev","doc":"Enter the Nix development shell this project's flake declares.","line":632,"depends":[],"example":"","arguments":[]},{"name":"flake-check","doc":"Validate every output of this project's Nix flake.","line":636,"depends":[],"example":"","arguments":[]},{"name":"test","doc":"Run the project's unit test suite with Veritas.\n\nThe suite is started by ./scripts/maak-test rather than from here, and the\ndirection is the point: that script is bash and guile, it never loads this\ncheckout's library before the suite does, so a change that breaks (maak main)\nstill gets a test run and a report instead of a command line that will not\nstart.  It also chooses the environment -- the manifest under Guix, this\nproject's flake under Nix, or the guile already on PATH -- and says which one\nit chose.  MAAK_TEST_ENV=guix|nix|plain picks one outright.","line":668,"depends":[],"example":"","arguments":[]},{";;; compiling ./test/veritas/unit/integration.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/integration.scm.go
;;; compiling ./test/veritas/unit/net.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/net.scm.go
mkdir: created directory '/tmp/maak-test-net-both-14633'
removed '/tmp/maak-test-net-both-14633/curl'
removed '/tmp/maak-test-net-both-14633/wget'
removed directory '/tmp/maak-test-net-both-14633'
mkdir: created directory '/tmp/maak-test-net-wget-only-14633'
removed '/tmp/maak-test-net-wget-only-14633/wget'
removed directory '/tmp/maak-test-net-wget-only-14633'
mkdir: created directory '/tmp/maak-test-net-empty-path-14633'
removed directory '/tmp/maak-test-net-empty-path-14633'
mkdir: created directory '/tmp/maak-test-net-preferred-14633'
removed '/tmp/maak-test-net-preferred-14633/curl'
removed directory '/tmp/maak-test-net-preferred-14633'
mkdir: created directory '/tmp/maak-test-net-empty-preference-14633'
removed '/tmp/maak-test-net-empty-preference-14633/wget'
removed directory '/tmp/maak-test-net-empty-preference-14633'
mkdir: created directory '/tmp/maak-test-net-available-14633'
removed '/tmp/maak-test-net-available-14633/wget'
removed directory '/tmp/maak-test-net-available-14633'
mkdir: created directory '/tmp/maak-test-net-unavailable-14633'
removed directory '/tmp/maak-test-net-unavailable-14633'
name":"container","doc":"Run the same unit test suite inside a Guix container, with no network.","line":680,"depends":[],"example":"","arguments":[]},{"name":"test-playground","doc":"Play with temporary files and dry-run scopes.","line":688,"depends":[],"example":"","arguments":[]},{"name":"slurp","doc":"Return the whole of @var{path} as a string.","line":878,"depends":[],"example":"","arguments":[{"name":"path","kind":"required","default":"","hasDefault":false,"keyword":"","doc":""}]},{"name":"fetch-skill","doc":"Download one skill pinned at @var{commit}, into the reports tree.\n\n  Returns the skill's text.","line":889,"depends":[],"example":"","arguments":[{"name":"name","kind":"required","default":"","hasDefault":false,"keyword":"","doc":""},{"name":"repository","kind":"required","default":"","hasDefault":false,"keyword":"","doc":""},{"name":"commit","kind":"required","default":"","hasDefault":false,"keyword":"","doc":""},{"name":"path","kind":"required","default":"","hasDefault":false,"keyword":"","doc":""}]},{"name":"agents","doc":"Regenerate AGENTS.md from the pinned skills and the practices.","line":901,"depends":[],"example":"","arguments":[]}]}

  [🧪 test] the helper leaves a hidden task out of a listing it prints
    ✅ got: #f
  [🧪 test] several tasks named one word each after a `--' all run
    ✅ got: (0 #t #t)
  [🧪 test] a comma separated list names the same run
    ✅ got: (0 #t #t)
  [🧪 test] the words after a task name are its arguments
    ✅ got: (0 #t)
  [🧪 test] a `--' sets the arguments apart and reads exactly the same
    ✅ got: (0 #t)
  [🧪 test] an argument that looks like an option stays an argument
    ✅ got: (0 #t)
  [🧪 test] a second bare word is an argument, never a second task
    ✅ got: (0 #t #f)
  [🧪 test] -t names the tasks, so the other words are their arguments
    ✅ got: (0 #t)
  [🧪 test] --tasks names several tasks, the way the library reads them
    ✅ got: (0 #t #t)
  [🧪 test] a word that names a task, passed as an argument, is pointed out
    ✅ got: (1 #t #t)
  [🧪 test] a `--' ends the options, so a late one is read as a task
    ✅ got: (1 #t)
  [🧪 test] a directory with no Maak file is refused rather than run
    ✅ got: (1 #t)
+----------------------------------------------+
[📑 suite] sift's status through the launcher
  [🧪 test] a clean tree answers zero, and sift's output reaches the user
    ✅ got: (0 #t #t)
  [🧪 test] a tree with findings answers one, and the task still succeeds
    ✅ got: (0 #t)
  [🧪 test] a tree sift cannot read answers two
    ✅ got: (0 #t)
  [🧪 test] a finding is named as a finding, not as a broken file
    ✅ got: (0 #t)
  [🧪 test] a gate fails the task on a finding, and says what a finding is
    ✅ got: (1 #t #t)
ℹ️ info - ran 2 tasks in: 3 seconds, 86263 microseconds

running unit tests from file: net.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] Fetch command detection
  [🧪 test] curl is preferred when both are installed
    ✅ got: curl
  [🧪 test] wget is the fallback when curl is missing
    ✅ got: wget
  [🧪 test] curl is the fallback when nothing is installed
    ✅ got: curl
  [🧪 test] an explicit preference wins
    ✅ got: wget
  [🧪 test] an empty preference is ignored
    ✅ got: wget
  [🧪 test] the default fetch command is a non-empty string
    ✅ got: #t
  [🧪 test] fetch-available? looks for the chosen program
    ✅ got: #t
  [🧪 test] fetch-available? is false for a missing program
    ✅ got: #f
+----------------------------------------------+
[📑 suite] curl commands
  [🧪 test] the generic builder is just curl and its arguments
    ✅ got: (curl --version)
  [🧪 test] the generic runner prints its command
    ✅ got: curl --version
  [🧪 test] curl-output returns nothing in a dry run
    ✅ got: 
  [🧪 test] a get has task-safe defaults
    ✅ got: (curl --location --fail --silent --show-error --compressed https://example.org/file)
  [🧪 test] a get carries every option in a stable order
    ✅ got: (curl --location --fail --silent --show-error --compressed --output out.bin --output-dir dist --create-dirs --continue-at - --header X-A: 1 --header X-B: 2 --user me:secret --user-agent maak-test --max-time 30 --retry 3 --insecure --cookie cookies.txt --cookie-jar jar.txt --http1.1 https://example.org/file)
  [🧪 test] a head request is a HEAD without the body
    ✅ got: (curl --location --fail --silent --show-error --compressed --head https://example.org/file)
  [🧪 test] a status request discards the body and prints only the code
    ✅ got: (curl --location --silent --compressed --output /dev/null --write-out %{http_code} https://example.org/file)
  [🧪 test] a status in a dry run has no code to answer
    ✅ got: #f
  [🧪 test] a JSON post sends --json
    ✅ got: (curl --location --fail --silent --show-error --compressed --request POST --json {"ok":true} https://example.org/api)
  [🧪 test] a data post sends --data
    ✅ got: (curl --location --fail --silent --show-error --compressed --request POST --data a=1&b=2 https://example.org/api)
  [🧪 test] a file post sends --data-binary with an @ path
    ✅ got: (curl --location --fail --silent --show-error --compressed --request POST --data-binary @body.json https://example.org/api)
  [🧪 test] a form post sends each field
    ✅ got: (curl --location --fail --silent --show-error --compressed --request POST --form a=1 --form b=2 https://example.org/api)
  [🧪 test] a post can use another method, or imply it
    ✅ got: (curl --location --fail --silent --show-error --compressed --request PATCH --data x https://example.org/api)
    ✅ got: #f
  [🧪 test] a download without an output keeps the remote name
    ✅ got: (curl --location --fail --silent --show-error --compressed --create-dirs --remote-name https://example.org/file)
  [🧪 test] a download can name a file and resume it
    ✅ got: (curl --location --fail --silent --show-error --compressed --output file --output-dir dist --create-dirs --continue-at - https://example.org/file)
  [🧪 test] an upload is a PUT with --upload-file
    ✅ got: (curl --location --fail --silent --show-error --compressed --request PUT --upload-file artifact.bin https://example.org/artifact.bin)
  [🧪 test] text names the URL after the common options
    ✅ got: (curl --location --fail --silent --show-error --compressed https://example.org/file)
  [🧪 test] text returns nothing in a dry run
    ✅ got: 
  [🧪 test] an empty URL is refused
    ✅ success catching error: %exception: (#<&maak-error message: "curl-get expects a URL" hint: "Write (curl-get \"https://example.org/file\").">)
    ✅ success catching error: %exception: (#<&maak-error message: "curl-text expects a URL" hint: "Write (curl-get \"https://example.org/file\").">)
    ✅ success catching error: %exception: (#<&maak-error message: "curl-status expects a URL" hint: "Write (curl-get \"https://example.org/file\").">)
    ✅ success catching error: %exception: (#<&maak-error message: "curl-download expects a URL" hint: "Write (curl-get \"https://example.org/file\").">)
    ✅ success catching error: %exception: (#<&maak-error message: "curl-upload expects a URL" hint: "Write (curl-get \"https://example.org/file\").">)
  [🧪 test] a header list must be a list of strings
    ✅ success catching error: %exception: (#<&maak-error message: "curl expects #:headers to be a list of strings, got \"X: 1\"" hint: "Write the values as separate strings, for example (list \"a\" \"b\").">)
    ✅ success catching error: %exception: (#<&maak-error message: "curl expects #:headers to be a list of strings, got (1)" hint: "Write the values as separate strings, for example (list \"a\" \"b\").">)
  [🧪 test] a timeout must be a non-negative integer
    ✅ success catching error: %exception: (#<&maak-error message: "curl expects #:timeout to be a non-negative integer, got -1" hint: "Write a non-negative integer, such as 30 or 3.">)
    ✅ success catching error: %exception: (#<&maak-error message: "curl expects #:timeout to be a non-negative integer, got \"30\"" hint: "Write a non-negative integer, such as 30 or 3.">)
  [🧪 test] a post without a body is refused
    ✅ success catching error: %exception: (#<&maak-error message: "curl-post expects a body: data, json, data-file or form" hint: "Write (curl-post url #:json \"{\\\"ok\\\":true}\").">)
  [🧪 test] an upload without a file is refused
    ✅ success catching error: %exception: (#<&maak-error message: "curl-upload expects the file to upload" hint: "Write (curl-upload url \"artifact.tar.gz\").">)
  [🧪 test] a generic call refuses arguments that are not strings
    ✅ success catching error: %exception: (#<&maak-error message: "curl expects #:arguments to be a list of strings, got (\"--version\" 3)" hint: "Write the values as separate strings, for example (list \"a\" \"b\").">)
+----------------------------------------------+
[📑 suite] wget commands
  [🧪 test] the generic builder is just wget and its arguments
    ✅ got: (wget --version)
  [🧪 test] the generic runner prints its command
    ✅ got: wget --version
  [🧪 test] wget-output returns nothing in a dry run
    ✅ got: 
  [🧪 test] a bare download is wget and the URL
    ✅ got: (wget https://example.org/file)
  [🧪 test] a download carries every option in a stable order
    ✅ got: (wget --quiet --continue --output-document file --directory-prefix dist --timestamping --no-clobber --header X-A: 1 --user me --password secret --timeout 10 --tries 2 --user-agent maak-test --no-check-certificate https://example.org/file)
  [🧪 test] a mirror stays under the URL by default
    ✅ got: (wget --recursive --no-parent --no-host-directories https://example.org/docs)
  [🧪 test] a mirror can take the whole page and cut path components
    ✅ got: (wget --quiet --directory-prefix site --recursive --no-parent --page-requisites --convert-links --cut-dirs=2 --no-host-directories https://example.org/docs)
  [🧪 test] a text fetch writes the body to standard output
    ✅ got: (wget --quiet --output-document=- https://example.org/file)
  [🧪 test] text returns nothing in a dry run
    ✅ got: 
  [🧪 test] an empty URL is refused;;; compiling ./test/veritas/unit/frontend.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/frontend.scm.go
mkdir: created directory '/tmp/maak-frontend-lock-npm-14633'
removed '/tmp/maak-frontend-lock-npm-14633/package-lock.json'
removed directory '/tmp/maak-frontend-lock-npm-14633'
mkdir: created directory '/tmp/maak-frontend-lock-pnpm-14633'
removed '/tmp/maak-frontend-lock-pnpm-14633/pnpm-lock.yaml'
removed directory '/tmp/maak-frontend-lock-pnpm-14633'
mkdir: created directory '/tmp/maak-frontend-lock-yarn-14633'
removed '/tmp/maak-frontend-lock-yarn-14633/yarn.lock'
removed directory '/tmp/maak-frontend-lock-yarn-14633'
mkdir: created directory '/tmp/maak-frontend-lock-none-14633'
removed directory '/tmp/maak-frontend-lock-none-14633'
mkdir: created directory '/tmp/maak-frontend-yarn-1-14633'
removed directory '/tmp/maak-frontend-yarn-1-14633'
mkdir: created directory '/tmp/maak-frontend-yarn-berry-14633'
removed '/tmp/maak-frontend-yarn-berry-14633/.yarnrc.yml'
removed directory '/tmp/maak-frontend-yarn-berry-14633'
mkdir: created directory '/tmp/maak-frontend-package-json-14633'
removed '/tmp/maak-frontend-package-json-14633/package.json'
removed directory '/tmp/maak-frontend-package-json-14633'
mkdir: created directory '/tmp/maak-frontend-scripts-14633'
removed '/tmp/maak-frontend-scripts-14633/package.json'
removed directory '/tmp/maak-frontend-scripts-14633'
mkdir: created directory '/tmp/maak-frontend-dependencies-14633'
removed '/tmp/maak-frontend-dependencies-14633/package.json'
removed directory '/tmp/maak-frontend-dependencies-14633'
mkdir: created directory '/tmp/maak-frontend-missing-14633'
removed directory '/tmp/maak-frontend-missing-14633'
mkdir: created directory '/tmp/maak-frontend-not-an-object-14633'
removed '/tmp/maak-frontend-not-an-object-14633/package.json'
removed directory '/tmp/maak-frontend-not-an-object-14633'
mkdir: created directory '/tmp/maak-frontend-npm-query-14633'
removed '/tmp/maak-frontend-npm-query-14633/npm'
removed directory '/tmp/maak-frontend-npm-query-14633'
mkdir: created directory '/tmp/maak-frontend-npm-failure-14633'
removed '/tmp/maak-frontend-npm-failure-14633/npm'
removed directory '/tmp/maak-frontend-npm-failure-14633'

    ✅ success catching error: %exception: (#<&maak-error message: "wget-download expects a URL" hint: "Write (curl-get \"https://example.org/file\").">)
    ✅ success catching error: %exception: (#<&maak-error message: "wget-mirror expects a URL" hint: "Write (curl-get \"https://example.org/file\").">)
    ✅ success catching error: %exception: (#<&maak-error message: "wget-text expects a URL" hint: "Write (curl-get \"https://example.org/file\").">)
  [🧪 test] a header list must be a list of strings
    ✅ success catching error: %exception: (#<&maak-error message: "wget expects #:headers to be a list of strings, got (\"X: 1\" 2)" hint: "Write the values as separate strings, for example (list \"a\" \"b\").">)
  [🧪 test] a timeout and a try count must be non-negative integers
    ✅ success catching error: %exception: (#<&maak-error message: "wget expects #:timeout to be a non-negative integer, got -1" hint: "Write a non-negative integer, such as 30 or 3.">)
    ✅ success catching error: %exception: (#<&maak-error message: "wget expects #:tries to be a non-negative integer, got \"3\"" hint: "Write a non-negative integer, such as 30 or 3.">)
  [🧪 test] a generic call refuses arguments that are not strings
    ✅ success catching error: %exception: (#<&maak-error message: "wget expects #:arguments to be a list of strings, got (\"--version\" 3)" hint: "Write the values as separate strings, for example (list \"a\" \"b\").">)
+----------------------------------------------+
[📑 suite] Choosing a downloader
  [🧪 test] download uses curl by default
    ✅ got: curl --location --fail --silent --show-error --compressed --output file --create-dirs https://example.org/file
  [🧪 test] download can use wget
    ✅ got: wget --quiet --output-document file https://example.org/file
  [🧪 test] download reads the fetch-command parameter
    ✅ got: wget --quiet --output-document file https://example.org/file
  [🧪 test] download turns a user and password into curl's --user
    ✅ got: --user me:secret
  [🧪 test] download passes wget's user and password separately
    ✅ got: --user me --password secret
  [🧪 test] a password without a user is refused
    ✅ success catching error: %exception: (#<&maak-error message: "download expects a user when a password is given" hint: "Pass #:user too, or put the credentials in the URL.">)
  [🧪 test] an unknown downloader is refused
    ✅ success catching error: %exception: (#<&maak-error message: "download expects curl or wget, got \"fetch\"" hint: "Set MAAK_FETCH to curl or wget.">)
  [🧪 test] download refuses an empty URL
    ✅ success catching error: %exception: (#<&maak-error message: "download expects a URL" hint: "Write (curl-get \"https://example.org/file\").">)
ℹ️ info - ran 4 tasks in: 0 seconds, 142618 microseconds

running unit tests from file: frontend.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] Which package manager
  [🧪 test] a package-lock names npm
    ✅ got: npm
  [🧪 test] a pnpm lock names pnpm
    ✅ got: pnpm
  [🧪 test] a yarn lock names yarn
    ✅ got: yarn
  [🧪 test] a directory with no lock file names npm
    ✅ got: npm
  [🧪 test] a wrapper before the manager still names the manager
    ✅ got: pnpm
  [🧪 test] a manager maak does not know is refused
    ✅ got: #t
+----------------------------------------------+
[📑 suite] The frontend command line;;; compiling ./test/veritas/unit/explain.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/explain.scm.go
removed '/tmp/maak-explain-14633-1/a.env'
removed directory '/tmp/maak-explain-14633-1'
removed '/tmp/maak-explain-14633-2/a.env'
removed '/tmp/maak-explain-14633-2/b.env'
removed directory '/tmp/maak-explain-14633-2'
removed '/tmp/maak-explain-14633-3/a.env'
removed '/tmp/maak-explain-14633-3/b.env'
removed directory '/tmp/maak-explain-14633-3'
removed '/tmp/maak-explain-14633-4/a.env'
removed directory '/tmp/maak-explain-14633-4'
removed '/tmp/maak-explain-14633-5/a.env'
removed '/tmp/maak-explain-14633-5/b.env'
removed directory '/tmp/maak-explain-14633-5'

  [🧪 test] a script is run with the manager's own words
    ✅ got: (npm run build)
  [🧪 test] the directory is spelled the way each manager spells it
    ✅ got: ((npm --prefix web run build) (pnpm --dir web run build) (yarn --cwd web run build))
  [🧪 test] a wrapper before the manager keeps its words
    ✅ got: (corepack pnpm run build)
  [🧪 test] words that are not strings are refused
    ✅ success catching error: %exception: (#<&maak-error message: "frontend takes a string or a list of strings, got build" hint: "Write '(\"run\" \"build\") for the words.">)
+----------------------------------------------+
[📑 suite] The verbs the managers spell differently
  [🧪 test] npm installs a lock file with npm ci
    ✅ got: #t
  [🧪 test] pnpm installs a lock file frozen
    ✅ got: #t
  [🧪 test] yarn 1 installs a lock file frozen
    ✅ got: #t
  [🧪 test] yarn berry installs a lock file immutably
    ✅ got: #t
  [🧪 test] adding a dependency is each manager's verb
    ✅ got: (#t #t #t)
  [🧪 test] a development dependency carries the manager's flag
    ✅ got: (#t #t #t)
  [🧪 test] removing a dependency is each manager's verb
    ✅ got: (#t #t #t)
  [🧪 test] a binary in node_modules runs through exec
    ✅ got: (#t #t #t)
  [🧪 test] publishing is each manager's word
    ✅ got: (#t #t)
+----------------------------------------------+
[📑 suite] The package.json
  [🧪 test] the name and the version are read
    ✅ got: (example-web 0.4.1)
  [🧪 test] the scripts are the keys of the scripts table
    ✅ got: (build test)
  [🧪 test] a dependency keeps the range the file gives it
    ✅ got: ((react . ^18.0.0))
  [🧪 test] a missing file is refused by name
    ✅ got: #t
  [🧪 test] a file that is not an object is refused
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Asking the package manager
  [🧪 test] a query returns what the manager printed
    ✅ got: 1.2.3

  [🧪 test] a failing query is refused by the command it ran
    ✅ got: #t
+----------------------------------------------+
[📑 suite] What a frontend task runs
  [🧪 test] the build script runs through the manager
    ✅ got: #t
  [🧪 test] the test script runs through the manager
    ✅ got: #t
  [🧪 test] a check runs the lint, the test and the build in that order
    ✅ got: (#t #t #t #t)
ℹ️ info - ran 6 tasks in: 0 seconds, 165221 microseconds

running unit tests from file: explain.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] The call graph the file writes
  [🧪 test] a task that calls another is an edge
    ✅ got: (beta gamma)
  [🧪 test] a quoted name is not a call
    ✅ got: #f
  [🧪 test] a task that calls nothing has no edges
    ✅ got: ()
  [🧪 test] the graph keeps the file's task order
    ✅ got: (alpha beta gamma delta)
  [🧪 test] the project's own graph is read
    ✅ got: (docs)
  [🧪 test] a helper task's callers are in the graph
    ✅ got: (dev hr)
+----------------------------------------------+
[📑 suite] The environment a run would assemble;;; compiling ./test/veritas/unit/tasks.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/tasks.scm.go
;;; compiling ./test/maak/fixtures/tasks.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/maak/fixtures/tasks.scm.go
;;; compiling ./test/maak/fixtures/noexport.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/maak/fixtures/noexport.scm.go
;;; compiling ./test/veritas/unit/commands.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/commands.scm.go
mkdir: created directory '/tmp/maak-test-i18n-14633'
mkdir: created directory '/tmp/maak-test-i18n-14633/sources'

  [🧪 test] the process environment wins over a file
    ✅ got: ((CI 1 process environment ((/tmp/maak-explain-14633-1/a.env . 0))))
  [🧪 test] the first file that sets a name wins
    ✅ got: ((FOO bar /tmp/maak-explain-14633-2/a.env ((/tmp/maak-explain-14633-2/b.env . baz))))
  [🧪 test] a later file that agrees is not reported as a conflict
    ✅ got: ()
  [🧪 test] a variable no file mentions is not reported
    ✅ got: (FOO)
+----------------------------------------------+
[📑 suite] What explain prints
  [🧪 test] explain names the task and its file
    ✅ got: (0 #t #t)
  [🧪 test] explain prints what the task calls
    ✅ got: #t
  [🧪 test] explain prints what calls the task
    ✅ got: #t
  [🧪 test] explain prints the load path and the escalation
    ✅ got: #t
  [🧪 test] explain says which environment file won
    ✅ got: #t
  [🧪 test] explain refuses a run with no task
    ✅ got: #t
  [🧪 test] explain refuses two tasks
    ✅ got: #t
  [🧪 test] explain refuses a task's arguments
    ✅ got: #t
  [🧪 test] explain refuses an unknown task
    ✅ got: #t
ℹ️ info - ran 3 tasks in: 0 seconds, 54276 microseconds

running unit tests from file: tasks.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] Task resolution
  [🧪 test] exports restrict the visible tasks
    ✅ got: (alpha beta)
  [🧪 test] non-exported procedures are hidden
    ✅ got: #f
  [🧪 test] a module without exports is open season
    ✅ got: (one two)
  [🧪 test] available-task-names returns a list
    ✅ got: #t
  [🧪 test] available-task-names returns strings
    ✅ got: #t
  [🧪 test] available-task-names is sorted
    ✅ got: (alpha beta delta gamma)
+----------------------------------------------+
[📑 suite] Unknown task errors
  [🧪 test] an unknown task names itself
    ✅ got: Unknown task: nope
  [🧪 test] a missing default gets its own message
    ✅ got: Could not find a `default' task in this Maak file.
  [🧪 test] the error carries a hint
    ✅ got: #t
  [🧪 test] the hint says something
    ✅ got: #t
  [🧪 test] run-task raises for a task that does not exist
    ✅ success catching error: %exception: (#<&maak-error message: "Unknown task: definitely-missing-task" hint: "Available tasks: alpha, beta, delta, gamma">)
  [🧪 test] run-tasks raises for a task that does not exist
    ✅ success catching error: %exception: (#<&maak-error message: "Unknown task: definitely-missing-task" hint: "Available tasks: alpha, beta, delta, gamma">)
  [🧪 test] run-tasks of nothing is a no-op
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Docstring layout is exported
  [🧪 test] format-task-doc is available from (maak maak)
    ✅ got: #t
    ✅ got: (t: one line)
  [🧪 test] available-task-names is available from (maak maak)
    ✅ got: #t
ℹ️ info - ran 3 tasks in: 0 seconds, 57572 microseconds

running unit tests from file: commands.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] Guix command construction
  [🧪 test] guix-shell lists its packages
    ✅ got: guix shell guile coreutils -- echo hi
  [🧪 test] guix-shell can be pure and use a manifest
    ✅ got: guix shell --pure -m manifest.scm -- maak test
  [🧪 test] guix-container isolates with a container
    ✅ got: guix shell --container -m manifest.scm --network -S /home/joe -- echo hi
  [🧪 test] guix-pack builds a docker image
    ✅ got: guix pack --file=guix.scm --format=docker --image-tag=maak -S /bin=bin bash
+----------------------------------------------+
[📑 suite] Nix command construction
  [🧪 test] nix-shell runs the command it is given
    ✅ got: --run 'echo hi'
  [🧪 test] nix-shell passes packages
    ✅ got: --packages python3
  [🧪 test] nix-shell names itself
    ✅ got: nix-shell
  [🧪 test] nix-shell can be pure
    ✅ got: --pure
  [🧪 test] nix-shell can be file based
    ✅ got: --file shell.nix
  [🧪 test] nix-develop runs a flake's shell
    ✅ got: nix develop . --command make test
  [🧪 test] nix-build builds a file
    ✅ got: nix-build default.nix
  [🧪 test] nix-flake-build selects an attribute
    ✅ got: nix build .#packages.x86_64-linux.maak
  [🧪 test] nix-flake-check checks all systems
    ✅ got: nix flake check --all-systems .
  [🧪 test] nix-run runs an app of a flake
    ✅ got: nix run .#maak -- --version
+----------------------------------------------+
[📑 suite] i18n helpers
  [🧪 test] the catalogue paths follow the gettext layout
    ✅ got: po/nl_NL/LC_MESSAGES
    ✅ got: po/nl_NL/LC_MESSAGES/messages.po
    ✅ got: po/nl_NL/LC_MESSAGES/maak.mo
    ✅ got: po/maak.pot
  [🧪 test] the directory and its trailing slash are handled
    ✅ got: sys/i18n/locale/nl_NL/LC_MESSAGES
    ✅ got: sys/i18n/locale/translate.pot
  [🧪 test] source globs keep the directories that exist
    ✅ got: (src/*.scm)
  [🧪 test] source globs skip directories that do not exist
    ✅ got: #f
  [🧪 test] i18n-compile builds a msgfmt command
    ✅ got: msgfmt -v -o po/nl_NL/LC_MESSAGES/messages.mo
  [🧪 test] i18n-compile names the catalogue it compiles
    ✅ got: po/nl_NL/LC_MESSAGES/messages.po
  [🧪 test] i18n-merge builds a msgmerge command
    ✅ got: msgmerge -U
  [🧪 test] i18n-init builds a msginit command
    ✅ got: msginit -l nl_NL.UTF8
  [🧪 test] i18n-init asks for no translator
    ✅ got: --no-translator
  [🧪 test] a first extraction runs xgettext
    ✅ got: xgettext
  [🧪 test] a first extraction knows it is reading Scheme
    ✅ got: --language=Scheme
  [🧪 test] a first extraction collects the translated strings
    ✅ got: --keyword=G_
  [🧪 test] the first extraction does not join an existing template
    ✅ got: #f
  [🧪 test] i18n-language is a language
    ✅ got: #t
  [🧪 test] i18n-language strips the encoding
    ✅ got: #f
  [🧪 test] i18n-language strips the modifier
    ✅ got: #f
+----------------------------------------------+
[📑 suite] Command decorations
  [🧪 test] an environment is handed over through env
    ✅ got: env CI=1 make
    ✅ got: env A=1 B=2 make
    ✅ got: env ONLY=1 make
  [🧪 test] the decorations come in the order a shell would want
    ✅ got: sudo env CI=1 systemctl daemon-reload >/dev/null 2>&1
  [🧪 test] a backgrounded command is started, not waited for
    ✅ got: make -j &
  [🧪 test] an allowed failure still runs the command it was given
    ✅ got: make failing-target
  [🧪 test] an allowed failure is not turned into a `|| true' shell
    ✅ got: #f
  [🧪 test] the Guix shells forward the decorations
    ✅ got: env CI=1 guix shell -m manifest.scm -- maak test
    ✅ got: env A=1 guix time-machine --channels=channels.scm -- guix build hello
    ✅ got: env A=1 guix shell -f guix.scm -- x
    ✅ got: env A=1 guix time-machine --channels=channels.scm -- shell -m manifest.scm
    ✅ got: env A=1 guix time-machine --channels=channels.scm -- shell -f guix.scm
  [🧪 test] a container and a pack forward the decorations
    ✅ got: env CI=1 guix shell --container -m manifest.scm -- maak test >/dev/null 2>&1
    ✅ got: env A=1 guix pack --file=guix.scm
  [🧪 test] the Nix helpers forward the decorations
    ✅ got: env NIX=1 nix-shell --packages gcc --run 'make test'
    ✅ got: env A=1 nix develop . --command make
    ✅ got: env A=1 nix flake check .
  [🧪 test] the shells honour the join separator they are given
    ✅ got: a && b
+----------------------------------------------+
[📑 suite] Running decorated commands
  [🧪 test] a failing command stops a task
    ✅ success catching error: %exception: (#<&maak-error message: "command failed (exit code 1): false" hint: "Fix the command above, or run `maak --dry-run' to inspect it first.">)
    ✅ success catching error: %exception: (#<&maak-error message: "command failed (exit code 3): exit 3" hint: "Fix the command above, or run `maak --dry-run' to inspect it first.">)
  [🧪 test] a signalled command raises a maak error
    ✅ got: command was terminated by a signal
  [🧪 test] a failure that is allowed is reported, not raised
    ✅ got: #f
    ✅ got: #f
    ✅ got: #t
  [🧪 test] a backgrounded command reports a job with a pid
Executing: sleep 3

    ✅ got: #t
  [🧪 test] a backgrounded command is not waited for
Executing: sleep 3

    ✅ got: #t
  [🧪 test] a discarded command still runs
    ✅ got: #t
  [🧪 test] #:env reaches the command itself
    ✅ got: from-dollar
  [🧪 test] #:env reaches one command, not the whole task
    ✅ got: #f
ℹ️ info - ran 5 tasks in: 0 seconds, 76061 microseconds

running unit tests from file: json.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] The listing as JSON
  [🧪 test] the run succeeds and prints one object
    ✅ got: (0 #t)
  [🧪 test] the object ends where the JSON ends
    ✅ got: #t
  [🧪 test] no greeting is printed in front of it
    ✅ got: #f
  [🧪 test] the file it was read from is named
    ✅ got: #t
  [🧪 test] a task carries the docstring the loader has
    ✅ got: #t
  [🧪 test] a task carries the lambda list the file writes
    ✅ got: #t
  [🧪 test] a task carries the prose for an argument
    ✅ got: #t
  [🧪 test] a task carries what it needs first
    ✅ got: #t
  [🧪 test] a hidden task is left out
    ✅ got: #f
  [🧪 test] the tasks come in the file's order
    ✅ got: #t
  [🧪 test] a hidden task of another file is described when it is named
    ✅ got: #f
  [🧪 test] a task the file does not spell out still appears
    ✅ got: #t
+----------------------------------------------+
[📑 suite] A listing without --list
  [🧪 test] --json on its own is refused
    ✅ got: (1 #t)
  [🧪 test] the refusal says how to ask
    ✅ got: #t
ℹ️ info - ran 2 tasks in: 0 seconds, 20590 microseconds

running unit tests from file: listing.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] Reading a Maak file without evaluating it
  [🧪 test] the exported tasks are described in file order
    ✅ got: (deploy report echo tidy build)
  [🧪 test] an unexported procedure is not a task
    ✅ got: #f
  [🧪 test] a value definition is not a task
    ✅ got: #f
  [🧪 test] the last definition is the one described
    ✅ got: Compile everything.
  [🧪 test] a task is placed on the line its definition starts
    ✅ got: 55
  [🧪 test] a lambda's docstring is read
    ✅ got: Print the report for DAY.
  [🧪 test] a file that does not read to the end is refused
    ✅ success catching error: %exception: (#<&maak-error message: "/tmp/maak-listing-14633.scm does not read to the end, so its tasks are unknown" hint: "Fix the file, and the tasks before the mistake are read again.">)
+----------------------------------------------+
[📑 suite] The arguments of a task
  [🧪 test] every kind of argument is read, in order
    ✅ got: (required optional key rest)
  [🧪 test] an optional argument keeps its default
    ✅ got: "dev"
  [🧪 test] a keyword argument keeps its keyword
    ✅ got: #:jobs
  [🧪 test] the prose for an argument comes from the docstring
    ✅ got: the host to ship to, as HOST[:PORT].
  [🧪 test] an argument with no prose has none
    ✅ got: 
  [🧪 test] the section ends with the docstring
    ✅ got: ()
  [🧪 test] prose may wrap over several lines
    ✅ got: ((target . one line and another))
+----------------------------------------------+
[📑 suite] The metadata a task declares
  [🧪 test] a task declares what it needs first
    ✅ got: (build)
  [🧪 test] a task declares an example invocation
    ✅ got: maak deploy prod.example.com
  [🧪 test] a task without metadata declares none
    ✅ got: #f
  [🧪 test] a task can keep itself out of the listings
    ✅ got: #t
+----------------------------------------------+
[📑 suite] The description, printed
  [🧪 test] the JSON is one object naming the file
    ✅ got: #t
  [🧪 test] the JSON carries the root the file sits in
    ✅ got: #t
  [🧪 test] the JSON leaves a hidden task out
    ✅ got: #f
  [🧪 test] the JSON carries an argument's prose
    ✅ got: #t
  [🧪 test] the JSON carries what a task needs first
    ✅ got: #t
  [🧪 test] the names leave a hidden task out
    ✅ got: deploy
report
echo
build

  [🧪 test] the preview says what to type for an argument
    ✅ got: #t
  [🧪 test] the preview keeps what a task needs first
    ✅ got: #t;;; compiling ./test/veritas/unit/json.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/json.scm.go
;;; compiling ./test/veritas/unit/listing.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/listing.scm.go
;;; compiling ./test/veritas/unit/watch.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/watch.scm.go
removed '/tmp/maak-watch-14633-1/one.scm'
removed directory '/tmp/maak-watch-14633-1'
removed '/tmp/maak-watch-14633-2/one.scm'
removed directory '/tmp/maak-watch-14633-2'
removed '/tmp/maak-watch-14633-3/new.scm'
removed directory '/tmp/maak-watch-14633-3'
removed directory '/tmp/maak-watch-14633-4'
removed '/tmp/maak-watch-14633-5/one.scm'
removed directory '/tmp/maak-watch-14633-5'
fatal: not a git repository (or any of the parent directories): .git
removed '/tmp/maak-watch-14633-6/.git/config'
removed directory '/tmp/maak-watch-14633-6/.git'
removed '/tmp/maak-watch-14633-6/source.scm'
removed directory '/tmp/maak-watch-14633-6'
;;; compiling ./test/veritas/unit/cc.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/cc.scm.go
mkdir: created directory '/tmp/maak-cc-incremental-14633'
mkdir: created directory '/tmp/maak-cc-incremental-14633/build'
removed '/tmp/maak-cc-incremental-14633/build/a.o'
removed directory '/tmp/maak-cc-incremental-14633/build'
removed '/tmp/maak-cc-incremental-14633/a.c'
removed '/tmp/maak-cc-incremental-14633/b.c'
removed directory '/tmp/maak-cc-incremental-14633'
mkdir: created directory '/tmp/maak-cc-pkg-config-14633'
removed '/tmp/maak-cc-pkg-config-14633/pkg-config'
removed directory '/tmp/maak-cc-pkg-config-14633'
mkdir: created directory '/tmp/maak-cc-pkg-config-14633'
removed '/tmp/maak-cc-pkg-config-14633/pkg-config'
removed directory '/tmp/maak-cc-pkg-config-14633'
mkdir: created directory '/tmp/maak-cc-pkg-config-14633'
removed '/tmp/maak-cc-pkg-config-14633/pkg-config'
removed directory '/tmp/maak-cc-pkg-config-14633'
mkdir: created directory '/tmp/maak-cc-pkg-config-14633'
removed '/tmp/maak-cc-pkg-config-14633/pkg-config'
removed directory '/tmp/maak-cc-pkg-config-14633'
mkdir: created directory '/tmp/maak-cc-pkg-config-14633'
removed '/tmp/maak-cc-pkg-config-14633/pkg-config'
removed directory '/tmp/maak-cc-pkg-config-14633'
mkdir: created directory '/tmp/maak-cc-pkg-config-14633'
removed '/tmp/maak-cc-pkg-config-14633/pkg-config'
removed directory '/tmp/maak-cc-pkg-config-14633'
mkdir: created directory '/tmp/maak-cc-newer-14633'
removed '/tmp/maak-cc-newer-14633/a.o'
removed '/tmp/maak-cc-newer-14633/a.c'
removed directory '/tmp/maak-cc-newer-14633'
mkdir: created directory '/tmp/maak-cc-older-14633'
removed '/tmp/maak-cc-older-14633/a.o'
removed '/tmp/maak-cc-older-14633/a.c'
removed directory '/tmp/maak-cc-older-14633'
mkdir: created directory '/tmp/maak-cc-no-output-14633'
removed '/tmp/maak-cc-no-output-14633/a.c'
removed directory '/tmp/maak-cc-no-output-14633'
mkdir: created directory '/tmp/maak-cc-no-input-14633'
removed '/tmp/maak-cc-no-input-14633/a.o'
removed directory '/tmp/maak-cc-no-input-14633'
mkdir: created directory '/tmp/maak-cc-no-inputs-14633'
removed '/tmp/maak-cc-no-inputs-14633/a.o'
removed directory '/tmp/maak-cc-no-inputs-14633'
mkdir: created directory '/tmp/maak-cc-install-file-14633'
mkdir: created directory '/tmp/maak-cc-install-file-14633/sub'
mkdir: created directory '/tmp/maak-cc-install-file-14633/sub/bin'
removed '/tmp/maak-cc-install-file-14633/app'
removed '/tmp/maak-cc-install-file-14633/sub/bin/app'
removed directory '/tmp/maak-cc-install-file-14633/sub/bin'
removed directory '/tmp/maak-cc-install-file-14633/sub'
removed directory '/tmp/maak-cc-install-file-14633'
mkdir: created directory '/tmp/maak-cc-install-directory-14633'
removed directory '/tmp/maak-cc-install-directory-14633/share/app'
removed directory '/tmp/maak-cc-install-directory-14633/share'
removed directory '/tmp/maak-cc-install-directory-14633'

  [🧪 test] the words are one tab separated line per argument
    ✅ got: required     target          0       the host to ship to, as HOST[:PORT].
optional        env     "dev"   1       which environment's .env file to read, when there is one.
key     jobs    1       1       how many uploads at once; maak cannot pass a keyword.
rest    extra           0       

  [🧪 test] a Zed task list leaves a hidden task out
    ✅ got: #f
  [🧪 test] a Zed task list runs the maak it is given
    ✅ got: #t
ℹ️ info - ran 4 tasks in: 0 seconds, 24768 microseconds

running unit tests from file: watch.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] A tree as a snapshot
  [🧪 test] a snapshot names every file under the tree
    ✅ got: (one.scm)
  [🧪 test] a changed file changes the snapshot
    ✅ got: #t
  [🧪 test] a new file changes the snapshot
    ✅ got: #t
  [🧪 test] a removed file changes the snapshot
    ✅ got: #t
  [🧪 test] the same tree is the same snapshot
    ✅ got: #f
  [🧪 test] a watch skips a repository's internals
    ✅ got: (source.scm)
  [🧪 test] a watch of this checkout follows its Maak file
    ✅ got: #t
+----------------------------------------------+
[📑 suite] The watch interval
  [🧪 test] the interval has a default
    ✅ got: 1
  [🧪 test] the interval reads MAAK_WATCH_INTERVAL
    ✅ got: 2.5
  [🧪 test] a value that is not a number is refused
    ✅ got: raised
  [🧪 test] a value that is not positive is refused
    ✅ got: raised
ℹ️ info - ran 2 tasks in: 0 seconds, 53313 microseconds

running unit tests from file: cc.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] Object names
  [🧪 test] an object keeps the source's directory
    ✅ got: src/a.o
  [🧪 test] an object can be placed in a build directory
    ✅ got: build/a.o
  [🧪 test] a source without an extension still names an object
    ✅ got: a.o
+----------------------------------------------+
[📑 suite] Compiling
  [🧪 test] a plain compile names the compiler, the object and the source
    ✅ got: (cc -c -o src/a.o src/a.c)
  [🧪 test] includes, defines and flags reach the command
    ✅ got: (cc -c -std=c11 -fPIC -MMD -MP -Iinclude -Isrc -DNDEBUG -O2 -Wall -o build/a.o src/a.c)
  [🧪 test] a C++ source uses the C++ compiler
    ✅ got: (c++ -c -o a.o a.cc)
  [🧪 test] the compiler can be pinned for one command
    ✅ got: (clang -c -o a.o a.c)
  [🧪 test] a compiler value may carry a wrapper and its flags
    ✅ got: (ccache gcc -c -o a.o a.c)
  [🧪 test] a language that is not C or C++ is refused
    ✅ success catching error: %exception: (#<&maak-error message: "language must be c or c++, got rust" hint: "Write #:language 'c++ (or \"c++\") for a C++ source.">)
  [🧪 test] a source that is not a path is refused
    ✅ success catching error: %exception: (#<&maak-error message: "compile expects a source path, got 42" hint: "Write (compile \"src/a.c\").">)
+----------------------------------------------+
[📑 suite] Compiling several objects
  [🧪 test] a dry run prints every compile
    ✅ got: (#t #t)
  [🧪 test] an incremental compile skips an object newer than its source
    ✅ got: (#f #t)
+----------------------------------------------+
[📑 suite] Linking
  [🧪 test] a plain link names the output before its objects
    ✅ got: (cc -o app a.o)
  [🧪 test] library paths, flags and libraries are ordered for the linker
    ✅ got: (cc -Lbuild -pthread -o app a.o b.o -lm -lpthread)
  [🧪 test] a shared library names its soname
    ✅ got: (cc -shared -Wl,-soname,libfoo.so.1 -o libfoo.so.1 a.o)
  [🧪 test] a static link asks the linker for static libraries
    ✅ got: (cc -static -o app a.o)
  [🧪 test] link flags follow the objects and the libraries
    ✅ got: (cc -o app a.o -lm -L/x -lfoo)
  [🧪 test] a link with no object is refused
    ✅ success catching error: %exception: (#<&maak-error message: "link needs at least one object" hint: "Compile the sources first, then pass their object files.">)
+----------------------------------------------+
[📑 suite] Static libraries
  [🧪 test] ar writes the archive and its index
    ✅ got: (ar rcs liba.a a.o b.o)
  [🧪 test] the archiver can be pinned
    ✅ got: (llvm-ar rcs liba.a a.o)
  [🧪 test] an archive with no object is refused
    ✅ success catching error: %exception: (#<&maak-error message: "static-library needs at least one object" hint: "Compile the sources first, then pass their object files.">)
+----------------------------------------------+
[📑 suite] pkg-config
  [🧪 test] cflags are asked for in the shape pkg-config expects
    ✅ got: (pkg-config --cflags gtk+-3.0)
  [🧪 test] static libs ask for the static answer
    ✅ got: (pkg-config --static --libs zlib)
  [🧪 test] a mode that means nothing is refused
    ✅ success catching error: %exception: (#<&maak-error message: "pkg-config mode must be cflags, libs, modversion or exists, got fancy" hint: "Write #:mode 'libs, for example.">)
  [🧪 test] the quoted output of pkg-config is split like a shell
    ✅ got: (-I/a b -DFOO=1)
  [🧪 test] the linker flags are returned as a list
    ✅ got: (-L/x -lfoo)
  [🧪 test] the static linker flags include the transitive libraries
    ✅ got: (-L/x -lfoo -lbar)
  [🧪 test] a package pkg-config knows is present
    ✅ got: #t
  [🧪 test] a package pkg-config does not know is absent
    ✅ got: #f
  [🧪 test] the version is read from pkg-config
    ✅ got: 1.2.3
+----------------------------------------------+
[📑 suite] The explicit up-to-date check
  [🧪 test] an output newer than its input is up to date
    ✅ got: #t
  [🧪 test] an output older than its input is not up to date
    ✅ got: #f
  [🧪 test] a missing output is not up to date
    ✅ got: #f
  [🧪 test] a missing input is not up to date
    ✅ got: #f
  [🧪 test] an output with no inputs is up to date
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Flags from the environment
  [🧪 test] a variable's words become flags
    ✅ got: (-O2 -g -Wall)
  [🧪 test] a quoted value in a variable stays one flag
    ✅ got: (-DNAME=a b -O2)
  [🧪 test] an unset variable uses the default
    ✅ got: (-O2)
+----------------------------------------------+
[📑 suite] Installing
  [🧪 test] install-file copies a program and creates its directory
    ✅ got: (#t 493);;; compiling ./test/veritas/unit/bundle.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/bundle.scm.go
;;; compiling ./test/veritas/unit/declarative.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/declarative.scm.go
mkdir: created directory '/tmp/maak-declarative-mapping-14633'
removed '/tmp/maak-declarative-mapping-14633/maak.yaml'
removed directory '/tmp/maak-declarative-mapping-14633'
mkdir: created directory '/tmp/maak-declarative-list-14633'
removed '/tmp/maak-declarative-list-14633/maak.yaml'
removed directory '/tmp/maak-declarative-list-14633'
mkdir: created directory '/tmp/maak-declarative-toml-14633'
removed '/tmp/maak-declarative-toml-14633/maak.toml'
removed directory '/tmp/maak-declarative-toml-14633'
mkdir: created directory '/tmp/maak-declarative-json-14633'
removed '/tmp/maak-declarative-json-14633/maak.json'
removed directory '/tmp/maak-declarative-json-14633'
mkdir: created directory '/tmp/maak-declarative-unknown-14633'
removed '/tmp/maak-declarative-unknown-14633/maak.yaml'
removed directory '/tmp/maak-declarative-unknown-14633'
mkdir: created directory '/tmp/maak-declarative-no-command-14633'
removed '/tmp/maak-declarative-no-command-14633/maak.yaml'
removed directory '/tmp/maak-declarative-no-command-14633'
mkdir: created directory '/tmp/maak-declarative-bad-name-14633'
removed '/tmp/maak-declarative-bad-name-14633/maak.yaml'
removed directory '/tmp/maak-declarative-bad-name-14633'
mkdir: created directory '/tmp/maak-declarative-duplicate-14633'
removed '/tmp/maak-declarative-duplicate-14633/maak.yaml'
removed directory '/tmp/maak-declarative-duplicate-14633'
mkdir: created directory '/tmp/maak-declarative-load-14633'
removed '/tmp/maak-declarative-load-14633/maak.yaml'
removed directory '/tmp/maak-declarative-load-14633'
mkdir: created directory '/tmp/maak-declarative-dry-run-14633'
removed '/tmp/maak-declarative-dry-run-14633/maak.yaml'
removed directory '/tmp/maak-declarative-dry-run-14633'
mkdir: created directory '/tmp/maak-declarative-descriptions-14633'
removed '/tmp/maak-declarative-descriptions-14633/maak.yaml'
removed directory '/tmp/maak-declarative-descriptions-14633'
mkdir: created directory '/tmp/maak-declarative-graph-14633'
removed '/tmp/maak-declarative-graph-14633/maak.yaml'
removed directory '/tmp/maak-declarative-graph-14633'

  [🧪 test] install-directory creates a directory with its mode
    ✅ got: (#t 488)
ℹ️ info - ran 9 tasks in: 0 seconds, 231222 microseconds

running unit tests from file: bundle.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] The package a bundle is built from
  [🧪 test] the package is named after the bundle
    ✅ got: #t
  [🧪 test] the package installs the Maak file it was given
    ✅ got: #t
  [🧪 test] the package installs a launcher
    ✅ got: #t
  [🧪 test] the launcher finds the maak and the Maak file
    ✅ got: #t
  [🧪 test] the launcher puts its own directory on PATH
    ✅ got: #t
  [🧪 test] the package propagates maak, Guile and the other packages
    ✅ got: #t
  [🧪 test] the packages are the ones the caller named
    ✅ got: #t
  [🧪 test] a third-party maak package expression is inserted as written
    ✅ got: #t
+----------------------------------------------+
[📑 suite] What a bundle refuses
  [🧪 test] a name with a slash is refused
    ✅ success catching error: %exception: (#<&maak-error message: "the bundle name must be one path component of letters, digits, '-', '.' or '_', got \"a/b\"" hint: "Name the bundle \"maak\" or \"project-automation\", not a path.">)
  [🧪 test] an empty name is refused
    ✅ success catching error: %exception: (#<&maak-error message: "the bundle name must be one path component of letters, digits, '-', '.' or '_', got \"\"" hint: "Name the bundle \"maak\" or \"project-automation\", not a path.">)
  [🧪 test] a missing Maak file is refused
    ✅ success catching error: %exception: (#<&maak-error message: "no Maak file at no-such.scm to bundle" hint: "Name the file with #:maak-file, from the directory the bundle is built in.">)
  [🧪 test] a package list that is not a list is refused
    ✅ success catching error: %exception: (#<&maak-error message: "#:packages takes a list of Guix package names, got \"bash\"" hint: "Write #:packages '(\"bash\" \"coreutils\").">)
  [🧪 test] a package entry that is not a name is refused
    ✅ success catching error: %exception: (#<&maak-error message: "#:packages entries must be package name strings, got 42" hint: "Write #:packages '(\"bash\" \"coreutils\").">)
  [🧪 test] loading a bundle that is not docker is refused
    ✅ success catching error: %exception: (#<&maak-error message: "#:load? needs a docker bundle, not \"tarball\"" hint: "Build with #:format \"docker\" to load it into the container engine.">)
+----------------------------------------------+
[📑 suite] The pack a bundle asks for
  [🧪 test] a tarball bundle asks for a relocatable pack with bin on PATH
    ✅ got: #t
  [🧪 test] a bundle returns the file it would write
    ✅ got: #t
  [🧪 test] a docker bundle is written as an image tarball
    ✅ got: #t
ℹ️ info - ran 3 tasks in: 0 seconds, 6084 microseconds

running unit tests from file: declarative.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] The schema
  [🧪 test] a YAML mapping describes tasks in file order
    ✅ got: ((build Build the crate. () #f) (test  (build) #f))
  [🧪 test] a list of tasks is read too
    ✅ got: (build test)
  [🧪 test] TOML describes the same tasks
    ✅ got: ((build Build. ()) (test  (build)))
  [🧪 test] JSON describes the same tasks
    ✅ got: (build);;; compiling ./test/veritas/unit/python.scm
;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/maak/feat/zig-build-ergonomics/test/veritas/unit/python.scm.go
mkdir: created directory '/tmp/maak-python-name-14633'
removed '/tmp/maak-python-name-14633/pyproject.toml'
removed directory '/tmp/maak-python-name-14633'
mkdir: created directory '/tmp/maak-python-version-14633'
removed '/tmp/maak-python-version-14633/pyproject.toml'
removed directory '/tmp/maak-python-version-14633'
mkdir: created directory '/tmp/maak-python-requires-14633'
removed '/tmp/maak-python-requires-14633/pyproject.toml'
removed directory '/tmp/maak-python-requires-14633'
mkdir: created directory '/tmp/maak-python-scripts-14633'
removed '/tmp/maak-python-scripts-14633/pyproject.toml'
removed directory '/tmp/maak-python-scripts-14633'
mkdir: created directory '/tmp/maak-python-backend-14633'
removed '/tmp/maak-python-backend-14633/pyproject.toml'
removed directory '/tmp/maak-python-backend-14633'
mkdir: created directory '/tmp/maak-python-whole-14633'
removed '/tmp/maak-python-whole-14633/pyproject.toml'
removed directory '/tmp/maak-python-whole-14633'
mkdir: created directory '/tmp/maak-python-dynamic-14633'
removed '/tmp/maak-python-dynamic-14633/pyproject.toml'
removed directory '/tmp/maak-python-dynamic-14633'
mkdir: created directory '/tmp/maak-python-noproject-14633'
removed '/tmp/maak-python-noproject-14633/pyproject.toml'
removed directory '/tmp/maak-python-noproject-14633'
mkdir: created directory '/tmp/maak-python-missing-14633'
removed directory '/tmp/maak-python-missing-14633'
mkdir: created directory '/tmp/maak-python-uv-version-14633'
removed '/tmp/maak-python-uv-version-14633/uv'
removed directory '/tmp/maak-python-uv-version-14633'
mkdir: created directory '/tmp/maak-python-uv-failure-14633'
removed '/tmp/maak-python-uv-failure-14633/uv'
removed directory '/tmp/maak-python-uv-failure-14633'
mkdir: created directory '/tmp/maak-python-python-version-14633'
removed '/tmp/maak-python-python-version-14633/python3'
removed directory '/tmp/maak-python-python-version-14633'

  [🧪 test] an unknown task key is refused
    ✅ got: #t
  [🧪 test] a task with no command is refused
    ✅ got: #t
  [🧪 test] a name that is not a task name is refused
    ✅ got: #t
  [🧪 test] a duplicate name in a list is refused
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Running what the file describes
  [🧪 test] loading a file defines its tasks with their metadata
    ✅ got: (Build it. (build) 1 0)
  [🧪 test] a dry run prints the commands the file describes
    ✅ got: (#t)
  [🧪 test] the descriptions and the call graph name the file's tasks
    ✅ got: ((build ()) (test (build)))
  [🧪 test] the call graph points from a task to what it depends on
    ✅ got: ((build) (test build))
ℹ️ info - ran 2 tasks in: 0 seconds, 187214 microseconds

running unit tests from file: python.scm, entrypoint: spec


+----------------------------------------------+
[📑 suite] The uv command line
  [🧪 test] a plain subcommand is the program and its name
    ✅ got: (uv sync)
  [🧪 test] global options come before the subcommand
    ✅ got: (uv --project app --cache-dir /tmp/cache --offline -v -v --color never sync)
  [🧪 test] the command's own options follow the subcommand
    ✅ got: (uv run --frozen --no-sync --env-file .env --python 3.12 pytest -q)
  [🧪 test] a program value may carry a wrapper
    ✅ got: (uv --preview sync)
  [🧪 test] a subcommand that is not a name is refused
    ✅ success catching error: %exception: (#<&maak-error message: "uv needs a subcommand, got #f" hint: "Write (uv-sync), or (uv \"sync\" #:arguments '(\"--extra\" \"dev\")).">)
  [🧪 test] a colour uv does not know is refused
    ✅ success catching error: %exception: (#<&maak-error message: "uv's #:color takes auto, always or never, got \"rainbow\"" hint: "Write #:color \"never\" to keep a log readable.">)
  [🧪 test] a verbosity that is not a count is refused
    ✅ success catching error: %exception: (#<&maak-error message: "uv's #:verbose takes #t or a positive number, got 0" hint: "Write #:verbose #t for one -v, or #:verbose 2 for two.">)
+----------------------------------------------+
[📑 suite] Running uv
  [🧪 test] a wrapper passes its arguments after the subcommand
    ✅ got: #t
  [🧪 test] uvx runs a tool without installing it
    ✅ got: (uvx ruff check)
+----------------------------------------------+
[📑 suite] The pyproject file
  [🧪 test] the project's name is read from the [project] table
    ✅ got: example-app
  [🧪 test] the project's version is read from the [project] table
    ✅ got: 1.2.3
  [🧪 test] the interpreter the project asks for is read whole
    ✅ got: >=3.11
  [🧪 test] the console scripts are the keys of [project.scripts]
    ✅ got: (example)
  [🧪 test] the build backend is read from the [build-system] table
    ✅ got: hatchling.build
  [🧪 test] the whole file is readable beside the project table
    ✅ got: ((uv (index ((name . internal) (url . https://example.invalid/simple)))))
  [🧪 test] a version the backend computes is refused by name
    ✅ got: #t
  [🧪 test] a file with no [project] table is refused
    ✅ got: #t
  [🧪 test] a missing file is refused by name
    ✅ got: #t
+----------------------------------------------+
[📑 suite] The Python interpreter
  [🧪 test] a module is run with -m
    ✅ got: (python3 -m pytest -q)
  [🧪 test] an isolated run says so before the arguments
    ✅ got: (python3 -I -c print(1))
  [🧪 test] a program value may carry a wrapper
    ✅ got: (uv run python -V)
  [🧪 test] a module is started with the words it is given
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Asking uv and the interpreter
  [🧪 test] the version is the line the program prints
    ✅ got: uv 0.7.3
  [🧪 test] a failing query is refused by the command it ran
    ✅ got: #t
  [🧪 test] the interpreter's version is the line it prints
    ✅ got: Python 3.13.0
+----------------------------------------------+
[📑 suite] What a Python task runs
  [🧪 test] the tests run through uv
    ✅ got: #t
  [🧪 test] the linter checks the project by default
    ✅ got: #t
  [🧪 test] the paths a task names replace the default
    ✅ got: #t
  [🧪 test] the type check runs over the project
    ✅ got: #t
  [🧪 test] a check runs the linter, the type check and the tests
    ✅ got: (#t #t #t #t)
ℹ️ info - ran 6 tasks in: 0 seconds, 159354 microseconds

finished running tests