(for PR #29582)

2026-03-25 08:39.59: New job: build ocaml-compiler.5.6, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29582/head (fa5fb3a6a806e832e4c7791145889a6bbe8b64ef)
                              on opensuse-16.0-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:opensuse-16.0-ocaml-4.14@sha256:48d322166269ce210e2f4064b31b2dcd07913382dd53c961887a06821b80d1e3
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 "\"opensuse-16.0\""; 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-03-25 08:39.59: Using cache hint "ocaml/opam:opensuse-16.0-ocaml-4.14@sha256:48d322166269ce210e2f4064b31b2dcd07913382dd53c961887a06821b80d1e3-ocaml-compiler.5.6-fa5fb3a6a806e832e4c7791145889a6bbe8b64ef"
2026-03-25 08:39.59: Using OBuilder spec:
((from ocaml/opam:opensuse-16.0-ocaml-4.14@sha256:48d322166269ce210e2f4064b31b2dcd07913382dd53c961887a06821b80d1e3)
 (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 \"\\\"opensuse-16.0\\\"\"; 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-03-25 08:39.59: Waiting for resource in pool OCluster
2026-03-25 08:59.50: Waiting for worker…
2026-03-25 09:03.12: 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:opensuse-16.0-ocaml-4.14@sha256:48d322166269ce210e2f4064b31b2dcd07913382dd53c961887a06821b80d1e3)
Unable to find image 'ocaml/opam:opensuse-16.0-ocaml-4.14@sha256:48d322166269ce210e2f4064b31b2dcd07913382dd53c961887a06821b80d1e3' locally
docker.io/ocaml/opam@sha256:48d322166269ce210e2f4064b31b2dcd07913382dd53c961887a06821b80d1e3: Pulling from ocaml/opam
64cfa2a65095: Already exists
204ffcf2f1fe: Pulling fs layer
f6fa4529cc6b: Pulling fs layer
97af65095748: Pulling fs layer
b802a6057f6d: Pulling fs layer
47b045e79836: Pulling fs layer
2ce8a10bf29f: Pulling fs layer
781ee767d1c7: Pulling fs layer
2271c058ae3a: Pulling fs layer
97af65095748: Waiting
2e5754ca2c40: Pulling fs layer
f6fa4529cc6b: Waiting
204ffcf2f1fe: Waiting
b802a6057f6d: Waiting
47b045e79836: Waiting
2ce8a10bf29f: Waiting
de21e4dabd9c: Pulling fs layer
781ee767d1c7: Waiting
f047029589c4: Pulling fs layer
2271c058ae3a: Waiting
de21e4dabd9c: Waiting
0f454d36be04: Pulling fs layer
2e5754ca2c40: Waiting
f047029589c4: Waiting
04ab44a2df2c: Pulling fs layer
ad401f078830: Pulling fs layer
04ab44a2df2c: Waiting
096a51bccb57: Pulling fs layer
0f454d36be04: Waiting
ad401f078830: Waiting
e7134f98c78b: Pulling fs layer
afc7c35ee433: Pulling fs layer
e7134f98c78b: Waiting
096a51bccb57: Waiting
7bfa5dba7952: Pulling fs layer
4f4fb700ef54: Pulling fs layer
f6b6a751bb6a: Pulling fs layer
f71dccae2ee7: Pulling fs layer
7bfa5dba7952: Waiting
fe37a54a1499: Pulling fs layer
4f4fb700ef54: Waiting
1815b99ebc09: Pulling fs layer
f6b6a751bb6a: Waiting
363d1f23b2cf: Pulling fs layer
4bb0990bd121: Pulling fs layer
fe37a54a1499: Waiting
1815b99ebc09: Waiting
ac4f9c652c6c: Pulling fs layer
363d1f23b2cf: Waiting
ab5409fef174: Pulling fs layer
ac4f9c652c6c: Waiting
5e58ee45c6c7: Pulling fs layer
ee06219176b1: Pulling fs layer
ab5409fef174: Waiting
34fd31afeec8: Pulling fs layer
c7a97b361486: Pulling fs layer
5e58ee45c6c7: Waiting
f43c436b80ca: Pulling fs layer
ee06219176b1: Waiting
de6ecf1d150c: Pulling fs layer
34fd31afeec8: Waiting
78430d721ba0: Pulling fs layer
c7a97b361486: Waiting
04a8b38489d1: Pulling fs layer
de6ecf1d150c: Waiting
f43c436b80ca: Waiting
a9da0a03d6b4: Pulling fs layer
e572f19ef953: Pulling fs layer
a9da0a03d6b4: Waiting
04a8b38489d1: Waiting
65e9f9829912: Pulling fs layer
e572f19ef953: Waiting
0c1a6125592a: Pulling fs layer
12aaad7daeca: Pulling fs layer
10437ea910d9: Pulling fs layer
0c1a6125592a: Waiting
12aaad7daeca: Waiting
204ffcf2f1fe: Verifying Checksum
204ffcf2f1fe: Download complete
204ffcf2f1fe: Pull complete
f6fa4529cc6b: Verifying Checksum
f6fa4529cc6b: Download complete
f6fa4529cc6b: Pull complete
97af65095748: Verifying Checksum
97af65095748: Download complete
b802a6057f6d: Verifying Checksum
b802a6057f6d: Download complete
47b045e79836: Download complete
2ce8a10bf29f: Verifying Checksum
2ce8a10bf29f: Download complete
781ee767d1c7: Verifying Checksum
781ee767d1c7: Download complete
2271c058ae3a: Verifying Checksum
2271c058ae3a: Download complete
2e5754ca2c40: Verifying Checksum
2e5754ca2c40: Download complete
de21e4dabd9c: Verifying Checksum
de21e4dabd9c: Download complete
f047029589c4: Verifying Checksum
f047029589c4: Download complete
0f454d36be04: Verifying Checksum
0f454d36be04: Download complete
04ab44a2df2c: Verifying Checksum
04ab44a2df2c: Download complete
ad401f078830: Verifying Checksum
ad401f078830: Download complete
096a51bccb57: Download complete
e7134f98c78b: Verifying Checksum
e7134f98c78b: Download complete
afc7c35ee433: Verifying Checksum
afc7c35ee433: Download complete
7bfa5dba7952: Verifying Checksum
7bfa5dba7952: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
f6b6a751bb6a: Verifying Checksum
f6b6a751bb6a: Download complete
f71dccae2ee7: Verifying Checksum
f71dccae2ee7: Download complete
fe37a54a1499: Download complete
1815b99ebc09: Download complete
363d1f23b2cf: Download complete
4bb0990bd121: Verifying Checksum
4bb0990bd121: Download complete
97af65095748: Pull complete
b802a6057f6d: Pull complete
ac4f9c652c6c: Verifying Checksum
ac4f9c652c6c: Download complete
47b045e79836: Pull complete
ab5409fef174: Download complete
5e58ee45c6c7: Download complete
ee06219176b1: Verifying Checksum
ee06219176b1: Download complete
34fd31afeec8: Verifying Checksum
34fd31afeec8: Download complete
c7a97b361486: Download complete
2ce8a10bf29f: Pull complete
781ee767d1c7: Pull complete
de6ecf1d150c: Verifying Checksum
de6ecf1d150c: Download complete
2271c058ae3a: Pull complete
2e5754ca2c40: Pull complete
de21e4dabd9c: Pull complete
f047029589c4: Pull complete
0f454d36be04: Pull complete
04ab44a2df2c: Pull complete
ad401f078830: Pull complete
096a51bccb57: Pull complete
e7134f98c78b: Pull complete
afc7c35ee433: Pull complete
7bfa5dba7952: Pull complete
4f4fb700ef54: Pull complete
f6b6a751bb6a: Pull complete
f71dccae2ee7: Pull complete
fe37a54a1499: Pull complete
1815b99ebc09: Pull complete
363d1f23b2cf: Pull complete
4bb0990bd121: Pull complete
ac4f9c652c6c: Pull complete
ab5409fef174: Pull complete
5e58ee45c6c7: Pull complete
ee06219176b1: Pull complete
34fd31afeec8: Pull complete
c7a97b361486: Pull complete
04a8b38489d1: Verifying Checksum
04a8b38489d1: Download complete
a9da0a03d6b4: Verifying Checksum
a9da0a03d6b4: Download complete
e572f19ef953: Verifying Checksum
e572f19ef953: Download complete
65e9f9829912: Verifying Checksum
65e9f9829912: Download complete
78430d721ba0: Verifying Checksum
78430d721ba0: Download complete
0c1a6125592a: Verifying Checksum
0c1a6125592a: Download complete
12aaad7daeca: Verifying Checksum
12aaad7daeca: Download complete
10437ea910d9: Verifying Checksum
10437ea910d9: Download complete
f43c436b80ca: Verifying Checksum
f43c436b80ca: Download complete
f43c436b80ca: Pull complete
de6ecf1d150c: Pull complete
78430d721ba0: Pull complete
04a8b38489d1: Pull complete
a9da0a03d6b4: Pull complete
e572f19ef953: Pull complete
65e9f9829912: Pull complete
0c1a6125592a: Pull complete
12aaad7daeca: Pull complete
10437ea910d9: Pull complete
Digest: sha256:48d322166269ce210e2f4064b31b2dcd07913382dd53c961887a06821b80d1e3
Status: Downloaded newer image for ocaml/opam@sha256:48d322166269ce210e2f4064b31b2dcd07913382dd53c961887a06821b80d1e3
2026-03-25 09:03.21 ---> using "fbfb63538acc5b68860c96756370d8c1982007d8bb244ea63a2197ef9c0a6f52" 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:03.21 ---> using "b30cf8bd0962ae1ed8e7d340d046321e9b83c04bc0218290ed6f38a7a1bdf84c" 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:03.21 ---> using "561f4df4efe360b3f40c7062b6909b3971b9bc45bebab76b0295c43ba78e8e07" 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=opensuse-leap os-version=16.0
# 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:03.21 ---> using "e5532827813c9bde597050a6789b20cc763f89d717147e75b6d18b379fea81e6" 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:03.21 ---> using "12504326bdd9e310c321fa025fe556c29a98eaae987fbda5f22d1777c9cb1d58" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-25 09:03.26 ---> saved as "69195f68f6701b8493037fd76be0239fcb2fc2761da57622a8acc01cd564cb47"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-25 09:03.45 ---> saved as "0ed83b745fbb56fd64438603273a28407ced8c1c7b1a938349db78593d2010c9"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Repository 'repo-openh264 (16.0)' is up to date.
- Retrieving repository 'repo-oss (16.0)' metadata [..
- Looking for gpg keys in repository repo-oss (16.0).
-   gpgkey=http://cdn.opensuse.org/distribution/leap/16.0/repo/oss/x86_64/repodata/repomd.xml.key
- ..
- 
- Note: Received 1 new package signing key from repository "repo-oss (16.0)":
- 
-   Those additional keys are usually used to sign packages shipped by the repository. In order to
-   validate those packages upon download and installation the new keys will be imported into the rpm
-   database.
- 
-   New:
-   Key Fingerprint:  F044 C2C5 07A1 262B 538A AADD 8A49 EB03 25DB 7AE0
-   Key Name:         openSUSE:Backports OBS Project <openSUSE:Backports@build.opensuse.org>
-   Key Algorithm:    RSA 4096
-   Key Created:      Wed May 10 14:46:12 2023
-   Key Expires:      Sun May  9 14:46:12 2027
-   Rpm Name:         gpg-pubkey-25db7ae0-645bae34
- 
-   The repository metadata introducing the new keys have been signed and validated by the trusted
-   key:
- 
-   Repository:       repo-oss (16.0)
-   Key Fingerprint:  AD48 5664 E901 B867 051A B15F 35A2 F86E 29B7 00A4
-   Key Name:         openSUSE Project Signing Key <opensuse@opensuse.org>
-   Key Algorithm:    RSA 4096
-   Key Created:      Mon Jun 20 14:03:14 2022
-   Key Expires:      Fri Jun 19 14:03:14 2026 (expires in 86 days)
-   Rpm Name:         gpg-pubkey-29b700a4-62b07e22
- 
- .
- .
- .......
- ...........
- .........done]
- Building repository 'repo-oss (16.0)' cache [..
- ..done]
- All repositories have been refreshed.
2026-03-25 09:04.00 ---> saved as "3d5c46385a42bd284b032fc266d18564391d75127124c25e860069c31a1d3197"

/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-03-25 09:04.01 ---> saved as "20762953bcd40fa8daa6e04ad332a111190d31af8a1e8df3d8ac5ff9efb41479"

/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 \"\\\"opensuse-16.0\\\"\"; 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.2 (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.2 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.2
-> removed   ocaml-config.2
-> removed   ocaml-base-compiler.4.14.2
-> 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
-> installed opam-depext.1.2.3
[NOTE] Switch invariant was updated to ["ocaml-variants" {= "5.6.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-03-25 09:06.21 ---> saved as "0fa77c52003f96363843dd2b81fc4c9511278969685619058cd037391131fdfb"
Job succeeded
2026-03-25 09:06.30: Job succeeded