(for PR #29582)

2026-03-25 08:39.57: New job: build ocaml-compiler.5.4.0~beta1, 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~beta1 5.4.0~beta1
RUN opam reinstall --update-invariant ocaml-compiler.5.4.0~beta1; \
    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~beta1' && 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~beta1-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~beta1 5.4.0~beta1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall --update-invariant ocaml-compiler.5.4.0~beta1;\
             \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~beta1' && 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:47.02: Waiting for worker…
2026-03-25 08:51.06: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files:  93% (17396/18517)
Updating files:  94% (17406/18517)
Updating files:  95% (17592/18517)
Updating files:  96% (17777/18517)
Updating files:  97% (17962/18517)
Updating files:  98% (18147/18517)
Updating files:  99% (18332/18517)
Updating files: 100% (18517/18517)
Updating files: 100% (18517/18517), done.
HEAD is now at 7216d2e0eb Merge pull request #29593 from arvidj/aj/avoid-passage-0-3-2-3
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/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
1a20175ce240: Waiting
f6a07fe84eaf: Waiting
b8eea1880616: Waiting
3394470af3f4: Verifying Checksum
3394470af3f4: Download complete
bdc61cf5b773: Verifying Checksum
bdc61cf5b773: Download complete
35bf477d5d7a: Verifying Checksum
35bf477d5d7a: Download complete
bdc61cf5b773: Pull complete
3394470af3f4: Pull complete
35bf477d5d7a: Pull complete
1a20175ce240: Verifying Checksum
1a20175ce240: Download complete
f4f0de7f213b: Download complete
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.07 ---> using "3fe9f79cbdb7b2f473650e605a22ff4aebefcf0e4b38e327711cdec420d4c109" 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 08:51.07 ---> using "6c71d82b20eeb9d6c568b45bf48a422a41eed0e1f3506f2e1a9974687782176d" 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
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=255 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-25 08:51.07 ---> using "f1a76226eb9727be9f48a7c4f1276c1568df8897a1b2dd8e15b014b96741d979" 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                 71
# 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:51.07 ---> using "3945e1cf5465630082dcdffb85e153ec0134d6b1402ff5d68f6151d2c68693d0" 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 08:51.08 ---> using "ebd1b18f7c70c769fd581f01b2f973c68a75c7bf136f200b8facbee7a6cb99fb" from cache

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

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-25 08:51.40 ---> 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]
- Get:2 http://security.ubuntu.com/ubuntu questing-security/universe amd64 Packages [255 kB]
- Get:3 http://security.ubuntu.com/ubuntu questing-security/main amd64 Packages [310 kB]
- Hit:4 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:5 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:6 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:7 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [439 kB]
- Get:8 http://archive.ubuntu.com/ubuntu questing-updates/multiverse amd64 Packages [6001 B]
- Get:9 http://archive.ubuntu.com/ubuntu questing-updates/restricted amd64 Packages [228 kB]
- Get:10 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [324 kB]
- Fetched 1966 kB in 1s (1634 kB/s)
- Reading package lists...
- 
2026-03-25 08:51.43 ---> saved as "e82eee1fc744e2d6f66a07434a296666e54325e1e6491b89d4687824ff1f2dfe"

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

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall --update-invariant ocaml-compiler.5.4.0~beta1;\
                        \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~beta1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ocaml-compiler.5.4.0~beta1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== remove 1 package
  - remove    ocaml-base-compiler 5.4.0 (pinned)                [conflicts with ocaml-compiler]
=== downgrade 1 package
  - downgrade ocaml-compiler      5.4.0 to 5.4.0~beta1 (pinned)
=== recompile 6 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-config        3                             [uses ocaml-base-compiler]
  - recompile opam-depext         1.2.3                         [uses ocaml]
=== install 1 package
  - install   ocaml-variants      5.4.0~beta1+options           [required by ocaml]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-compiler.5.4.0~beta1  (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~beta1
-> installed ocaml-variants.5.4.0~beta1+options
-> 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
[NOTE] Switch invariant was updated to ["ocaml-variants" {= "5.4.0~beta1+options"}]
       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 08:55.14 ---> saved as "dca994750230ac0ee1f49a0442fc9ee788e37e98d80bc4d87a45d053d90ad031"
Job succeeded
2026-03-25 08:55.20: Job succeeded