heks-linux-d4f37404-59ef

job failed

starting new job...


→ running command: dir='/etc/byggsteg/job-clone//heks-linux/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 moved from 98f57ce to 6912bf5

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

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

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

commit 6912bf594c14294a4acb07e4d9f5e7fce65d33b8
Author: Josep Bigorra <jjbigorra@gmail.com>
Date:   Thu Nov 5 12:42:15 2026 +0100

    feat: Improve channels.scm

M       channels.scm

→ running command: cd /etc/byggsteg/job-clone/heks-linux/trunk && maak ci

channels.scm:42:6: warning: channel 'jointhefreeworld' is not trusted
--- ./maak.scm
+++ ./maak.scm
@@ -1585,52 +1585,52 @@
 (define (slurp path)
   "Return the whole of @var{path} as a string."
   (call-with-input-file path
-    (lambda (port)
-      (let loop ((lines '())
-                 (line (read-line port)))
-        (if (eof-object? line)
-            (string-concatenate-reverse lines)
-            (loop (cons (string-append line "\n") lines)
-                  (read-line port)))))))
-
-(define (fetch-skill name repository commit path)
-  "Download one skill pinned at @var{commit}, into the reports tree.
-
-  Returns the skill's text."
-  (let ((target (~ "~a/~a.md" agent-skills-dir name))
-        (url (~ "https://raw.githubusercontent.com/~a/~a/~a"
-                repository commit path)))
-    (run (list "curl" "--fail" "--silent" "--show-error" "--location"
-               "--output" target url)
-         #:verbose? #t)
-    (slurp target)))
-
-(define (agents)
-  "Regenerate AGENTS.md from the pinned skills and the practices."
-  (run (list "mkdir" "-p" agent-skills-dir))
-  ;; Every download happens before the file is opened, so a fetch that fails
-  ;; leaves the previous AGENTS.md in place rather than a half-written one.
-  (let ((skills (map (lambda (skill)
-                       (append skill
-                               (list (fetch-skill (list-ref skill 0)
-                                                  (list-ref skill 1)
-                                                  (list-ref skill 2)
-                                                  (list-ref skill 3)))))
-                     agent-skills)))
-    (call-with-output-file "AGENTS.md"
-      (lambda (port)
-        (display agents-header port)
-        (for-each (lambda (skill)
-                    (format port
-                            "~%## ~a~%~%`~a` at `~a`, `~a`, ~a licensed.~%~%"
-                            (list-ref skill 0)
-                            (list-ref skill 1)
-                            (list-ref skill 2)
-                            (list-ref skill 3)
-                            (list-ref skill 4))
-                    (display (list-ref skill 5) port))
-                  skills)
-        (for-each (lambda (practice)
-                    (newline port)
-                    (display practice port))
-                  agent-practices)))))
+                        (lambda (port)
+                          (let loop ((lines '())
+                                     (line (read-line port)))
+                            (if (eof-object? line)
+                              (string-concatenate-reverse lines)
+                              (loop (cons (string-append line "\n") lines)
+                                    (read-line port)))))))
+
+(define (fetch-skill name repository commit path)
+  "Download one skill pinned at @var{commit}, into the reports tree.
+
+  Returns the skill's text."
+  (let ((target (~ "~a/~a.md" agent-skills-dir name))
+        (url (~ "https://raw.githubusercontent.com/~a/~a/~a"
+                repository commit path)))
+    (run (list "curl" "--fail" "--silent" "--show-error" "--location"
+               "--output" target url)
+         #:verbose? #t)
+    (slurp target)))
+
+(define (agents)
+  "Regenerate AGENTS.md from the pinned skills and the practices."
+  (run (list "mkdir" "-p" agent-skills-dir))
+  ;; Every download happens before the file is opened, so a fetch that fails
+  ;; leaves the previous AGENTS.md in place rather than a half-written one.
+  (let ((skills (map (lambda (skill)
+                       (append skill
+                               (list (fetch-skill (list-ref skill 0)
+                                                  (list-ref skill 1)
+                                                  (list-ref skill 2)
+                                                  (list-ref skill 3)))))
+                     agent-skills)))
+    (call-with-output-file "AGENTS.md"
+                           (lambda (port)
+                             (display agents-header port)
+                             (for-each (lambda (skill)
+                                         (format port
+                                                 "~%## ~a~%~%`~a` at `~a`, `~a`, ~a licensed.~%~%"
+                                                 (list-ref skill 0)
+                                                 (list-ref skill 1)
+                                                 (list-ref skill 2)
+                                                 (list-ref skill 3)
+                                                 (list-ref skill 4))
+                                         (display (list-ref skill 5) port))
+                                       skills)
+                             (for-each (lambda (practice)
+                                         (newline port)
+                                         (display practice port))
+                                       agent-practices)))))


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

Maak 0.14.0: the infinitely extensible command runner

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

Executing Maak tasks: ci


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

=> Running Maak task: ci

  Ask the three questions a pipeline asks: formatted, compiling, passing.

`maak test' wraps the suite in `guix shell --container', which is what makes it
hermetic on a machine -- and what makes it impossible where the run is already
sandboxed.  A Byggsteg job is itself a container, a second user namespace cannot
be created inside the first, and every pipeline run of this configuration failed
in `call-with-container' before the first test ran because of it.

So this task asks the same three questions with the container left to the
caller: `sift check' over the tree, a compile of every module, and the suite
without the wrapper (with a private HOME, so what the container was protecting
still holds).  Coverage is not reported here: nothing in a pipeline reads it, and
`genhtml' failing on a machine that has no lcov is not a fact about the tests.

  Execute command:
guix time-machine --channels=channels.scm -- shell -m manifest.scm -- sh -c 'set -eu
find . -maxdepth 8 -name "*.scm" -type f -print0 | xargs -0 sift check'

Executing: guix time-machine --channels=channels.scm -- shell -m manifest.scm -- sh -c 'set -eu
find . -maxdepth 8 -name "*.scm" -type f -print0 | xargs -0 sift check'

maak: error: command failed (exit code 123): guix time-machine --channels=channels.scm -- shell -m manifest.scm -- sh -c 'set -eu
find . -maxdepth 8 -name "*.scm" -type f -print0 | xargs -0 sift check'
        hint: Fix the command above, or run `maak --dry-run' to inspect it first.
inspect the job's lambda expression
(lambda()
  `((task . ("maak-ci"))
    (project . "heks-linux")
    (branch-name . "trunk")
    (clone-url . "https://github.com/jjba23/heks-linux.git")))