sift-9b195090-9b58

job failed

starting new job...


→ running command: dir='/etc/byggsteg/job-clone//sift/trunk'
branch='trunk'
if ! command -v git >/dev/null 2>&1; then
  echo 'byggsteg: git is not on this deployment PATH, so the clone cannot be updated' >&2
  exit 1
fi
if ! cd "$dir"; then
  echo "byggsteg: cannot enter the clone $dir" >&2
  exit 1
fi
root=$(git rev-parse --show-toplevel 2>/dev/null)
if [ "$root" != "$(pwd -P)" ]; then
  echo "byggsteg: $dir is not a git checkout; remove it and the next run clones it again" >&2
  exit 1
fi
if ! origin=$(git remote get-url origin 2>/dev/null); then
  echo "byggsteg: $dir has no origin remote to fetch $branch from" >&2
  exit 1
fi
before=$(git rev-parse --short HEAD 2>/dev/null) || before=none
attempt=1
while :; do
  if GIT_TERMINAL_PROMPT=0 git fetch --quiet origin "+refs/heads/$branch:refs/remotes/origin/$branch"; then
    break
  fi
  if [ "$attempt" -ge 3 ]; then
    echo "byggsteg: could not fetch $branch from $origin after 3 attempts; is the branch still there, and is the remote reachable?" >&2
    exit 1
  fi
  echo "byggsteg: fetching $branch from $origin failed; retrying in $((attempt * 2))s" >&2
  sleep $((attempt * 2))
  attempt=$((attempt + 1))
done
if ! git checkout --quiet --force -B "$branch" FETCH_HEAD; then
  echo "byggsteg: fetched $branch from $origin but could not check it out" >&2
  exit 1
fi
after=$(git rev-parse --short HEAD)
if [ "$before" = "$after" ]; then
  echo "byggsteg: $branch was already at $after"
else
  echo "byggsteg: $branch moved from $before to $after"
fi


byggsteg: trunk was already at 432f332
✓ command finished in 0.40s


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

Linux wolk-jjba 7.2.11-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
✓ command finished in 0.01s


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

commit 432f332b053b56ac6c1ee8888992fca23694e3ef
Author: Josep Bigorra <jjbigorra@gmail.com>
Date:   Thu Nov 12 15:00:19 2026 +0100

    chore(release): v1.27.1

M       .github/workflows/sift.yml
M       .pre-commit-hooks.yaml
M       README.org
M       action.yml
M       doc/editors.org
M       doc/rules.org
M       editors/vscode/package.json
M       emacs/sift.el
M       src/sift/records.scm
✓ command finished in 0.01s


→ running command: cd /etc/byggsteg/job-clone/sift/trunk && maak web-deploy



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

Maak 0.14.0: the infinitely extensible command runner

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

Executing Maak tasks: web-deploy


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

=> Running Maak task: web-deploy

  Build the browser build and publish it to the web directory.

Deployment is a copy, the way the rest of jointhefreeworld.org is deployed: the
directory is emptied and the fresh build is put in its place, so a file this
build does not have does not linger on the server beside the one that replaced
it.  It runs where that directory is -- on the machine that serves, or in the CI
job that runs there -- and that is all it needs: no ssh, no rsync, and no server
to reload, because a file that is there is a file that is served.

