(for PR #29582)

2026-04-27 07:45.26: New job: build ocaml-compiler.5.6, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29582/head (fa5fb3a6a806e832e4c7791145889a6bbe8b64ef)
                              on ubuntu-26.04-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 d5058a91d400180e2118d7eeefa040cfcee45d2c
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-26.04-ocaml-4.14@sha256:2f255185d21e68bfa168a0f0e7340692071da4b94eb69bf97e318398f8494c2d
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.6 5.6
RUN opam reinstall --update-invariant ocaml-compiler.5.6; \
    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-26.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ocaml-compiler.5.6' && 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-04-27 07:45.26: Using cache hint "ocaml/opam:ubuntu-26.04-ocaml-4.14@sha256:2f255185d21e68bfa168a0f0e7340692071da4b94eb69bf97e318398f8494c2d-ocaml-compiler.5.6-fa5fb3a6a806e832e4c7791145889a6bbe8b64ef"
2026-04-27 07:45.26: Using OBuilder spec:
((from ocaml/opam:ubuntu-26.04-ocaml-4.14@sha256:2f255185d21e68bfa168a0f0e7340692071da4b94eb69bf97e318398f8494c2d)
 (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.6 5.6"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall --update-invariant ocaml-compiler.5.6;\
             \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-26.04\\\"\"; 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.6' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-04-27 07:45.26: Connecting to build cluster…
2026-04-27 07:45.26: Waiting for resource in pool OCluster
2026-04-27 08:02.15: Waiting for worker…
2026-04-27 08:04.27: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at d5058a91d4 Merge pull request #29801 from YuriyKrasilnikov/opam-publish-idna.0.4.0
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-26.04-ocaml-4.14@sha256:2f255185d21e68bfa168a0f0e7340692071da4b94eb69bf97e318398f8494c2d)
Unable to find image 'ocaml/opam:ubuntu-26.04-ocaml-4.14@sha256:2f255185d21e68bfa168a0f0e7340692071da4b94eb69bf97e318398f8494c2d' locally
docker.io/ocaml/opam@sha256:2f255185d21e68bfa168a0f0e7340692071da4b94eb69bf97e318398f8494c2d: Pulling from ocaml/opam
5f528443f346: Pulling fs layer
9d7db96ef8a1: Pulling fs layer
69cd0ed39c32: Pulling fs layer
8ddd605780bc: Pulling fs layer
b3563cf9c718: Pulling fs layer
0ff6404f2cf9: Pulling fs layer
0fd106322b2a: Pulling fs layer
6cfb66f33040: Pulling fs layer
b3563cf9c718: Waiting
8ddd605780bc: Waiting
0ff6404f2cf9: Waiting
b054a68819af: Pulling fs layer
0fd106322b2a: Waiting
6cfb66f33040: Waiting
935df48738cf: Pulling fs layer
b054a68819af: Waiting
6d7855f07084: Pulling fs layer
935df48738cf: Waiting
baf8b6b1404d: Pulling fs layer
6d7855f07084: Waiting
d11a2bc559d8: Pulling fs layer
baf8b6b1404d: Waiting
47b449369e16: Pulling fs layer
d11a2bc559d8: Waiting
47b449369e16: Waiting
8821a6dafec4: Pulling fs layer
de6cbfe58b17: Pulling fs layer
4789d14f0dba: Pulling fs layer
8821a6dafec4: Waiting
de6cbfe58b17: Waiting
dc40a97042b2: Pulling fs layer
4789d14f0dba: Waiting
5ba7a82e9924: Pulling fs layer
dc40a97042b2: Waiting
5ba7a82e9924: Waiting
1bd9b354e379: Pulling fs layer
d95538300577: Pulling fs layer
1bd9b354e379: Waiting
ccb31d3e72ef: Pulling fs layer
d5ec08a27795: Pulling fs layer
d95538300577: Waiting
ccb31d3e72ef: Waiting
4f4fb700ef54: Pulling fs layer
d5ec08a27795: Waiting
cace1535e380: Pulling fs layer
4f4fb700ef54: Waiting
6abc7b96ebc8: Pulling fs layer
cace1535e380: Waiting
31baaf291736: Pulling fs layer
6abc7b96ebc8: Waiting
d7ee8870a44e: Pulling fs layer
bec0e40ffcad: Pulling fs layer
31baaf291736: Waiting
8e3943b026f0: Pulling fs layer
bec0e40ffcad: Waiting
d7ee8870a44e: Waiting
2a4924aaac32: Pulling fs layer
8e3943b026f0: Waiting
4761365b4e53: Pulling fs layer
1a958ae6c150: Pulling fs layer
2a4924aaac32: Waiting
4761365b4e53: Waiting
65cf788ac9e8: Pulling fs layer
1a958ae6c150: Waiting
549c069a431e: Pulling fs layer
d41918af1eb8: Pulling fs layer
65cf788ac9e8: Waiting
549c069a431e: Waiting
b07a459306ae: Pulling fs layer
d41918af1eb8: Waiting
7a4d6fbc7167: Pulling fs layer
b07a459306ae: Waiting
d0314755e705: Pulling fs layer
7a4d6fbc7167: Waiting
9fe4679cfa16: Pulling fs layer
d0314755e705: Waiting
3da651ad3c12: Pulling fs layer
9fe4679cfa16: Waiting
d706efa35e7e: Pulling fs layer
bb595e942949: Pulling fs layer
3da651ad3c12: Waiting
d706efa35e7e: Waiting
755a09591609: Pulling fs layer
bb595e942949: Waiting
61e99e660ae4: Pulling fs layer
755a09591609: Waiting
5db38511abe8: Pulling fs layer
61e99e660ae4: Waiting
877491a221b2: Pulling fs layer
5db38511abe8: Waiting
877491a221b2: Waiting
69cd0ed39c32: Verifying Checksum
69cd0ed39c32: Download complete
9d7db96ef8a1: Verifying Checksum
9d7db96ef8a1: Download complete
8ddd605780bc: Verifying Checksum
8ddd605780bc: Download complete
5f528443f346: Verifying Checksum
5f528443f346: Download complete
b3563cf9c718: Verifying Checksum
b3563cf9c718: Download complete
6cfb66f33040: Verifying Checksum
6cfb66f33040: Download complete
0ff6404f2cf9: Verifying Checksum
0ff6404f2cf9: Download complete
b054a68819af: Verifying Checksum
b054a68819af: Download complete
935df48738cf: Verifying Checksum
935df48738cf: Download complete
6d7855f07084: Verifying Checksum
6d7855f07084: Download complete
d11a2bc559d8: Verifying Checksum
d11a2bc559d8: Download complete
baf8b6b1404d: Verifying Checksum
baf8b6b1404d: Download complete
8821a6dafec4: Verifying Checksum
8821a6dafec4: Download complete
47b449369e16: Verifying Checksum
47b449369e16: Download complete
4789d14f0dba: Verifying Checksum
4789d14f0dba: Download complete
de6cbfe58b17: Verifying Checksum
de6cbfe58b17: Download complete
dc40a97042b2: Verifying Checksum
dc40a97042b2: Download complete
5ba7a82e9924: Download complete
1bd9b354e379: Verifying Checksum
1bd9b354e379: Download complete
d95538300577: Verifying Checksum
d95538300577: Download complete
ccb31d3e72ef: Download complete
d5ec08a27795: Verifying Checksum
d5ec08a27795: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
5f528443f346: Pull complete
9d7db96ef8a1: Pull complete
69cd0ed39c32: Pull complete
8ddd605780bc: Pull complete
cace1535e380: Download complete
6abc7b96ebc8: Verifying Checksum
6abc7b96ebc8: Download complete
31baaf291736: Download complete
d7ee8870a44e: Verifying Checksum
d7ee8870a44e: Download complete
bec0e40ffcad: Verifying Checksum
bec0e40ffcad: Download complete
8e3943b026f0: Download complete
2a4924aaac32: Download complete
4761365b4e53: Verifying Checksum
4761365b4e53: Download complete
b3563cf9c718: Pull complete
1a958ae6c150: Download complete
65cf788ac9e8: Download complete
d41918af1eb8: Verifying Checksum
d41918af1eb8: Download complete
549c069a431e: Verifying Checksum
549c069a431e: Download complete
7a4d6fbc7167: Verifying Checksum
7a4d6fbc7167: Download complete
0ff6404f2cf9: Pull complete
b07a459306ae: Verifying Checksum
b07a459306ae: Download complete
9fe4679cfa16: Download complete
3da651ad3c12: Verifying Checksum
3da651ad3c12: Download complete
d706efa35e7e: Download complete
d0314755e705: Verifying Checksum
d0314755e705: Download complete
0fd106322b2a: Verifying Checksum
0fd106322b2a: Download complete
bb595e942949: Verifying Checksum
bb595e942949: Download complete
61e99e660ae4: Verifying Checksum
61e99e660ae4: Download complete
5db38511abe8: Download complete
877491a221b2: Verifying Checksum
877491a221b2: Download complete
755a09591609: Verifying Checksum
755a09591609: Download complete
0fd106322b2a: Pull complete
6cfb66f33040: Pull complete
b054a68819af: Pull complete
935df48738cf: Pull complete
6d7855f07084: Pull complete
baf8b6b1404d: Pull complete
d11a2bc559d8: Pull complete
47b449369e16: Pull complete
8821a6dafec4: Pull complete
de6cbfe58b17: Pull complete
4789d14f0dba: Pull complete
dc40a97042b2: Pull complete
5ba7a82e9924: Pull complete
1bd9b354e379: Pull complete
d95538300577: Pull complete
ccb31d3e72ef: Pull complete
d5ec08a27795: Pull complete
4f4fb700ef54: Pull complete
cace1535e380: Pull complete
6abc7b96ebc8: Pull complete
31baaf291736: Pull complete
d7ee8870a44e: Pull complete
bec0e40ffcad: Pull complete
8e3943b026f0: Pull complete
2a4924aaac32: Pull complete
4761365b4e53: Pull complete
1a958ae6c150: Pull complete
65cf788ac9e8: Pull complete
549c069a431e: Pull complete
d41918af1eb8: Pull complete
b07a459306ae: Pull complete
7a4d6fbc7167: Pull complete
d0314755e705: Pull complete
9fe4679cfa16: Pull complete
3da651ad3c12: Pull complete
d706efa35e7e: Pull complete
bb595e942949: Pull complete
755a09591609: Pull complete
61e99e660ae4: Pull complete
5db38511abe8: Pull complete
877491a221b2: Pull complete
Digest: sha256:2f255185d21e68bfa168a0f0e7340692071da4b94eb69bf97e318398f8494c2d
Status: Downloaded newer image for ocaml/opam@sha256:2f255185d21e68bfa168a0f0e7340692071da4b94eb69bf97e318398f8494c2d
2026-04-27 08:06.14 ---> using "45d158ca078290bcc17e9facee88fdfae9286d7b57e1f5b30c01b2448818c3bd" 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-04-27 08:06.14 ---> using "4626a65a70a8a30c0df254197eb43075fe9e0614d2aabffd36f3db39c571f9a1" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[default] Initialised
2026-04-27 08:06.14 ---> using "3d20f2baa33d39b9fdffb67b026058811c77466cb083bb7d6eb96ed8808cb1fa" 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.1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=ubuntu os-version=26.04
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         2 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.3"}]
# compiler-packages    ocaml-base-compiler.4.14.3, 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.3
2026-04-27 08:06.14 ---> using "4c66cd558815b597c3edddada2ab96038591c56537ca8359d5934896dd63e0d1" 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-04-27 08:06.14 ---> using "e63c5243cc44f25cf012660a8f8f2b6bc4718dd7c1c95fa5da46c5ffcf78f4a2" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-27 08:06.15 ---> using "360359001bd1631c3f259ac380346e7eaceeceeb176c98017329c5c3b502bf28" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-27 08:06.15 ---> using "4c1caadb62e76ce909959afd4a951b11b44245d4a7599aa9d783ba2a288d62a5" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://security.ubuntu.com/ubuntu resolute-security InRelease
- Hit:2 http://archive.ubuntu.com/ubuntu resolute InRelease
- Hit:3 http://archive.ubuntu.com/ubuntu resolute-updates InRelease
- Hit:4 http://archive.ubuntu.com/ubuntu resolute-backports InRelease
- Reading package lists...
- 
2026-04-27 08:06.15 ---> using "9bbeddf14078e7580481313e49d92d9f1c76e9fc4e5b3e9d4b8ca44b691bdcab" from cache

/home/opam: (run (shell "opam pin add -k version -yn ocaml-compiler.5.6 5.6"))
ocaml-compiler is now pinned to version 5.6
2026-04-27 08:06.15 ---> using "9940884395e9346b288cb454f2697ff17cd0e452f73b1c584fc5c21e352d04c2" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall --update-invariant ocaml-compiler.5.6;\
                        \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-26.04\\\"\"; 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.6' && 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.6 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== remove 1 package
  - remove    ocaml-base-compiler 4.14.3 (pinned) [conflicts with ocaml-variants]
=== recompile 2 packages
  - recompile ocaml-config        2               [uses ocaml-variants]
  - recompile opam-depext         1.2.3           [uses ocaml]
=== upgrade 1 package
  - upgrade   ocaml               4.14.3 to 5.6.0
=== 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.6 (pinned)
  - install   ocaml-variants      5.6.0+trunk     [required by ocaml]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml.5.6.0  (cached)
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> retrieved ocaml-compiler.5.6  (https://github.com/ocaml/ocaml/archive/trunk.tar.gz)
-> retrieved ocaml-config.2  (cached)
-> retrieved opam-depext.1.2.3  (cached)
-> removed   opam-depext.1.2.3
-> removed   ocaml.4.14.3
-> removed   ocaml-config.2
-> removed   ocaml-base-compiler.4.14.3
-> installed ocaml-compiler.5.6
-> installed ocaml-variants.5.6.0+trunk
-> installed ocaml-config.2
-> installed ocaml.5.6.0
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
[NOTE] Switch invariant was updated to ["ocaml-variants" {= "5.6.0+trunk"}]
       Use `opam switch set-invariant' to change it.
-> 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-04-27 08:09.43 ---> saved as "d2bb029ec9d01f6742828b8291e82d66bd3e44be09e9eff06f3272208d681f7a"
Job succeeded
2026-04-27 08:09.51: Job succeeded