Organisationsmirageirminefb40c ()(lint-fmt)

(lint-fmt)

Logs

Show full logs
2026-04-24 06:48.37: New job: test mirage/irmin https://github.com/mirage/irmin.git#refs/pull/2402/head (efb40c03aa374d9298f48b89bf5e63626d2a8457) (linux-x86_64:(lint-fmt))
Base: ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216
ocamlformat version: version 0.29.0 (from opam)

To reproduce locally:

git clone --recursive "https://github.com/mirage/irmin.git" && cd "irmin" && git fetch origin "refs/pull/2402/head" && git reset --hard efb40c03
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216
USER 1000:1000
RUN cd ~/opam-repository && (git cat-file -e 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && git log --no-decorate -n1 --oneline && opam update -u
RUN opam depext -i dune
WORKDIR /src
RUN opam depext -i ocamlformat=0.29.0
COPY --chown=1000:1000 . /src/
RUN opam exec -- dune build @fmt --ignore-promoted-rules || (echo "dune build @fmt failed"; exit 2)

END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2026-04-24 06:48.37: Using cache hint "mirage/irmin-ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216-alpine-3.22-4.14_opam-2.5-ocamlformat-5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41"
2026-04-24 06:48.37: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216)
 (user (uid 1000) (gid 1000))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && git log --no-decorate -n1 --oneline && opam update -u"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam depext -i dune"))
 (workdir /src)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "opam depext -i ocamlformat=0.29.0"))
 (copy (src .) (dst /src/))
 (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
)

2026-04-24 06:48.37: Waiting for resource in pool OCluster
2026-04-24 06:48.37: Waiting for worker…
2026-04-24 06:48.37: Got resource from pool OCluster
Building on eumache.caelum.ci.dev
HEAD is now at f30e3e064c Fix deprecated QCheck functions in test_lru.ml
HEAD is now at efb40c03aa Add TSan nightly CI workflow

(from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216)
Unable to find image 'ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216' locally
docker.io/ocaml/opam@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216: Pulling from ocaml/opam
2d35ebdb57d9: Already exists
adfc86c1accf: Already exists
d09377907434: Already exists
a699cf44908b: Already exists
c088e74f1f31: Already exists
7e99e6eaa847: Already exists
db4b89a22482: Already exists
f1f17593da04: Already exists
bb79fbf72548: Already exists
cf69890848e3: Already exists
80e325d6146c: Already exists
66a526c41d4c: Already exists
347d38b311ac: Already exists
984612fde4c4: Already exists
0ac0da982daa: Already exists
209c9bca9b0e: Already exists
3d3356d548ff: Already exists
c072da09f122: Already exists
4f4fb700ef54: Already exists
eff3d806a4a8: Already exists
f5c413f5234b: Already exists
09ddc5430e22: Already exists
2c7c283b1afc: Already exists
4af9a971b585: Already exists
df8d9be3e30d: Already exists
5e55ae3325a7: Already exists
635cb27b4304: Already exists
898fbde8ad42: Already exists
66c0ffc92413: Already exists
c8cca855638d: Already exists
45d2501a899c: Already exists
10b0fe6926c2: Already exists
0a1d7b83a687: Already exists
2c3441915309: Already exists
3d1a575b1bb0: Already exists
6e5fa830b59d: Already exists
72225f5a6449: Already exists
5a8b6a59afe3: Already exists
81299dd100ce: Already exists
ad267db4d3a7: Already exists
de32f8de692b: Already exists
Digest: sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216
Status: Downloaded newer image for ocaml/opam@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216
2026-04-24 06:48.39 ---> using "d1cef22083ba59d6db4e2f107091c68dd70ebdcc64c3894ad7db7be62ad17f4a" from cache

/: (user (uid 1000) (gid 1000))

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "cd ~/opam-repository && (git cat-file -e 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 || git fetch origin master) && git reset -q --hard 5f7bb1a6e69f1ea15d8b2b08eeaa70a162c6fd41 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   a6b2f19780..ac6455a3b0  master     -> origin/master
5f7bb1a6e6 Merge pull request #29704 from shonfeder/release-dune-3.22.2

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)


The following actions will be performed:
  - recompile ocaml-base-compiler 4.14.2* [upstream changes]
  - recompile ocaml-config        2       [uses ocaml-base-compiler]
  - recompile ocaml               4.14.2  [uses ocaml-base-compiler]
  - recompile opam-depext         1.2.3   [uses ocaml]