The build is removed afterwards the way `maak deploy' removes the documentation
it published: what the tree keeps is the source, and a build directory left
behind is a build directory the next deploy might copy.

  Execute command:
sh web/build.sh
sift: the Hoot on PATH cannot compile; asking Guix for guile-next guile-hoot
sift: (this is the first build on a machine; it takes a while and only once)
sift: using guile (GNU Guile) 3.0.11-1.b0f6549 from PATH
sift: compiling web/main.scm -> /etc/byggsteg/job-clone/sift/trunk/web/dist/sift.wasm
WARNING: (% %library-group117 sift records): `format' imported from both (% %library-group117 ice-9 format) and (% %library-group117 guile)
WARNING: (% %library-group117 sift json): `format' imported from both (% %library-group117 ice-9 format) and (% %library-group117 guile)
WARNING: (% %library-group117 sift reader): `format' imported from both (% %library-group117 ice-9 format) and (% %library-group117 guile)
WARNING: (% %library-group117 sift checkers whitespace): `format' imported from both (% %library-group117 ice-9 format) and (% %library-group117 guile)
WARNING: (% %library-group117 sift checkers parens): `format' imported from both (% %library-group117 ice-9 format) and (% %library-group117 guile)
WARNING: (% %library-group117 sift checkers bodies): `format' imported from both (% %library-group117 ice-9 format) and (% %library-group117 guile)
WARNING: (% %library-group117 sift checkers scheme): `format' imported from both (% %library-group117 ice-9 format) and (% %library-group117 guile)
WARNING: (% %library-group117 sift checkers elisp): `format' imported from both (% %library-group117 ice-9 format) and (% %library-group117 guile)
WARNING: (% %library-group117 sift checkers cl): `format' imported from both (% %library-group117 ice-9 format) and (% %library-group117 guile)
WARNING: (% %library-group117 sift checkers ergonomics): `format' imported from both (% %library-group117 ice-9 format) and (% %library-group117 guile)
WARNING: (% %library-group117 sift checkers naming): `format' imported from both (% %library-group117 ice-9 format) and (% %library-group117 guile)
WARNING: (% %library-group117 sift checkers simplify): `format' imported from both (% %library-group117 ice-9 format) and (% %library-group117 guile)
WARNING: (% %library-group117 sift checkers practices): `format' imported from both (% %library-group117 ice-9 format) and (% %library-group117 guile)
WARNING: (% %library-group117 sift checkers guix): `format' imported from both (% %library-group117 ice-9 format) and (% %library-group117 guile)
WARNING: (% %library-group117 sift checkers inference): `format' imported from both (% %library-group117 ice-9 format) and (% %library-group117 guile)
WARNING: (% %library-group117 sift lint): `format' imported from both (% %library-group117 ice-9 format) and (% %library-group117 guile)
WARNING: (% %library-group117 sift analysis): `format' imported from both (% %library-group117 ice-9 format) and (% %library-group117 guile)
Backtrace:
In hoot/library-group.scm:
   603:17 19 (foldts #<tree-il (seq (define index-names-of (lambda ((name . index-names-of) (documentation . "Return the names the indexed files define in @var{dialect}, without repeats.")) (lambda-case (((index dialect) #f #f #f () (index-172f8e288536f34d-e0c dialect-172f8e288536f34d-e0d)) (let (names) (names-172f8e288536f34d-e11) ((const ())) (seq (call (toplevel hash-for-each) (lambda () (lambda-case (((name entries) #f #f #f () (name-172f8e288536f34d-e12 entries-172f8e288536f34d-e13)) (i…>)
   603:17 18 (foldts #<tree-il (seq (define index-texts (lambda ((name . index-texts) (documentation . "Return @code{(uri text)} for the indexed files read in @var{dialect}.")) (lambda-case (((index dialect except-uri) #f #f #f () (index-172f8e288536f34d-e19 dialect-172f8e288536f34d-e1a except-uri-172f8e288536f34d-e1b)) (let (texts) (texts-172f8e288536f34d-e20) ((const ())) (seq (call (toplevel hash-for-each) (lambda () (lambda-case (((path entry) #f #f #f () (path-172f8e288536f34d-e21 entry…>)
   603:17 17 (foldts #<tree-il (seq (define current-stdlib (call (toplevel make-parameter) (lambda ((documentation . "Return the places @var{dialect}'s standard library defines @var{name}.")) (lambda-case (((dialect name) #f #f #f () (dialect-172f8e288536f34d-e2b name-172f8e288536f34d-e2c)) (const ())))))) (seq (define current-stdlib-names (call (toplevel make-parameter) (lambda ((documentation . "Return the names @var{dialect}'s standard library offers, matching PREFIX.")) (lambda-case (((d…>)
   603:17 16 (foldts #<tree-il (seq (define current-stdlib-names (call (toplevel make-parameter) (lambda ((documentation . "Return the names @var{dialect}'s standard library offers, matching PREFIX.")) (lambda-case (((dialect prefix) #f #f #f () (dialect-172f8e288536f34d-e2f prefix-172f8e288536f34d-e30)) (const ())))))) (seq (define path->uri (lambda ((name . path->uri) (documentation . "Return the @code{file:} URI that names @var{path}.")) (lambda-case (((path) #f #f #f () (path-172f8e28853…>)
   603:17 15 (foldts #<tree-il (seq (define path->uri (lambda ((name . path->uri) (documentation . "Return the @code{file:} URI that names @var{path}.")) (lambda-case (((path) #f #f #f () (path-172f8e288536f34d-e33)) (call (toplevel format) (const #f) (const "file://~a") (call (toplevel percent-encode) (lexical path path-172f8e288536f34d-e33))))))) (seq (define percent-encode (lambda ((name . percent-encode) (documentation . "Return @var{text} with everything outside the URI path alphabet es…>)
   603:17 14 (foldts #<tree-il (seq (define percent-encode (lambda ((name . percent-encode) (documentation . "Return @var{text} with everything outside the URI path alphabet escaped.")) (lambda-case (((text) #f #f #f () (text-172f8e288536f34d-e35)) (call (toplevel call-with-output-string) (lambda () (lambda-case (((out) #f #f #f () (out-172f8e288536f34d-e37)) (call (toplevel string-for-each) (lambda () (lambda-case (((character) #f #f #f () (character-172f8e288536f34d-e39)) (if (let (t) (t-1…>)
   603:17 13 (foldts #<tree-il (seq (define workspace-files (lambda ((name . workspace-files) (documentation . "Return the files of the current index, by path.")) (lambda-case (((workspace) #f #f #f () (workspace-172f8e288536f34d-e46)) (call (toplevel index-files) (call (toplevel workspace-index) (lexical workspace workspace-172f8e288536f34d-e46))))))) (seq (define workspace-definition-sites (lambda ((name . workspace-definition-sites) (documentation . "Return @code{(uri text definition)} fo…>)
   603:17 12 (foldts #<tree-il (seq (define workspace-definition-sites (lambda ((name . workspace-definition-sites) (documentation . "Return @code{(uri text definition)} for every file-level definition of @var{name}.")) (lambda-case (((workspace name dialect) #f #f #f () (workspace-172f8e288536f34d-e48 name-172f8e288536f34d-e49 dialect-172f8e288536f34d-e4a)) (call (toplevel index-sites) (call (toplevel workspace-index) (lexical workspace workspace-172f8e288536f34d-e48)) (lexical name name-17…>)
   603:17 11 (foldts #<tree-il (seq (define workspace-names (lambda ((name . workspace-names) (documentation . "Return the names the workspace defines in @var{dialect}, without repeats.")) (lambda-case (((workspace dialect) #f #f #f () (workspace-172f8e288536f34d-e4e dialect-172f8e288536f34d-e4f)) (call (toplevel index-names-of) (call (toplevel workspace-index) (lexical workspace workspace-172f8e288536f34d-e4e)) (lexical dialect dialect-172f8e288536f34d-e4f)))))) (seq (define document-defini…>)
   603:17 10 (foldts #<tree-il (seq (define document-definition-sites (lambda ((name . document-definition-sites) (documentation . "Return open buffers that define @var{name}, skipping @var{except-uri}.\n\nA buffer is read from the parse it already has.  One that has none -- it was\nopened and never parsed, or the text changed under the parse -- is skipped\nrather than parsed here: the lint worker fills that parse in a moment, and the\nanswer to a jump is allowed to be partial until it does.…>)
   603:17  9 (foldts #<tree-il (seq (define ast-of-text (lambda ((name . ast-of-text) (documentation . "Return the AST of @var{text}, read as @var{dialect}.")) (lambda-case (((text dialect) #f #f #f () (text-172f8e288536f34d-e6a dialect-172f8e288536f34d-e6b)) (call (@@ (% %library-group117 hoot values) %call-with-values) (lambda () (lambda-case ((() #f #f #f () ()) (call (toplevel read-source) (const #:source) (lexical text text-172f8e288536f34d-e6a) (const #:dialect) (lexical dialect dialec…>)
   603:17  8 (foldts #<tree-il (seq (define make-deadline (lambda ((name . make-deadline) (documentation . "Return a moment @var{milliseconds} from now, or @code{#f} for no limit.\n\nA request that must answer within a bound checks the clock between the steps\nthat can take a while.  Threads cannot be interrupted safely here, so the\nbound is kept by not starting work that would pass it, which is why every loop\nthat can be long takes a deadline.")) (lambda-case (((milliseconds) #f #f #f () …>)
   603:17  7 (foldts #<tree-il (define make-deadline (lambda ((name . make-deadline) (documentation . "Return a moment @var{milliseconds} from now, or @code{#f} for no limit.\n\nA request that must answer within a bound checks the clock between the steps\nthat can take a while.  Threads cannot be interrupted safely here, so the\nbound is kept by not starting work that would pass it, which is why every loop\nthat can be long takes a deadline.")) (lambda-case (((milliseconds) #f #f #f () (mill…>)
   603:17  6 (foldts #<tree-il (lambda ((name . make-deadline) (documentation . "Return a moment @var{milliseconds} from now, or @code{#f} for no limit.\n\nA request that must answer within a bound checks the clock between the steps\nthat can take a while.  Threads cannot be interrupted safely here, so the\nbound is kept by not starting work that would pass it, which is why every loop\nthat can be long takes a deadline.")) (lambda-case (((milliseconds) #f #f #f () (milliseconds-172f8e288536f…>)
   603:17  5 (foldts #<tree-il (lambda-case (((milliseconds) #f #f #f () (milliseconds-172f8e288536f34d-e73)) (if (lexical milliseconds milliseconds-172f8e288536f34d-e73) (call (toplevel +) (call (toplevel get-internal-real-time)) (call (toplevel quotient) (call (toplevel *) (lexical milliseconds milliseconds-172f8e288536f34d-e73) (toplevel internal-time-units-per-second)) (const 1000))) (const #f))))>)
   603:17  4 (foldts #<tree-il (if (lexical milliseconds milliseconds-172f8e288536f34d-e73) (call (toplevel +) (call (toplevel get-internal-real-time)) (call (toplevel quotient) (call (toplevel *) (lexical milliseconds milliseconds-172f8e288536f34d-e73) (toplevel internal-time-units-per-second)) (const 1000))) (const #f))>)
   603:17  3 (foldts #<tree-il (call (toplevel +) (call (toplevel get-internal-real-time)) (call (toplevel quotient) (call (toplevel *) (lexical milliseconds milliseconds-172f8e288536f34d-e73) (toplevel internal-time-units-per-second)) (const 1000)))>)
   603:17  2 (fold-values #<procedure foldts (tree)> (#<tree-il (call (toplevel get-internal-real-time))> #<tree-il (call (toplevel quotient) (call (toplevel *) (lexical milliseconds milliseconds-172f8e288536f34d-e73) (toplevel internal-time-units-per-second)) (const 1000))>))
   603:17  1 (foldts #<tree-il (call (toplevel get-internal-real-time))>)
   665:27  0 (_ _)

hoot/library-group.scm:665:27: unbound top-level #("sift/analysis.scm" 546 8) get-internal-real-time

maak: error: command failed (exit code 1): sh web/build.sh
        hint: Fix the command above, or run `maak --dry-run' to inspect it first.
✗ command failed (exit 1) after 5.69s
inspect the job's lambda expression
(lambda()
  `((task . ("maak-web-deploy"))
    (project . "sift")
    (branch-name . "trunk")
    (clone-url . "https://github.com/jjba23/sift.git")))