Organisationsocurrentocaml-ci27c33f ()(lint-fmt)

(lint-fmt)

Logs

Show full logs
2026-05-28 19:47.39: New job: test ocurrent/ocaml-ci https://github.com/ocurrent/ocaml-ci.git#refs/pull/1054/head (27c33fb6bda07504fde6699843d517cf5c92795a) (linux-x86_64:(lint-fmt))
Base: ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c
ocamlformat version: version 0.25.1 (from opam)

To reproduce locally:

git clone --recursive "https://github.com/ocurrent/ocaml-ci.git" && cd "ocaml-ci" && git fetch origin "refs/pull/1054/head" && git reset --hard 27c33fb6
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c
USER 1000:1000
RUN cd ~/opam-repository && (git cat-file -e c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline && opam update -u
RUN opam depext -i dune
WORKDIR /src
RUN opam depext -i ocamlformat=0.25.1
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-05-28 19:47.39: Using cache hint "ocurrent/ocaml-ci-ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c-debian-13-4.11_opam-2.5-ocamlformat-c180e1630960e0dbb8e30c22b3de89113eb5cc93"
2026-05-28 19:47.39: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c)
 (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 c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && 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.25.1"))
 (copy (src .) (dst /src/))
 (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
)

2026-05-28 19:47.39: Waiting for resource in pool OCluster
2026-05-28 19:47.39: Waiting for worker…
2026-05-28 22:27.55: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 27c33fb Remove opam 2.0 support

(from ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c' locally
docker.io/ocaml/opam@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c: Pulling from ocaml/opam
307f8152a55e: Pulling fs layer
53d481666795: Pulling fs layer
4ee22a5df705: Pulling fs layer
307f8152a55e: Waiting
53d481666795: Waiting
ae88ba2e7c99: Pulling fs layer
4ee22a5df705: Waiting
466fcae906a3: Pulling fs layer
ae88ba2e7c99: Waiting
024abae8c1ed: Pulling fs layer
466fcae906a3: Waiting
d582ebdec32b: Pulling fs layer
aa12715098f1: Pulling fs layer
024abae8c1ed: Waiting
62299cb9f759: Pulling fs layer
d582ebdec32b: Waiting
a25072680c61: Pulling fs layer
aa12715098f1: Waiting
62299cb9f759: Waiting
43b56dd9ccf7: Pulling fs layer
a25072680c61: Waiting
244d3fc9f983: Pulling fs layer
c4fb47424a8f: Pulling fs layer
cf6798d648a4: Pulling fs layer
43b56dd9ccf7: Waiting
279a991ac05e: Pulling fs layer
cf66fc12d100: Pulling fs layer
244d3fc9f983: Waiting
cf6798d648a4: Waiting
c4fb47424a8f: Waiting
279a991ac05e: Waiting
cf66fc12d100: Waiting
d39d0e8ae83c: Pulling fs layer
4b54e9cd8568: Pulling fs layer
f65d25bce8ea: Pulling fs layer
d39d0e8ae83c: Waiting
7d77baca5957: Pulling fs layer
f65d25bce8ea: Waiting
4b54e9cd8568: Waiting
4f4fb700ef54: Pulling fs layer
a99a940ecfac: Pulling fs layer
f5264679c08b: Pulling fs layer
f2b70106109c: Pulling fs layer
7d77baca5957: Waiting
f5264679c08b: Waiting
b37088730bad: Pulling fs layer
a99a940ecfac: Waiting
f2b70106109c: Waiting
cbd33ffade5f: Pulling fs layer
b37088730bad: Waiting
f1cf9ab18ca0: Pulling fs layer
87f3d72372a4: Pulling fs layer
25d15f09ece2: Pulling fs layer
6304df60357e: Pulling fs layer
cbd33ffade5f: Waiting
87f3d72372a4: Waiting
34a8ea3e9b48: Pulling fs layer
a0636f21098e: Pulling fs layer
9511add15c87: Pulling fs layer
963ec00065e9: Pulling fs layer
a0636f21098e: Waiting
3a098b8178a5: Pulling fs layer
9511add15c87: Waiting
963ec00065e9: Waiting
ca1c1d43252a: Pulling fs layer
25d15f09ece2: Waiting
3a098b8178a5: Waiting
4f4fb700ef54: Waiting
ca50eb78767c: Pulling fs layer
85fc1e77225e: Pulling fs layer
ca1c1d43252a: Waiting
f1cf9ab18ca0: Waiting
ca50eb78767c: Waiting
088f7de253ad: Pulling fs layer
34a8ea3e9b48: Waiting
a3252813698b: Pulling fs layer
85fc1e77225e: Waiting
29c18e123b7c: Pulling fs layer
a3252813698b: Waiting
f9fe8a9fcba5: Pulling fs layer
29c18e123b7c: Waiting
c7ffbe2d1595: Pulling fs layer
c7ffbe2d1595: Waiting
f9fe8a9fcba5: Waiting
6304df60357e: Waiting
088f7de253ad: Waiting
53d481666795: Download complete
4ee22a5df705: Verifying Checksum
307f8152a55e: Verifying Checksum
307f8152a55e: Download complete
ae88ba2e7c99: Verifying Checksum
ae88ba2e7c99: Download complete
466fcae906a3: Verifying Checksum
466fcae906a3: Download complete
d582ebdec32b: Verifying Checksum
d582ebdec32b: Download complete
307f8152a55e: Pull complete
53d481666795: Pull complete
4ee22a5df705: Pull complete
ae88ba2e7c99: Pull complete
466fcae906a3: Pull complete
024abae8c1ed: Verifying Checksum
024abae8c1ed: Download complete
62299cb9f759: Verifying Checksum
62299cb9f759: Download complete
aa12715098f1: Verifying Checksum
aa12715098f1: Download complete
a25072680c61: Verifying Checksum
a25072680c61: Download complete
43b56dd9ccf7: Verifying Checksum
43b56dd9ccf7: Download complete
244d3fc9f983: Verifying Checksum
244d3fc9f983: Download complete
c4fb47424a8f: Verifying Checksum
c4fb47424a8f: Download complete
279a991ac05e: Download complete
cf6798d648a4: Verifying Checksum
cf6798d648a4: Download complete
cf66fc12d100: Verifying Checksum
cf66fc12d100: Download complete
d39d0e8ae83c: Verifying Checksum
d39d0e8ae83c: Download complete
4b54e9cd8568: Download complete
7d77baca5957: Verifying Checksum
7d77baca5957: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
f65d25bce8ea: Verifying Checksum
f65d25bce8ea: Download complete
f5264679c08b: Download complete
a99a940ecfac: Verifying Checksum
a99a940ecfac: Download complete
f2b70106109c: Verifying Checksum
f2b70106109c: Download complete
cbd33ffade5f: Verifying Checksum
cbd33ffade5f: Download complete
b37088730bad: Verifying Checksum
b37088730bad: Download complete
87f3d72372a4: Download complete
25d15f09ece2: Verifying Checksum
25d15f09ece2: Download complete
f1cf9ab18ca0: Verifying Checksum
f1cf9ab18ca0: Download complete
34a8ea3e9b48: Verifying Checksum
34a8ea3e9b48: Download complete
a0636f21098e: Download complete
6304df60357e: Download complete
9511add15c87: Verifying Checksum
9511add15c87: Download complete
3a098b8178a5: Verifying Checksum
3a098b8178a5: Download complete
ca50eb78767c: Verifying Checksum
ca50eb78767c: Download complete
85fc1e77225e: Verifying Checksum
85fc1e77225e: Download complete
088f7de253ad: Download complete
024abae8c1ed: Pull complete
d582ebdec32b: Pull complete
aa12715098f1: Pull complete
62299cb9f759: Pull complete
a25072680c61: Pull complete
43b56dd9ccf7: Pull complete
963ec00065e9: Verifying Checksum
963ec00065e9: Download complete
244d3fc9f983: Pull complete
29c18e123b7c: Download complete
c4fb47424a8f: Pull complete
cf6798d648a4: Pull complete
279a991ac05e: Pull complete
cf66fc12d100: Pull complete
f9fe8a9fcba5: Verifying Checksum
f9fe8a9fcba5: Download complete
c7ffbe2d1595: Verifying Checksum
c7ffbe2d1595: Download complete
ca1c1d43252a: Verifying Checksum
ca1c1d43252a: Download complete
a3252813698b: Verifying Checksum
a3252813698b: Download complete
d39d0e8ae83c: Pull complete
4b54e9cd8568: Pull complete
f65d25bce8ea: Pull complete
7d77baca5957: Pull complete
4f4fb700ef54: Pull complete
a99a940ecfac: Pull complete
f5264679c08b: Pull complete
f2b70106109c: Pull complete
b37088730bad: Pull complete
cbd33ffade5f: Pull complete
f1cf9ab18ca0: Pull complete
87f3d72372a4: Pull complete
25d15f09ece2: Pull complete
6304df60357e: Pull complete
34a8ea3e9b48: Pull complete
a0636f21098e: Pull complete
9511add15c87: Pull complete
963ec00065e9: Pull complete
3a098b8178a5: Pull complete
ca1c1d43252a: Pull complete
ca50eb78767c: Pull complete
85fc1e77225e: Pull complete
088f7de253ad: Pull complete
a3252813698b: Pull complete
29c18e123b7c: Pull complete
f9fe8a9fcba5: Pull complete
c7ffbe2d1595: Pull complete
Digest: sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c
Status: Downloaded newer image for ocaml/opam@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c
2026-05-28 22:29.29 ---> saved as "36abb6db1723167d15c41f53ef05d371444812dc64e2ea7fe109d222db988473"

/: (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 c180e1630960e0dbb8e30c22b3de89113eb5cc93 || git fetch origin master) && git reset -q --hard c180e1630960e0dbb8e30c22b3de89113eb5cc93 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   fc08333d1b..fb1b69b646  master     -> origin/master
c180e16309 Merge pull request #29907 from dra27/host-arch-fixes

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).

The following packages are not being upgraded because the new versions conflict with other installed packages:
  - ocaml.5.6.0
  - ocaml-config.3
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2026-05-28 22:30.00 ---> saved as "151fdd6a6f64615c4d74766ca524c50c72359e7e763f0f681d3ae0c782b00efb"

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam depext -i dune"))
Since version 2.1, opam now handles external dependencies alongside OCaml ones, and the `depext` plugin interface is provided for backwards compatibility only. Consider using your usual `opam install` command to install both OCaml and system dependencies, or `opam install <pkg> --depext-only` if you want to only install external dependencies.
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
The following actions will be performed:
  - install ocaml-secondary-compiler 4.14.2 [required by dune]
  - install ocamlfind                1.9.6  [required by ocamlfind-secondary]
  - install ocamlfind-secondary      1.9.6  [required by dune]
  - install dune                     3.23.1
===== 4 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved dune.3.23.1  (cached)
-> retrieved ocaml-secondary-compiler.4.14.2  (cached)
-> retrieved ocamlfind-secondary.1.9.6  (cached)
-> installed ocamlfind.1.9.6
-> installed ocaml-secondary-compiler.4.14.2
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.23.1
Done.
# Run eval $(opam env) to update the current shell environment
2026-05-28 22:32.17 ---> saved as "1c2b3695a14dc2896f8d80c5233e16c59be173f851024cd70e313d708a8a6bea"

/: (workdir /src)

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam depext -i ocamlformat=0.25.1"))
Since version 2.1, opam now handles external dependencies alongside OCaml ones, and the `depext` plugin interface is provided for backwards compatibility only. Consider using your usual `opam install` command to install both OCaml and system dependencies, or `opam install <pkg> --depext-only` if you want to only install external dependencies.
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
The following actions will be performed:
  - install cmdliner          1.3.0    [required by ocamlformat]
  - install ocamlbuild        0.16.1   [required by fpath, astring, uuseg]
  - install either            1.0.0    [required by ocamlformat-lib]
  - install menhirLib         20260209 [required by ocamlformat-lib]
  - install dune-build-info   3.23.1   [required by ocamlformat-lib]
  - install csexp             1.5.2    [required by ocamlformat-lib]
  - install menhirSdk         20260209 [required by ocamlformat-lib]
  - install menhirGLR         20260209 [required by menhir]
  - install result            1.5      [required by ocamlformat-lib]
  - install camlp-streams     5.0.1    [required by ocamlformat-lib]
  - install seq               base     [required by re]
  - install ocaml-version     4.1.1    [required by ocamlformat-lib]
  - install fix               20250919 [required by ocamlformat-lib]
  - install sexplib0          v0.15.1  [required by base]
  - install menhirCST         20260209 [required by menhir]
  - install ocp-indent        1.9.0    [required by ocamlformat-lib]
  - install topkg             1.1.1    [required by fpath, astring, uuseg]
  - install dune-configurator 3.22.2   [required by base]
  - install re                1.11.0   [required by ocamlformat]
  - install menhir            20260209 [required by ocamlformat-lib]
  - install uutf              1.0.4    [required by ocamlformat-lib]
  - install astring           0.8.5    [required by ocamlformat-lib]
  - install base              v0.15.2  [required by ocamlformat-lib]
  - install uucp              15.0.0   [required by uuseg]
  - install fpath             0.7.3    [required by ocamlformat-lib]
  - install stdio             v0.15.0  [required by ocamlformat-lib]
  - install uuseg             15.0.0   [required by ocamlformat-lib]
  - install ocamlformat-lib   0.25.1   [required by ocamlformat]
  - install ocamlformat       0.25.1
===== 29 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved base.v0.15.2  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved either.1.0.0  (cached)
-> retrieved fix.20250919  (cached)
-> retrieved fpath.0.7.3  (cached)
-> installed camlp-streams.5.0.1
-> retrieved menhir.20260209  (cached)
-> installed csexp.1.5.2
-> installed either.1.0.0
-> retrieved menhirCST.20260209  (cached)
-> retrieved menhirGLR.20260209  (cached)
-> retrieved dune-build-info.3.23.1  (cached)
-> retrieved dune-configurator.3.22.2  (cached)
-> retrieved menhirLib.20260209  (cached)
-> retrieved menhirSdk.20260209  (cached)
-> retrieved ocaml-version.4.1.1  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> installed cmdliner.1.3.0
-> installed dune-build-info.3.23.1
-> installed dune-configurator.3.22.2
-> installed fix.20250919
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> retrieved ocamlformat.0.25.1  (cached)
-> installed menhirLib.20260209
-> retrieved ocamlformat-lib.0.25.1  (cached)
-> installed menhirSdk.20260209
-> installed ocaml-version.4.1.1
-> retrieved ocp-indent.1.9.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.11.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved sexplib0.v0.15.1  (cached)
-> retrieved stdio.v0.15.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uuseg.15.0.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved uucp.15.0.0  (cached)
-> installed result.1.5
-> installed sexplib0.v0.15.1
-> installed re.1.11.0
-> installed ocp-indent.1.9.0
-> installed ocamlbuild.0.16.1
-> installed base.v0.15.2
-> installed stdio.v0.15.0
-> installed menhir.20260209
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed uucp.15.0.0
-> installed uuseg.15.0.0
-> installed ocamlformat-lib.0.25.1
-> installed ocamlformat.0.25.1
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.11/share/emacs/site-lisp")
     (require 'ocp-indent)

   * for Vim, add this line to ~/.vimrc:
     set rtp^="/home/opam/.opam/4.11/share/ocp-indent/vim"
# Run eval $(opam env) to update the current shell environment
2026-05-28 22:33.29 ---> saved as "8c9f940e28e87f277bcce1f64a367e943caec6a577294cd6714e3b7407321dbf"

/src: (copy (src .) (dst /src/))
2026-05-28 22:33.31 ---> saved as "d9ad46d301adcfc4d0ada2560ba455ef06c88342d0d9d28ee133b1ab6a1263e6"

/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
File "lib/opam_version.ml", line 1, characters 0-0:
diff --git a/_build/default/lib/opam_version.ml b/_build/default/lib/.formatted/opam_version.ml
index 2460773..df7bf1f 100644
--- a/_build/default/lib/opam_version.ml
+++ b/_build/default/lib/.formatted/opam_version.ml
@@ -1,5 +1,4 @@
-type t = [ `V2_1 | `V2_2 | `V2_3 | `V2_4 | `V2_5 ]
-[@@deriving ord, yojson, eq]
+type t = [ `V2_1 | `V2_2 | `V2_3 | `V2_4 | `V2_5 ] [@@deriving ord, yojson, eq]
 
 let to_string = function
   | `V2_1 -> "2.1"
File "lib/opam_version.mli", line 1, characters 0-0:
diff --git a/_build/default/lib/opam_version.mli b/_build/default/lib/.formatted/opam_version.mli
index d9e9d8d..488acd2 100644
--- a/_build/default/lib/opam_version.mli
+++ b/_build/default/lib/.formatted/opam_version.mli
@@ -1,7 +1,6 @@
 (** Opam versions supported. *)
 
-type t = [ `V2_1 | `V2_2 | `V2_3 | `V2_4 | `V2_5 ]
-[@@deriving ord, yojson, eq]
+type t = [ `V2_1 | `V2_2 | `V2_3 | `V2_4 | `V2_5 ] [@@deriving ord, yojson, eq]
 
 val pp : t Fmt.t
 val to_string : t -> string
File "test/service/test_variant.ml", line 1, characters 0-0:
diff --git a/_build/default/test/service/test_variant.ml b/_build/default/test/service/.formatted/test_variant.ml
index 02f098d..38b4f80 100644
--- a/_build/default/test/service/test_variant.ml
+++ b/_build/default/test/service/.formatted/test_variant.ml
@@ -11,10 +11,7 @@ let test_error s =
 
 let test_simple () =
   List.iter test_one
-    [
-      "debian-11-4.13_x86_32_opam-2.1";
-      "debian-11-4.13_opam-2.1";
-    ]
+    [ "debian-11-4.13_x86_32_opam-2.1"; "debian-11-4.13_opam-2.1" ]
 
 let test_errors () =
   List.iter test_error
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-05-28 22:33.32: Job failed: Failed: Build failed