(for PR #29582)

2026-04-27 07:45.26: New job: build ocaml-compiler.5.5, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29582/head (fa5fb3a6a806e832e4c7791145889a6bbe8b64ef)
                              on alpine-3.23-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:alpine-3.23-ocaml-4.14@sha256:c98c3afc38d39340ca2b1e9c3c1b8c127283806cba433dd4865c01d18c619ef9
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.5 5.5
RUN opam reinstall --update-invariant ocaml-compiler.5.5; \
    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 "\"alpine-3.23\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ocaml-compiler.5.5' && 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:alpine-3.23-ocaml-4.14@sha256:c98c3afc38d39340ca2b1e9c3c1b8c127283806cba433dd4865c01d18c619ef9-ocaml-compiler.5.5-fa5fb3a6a806e832e4c7791145889a6bbe8b64ef"
2026-04-27 07:45.26: Using OBuilder spec:
((from ocaml/opam:alpine-3.23-ocaml-4.14@sha256:c98c3afc38d39340ca2b1e9c3c1b8c127283806cba433dd4865c01d18c619ef9)
 (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.5 5.5"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall --update-invariant ocaml-compiler.5.5;\
             \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 \"\\\"alpine-3.23\\\"\"; 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.5' && 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:01.51: Waiting for worker…
2026-04-27 08:03.39: Got resource from pool OCluster
Building on odawa.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:alpine-3.23-ocaml-4.14@sha256:c98c3afc38d39340ca2b1e9c3c1b8c127283806cba433dd4865c01d18c619ef9)
Unable to find image 'ocaml/opam:alpine-3.23-ocaml-4.14@sha256:c98c3afc38d39340ca2b1e9c3c1b8c127283806cba433dd4865c01d18c619ef9' locally
docker.io/ocaml/opam@sha256:c98c3afc38d39340ca2b1e9c3c1b8c127283806cba433dd4865c01d18c619ef9: Pulling from ocaml/opam
6a0ac1617861: Already exists
9630673831f3: Already exists
4cffb540229a: Already exists
aa3cee094119: Already exists
f2700202f619: Already exists
33135c7375d5: Already exists
1ea4b64ae955: Already exists
ca34ef70eda1: Already exists
d4998b6f8f35: Already exists
4a43cfe8648c: Already exists
453dd28eaace: Already exists
a962f0379f0a: Already exists
b68882dcbbd8: Already exists
3f63b4eac828: Already exists
0720e1e1068a: Already exists
0676d4d6023a: Already exists
0ab690805f49: Already exists
fc0af979c0fe: Already exists
4f4fb700ef54: Already exists
63f1d0bef8ae: Already exists
43fd6995d88f: Already exists
c775bfb331ab: Already exists
a7a9b5ed8780: Already exists
86ac791930d3: Already exists
2e34d70b785c: Already exists
56c554cb0baa: Already exists
0109b7ea4beb: Already exists
a72aa581a14e: Already exists
0b969b88b90b: Already exists
d1ae0e2bf910: Already exists
cfd8efe5a061: Already exists
a34595d6f491: Already exists
7333547f58a0: Already exists
803cdf5f2902: Already exists
d74501489c54: Already exists
628aecb9cafb: Already exists
0c52f398a865: Already exists
c0458221ae1b: Pulling fs layer
5f395ae7d7f2: Pulling fs layer
767edc63c5be: Pulling fs layer
f3eb2829860a: Pulling fs layer
2cde0115c1f3: Pulling fs layer
f3eb2829860a: Waiting
2cde0115c1f3: Waiting
767edc63c5be: Verifying Checksum
767edc63c5be: Download complete
f3eb2829860a: Verifying Checksum
f3eb2829860a: Download complete
2cde0115c1f3: Verifying Checksum
2cde0115c1f3: Download complete
5f395ae7d7f2: Verifying Checksum
5f395ae7d7f2: Download complete
c0458221ae1b: Verifying Checksum
c0458221ae1b: Download complete
c0458221ae1b: Pull complete
5f395ae7d7f2: Pull complete
767edc63c5be: Pull complete
f3eb2829860a: Pull complete
2cde0115c1f3: Pull complete
Digest: sha256:c98c3afc38d39340ca2b1e9c3c1b8c127283806cba433dd4865c01d18c619ef9
Status: Downloaded newer image for ocaml/opam@sha256:c98c3afc38d39340ca2b1e9c3c1b8c127283806cba433dd4865c01d18c619ef9
2026-04-27 08:03.48 ---> using "8e65bc4d84a4bbc3f291f4c89c5f0411ea9740fc4228eddb2c11cbc44748b04d" 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:03.48 ---> using "675c877c9dd486f641aee3378b59285238ab2b565463dcdb193b45608fd93b81" 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:03.48 ---> using "a88ef8b7fb3aa3efabd87d4593879d154a4323a2f4d086ab73e1cdbcf7918269" 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=alpine os-version=3.23.4
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# 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:03.48 ---> using "636b99ed7c292adfd5c94f091ec6e2d271a13089a57db5c9b45f98e4a6e23269" 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:03.48 ---> using "139d3baade1b3746ddb5cd8cea87afe31917f294090b5c8d8bf4ccbce794d121" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-27 08:03.53 ---> saved as "c9df80c23123b4a88f6bc6c7af911cb63f2d72ba8f19a5b85d470f8c6c3e93d1"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-27 08:04.10 ---> saved as "c707ea6fbe9dc13b102fc9e2dc6efb9bd575170c4885a90032a35f243ae76ba4"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apk" "update"
- v3.23.4-59-gb9ff5fecad9 [https://dl-cdn.alpinelinux.org/alpine/v3.23/main]
- v3.23.4-62-gc06bcbb6e5a [https://dl-cdn.alpinelinux.org/alpine/v3.23/community]
- v20260127-8558-gb12fae68f31 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20260127-8559-g6fd958a3511 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20260127-8554-gb33de4ab903 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 62090 distinct packages available
2026-04-27 08:04.12 ---> saved as "d4d8eea19d97f6389722576f76079e8034f0500059493304e109a9c6e813a6bf"

/home/opam: (run (shell "opam pin add -k version -yn ocaml-compiler.5.5 5.5"))
ocaml-compiler is now pinned to version 5.5
2026-04-27 08:04.13 ---> saved as "3ce9ad990ec15a631fef3004224602d373b00923cab309731436eb9d93d6a685"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall --update-invariant ocaml-compiler.5.5;\
                        \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 \"\\\"alpine-3.23\\\"\"; 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.5' && 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.5 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.5.0
=== install 8 packages
  - install   base-domains        base
  - install   base-effects        base
  - install   base-nnp            base
  - install   compiler-cloning    disabled        [required by ocaml-compiler]
  - install   host-arch-x86_64    1
  - install   host-system-other   1
  - install   ocaml-compiler      5.5 (pinned)
  - install   ocaml-variants      5.5.0+trunk     [required by ocaml]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml.5.5.0  (cached)
-> installed compiler-cloning.disabled
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> retrieved ocaml-compiler.5.5  (https://github.com/ocaml/ocaml/archive/5.5.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.5
-> installed ocaml-variants.5.5.0+trunk
-> installed ocaml-config.2
-> installed ocaml.5.5.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.5.0+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-04-27 08:06.25 ---> saved as "55c3d545c99f9b6b8d69ae5c85425deee2bc9568350397f373c4a4832aa58f24"
Job succeeded
2026-04-27 08:06.31: Job succeeded