===== 4 to recompile =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-base-compiler.4.14.2] found in cache
[opam-depext.1.2.3] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   opam-depext.1.2.3
-> removed   ocaml.4.14.2
-> removed   ocaml-config.2
-> removed   ocaml-base-compiler.4.14.2
-> installed ocaml-base-compiler.4.14.2
-> installed ocaml-config.2
-> installed ocaml.4.14.2
-> installed opam-depext.1.2.3
Done.
# Run eval $(opam env) to update the current shell environment
2026-04-24 06:48.39 ---> using "b8fd1abb462ca9b38f7a0e9c52767da281de99186f62a4d7f73d4b9dfe9c1102" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam depext -i dune"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=alpine, os-family=alpine
# No extra OS packages requirements found.
# Now letting opam install the packages
The following actions will be performed:
  - install dune 3.22.2

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.22.2] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed dune.3.22.2
Done.
# Run eval $(opam env) to update the current shell environment
2026-04-24 06:48.39 ---> using "85107cc3adfcabf958e16954fbd9aa0fcc17d021d88561afcbb22a0d8d450773" from cache

/: (workdir /src)

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam depext -i ocamlformat=0.29.0"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=alpine, os-family=alpine
# No extra OS packages requirements found.
# Now letting opam install the packages
The following actions will be performed:
  - install dune-build-info   3.22.2   [required by ocamlformat-lib]
  - install ocamlbuild        0.16.1   [required by fpath, astring, uuseg]
  - install ocaml-version     4.0.4    [required by ocamlformat-lib]
  - install either            1.0.0    [required by ocamlformat-lib]
  - install menhirLib         20260209 [required by ocamlformat-lib]
  - install cmdliner          2.1.0    [required by ocamlformat]
  - install csexp             1.5.2    [required by ocamlformat]
  - install menhirSdk         20260209 [required by ocamlformat-lib]
  - install menhirGLR         20260209 [required by menhir]
  - install camlp-streams     5.0.1    [required by ocamlformat-lib]
  - install fix               20250919 [required by ocamlformat-lib]
  - install ocamlfind         1.9.8    [required by ocp-indent, astring, fpath, uuseg]
  - install sexplib0          v0.16.0  [required by base]
  - install re                1.14.0   [required by ocamlformat]
  - install menhirCST         20260209 [required by menhir]
  - install dune-configurator 3.22.2   [required by base]
  - install topkg             1.1.1    [required by fpath, astring, uuseg]
  - install ocp-indent        1.9.0    [required by ocamlformat-lib]
  - install menhir            20260209 [required by ocamlformat-lib]
  - install base              v0.16.4  [required by ocamlformat-lib]
  - install uutf              1.0.4    [required by ocamlformat-lib]
  - install uucp              17.0.0   [required by uuseg]
  - install astring           0.8.5    [required by ocamlformat-lib]
  - install stdio             v0.16.0  [required by ocamlformat-lib]
  - install uuseg             17.0.0   [required by ocamlformat-lib]
  - install fpath             0.7.3    [required by ocamlformat-lib]
  - install ocamlformat-lib   0.29.0   [required by ocamlformat]
  - install ocamlformat       0.29.0
===== 28 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[astring.0.8.5] found in cache
[base.v0.16.4] found in cache
[camlp-streams.5.0.1] found in cache
[cmdliner.2.1.0] found in cache
[csexp.1.5.2] found in cache
[dune-build-info.3.22.2] found in cache
[dune-configurator.3.22.2] found in cache
[either.1.0.0] found in cache
[fix.20250919] found in cache
[fpath.0.7.3] found in cache
[menhir.20260209] found in cache
[menhirCST.20260209] found in cache
[menhirGLR.20260209] found in cache
[menhirLib.20260209] found in cache
[menhirSdk.20260209] found in cache
[ocaml-version.4.0.4] found in cache
[ocamlbuild.0.16.1] found in cache
[ocamlfind.1.9.8] found in cache
[ocamlformat.0.29.0] found in cache
[ocamlformat-lib.0.29.0] found in cache
[ocp-indent.1.9.0] found in cache
[re.1.14.0] found in cache
[sexplib0.v0.16.0] found in cache
[stdio.v0.16.0] found in cache
[topkg.1.1.1] found in cache
[uucp.17.0.0] found in cache
[uuseg.17.0.0] found in cache
[uutf.1.0.4] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed dune-build-info.3.22.2
-> installed either.1.0.0
-> installed fix.20250919
-> installed cmdliner.2.1.0
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> installed menhirLib.20260209
-> installed menhirSdk.20260209
-> installed ocaml-version.4.0.4
-> installed re.1.14.0
-> installed sexplib0.v0.16.0
-> installed dune-configurator.3.22.2
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed ocp-indent.1.9.0
-> installed base.v0.16.4
-> installed menhir.20260209
-> installed topkg.1.1.1
-> installed stdio.v0.16.0
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed uucp.17.0.0
-> installed uuseg.17.0.0
-> installed ocamlformat-lib.0.29.0
-> installed ocamlformat.0.29.0
Done.

