(for PR #29939)

2026-05-25 20:14.25: New job: build async_ssl.v0.16.1-2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29939/head (f281748d29999f0a48456006a71ff74f19744474)
                              on ubuntu-25.10-ocaml-5.4/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 9d78ee2aeafa6aabaf5c2c6be25f9ab1182af709
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:6f06dbe9ef1fa10233cb84478993a55a44bd9ab45ff2defc852d52b224c48aaa
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.16.1-2 v0.16.1-2
RUN opam reinstall async_ssl.v0.16.1-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 "\"ubuntu-25.10\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'async_ssl.v0.16.1-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-25 20:14.25: Using cache hint "ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:6f06dbe9ef1fa10233cb84478993a55a44bd9ab45ff2defc852d52b224c48aaa-async_ssl.v0.16.1-2-f281748d29999f0a48456006a71ff74f19744474"
2026-05-25 20:14.25: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:6f06dbe9ef1fa10233cb84478993a55a44bd9ab45ff2defc852d52b224c48aaa)
 (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.16.1-2 v0.16.1-2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall async_ssl.v0.16.1-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 \"\\\"ubuntu-25.10\\\"\"; 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.16.1-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-25 20:14.25: Waiting for resource in pool OCluster
2026-05-25 20:14.25: Waiting for worker…
2026-05-25 20:14.25: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at 9d78ee2aea Merge pull request #29914 from mt-caret/opam-publish-openrouter_api.0.1.0
Merge made by the 'ort' strategy.
 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:ubuntu-25.10-ocaml-5.4@sha256:6f06dbe9ef1fa10233cb84478993a55a44bd9ab45ff2defc852d52b224c48aaa)
Unable to find image 'ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:6f06dbe9ef1fa10233cb84478993a55a44bd9ab45ff2defc852d52b224c48aaa' locally
docker.io/ocaml/opam@sha256:6f06dbe9ef1fa10233cb84478993a55a44bd9ab45ff2defc852d52b224c48aaa: Pulling from ocaml/opam
16c195d4c5e9: Already exists
5d5ae59f12bf: Already exists
2a1bdaff57b1: Already exists
4f0da68efc03: Already exists
ddae77db6783: Already exists
fdb5e27abf0f: Already exists
93a3171e4fee: Already exists
dbf7af4bbc5e: Already exists
5f7df1a633be: Already exists
91c5054ad467: Already exists
f85e33539fc1: Already exists
60715424f1f3: Already exists
3d928beeeddb: Already exists
ad721eb63d8e: Already exists
6423a1c6a219: Already exists
5b5461462268: Already exists
d0115271718d: Already exists
d0115271718d: Already exists
9fd788776761: Already exists
ee0541408fb9: Already exists
3710803c65d7: Already exists
ce2c52193d43: Already exists
4f4fb700ef54: Already exists
a2f980d0b98b: Already exists
410070a2f222: Already exists
d3816a848673: Already exists
7c855ca71d74: Already exists
1528501eaf16: Already exists
23228c2200ea: Already exists
54f128346b20: Already exists
76cf7939a21f: Already exists
ebfcf91f683f: Already exists
aba3e293a4a1: Already exists
5f6c0c42c902: Already exists
266bc6609d9e: Already exists
9e0211421511: Already exists
a18977585f54: Already exists
2e40d7abab54: Already exists
6ae9eed47872: Already exists
4f4fb700ef54: Already exists
94c06f8af301: Already exists
d797e03b453c: Pulling fs layer
5a49c15e7d8e: Pulling fs layer
d797e03b453c: Waiting
702e3b44801c: Pulling fs layer
5a49c15e7d8e: Waiting
cca82ea0e8c4: Pulling fs layer
ebd021dc1070: Pulling fs layer
702e3b44801c: Waiting
56583160e673: Pulling fs layer
cca82ea0e8c4: Waiting
ebd021dc1070: Waiting
7bdb917d1fd5: Pulling fs layer
56583160e673: Waiting
7bdb917d1fd5: Waiting
d797e03b453c: Verifying Checksum
d797e03b453c: Download complete
d797e03b453c: Pull complete
5a49c15e7d8e: Verifying Checksum
5a49c15e7d8e: Download complete
5a49c15e7d8e: Pull complete
702e3b44801c: Verifying Checksum
702e3b44801c: Download complete
702e3b44801c: Pull complete
cca82ea0e8c4: Verifying Checksum
cca82ea0e8c4: Download complete
ebd021dc1070: Verifying Checksum
ebd021dc1070: Download complete
56583160e673: Verifying Checksum
56583160e673: Download complete
7bdb917d1fd5: Verifying Checksum
7bdb917d1fd5: Download complete
cca82ea0e8c4: Pull complete
ebd021dc1070: Pull complete
56583160e673: Pull complete
7bdb917d1fd5: Pull complete
Digest: sha256:6f06dbe9ef1fa10233cb84478993a55a44bd9ab45ff2defc852d52b224c48aaa
Status: Downloaded newer image for ocaml/opam@sha256:6f06dbe9ef1fa10233cb84478993a55a44bd9ab45ff2defc852d52b224c48aaa
2026-05-25 20:18.32 ---> saved as "155079f3fc7c619d65f5843c8ecfd87c089c4780c0fda71f712c3721f8fbacbe"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-05-25 20:18.33 ---> saved as "5a7750e1e7d1cea8b83fc3ef4ffcfe024ec497571944859eda3e50f54eaf97cb"

