(for PR #29582)

2026-03-25 08:39.59: New job: build ocaml-compiler.5.3, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29582/head (fa5fb3a6a806e832e4c7791145889a6bbe8b64ef)
                              on ubuntu-25.10-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/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-4.14@sha256:aec3a5c361e1f840cee035f131574cc49dd90121a2304a12b879c967204233b8
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.3 5.3
RUN opam reinstall --update-invariant ocaml-compiler.5.3; \
    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.3' && 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.59: Using cache hint "ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:aec3a5c361e1f840cee035f131574cc49dd90121a2304a12b879c967204233b8-ocaml-compiler.5.3-fa5fb3a6a806e832e4c7791145889a6bbe8b64ef"
2026-03-25 08:39.59: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:aec3a5c361e1f840cee035f131574cc49dd90121a2304a12b879c967204233b8)
 (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.3 5.3"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall --update-invariant ocaml-compiler.5.3;\
             \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.3' && 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.59: Waiting for resource in pool OCluster
2026-03-25 08:57.11: Waiting for worker…
2026-03-25 09:00.59: Got resource from pool OCluster
Building on doris.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-4.14@sha256:aec3a5c361e1f840cee035f131574cc49dd90121a2304a12b879c967204233b8)
Unable to find image 'ocaml/opam:ubuntu-25.10-ocaml-4.14@sha256:aec3a5c361e1f840cee035f131574cc49dd90121a2304a12b879c967204233b8' locally
docker.io/ocaml/opam@sha256:aec3a5c361e1f840cee035f131574cc49dd90121a2304a12b879c967204233b8: Pulling from ocaml/opam
16c195d4c5e9: Pulling fs layer
1c62812e7321: Pulling fs layer
8a4b09d2a7a7: Pulling fs layer
3318481042ff: Pulling fs layer
3efb10c5a696: Pulling fs layer
8a4b09d2a7a7: Waiting
888f94101ffe: Pulling fs layer
3318481042ff: Waiting
cb111e18f70b: Pulling fs layer
3efb10c5a696: Waiting
4577a01d97fc: Pulling fs layer
888f94101ffe: Waiting
36c03f94b287: Pulling fs layer
b55120cc7c58: Pulling fs layer
cb111e18f70b: Waiting
4577a01d97fc: Waiting
36c03f94b287: Waiting
40f87b6b7b5e: Pulling fs layer
b55120cc7c58: Waiting
b6b4461886a5: Pulling fs layer
82cf66283d29: Pulling fs layer
40f87b6b7b5e: Waiting
1a02079536a8: Pulling fs layer
b6b4461886a5: Waiting
82cf66283d29: Waiting
2e0bc88eb84b: Pulling fs layer
1a02079536a8: Waiting
09b28afbcd46: Pulling fs layer
2e0bc88eb84b: Waiting
00cd2b8865d8: Pulling fs layer
2e4e2f0309f4: Pulling fs layer
00cd2b8865d8: Waiting
09b28afbcd46: Waiting
50db42a840cc: Pulling fs layer
2e4e2f0309f4: Waiting
7e53edc26b50: Pulling fs layer
d3e23dc84d9f: Pulling fs layer
50db42a840cc: Waiting
7e53edc26b50: Waiting
00be44d6dc33: Pulling fs layer
4f4fb700ef54: Pulling fs layer
00be44d6dc33: Waiting
c4c722f9486c: Pulling fs layer
0c7d37cf0e34: Pulling fs layer
c4c722f9486c: Waiting
59a943ba645f: Pulling fs layer
0c7d37cf0e34: Waiting
bd9804fcdebe: Pulling fs layer
59a943ba645f: Waiting
ba9e597c1206: Pulling fs layer
2e772c935e0b: Pulling fs layer
bd9804fcdebe: Waiting
c420ec2e2ade: Pulling fs layer
8ab6bbb76418: Pulling fs layer
2e772c935e0b: Waiting
cf55c954c3b6: Pulling fs layer
aa487f376a9a: Pulling fs layer
cf55c954c3b6: Waiting
ba9e597c1206: Waiting
7b14f4af6aae: Pulling fs layer
8ab6bbb76418: Waiting
aa487f376a9a: Waiting
970cbf42991d: Pulling fs layer
7b14f4af6aae: Waiting
a6846d83fdc6: Pulling fs layer
970cbf42991d: Waiting
b918cb3a3954: Pulling fs layer
c420ec2e2ade: Waiting
a6846d83fdc6: Waiting
a3627ce1af35: Pulling fs layer
b6a90ae889b8: Pulling fs layer
a3627ce1af35: Waiting
b918cb3a3954: Waiting
fe759b2b603e: Pulling fs layer
7ddcb2b9210b: Pulling fs layer
fe759b2b603e: Waiting
2596ff3e14c2: Pulling fs layer
a0393312d310: Pulling fs layer
7ddcb2b9210b: Waiting
2596ff3e14c2: Waiting
92b4d0c76a93: Pulling fs layer
be1ef6b3703b: Pulling fs layer
be1ef6b3703b: Waiting
1c62812e7321: Verifying Checksum
1c62812e7321: Download complete
8a4b09d2a7a7: Verifying Checksum
8a4b09d2a7a7: Download complete
16c195d4c5e9: Verifying Checksum
16c195d4c5e9: Download complete
3318481042ff: Verifying Checksum
3318481042ff: Download complete
3efb10c5a696: Download complete
cb111e18f70b: Download complete
36c03f94b287: Verifying Checksum
36c03f94b287: Download complete
4577a01d97fc: Verifying Checksum
4577a01d97fc: Download complete
16c195d4c5e9: Pull complete
1c62812e7321: Pull complete
8a4b09d2a7a7: Pull complete
888f94101ffe: Verifying Checksum
888f94101ffe: Download complete
b55120cc7c58: Verifying Checksum
b55120cc7c58: Download complete
b6b4461886a5: Verifying Checksum
b6b4461886a5: Download complete
3318481042ff: Pull complete
82cf66283d29: Verifying Checksum
82cf66283d29: Download complete
40f87b6b7b5e: Download complete
1a02079536a8: Verifying Checksum
1a02079536a8: Download complete
3efb10c5a696: Pull complete
00cd2b8865d8: Verifying Checksum
00cd2b8865d8: Download complete
09b28afbcd46: Verifying Checksum
09b28afbcd46: Download complete
2e4e2f0309f4: Verifying Checksum
2e4e2f0309f4: Download complete
50db42a840cc: Verifying Checksum
50db42a840cc: Download complete
2e0bc88eb84b: Verifying Checksum
2e0bc88eb84b: Download complete
7e53edc26b50: Verifying Checksum
7e53edc26b50: Download complete
d3e23dc84d9f: Verifying Checksum
d3e23dc84d9f: Download complete
4f4fb700ef54: Download complete
0c7d37cf0e34: Verifying Checksum
0c7d37cf0e34: Download complete
c4c722f9486c: Verifying Checksum
c4c722f9486c: Download complete
59a943ba645f: Download complete
bd9804fcdebe: Download complete
ba9e597c1206: Verifying Checksum
ba9e597c1206: Download complete
2e772c935e0b: Verifying Checksum
2e772c935e0b: Download complete
8ab6bbb76418: Verifying Checksum
8ab6bbb76418: Download complete
c420ec2e2ade: Verifying Checksum
c420ec2e2ade: Download complete
cf55c954c3b6: Download complete
7b14f4af6aae: Verifying Checksum
7b14f4af6aae: Download complete
aa487f376a9a: Verifying Checksum
aa487f376a9a: Download complete
970cbf42991d: Verifying Checksum
970cbf42991d: Download complete
b918cb3a3954: Verifying Checksum
b918cb3a3954: Download complete
b6a90ae889b8: Download complete
fe759b2b603e: Download complete
7ddcb2b9210b: Download complete
888f94101ffe: Pull complete
cb111e18f70b: Pull complete
4577a01d97fc: Pull complete
36c03f94b287: Pull complete
b55120cc7c58: Pull complete
40f87b6b7b5e: Pull complete
b6b4461886a5: Pull complete
2596ff3e14c2: Verifying Checksum
2596ff3e14c2: Download complete
82cf66283d29: Pull complete
a0393312d310: Download complete
1a02079536a8: Pull complete
2e0bc88eb84b: Pull complete
09b28afbcd46: Pull complete
00cd2b8865d8: Pull complete
2e4e2f0309f4: Pull complete
92b4d0c76a93: Download complete
50db42a840cc: Pull complete
7e53edc26b50: Pull complete
d3e23dc84d9f: Pull complete
00be44d6dc33: Pull complete
4f4fb700ef54: Pull complete
c4c722f9486c: Pull complete
0c7d37cf0e34: Pull complete
59a943ba645f: Pull complete
bd9804fcdebe: Pull complete
ba9e597c1206: Pull complete
2e772c935e0b: Pull complete
c420ec2e2ade: Pull complete
8ab6bbb76418: Pull complete
cf55c954c3b6: Pull complete
aa487f376a9a: Pull complete
7b14f4af6aae: Pull complete
970cbf42991d: Pull complete
be1ef6b3703b: Verifying Checksum
be1ef6b3703b: Download complete
a3627ce1af35: Verifying Checksum
a3627ce1af35: Download complete
a6846d83fdc6: Verifying Checksum
a6846d83fdc6: Download complete
a6846d83fdc6: Pull complete
b918cb3a3954: Pull complete
a3627ce1af35: Pull complete
b6a90ae889b8: Pull complete
fe759b2b603e: Pull complete
7ddcb2b9210b: Pull complete
2596ff3e14c2: Pull complete
a0393312d310: Pull complete
92b4d0c76a93: Pull complete
be1ef6b3703b: Pull complete
Digest: sha256:aec3a5c361e1f840cee035f131574cc49dd90121a2304a12b879c967204233b8
Status: Downloaded newer image for ocaml/opam@sha256:aec3a5c361e1f840cee035f131574cc49dd90121a2304a12b879c967204233b8
2026-03-25 09:17.37 ---> using "04835e086f0fd314ab439d9bfdada761cb46e8d0ba86fb4f8e21557c3e2726af" 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-25 09:17.37 ---> using "4b360f7bdbe6359bb538931b445a944bdf2f010cff9aa36d193fede00381ab21" 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-25 09:17.37 ---> using "248dab8fb0fe5e11f435fe615dccdf3010d57f83ef46cee803a18cfd6936c477" 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=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       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-25 09:17.37 ---> using "b6c100013bec2cd282c4e3e269f0a65da0e26ef3782f03886a5d425a3ace0adb" 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-25 09:17.37 ---> using "47abe3d8ecce2715b22f7748640bdcb1371f43c974a3f00461f374a8eba979fc" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-25 09:17.38 ---> using "5b98d9c0a5b15f94ea2571f5c3add4e2e607802deada70e75904b53d5763a4e5" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-25 09:17.38 ---> using "993a3fdc4fcc62027500bdf9cdc4f3fa5404e7010ab17d0a5f310535b85bf307" from cache

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

