(for PR #29582)

2026-03-25 08:39.57: New job: build ocaml-compiler.5.4.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29582/head (fa5fb3a6a806e832e4c7791145889a6bbe8b64ef)
                              on ubuntu-25.10-ocaml-5.4/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/29582/head" && git reset --hard fa5fb3a6
git fetch origin master
git merge --no-edit 7216d2e0eb5d8d116434228a0b19a267b98e8510
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:b6692556527c8e5e7f38766fdf9c5342653662e77cbe1148ff94aca57e7551b9
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 ocaml-compiler.5.4.0 5.4.0
RUN opam reinstall --update-invariant ocaml-compiler.5.4.0; \
    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 "\"ubuntu-25.10\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ocaml-compiler.5.4.0' && 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-25 08:39.57: Using cache hint "ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:b6692556527c8e5e7f38766fdf9c5342653662e77cbe1148ff94aca57e7551b9-ocaml-compiler.5.4.0-fa5fb3a6a806e832e4c7791145889a6bbe8b64ef"
2026-03-25 08:39.57: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:b6692556527c8e5e7f38766fdf9c5342653662e77cbe1148ff94aca57e7551b9)
 (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 ocaml-compiler.5.4.0 5.4.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall --update-invariant ocaml-compiler.5.4.0;\
             \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 \"\\\"ubuntu-25.10\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'ocaml-compiler.5.4.0' && 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-25 08:39.57: Waiting for resource in pool OCluster
2026-03-25 08:46.50: Waiting for worker…
2026-03-25 08:50.55: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 7216d2e0eb Merge pull request #29593 from arvidj/aj/avoid-passage-0-3-2-3
Merge made by the 'ort' strategy.
 packages/ocaml-compiler/ocaml-compiler.5.3.0/opam      |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.3/opam        |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.4.0/opam      |  5 ++++-
 .../ocaml-compiler/ocaml-compiler.5.4.0~alpha1/opam    |  5 ++++-
 .../ocaml-compiler/ocaml-compiler.5.4.0~beta1/opam     |  5 ++++-
 .../ocaml-compiler/ocaml-compiler.5.4.0~beta2/opam     |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.4.0~rc1/opam  |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.4.1/opam      |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.4/opam        |  5 ++++-
 .../ocaml-compiler/ocaml-compiler.5.5.0~alpha1/opam    |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.5/opam        |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.6/opam        |  5 ++++-
 packages/ocaml-option-llvm/ocaml-option-llvm.1/opam    | 18 ++++++++++++++++++
 .../ocaml-options-vanilla/ocaml-options-vanilla.1/opam |  1 +
 packages/ocaml-variants/ocaml-variants.5.2.0+msvc/opam |  2 ++
 15 files changed, 69 insertions(+), 12 deletions(-)
 create mode 100644 packages/ocaml-option-llvm/ocaml-option-llvm.1/opam

(from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:b6692556527c8e5e7f38766fdf9c5342653662e77cbe1148ff94aca57e7551b9)
Unable to find image 'ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:b6692556527c8e5e7f38766fdf9c5342653662e77cbe1148ff94aca57e7551b9' locally
docker.io/ocaml/opam@sha256:b6692556527c8e5e7f38766fdf9c5342653662e77cbe1148ff94aca57e7551b9: Pulling from ocaml/opam
16c195d4c5e9: Already exists
1c62812e7321: Already exists
8a4b09d2a7a7: Already exists
3318481042ff: Already exists
3efb10c5a696: Already exists
888f94101ffe: Already exists
cb111e18f70b: Already exists
4577a01d97fc: Already exists
36c03f94b287: Already exists
b55120cc7c58: Already exists
40f87b6b7b5e: Already exists
b6b4461886a5: Already exists
82cf66283d29: Already exists
1a02079536a8: Already exists
2e0bc88eb84b: Already exists
09b28afbcd46: Already exists
00cd2b8865d8: Already exists
2e4e2f0309f4: Already exists
2e4e2f0309f4: Already exists
50db42a840cc: Already exists
7e53edc26b50: Already exists
d3e23dc84d9f: Already exists
00be44d6dc33: Already exists
4f4fb700ef54: Already exists
c4c722f9486c: Already exists
0c7d37cf0e34: Already exists
59a943ba645f: Already exists
bd9804fcdebe: Already exists
ba9e597c1206: Already exists
2e772c935e0b: Already exists
c420ec2e2ade: Already exists
8ab6bbb76418: Already exists
cf55c954c3b6: Already exists
aa487f376a9a: Already exists
7b14f4af6aae: Already exists
970cbf42991d: Already exists
a6846d83fdc6: Already exists
b918cb3a3954: Already exists
a3627ce1af35: Already exists
b6a90ae889b8: Already exists
fe759b2b603e: Already exists
7ddcb2b9210b: Already exists
bdc61cf5b773: Pulling fs layer
3394470af3f4: Pulling fs layer
35bf477d5d7a: Pulling fs layer
f6a07fe84eaf: Pulling fs layer
1a20175ce240: Pulling fs layer
f4f0de7f213b: Pulling fs layer
b8eea1880616: Pulling fs layer
f6a07fe84eaf: Waiting
1a20175ce240: Waiting
f4f0de7f213b: Waiting
b8eea1880616: Waiting
3394470af3f4: Verifying Checksum
3394470af3f4: Download complete
bdc61cf5b773: Verifying Checksum
35bf477d5d7a: Verifying Checksum
35bf477d5d7a: Download complete
bdc61cf5b773: Pull complete
3394470af3f4: Pull complete
35bf477d5d7a: Pull complete
1a20175ce240: Download complete
f4f0de7f213b: Verifying Checksum
f4f0de7f213b: Download complete
b8eea1880616: Verifying Checksum
b8eea1880616: Download complete
f6a07fe84eaf: Verifying Checksum
f6a07fe84eaf: Download complete
f6a07fe84eaf: Pull complete
1a20175ce240: Pull complete
f4f0de7f213b: Pull complete
b8eea1880616: Pull complete
Digest: sha256:b6692556527c8e5e7f38766fdf9c5342653662e77cbe1148ff94aca57e7551b9
Status: Downloaded newer image for ocaml/opam@sha256:b6692556527c8e5e7f38766fdf9c5342653662e77cbe1148ff94aca57e7551b9
2026-03-25 08:51.50 ---> saved as "3fe9f79cbdb7b2f473650e605a22ff4aebefcf0e4b38e327711cdec420d4c109"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-25 08:51.51 ---> saved as "6c71d82b20eeb9d6c568b45bf48a422a41eed0e1f3506f2e1a9974687782176d"

/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-25 08:52.14 ---> saved as "f1a76226eb9727be9f48a7c4f1276c1568df8897a1b2dd8e15b014b96741d979"

/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=ubuntu os-version=25.10
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# invariant            ["ocaml-base-compiler" {= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0
2026-03-25 08:52.15 ---> saved as "3945e1cf5465630082dcdffb85e153ec0134d6b1402ff5d68f6151d2c68693d0"

/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-25 08:52.25 ---> saved as "ebd1b18f7c70c769fd581f01b2f973c68a75c7bf136f200b8facbee7a6cb99fb"

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-25 08:52.35 ---> saved as "0532c19872685b33a36fb3f8f1a81e949943205b02c4331eeabda2a9ec13bcbd"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-25 08:52.53 ---> saved as "1a17378c14efc0b76d4fd0eec28108f69343fb3deee2fbc2cb65957cded871d6"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:3 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:4 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:5 http://security.ubuntu.com/ubuntu questing-security/main amd64 Packages [310 kB]
- Get:6 http://security.ubuntu.com/ubuntu questing-security/universe amd64 Packages [255 kB]
- Get:7 http://archive.ubuntu.com/ubuntu questing-updates/restricted amd64 Packages [228 kB]
- Get:8 http://archive.ubuntu.com/ubuntu questing-updates/multiverse amd64 Packages [6001 B]
- Get:9 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [324 kB]
- Get:10 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [439 kB]
- Fetched 1966 kB in 0s (9760 kB/s)
- Reading package lists...
2026-03-25 08:52.55 ---> saved as "e82eee1fc744e2d6f66a07434a296666e54325e1e6491b89d4687824ff1f2dfe"

/home/opam: (run (shell "opam pin add -k version -yn ocaml-compiler.5.4.0 5.4.0"))
ocaml-compiler is now pinned to version 5.4.0
2026-03-25 08:52.55 ---> saved as "630f383a5900d2478552605c5f032327b06e1c3fdee23ba607beaffc6f94d2b5"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall --update-invariant ocaml-compiler.5.4.0;\
                        \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 \"\\\"ubuntu-25.10\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'ocaml-compiler.5.4.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 8 packages
  - recompile base-domains        base           [uses ocaml]
  - recompile base-effects        base           [uses ocaml]
  - recompile base-nnp            base           [uses base-domains]
  - recompile ocaml               5.4.0          [uses ocaml-base-compiler]
  - recompile ocaml-base-compiler 5.4.0 (pinned) [uses ocaml-compiler]
  - recompile ocaml-compiler      5.4.0 (pinned)
  - recompile ocaml-config        3              [uses ocaml-base-compiler]
  - recompile opam-depext         1.2.3          [uses ocaml]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-compiler.5.4.0  (cached)
-> retrieved ocaml-config.3  (cached)
-> retrieved opam-depext.1.2.3  (cached)
-> removed   base-effects.base
-> removed   base-nnp.base
-> removed   base-domains.base
-> removed   opam-depext.1.2.3
-> removed   ocaml.5.4.0
-> removed   ocaml-config.3
-> removed   ocaml-base-compiler.5.4.0
-> removed   ocaml-compiler.5.4.0
-> installed ocaml-compiler.5.4.0
-> installed ocaml-base-compiler.5.4.0
-> installed ocaml-config.3
-> installed ocaml.5.4.0
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
-> installed opam-depext.1.2.3
Done.

<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# To update the current shell environment, run: eval $(opam env)
2026-03-25 08:55.05 ---> saved as "d37fc1edc4a2bd71e8caf39852a1ea9c87ecf3df1ecdb96db06aa10c865087ed"
Job succeeded
2026-03-25 08:55.12: Job succeeded