<><> ocp-indent.1.9.0 installed successfully ><><><><><><><><><><><><><><><><><>
=> This package requires additional configuration for use in editors. Install package 'user-setup', or manually:

   * for Emacs, add these lines to ~/.emacs:
     (add-to-list 'load-path "/home/opam/.opam/4.14/share/emacs/site-lisp")
     (require 'ocp-indent)

   * for Vim, add this line to ~/.vimrc:
     set rtp^="/home/opam/.opam/4.14/share/ocp-indent/vim"
# Run eval $(opam env) to update the current shell environment
2026-04-24 06:48.39 ---> using "45c95163af8e260844e1bf9869785364d9b4d1aa4195ad5446edd3a368469ec6" from cache

/src: (copy (src .) (dst /src/))
2026-04-24 06:48.39 ---> saved as "6c9c045f0281da92acf4212155a829fe80a5849fcb49798dbbbe32a26d9b5a13"

/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
Warning: Invalid documentation comment:
File "src/irmin-pack/layout.ml", line 97, characters 27-50:
'{v ... v}' (verbatim text) should begin on its own line.
Warning: Invalid documentation comment:
File "src/irmin-pack/layout.ml", line 97, characters 50-51:
Paragraph should begin on its own line.
Warning: Invalid documentation comment:
File "test/irmin-graphql/common.mli", line 88, character 16 to line 92, character 6:
'{[...]}' (code block) should begin on its own line.
Warning: Invalid documentation comment:
File "test/irmin-graphql/common.mli", line 98, character 16 to line 102, character 6:
'{[...]}' (code block) should begin on its own line.
Warning: Invalid documentation comment:
File "test/irmin-graphql/common.mli", line 104, character 24 to line 108, character 6:
'{[...]}' (code block) should begin on its own line.
Warning: Invalid documentation comment:
File "test/irmin-graphql/common.mli", line 114, character 16 to line 118, character 6:
'{[...]}' (code block) should begin on its own line.
File "test/irmin-pack/test_tsan_stress/main.ml", line 1, characters 0-0:
diff --git a/_build/default/test/irmin-pack/test_tsan_stress/main.ml b/_build/default/test/irmin-pack/test_tsan_stress/.formatted/main.ml
index 4bc5247..717f64c 100644
--- a/_build/default/test/irmin-pack/test_tsan_stress/main.ml
+++ b/_build/default/test/irmin-pack/test_tsan_stress/.formatted/main.ml
@@ -21,9 +21,7 @@ let run_all () =
     scenarios
 
 let () =
-  let which =
-    if Array.length Sys.argv >= 2 then Sys.argv.(1) else "all"
-  in
+  let which = if Array.length Sys.argv >= 2 then Sys.argv.(1) else "all" in
   match which with
   | "all" -> run_all ()
   | name -> (
File "test/irmin-pack/test_multicore.ml", line 1, characters 0-0:
diff --git a/_build/default/test/irmin-pack/test_multicore.ml b/_build/default/test/irmin-pack/.formatted/test_multicore.ml
index 2d9c4ae..bfe45ed 100644
--- a/_build/default/test/irmin-pack/test_multicore.ml
+++ b/_build/default/test/irmin-pack/.formatted/test_multicore.ml
@@ -23,9 +23,7 @@ let src = Logs.Src.create "tests.multicore" ~doc:"Tests"
 module Log = (val Logs.src_log src : Logs.LOG)
 
 let int_env name default =
-  match Sys.getenv_opt name with
-  | Some s -> int_of_string s
-  | None -> default
+  match Sys.getenv_opt name with Some s -> int_of_string s | None -> default
 
 let default_domains = int_env "IRMIN_MULTICORE_DOMAINS" 2
 let test_iter = int_env "IRMIN_MULTICORE_ITER" 1
dune build @fmt failed
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @fmt --ignore-promoted-rules || (echo "dune build @fmt failed"; exit 2)" failed with exit status 2
2026-04-24 06:48.42: Job failed: Failed: Build failed