/home/opam: (run (shell "opam pin add -k version -yn ocaml-compiler.5.3 5.3"))
ocaml-compiler is now pinned to version 5.3
2026-03-25 09:17.39 ---> saved as "6bf379d187f927f183ecccda0ced34b20e0ff64b8fa202bed918521babd730fa"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall --update-invariant ocaml-compiler.5.3;\
                        \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.3' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>

ocaml-compiler.5.3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== remove 1 package
  - remove    ocaml-base-compiler 4.14.2 (pinned) [conflicts with ocaml-variants]
=== recompile 1 package
  - recompile opam-depext         1.2.3           [uses ocaml]
=== upgrade 2 packages
  - upgrade   ocaml               4.14.2 to 5.3.1 [uses ocaml-config]
  - upgrade   ocaml-config        2 to 3
=== install 7 packages
  - install   base-domains        base
  - install   base-effects        base
  - install   base-nnp            base
  - install   host-arch-x86_64    1
  - install   host-system-other   1
  - install   ocaml-compiler      5.3 (pinned)
  - install   ocaml-variants      5.3.1+trunk     [required by ocaml-config]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> retrieved ocaml-compiler.5.3  (https://github.com/ocaml/ocaml/archive/5.3.tar.gz)
-> retrieved ocaml-config.3  (cached)
-> retrieved opam-depext.1.2.3  (cached)
-> removed   opam-depext.1.2.3
-> removed   ocaml.4.14.2
-> removed   ocaml-config.2
-> removed   ocaml-base-compiler.4.14.2
-> installed ocaml-compiler.5.3
-> installed ocaml-variants.5.3.1+trunk
-> installed ocaml-config.3
-> installed ocaml.5.3.1
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
-> installed opam-depext.1.2.3
[NOTE] Switch invariant was updated to ["ocaml-variants" {= "5.3.1+trunk"}]
       Use `opam switch set-invariant' to change it.
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 09:19.43 ---> saved as "e3c2c7d1d3ac108544dd95a3e19ada9cf7e9655638eaeaaf6ca039c5e0a9d5a9"
Job succeeded
2026-03-25 09:19.49: Job succeeded