/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-05-25 20:18.44 ---> saved as "1fe6521579b8af721cee4189ae638caa295281ca9dc51eb7238dfbc60bd77ab2"

/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=25.10
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# invariant            ["ocaml-base-compiler" {= "5.4.1"}]
# compiler-packages    ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.1
2026-05-25 20:18.44 ---> saved as "349ce8ac3d32edb59090f636e822b7c6b88c477a1435b141a2d5a07697187bcf"

/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-25 20:18.52 ---> saved as "b4bc9f18fcc1c213c8b55e2ef272ac5a5d865e1e6b3473281f5a2fb58611666f"

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-25 20:18.59 ---> saved as "29be82bc24373d674e4099aa1bda30e4bc9ba004427c8f86370272445f6f6fd5"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-25 20:19.10 ---> saved as "424f58607e946dcd68221f36a6487c07112e6fd21def1fd6c2325097ad2ec21c"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:2 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:3 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Get:4 http://security.ubuntu.com/ubuntu questing-security/universe amd64 Packages [323 kB]
- Get:5 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:6 http://security.ubuntu.com/ubuntu questing-security/main amd64 Packages [397 kB]
- Get:7 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [408 kB]
- Get:8 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [542 kB]
- Fetched 2074 kB in 1s (1487 kB/s)
- Reading package lists...
- 
2026-05-25 20:19.13 ---> saved as "767fdb291d3b108c0f4d2e74347f0d4ad578bc1dd91431345cfc61f2e0d8f0e7"

/home/opam: (run (shell "opam pin add -k version -yn async_ssl.v0.16.1-2 v0.16.1-2"))
async_ssl is now pinned to version v0.16.1-2
2026-05-25 20:19.14 ---> saved as "f2c235d5a0c527d473d857b5249a9516783e608248b2b879b93aa73a2da17aba"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall async_ssl.v0.16.1-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 \"\\\"ubuntu-25.10\\\"\"; 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.16.1-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.16.1-2 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.4.1
    - async_ssl = v0.16.1-2 -> ppx_optcomp < v0.17 -> base < v0.15 -> ocaml < 4.14 -> dkml-base-compiler
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.4.1
    - async_ssl = v0.16.1-2 -> ppx_optcomp < v0.17 -> base < v0.15 -> ocaml < 4.14 -> ocaml-variants < 4.13.3~
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.4.1 -> ocaml-compiler = 5.4.1 -> base-effects
    - async_ssl = v0.16.1-2 -> ppx_optcomp < v0.17 -> ppxlib < 0.23.0 -> ocaml-migrate-parsetree
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.4.1
    - async_ssl = v0.16.1-2 -> ppx_optcomp < v0.17 -> base < v0.15 -> sexplib0 < v0.15 -> ocaml < 5.0 -> ocaml-variants >= 4.14.1~
  * Missing dependency:
    - async_ssl = v0.16.1-2 -> ppx_optcomp < v0.17 -> base < v0.14 -> ocaml < 4.12 -> ocaml-base-compiler < 4.11.0 | ocaml-system (<= 3.07+1 | = 3.07+2 | >= 3.08.0) | ocaml-variants < 4.10.3~
    no matching version
    unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.1" & (os != "win32" | sys-ocaml-libc = "msvc")'
    no matching version
  * Missing dependency:
    - async_ssl = v0.16.1-2 -> ppx_optcomp < v0.17 -> base < v0.15 -> sexplib0 < v0.15 -> ocaml < 5.0 -> ocaml-variants >= 4.14.1~ -> system-msvc
    unmet availability conditions: 'os = "win32"'

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