(for PR #29582)

2026-03-25 08:39.59: New job: build ocaml-variants.5.2.0+msvc, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29582/head (fa5fb3a6a806e832e4c7791145889a6bbe8b64ef)
                              on debian-unstable-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:debian-unstable-ocaml-4.14@sha256:7a253bd846347f5e2de6d4e021bd5f830742181435988b0028372fbfe13b09a0
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-variants.5.2.0+msvc 5.2.0+msvc
RUN opam reinstall --update-invariant ocaml-variants.5.2.0+msvc; \
    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 "\"debian-unstable\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ocaml-variants.5.2.0+msvc' && 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:debian-unstable-ocaml-4.14@sha256:7a253bd846347f5e2de6d4e021bd5f830742181435988b0028372fbfe13b09a0-ocaml-variants.5.2.0+msvc-fa5fb3a6a806e832e4c7791145889a6bbe8b64ef"
2026-03-25 08:39.59: Using OBuilder spec:
((from ocaml/opam:debian-unstable-ocaml-4.14@sha256:7a253bd846347f5e2de6d4e021bd5f830742181435988b0028372fbfe13b09a0)
 (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-variants.5.2.0+msvc 5.2.0+msvc"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall --update-invariant ocaml-variants.5.2.0+msvc;\
             \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 \"\\\"debian-unstable\\\"\"; 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-variants.5.2.0+msvc' && 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 09:01.51: Waiting for worker…
2026-03-25 09:05.13: 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:debian-unstable-ocaml-4.14@sha256:7a253bd846347f5e2de6d4e021bd5f830742181435988b0028372fbfe13b09a0)
Unable to find image 'ocaml/opam:debian-unstable-ocaml-4.14@sha256:7a253bd846347f5e2de6d4e021bd5f830742181435988b0028372fbfe13b09a0' locally
docker.io/ocaml/opam@sha256:7a253bd846347f5e2de6d4e021bd5f830742181435988b0028372fbfe13b09a0: Pulling from ocaml/opam
5d328c471922: Pulling fs layer
f00abbd15497: Pulling fs layer
8db7d6e222cd: Pulling fs layer
745b4a42ed1b: Pulling fs layer
2896b51452b5: Pulling fs layer
1fea5b82256f: Pulling fs layer
8294f307901e: Pulling fs layer
ecc43dfe3c80: Pulling fs layer
5c981433deda: Pulling fs layer
75b392cef5ec: Pulling fs layer
c589b24d24cb: Pulling fs layer
e9218c22180c: Pulling fs layer
53efd95c2b7f: Pulling fs layer
745b4a42ed1b: Waiting
8294f307901e: Waiting
c9f0b85dce1f: Pulling fs layer
2896b51452b5: Waiting
ecc43dfe3c80: Waiting
1fea5b82256f: Waiting
d85ea5b43c76: Pulling fs layer
e9218c22180c: Waiting
5c981433deda: Waiting
fe1b4d5e2ab3: Pulling fs layer
53efd95c2b7f: Waiting
01719f26465e: Pulling fs layer
75b392cef5ec: Waiting
c589b24d24cb: Waiting
c9f0b85dce1f: Waiting
d85ea5b43c76: Waiting
40ea78c8a01b: Pulling fs layer
fe1b4d5e2ab3: Waiting
01719f26465e: Waiting
d899eeed5549: Pulling fs layer
40ea78c8a01b: Waiting
95eb2fcff96a: Pulling fs layer
a1bef402d6bf: Pulling fs layer
d899eeed5549: Waiting
4f4fb700ef54: Pulling fs layer
95eb2fcff96a: Waiting
a1bef402d6bf: Waiting
2b7876916db8: Pulling fs layer
4f4fb700ef54: Waiting
17b1c517d9f9: Pulling fs layer
2b7876916db8: Waiting
1f3c24128938: Pulling fs layer
17b1c517d9f9: Waiting
ff08eef5d167: Pulling fs layer
1f3c24128938: Waiting
9f93c317ad84: Pulling fs layer
ff08eef5d167: Waiting
de43567988be: Pulling fs layer
9f93c317ad84: Waiting
de43567988be: Waiting
960f2cb3fd15: Pulling fs layer
21cc70e6624a: Pulling fs layer
960f2cb3fd15: Waiting
cb5a64eedb74: Pulling fs layer
14423c9cef00: Pulling fs layer
cb5a64eedb74: Waiting
05a3fcd55689: Pulling fs layer
14423c9cef00: Waiting
bf669b533a13: Pulling fs layer
22f6d2e54943: Pulling fs layer
05a3fcd55689: Waiting
bf669b533a13: Waiting
68132bd2a62e: Pulling fs layer
b52e05e7534a: Pulling fs layer
c94f561cd98b: Pulling fs layer
b52e05e7534a: Waiting
866482d57749: Pulling fs layer
4433288cc778: Pulling fs layer
866482d57749: Waiting
68132bd2a62e: Waiting
c94f561cd98b: Waiting
37376139ebed: Pulling fs layer
4433288cc778: Waiting
9ce593a94e00: Pulling fs layer
37376139ebed: Waiting
9ce593a94e00: Waiting
54dade1db686: Pulling fs layer
ea8f27e898cf: Pulling fs layer
54dade1db686: Waiting
ea8f27e898cf: Waiting
8db7d6e222cd: Download complete
f00abbd15497: Verifying Checksum
f00abbd15497: Download complete
5d328c471922: Verifying Checksum
5d328c471922: Download complete
745b4a42ed1b: Verifying Checksum
745b4a42ed1b: Download complete
2896b51452b5: Verifying Checksum
2896b51452b5: Download complete
8294f307901e: Verifying Checksum
8294f307901e: Download complete
5c981433deda: Verifying Checksum
5c981433deda: Download complete
ecc43dfe3c80: Verifying Checksum
ecc43dfe3c80: Download complete
5d328c471922: Pull complete
f00abbd15497: Pull complete
8db7d6e222cd: Pull complete
1fea5b82256f: Verifying Checksum
1fea5b82256f: Download complete
75b392cef5ec: Verifying Checksum
75b392cef5ec: Download complete
c589b24d24cb: Verifying Checksum
c589b24d24cb: Download complete
53efd95c2b7f: Verifying Checksum
53efd95c2b7f: Download complete
e9218c22180c: Verifying Checksum
e9218c22180c: Download complete
745b4a42ed1b: Pull complete
c9f0b85dce1f: Verifying Checksum
c9f0b85dce1f: Download complete
fe1b4d5e2ab3: Verifying Checksum
fe1b4d5e2ab3: Download complete
d85ea5b43c76: Verifying Checksum
d85ea5b43c76: Download complete
01719f26465e: Verifying Checksum
01719f26465e: Download complete
2896b51452b5: Pull complete
40ea78c8a01b: Download complete
95eb2fcff96a: Verifying Checksum
95eb2fcff96a: Download complete
a1bef402d6bf: Verifying Checksum
a1bef402d6bf: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
2b7876916db8: Verifying Checksum
2b7876916db8: Download complete
17b1c517d9f9: Verifying Checksum
17b1c517d9f9: Download complete
1f3c24128938: Download complete
ff08eef5d167: Verifying Checksum
ff08eef5d167: Download complete
9f93c317ad84: Verifying Checksum
9f93c317ad84: Download complete
de43567988be: Verifying Checksum
de43567988be: Download complete
960f2cb3fd15: Verifying Checksum
960f2cb3fd15: Download complete
21cc70e6624a: Verifying Checksum
21cc70e6624a: Download complete
cb5a64eedb74: Download complete
14423c9cef00: Verifying Checksum
14423c9cef00: Download complete
05a3fcd55689: Verifying Checksum
05a3fcd55689: Download complete
bf669b533a13: Download complete
68132bd2a62e: Verifying Checksum
68132bd2a62e: Download complete
c94f561cd98b: Verifying Checksum
c94f561cd98b: Download complete
866482d57749: Download complete
4433288cc778: Download complete
b52e05e7534a: Verifying Checksum
b52e05e7534a: Download complete
9ce593a94e00: Verifying Checksum
9ce593a94e00: Download complete
54dade1db686: Download complete
ea8f27e898cf: Verifying Checksum
ea8f27e898cf: Download complete
37376139ebed: Verifying Checksum
37376139ebed: Download complete
22f6d2e54943: Verifying Checksum
22f6d2e54943: Download complete
1fea5b82256f: Pull complete
8294f307901e: Pull complete
ecc43dfe3c80: Pull complete
5c981433deda: Pull complete
75b392cef5ec: Pull complete
c589b24d24cb: Pull complete
e9218c22180c: Pull complete
53efd95c2b7f: Pull complete
c9f0b85dce1f: Pull complete
d85ea5b43c76: Pull complete
fe1b4d5e2ab3: Pull complete
01719f26465e: Pull complete
40ea78c8a01b: Pull complete
d899eeed5549: Pull complete
95eb2fcff96a: Pull complete
a1bef402d6bf: Pull complete
4f4fb700ef54: Pull complete
2b7876916db8: Pull complete
17b1c517d9f9: Pull complete
1f3c24128938: Pull complete
ff08eef5d167: Pull complete
9f93c317ad84: Pull complete
de43567988be: Pull complete
960f2cb3fd15: Pull complete
21cc70e6624a: Pull complete
cb5a64eedb74: Pull complete
14423c9cef00: Pull complete
05a3fcd55689: Pull complete
bf669b533a13: Pull complete
22f6d2e54943: Pull complete
68132bd2a62e: Pull complete
b52e05e7534a: Pull complete
c94f561cd98b: Pull complete
866482d57749: Pull complete
4433288cc778: Pull complete
37376139ebed: Pull complete
9ce593a94e00: Pull complete
54dade1db686: Pull complete
ea8f27e898cf: Pull complete
Digest: sha256:7a253bd846347f5e2de6d4e021bd5f830742181435988b0028372fbfe13b09a0
Status: Downloaded newer image for ocaml/opam@sha256:7a253bd846347f5e2de6d4e021bd5f830742181435988b0028372fbfe13b09a0
2026-03-25 09:07.42 ---> saved as "29355325fccad4b9333dc3e1b3a4637236bc08942e611742c9664d44f16c706f"

/: (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:07.42 ---> saved as "dedcf10d7ac3f41b838c5213d4e5ce9ec21fb3fa53774f27aa87e105f165eb68"

/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:08.05 ---> saved as "143a75904dd6293d3a81ade7ef529aa7ebfbee4c872767098b66a415daf5a11b"

/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=debian os-version=unknown
# 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:08.06 ---> saved as "3f09cf1d4a46e379ed16d968e0f906df1c5b953ebf1e11d020f351ff26269831"

/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:08.18 ---> saved as "6561caafa5eeca8e52a49491bbd2458d84b5c79b2fc5e64a525657862343f93a"

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-25 09:08.25 ---> saved as "168aee1a99c0d09761f9db04482a7a062f5130b90e844daa67ad8cf58c168255"

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [187 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Err:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index
-   Couldn't find the start of the patch series
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Ign:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages [10.4 MB]
- Fetched 10.6 MB in 2s (4939 kB/s)
- Reading package lists...
2026-03-25 09:08.47 ---> saved as "8c8422626edda8c4bd19997974ee6778b0387153273aa3c1219f5ae9d8097480"

/home/opam: (run (shell "opam pin add -k version -yn ocaml-variants.5.2.0+msvc 5.2.0+msvc"))
ocaml-variants is now pinned to version 5.2.0+msvc
2026-03-25 09:08.48 ---> saved as "ed046c3c413c69b1f5be626c80eebe6078edc22619e961af2cdb488ef14f3275"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall --update-invariant ocaml-variants.5.2.0+msvc;\
                        \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 \"\\\"debian-unstable\\\"\"; 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-variants.5.2.0+msvc' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ocaml-variants.5.2.0+msvc is not installed. Install it? [Y/n] y
  * Missing dependency:
    - ocaml-variants = 5.2.0+msvc -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall --update-invariant ocaml-variants.5.2.0+msvc;
        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 "\"debian-unstable\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'ocaml-variants.5.2.0+msvc' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 20
2026-03-25 09:09.02: Job failed: Failed: Build failed
2026-03-25 09:09.02: Log analysis:
2026-03-25 09:09.02: >>> 
No solution found, exiting
 (score = 100)
2026-03-25 09:09.02: [SKIP] Package not available