(for PR #29568)

2026-03-23 09:19.16: New job: build ocamlformat.0.24.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29568/head (353fd9234f0397ed1edb6d612e5b9da8472dea1c)
                              on centos-9-ocaml-4.14/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29568/head" && git reset --hard 353fd923
git fetch origin master
git merge --no-edit 63b7ba71be83567e54bb667df0f2bb374d74fb61
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-9-ocaml-4.14@sha256:0900beacae8621f323ae8f23cb0c84d34819b86679df1d8c964e158a4d4bde88
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn ocamlformat.0.24.1 0.24.1
RUN opam reinstall ocamlformat.0.24.1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"centos-9\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ocamlformat.0.24.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2026-03-23 09:19.16: Using cache hint "ocaml/opam:centos-9-ocaml-4.14@sha256:0900beacae8621f323ae8f23cb0c84d34819b86679df1d8c964e158a4d4bde88-ocamlformat.0.24.1-353fd9234f0397ed1edb6d612e5b9da8472dea1c"
2026-03-23 09:19.16: Using OBuilder spec:
((from ocaml/opam:centos-9-ocaml-4.14@sha256:0900beacae8621f323ae8f23cb0c84d34819b86679df1d8c964e158a4d4bde88)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn ocamlformat.0.24.1 0.24.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ocamlformat.0.24.1;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"centos-9\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'ocamlformat.0.24.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-03-23 09:19.16: Waiting for resource in pool OCluster
2026-03-23 09:31.38: Waiting for worker…
2026-03-23 09:35.30: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files:  74% (13710/18511)
Updating files:  75% (13884/18511)
Updating files:  76% (14069/18511)
Updating files:  77% (14254/18511)
Updating files:  78% (14439/18511)
Updating files:  79% (14624/18511)
Updating files:  80% (14809/18511)
Updating files:  81% (14994/18511)
Updating files:  82% (15180/18511)
Updating files:  83% (15365/18511)
Updating files:  84% (15550/18511)
Updating files:  85% (15735/18511)
Updating files:  86% (15920/18511)
Updating files:  87% (16105/18511)
Updating files:  88% (16290/18511)
Updating files:  89% (16475/18511)
Updating files:  90% (16660/18511)
Updating files:  91% (16846/18511)
Updating files:  92% (17031/18511)
Updating files:  93% (17216/18511)
Updating files:  94% (17401/18511)
Updating files:  95% (17586/18511)
Updating files:  96% (17771/18511)
Updating files:  97% (17956/18511)
Updating files:  98% (18141/18511)
Updating files:  99% (18326/18511)
Updating files: 100% (18511/18511)
Updating files: 100% (18511/18511), done.
HEAD is now at 63b7ba71be Merge pull request #29573 from davesnx/release-parseff-0.2.0
Merge made by the 'ort' strategy.
Auto packing the repository in the background for optimum performance.
See "git help gc" for manual housekeeping.
warning: The last gc run reported the following. Please correct the root cause
and remove .git/gc.log
Automatic cleanup will not be performed until the file is removed.

warning: There are too many unreachable loose objects; run 'git prune' to remove them.

 packages/ocamlformat-lib/ocamlformat-lib.0.25.1/opam | 1 +
 packages/ocamlformat-lib/ocamlformat-lib.0.26.0/opam | 1 +
 packages/ocamlformat-lib/ocamlformat-lib.0.26.1/opam | 1 +
 packages/ocamlformat-lib/ocamlformat-lib.0.26.2/opam | 1 +
 packages/ocamlformat-lib/ocamlformat-lib.0.27.0/opam | 1 +
 packages/ocamlformat-lib/ocamlformat-lib.0.28.1/opam | 1 +
 packages/ocamlformat-lib/ocamlformat-lib.0.29.0/opam | 1 +
 packages/ocamlformat/ocamlformat.0.24.1/opam         | 1 +
 8 files changed, 8 insertions(+)

(from ocaml/opam:centos-9-ocaml-4.14@sha256:0900beacae8621f323ae8f23cb0c84d34819b86679df1d8c964e158a4d4bde88)
Unable to find image 'ocaml/opam:centos-9-ocaml-4.14@sha256:0900beacae8621f323ae8f23cb0c84d34819b86679df1d8c964e158a4d4bde88' locally
docker.io/ocaml/opam@sha256:0900beacae8621f323ae8f23cb0c84d34819b86679df1d8c964e158a4d4bde88: Pulling from ocaml/opam
b9c40dbae0c2: Already exists
4e0053673730: Already exists
37eaa45a1927: Already exists
c3614bf777be: Already exists
41a84cd00caf: Already exists
f86964614aeb: Already exists
4fdd860b1f10: Already exists
06b09f62348c: Already exists
2ec9bd0a30c7: Already exists
ebcb7255c70e: Already exists
a6fb6795e056: Already exists
3bda528a9109: Already exists
9cb4b67410d1: Already exists
1abcda2e7051: Already exists
b31df34f84bf: Already exists
2f5ef707aefe: Already exists
7cf6f9ab57b4: Already exists
29aa2ff6ad44: Already exists
29aa2ff6ad44: Already exists
9cdea3f532fd: Already exists
03bfd84eb3b2: Already exists
4e9bc0cbdad4: Already exists
7401bc4402e3: Already exists
4f4fb700ef54: Already exists
bfb5f1285eb4: Already exists
7c948d5d19ef: Already exists
96d104bca8af: Already exists
d3a98e577a6a: Already exists
c7b98c8cf365: Already exists
d4b3a3da19c1: Already exists
089b5149e170: Already exists
681a3e2ab234: Already exists
77119b4ff1fe: Already exists
e8e580686694: Already exists
b7fca56d5d5f: Already exists
14d282133814: Already exists
948d13b74502: Pulling fs layer
ba6e1bd0b362: Pulling fs layer
2d089c946f02: Pulling fs layer
d98ea6bb2ce0: Pulling fs layer
8039dc9105d5: Pulling fs layer
3df6e1afa23b: Pulling fs layer
c2270d36676c: Pulling fs layer
9156f7a280b0: Pulling fs layer
3df6e1afa23b: Waiting
c2270d36676c: Waiting
7421b5654b02: Pulling fs layer
d98ea6bb2ce0: Waiting
8942be150999: Pulling fs layer
9156f7a280b0: Waiting
8942be150999: Waiting
ba6e1bd0b362: Verifying Checksum
ba6e1bd0b362: Download complete
d98ea6bb2ce0: Download complete
8039dc9105d5: Download complete
3df6e1afa23b: Verifying Checksum
3df6e1afa23b: Download complete
2d089c946f02: Verifying Checksum
2d089c946f02: Download complete
9156f7a280b0: Download complete
7421b5654b02: Verifying Checksum
7421b5654b02: Download complete
8942be150999: Verifying Checksum
8942be150999: Download complete
c2270d36676c: Verifying Checksum
c2270d36676c: Download complete
948d13b74502: Verifying Checksum
948d13b74502: Download complete
948d13b74502: Pull complete
ba6e1bd0b362: Pull complete
2d089c946f02: Pull complete
d98ea6bb2ce0: Pull complete
8039dc9105d5: Pull complete
3df6e1afa23b: Pull complete
c2270d36676c: Pull complete
9156f7a280b0: Pull complete
7421b5654b02: Pull complete
8942be150999: Pull complete
Digest: sha256:0900beacae8621f323ae8f23cb0c84d34819b86679df1d8c964e158a4d4bde88
Status: Downloaded newer image for ocaml/opam@sha256:0900beacae8621f323ae8f23cb0c84d34819b86679df1d8c964e158a4d4bde88
2026-03-23 09:35.36 ---> using "dac63719edf1fb21abdbd4be411809fd1fc4ba1e61f121a32295e1441c2ad5f6" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-23 09:35.36 ---> using "71dbb97d71e6460b05ec32d11b70da123019d56301d3bf840b8da494222830b7" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.

This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-23 09:35.36 ---> using "cc7810378f1cc4ff5018728cd84c3f8d59184450cb20ac13dae814bdf947e85d" from cache

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=centos os-version=9
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2026-03-23 09:35.36 ---> using "8ae7199532a3bd978c316c7676fa3a4e0e477331048be7cf0634cf98fb60228a" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2026-03-23 09:35.36 ---> using "ec3c59830e7a9d178c0cd7d8c55035b3d6e78426eda3fc9454ced8a7aa5a7b3e" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-23 09:35.37 ---> using "ce60dab286dad2ef0083a9bcd5936fdc42b2fd925e255378a5c8fadb25bd3be0" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-23 09:35.55 ---> saved as "84ddfc3c3d1011f0a4501c32730f57dc5612c0d837daea8a2d0c730ad460f82d"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 9 - BaseOS                        102 kB/s |  15 kB     00:00    
- CentOS Stream 9 - BaseOS                         10 MB/s | 8.9 MB     00:00    
- CentOS Stream 9 - AppStream                     102 kB/s |  16 kB     00:00    
- CentOS Stream 9 - AppStream                      11 MB/s |  27 MB     00:02    
- CentOS Stream 9 - CRB                           103 kB/s |  15 kB     00:00    
- CentOS Stream 9 - CRB                           9.4 MB/s | 8.0 MB     00:00    
- CentOS Stream 9 - Extras packages                86 kB/s |  17 kB     00:00    
- Metadata cache created.
2026-03-23 09:36.22 ---> saved as "c062d1e54a13e8259fc008bcca81bc4bf8afd5984c525be4f256485c7ff07da7"

/home/opam: (run (shell "opam pin add -k version -yn ocamlformat.0.24.1 0.24.1"))
ocamlformat is now pinned to version 0.24.1
2026-03-23 09:36.23 ---> saved as "2657596b32bdb16021523f3930153242ed782d8f40e83ecde3cded9f4f1c40dd"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ocamlformat.0.24.1;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"centos-9\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'ocamlformat.0.24.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ocamlformat.0.24.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 30 packages
  - install astring           0.8.5           [required by fpath, odoc-parser]
  - install base              v0.16.4         [required by ocamlformat]
  - install camlp-streams     5.0.1           [required by odoc-parser]
  - install cmdliner          1.3.0           [required by ocamlformat]
  - install csexp             1.5.2           [required by ocamlformat]
  - install dune              3.22.0          [required by ocamlformat]
  - install dune-build-info   3.22.0          [required by ocamlformat]
  - install dune-configurator 3.22.0          [required by base]
  - install either            1.0.0           [required by ocamlformat]
  - install fix               20250919        [required by ocamlformat]
  - install fpath             0.7.3           [required by ocamlformat]
  - install menhir            20260209        [required by ocamlformat]
  - install menhirCST         20260209        [required by menhir]
  - install menhirGLR         20260209        [required by menhir]
  - install menhirLib         20260209        [required by ocamlformat]
  - install menhirSdk         20260209        [required by ocamlformat]
  - install ocaml-version     3.5.0           [required by ocamlformat]
  - install ocamlbuild        0.16.1          [required by fpath, uuseg]
  - install ocamlfind         1.9.8           [required by ocp-indent, fpath, uuseg]
  - install ocamlformat       0.24.1 (pinned)
  - install ocp-indent        1.9.0           [required by ocamlformat]
  - install odoc-parser       2.0.0           [required by ocamlformat]
  - install re                1.14.0          [required by ocamlformat]
  - install result            1.5             [required by odoc-parser]
  - install sexplib0          v0.16.0         [required by base]
  - install stdio             v0.16.0         [required by ocamlformat]
  - install topkg             1.1.1           [required by fpath, uuseg]
  - install uucp              17.0.0          [required by uuseg]
  - install uuseg             17.0.0          [required by ocamlformat]
  - install uutf              1.0.4           [required by ocamlformat]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.16.4  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.22.0, dune-build-info.3.22.0, dune-configurator.3.22.0  (cached)
-> retrieved either.1.0.0  (cached)
-> retrieved fix.20250919  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209  (cached)
-> installed cmdliner.1.3.0
-> retrieved ocaml-version.3.5.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlformat.0.24.1  (cached)
-> retrieved ocp-indent.1.9.0  (cached)
-> retrieved odoc-parser.2.0.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdio.v0.16.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uucp.17.0.0  (cached)
-> retrieved uuseg.17.0.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.22.0
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed dune-build-info.3.22.0
-> installed either.1.0.0
-> installed fix.20250919
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> installed menhirLib.20260209
-> installed menhirSdk.20260209
-> installed ocaml-version.3.5.0
-> installed ocp-indent.1.9.0
-> installed re.1.14.0
-> installed result.1.5
-> installed sexplib0.v0.16.0
-> installed odoc-parser.2.0.0
-> installed dune-configurator.3.22.0
-> installed base.v0.16.4
-> installed stdio.v0.16.0
-> installed menhir.20260209
-> installed uucp.17.0.0
-> installed uuseg.17.0.0
-> installed ocamlformat.0.24.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.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"
# To update the current shell environment, run: eval $(opam env)
2026-03-23 09:38.25 ---> saved as "125d5f1c01d496017518f49f26fe57b0b2aa33966ec28941439efb8289883929"
Job succeeded
2026-03-23 09:39.09: Job succeeded