(for PR #29939)

2026-05-22 15:17.00: New job: build async_ssl.v0.17.0-2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29939/head (f281748d29999f0a48456006a71ff74f19744474)
                              on opensuse-tumbleweed-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/29939/head" && git reset --hard f281748d
git fetch origin master
git merge --no-edit 3e30e43808721339489775ee25d69c4c9c441697
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:a38c8d4587c5b5c3385fc91c106afc41c0c7c534db784b33c494c852e7e81ee2
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 async_ssl.v0.17.0-2 v0.17.0-2
RUN opam reinstall async_ssl.v0.17.0-2; \
    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-tumbleweed\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'async_ssl.v0.17.0-2' && 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-05-22 15:17.00: Using cache hint "ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:a38c8d4587c5b5c3385fc91c106afc41c0c7c534db784b33c494c852e7e81ee2-async_ssl.v0.17.0-2-f281748d29999f0a48456006a71ff74f19744474"
2026-05-22 15:17.00: Using OBuilder spec:
((from ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:a38c8d4587c5b5c3385fc91c106afc41c0c7c534db784b33c494c852e7e81ee2)
 (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 async_ssl.v0.17.0-2 v0.17.0-2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall async_ssl.v0.17.0-2;\
             \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-tumbleweed\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'async_ssl.v0.17.0-2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-05-22 15:17.00: Waiting for resource in pool OCluster
2026-05-22 15:21.10: Waiting for worker…
2026-05-22 15:29.18: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files:  91% (16366/17939)
Updating files:  92% (16504/17939)
Updating files:  93% (16684/17939)
Updating files:  94% (16863/17939)
Updating files:  95% (17043/17939)
Updating files:  96% (17222/17939)
Updating files:  97% (17401/17939)
Updating files:  98% (17581/17939)
Updating files:  99% (17760/17939)
Updating files: 100% (17939/17939)
Updating files: 100% (17939/17939), done.
HEAD is now at 3e30e43808 Merge pull request #29935 from sim642/release-odep-0.2.2
Updating 3e30e43808..f281748d29
Fast-forward
 packages/async_ssl/async_ssl.v0.16.1-2/opam | 47 +++++++++++++++++++++++++++++
 packages/async_ssl/async_ssl.v0.17.0-2/opam | 44 +++++++++++++++++++++++++++
 2 files changed, 91 insertions(+)
 create mode 100644 packages/async_ssl/async_ssl.v0.16.1-2/opam
 create mode 100644 packages/async_ssl/async_ssl.v0.17.0-2/opam

(from ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:a38c8d4587c5b5c3385fc91c106afc41c0c7c534db784b33c494c852e7e81ee2)
2026-05-22 15:30.06 ---> saved as "f3b904ed2de8fdfb8a7a2217fafa387370aefff47b6c4fb5ea90154e464be18e"

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-05-22 15:30.06 ---> saved as "4a32589b8a84977484a9937db23e8746676c20674c0a8686da15d81e24fc8748"

/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.1 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 1 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=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[default] no changes from git+file:///home/opam/opam-repository
2026-05-22 15:30.27 ---> saved as "fb618e793808a74781965c5c87dac372cd335d24dc6481c92414f22f27dce2ef"

/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=opensuse-tumbleweed os-version=20260514
# 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-05-22 15:30.28 ---> saved as "2897b5fd7574f2cba9cd0a399ad515ea6b1354c5cf6817fb508d3206f63806fe"

/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-05-22 15:30.42 ---> saved as "98d681daa3c644163bfe175c1d9d69821de1afe78f117d304849903d311178fd"

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-22 15:30.49 ---> saved as "c927caab7ce6a223b92cc0f2739bb25d4b34ad6410dd01cf21176bdd00f4a468"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-22 15:31.07 ---> saved as "d8b562ee136266aeecf1a08c2728b9d575ce60dcb2c0fc9dd5180c1099303c57"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Repository 'openSUSE-Tumbleweed-Update' is up to date.
- Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata [...
- Looking for gpg keys in repository openSUSE-Tumbleweed-Non-Oss.
-   gpgkey=http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/repomd.xml.key
- .
- ......done]
- Building repository 'openSUSE-Tumbleweed-Non-Oss' cache [....done]
- Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata [....
- Looking for gpg keys in repository openSUSE-Tumbleweed-Oss.
-   gpgkey=http://download.opensuse.org/tumbleweed/repo/oss/repodata/repomd.xml.key
- ...
- ........
- ..........
- .........
- ..........
- .........
- ..........
- .........
- ..........
- .........
- ..........
- .........
- ..........
- .........
- ..........
- ..........
- ..........
- ..........
- .........
- ..........
- .........
- ..........
- ..........
- ..........
- .........
- ...........
- ..........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- ..........
- ..........
- .........
- ..........
- .........
- ..........
- ..........
- ..........
- .........
- .........
- .........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- ..........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- ..........
- .........
- .........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- .........
- ..........
- ........
- ....done]
- Building repository 'openSUSE-Tumbleweed-Oss' cache [..
- ..done]
- All repositories have been refreshed.
2026-05-22 15:32.30 ---> saved as "68d106825c07a94369bba817349ebd907ca5f835a8f00c101218df8893a1f2ad"

/home/opam: (run (shell "opam pin add -k version -yn async_ssl.v0.17.0-2 v0.17.0-2"))
async_ssl is now pinned to version v0.17.0-2
2026-05-22 15:32.31 ---> saved as "640d38b44020a172e3809fb3a28966786b9cc12e4838a90b71eff6657cf7eb85"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall async_ssl.v0.17.0-2;\
                        \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-tumbleweed\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'async_ssl.v0.17.0-2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
async_ssl.v0.17.0-2 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.14.3
    - async_ssl >= v0.17.0-2 -> ocaml >= 5.1.0 -> ocaml-variants >= 5.1.0~
    You can temporarily relax the switch invariant with `--update-invariant'
  * Missing dependency:
    - async_ssl >= v0.17.0-2 -> ocaml >= 5.1.0 -> ocaml-variants >= 5.1.0~ -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall async_ssl.v0.17.0-2;
        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-tumbleweed\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'async_ssl.v0.17.0-2' && 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-05-22 15:32.46: Job failed: Failed: Build failed
2026-05-22 15:32.46: Log analysis:
2026-05-22 15:32.46: >>> 
No solution found, exiting
 (score = 100)
2026-05-22 15:32.46: [SKIP] Package not available