(for PR #29075)

2025-12-11 21:27.25: New job: build rpclib-html.10.0.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29075/head (2d04beee37100f8a8d89ef140421171f0eeb5625)
                              on debian-13-ocaml-4.08/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/29075/head" && git reset --hard 2d04beee
git fetch origin master
git merge --no-edit 0a807743922f8e480818f3e2a1bdf8281f406d0d
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.08@sha256:80a09e26a40906a0540a2459942f5998aac3bcb8a4ff47e1322ee2dd442a05e0
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 rpclib-html.10.0.0 10.0.0
RUN opam reinstall rpclib-html.10.0.0; \
    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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'rpclib-html.10.0.0' && 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 .

2025-12-11 21:27.25: Using cache hint "ocaml/opam:debian-13-ocaml-4.08@sha256:80a09e26a40906a0540a2459942f5998aac3bcb8a4ff47e1322ee2dd442a05e0-rpclib-html.10.0.0-2d04beee37100f8a8d89ef140421171f0eeb5625"
2025-12-11 21:27.25: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:80a09e26a40906a0540a2459942f5998aac3bcb8a4ff47e1322ee2dd442a05e0)
 (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 rpclib-html.10.0.0 10.0.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall rpclib-html.10.0.0;\
             \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-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'rpclib-html.10.0.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-12-11 21:27.25: Waiting for resource in pool OCluster
2025-12-11 21:39.32: Waiting for worker…
2025-12-11 21:43.23: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
Updating files:  81% (15415/19002)
Updating files:  82% (15582/19002)
Updating files:  83% (15772/19002)
Updating files:  84% (15962/19002)
Updating files:  85% (16152/19002)
Updating files:  86% (16342/19002)
Updating files:  87% (16532/19002)
Updating files:  88% (16722/19002)
Updating files:  89% (16912/19002)
Updating files:  90% (17102/19002)
Updating files:  91% (17292/19002)
Updating files:  92% (17482/19002)
Updating files:  93% (17672/19002)
Updating files:  94% (17862/19002)
Updating files:  95% (18052/19002)
Updating files:  96% (18242/19002)
Updating files:  97% (18432/19002)
Updating files:  98% (18622/19002)
Updating files:  99% (18812/19002)
Updating files: 100% (19002/19002)
Updating files: 100% (19002/19002), done.
HEAD is now at c0c779602b Merge commit '3258c98bc05df066079688986ab7f22aef18a2b3'
HEAD is now at 0a80774392 Merge pull request #29069 from mseri/release-doi2bib-0.9.0
Merge made by the 'ort' strategy.
 .../ppx_deriving_rpc/ppx_deriving_rpc.10.0.0/opam  | 42 +++++++++++++++++++
 packages/rpclib-async/rpclib-async.10.0.0/opam     | 41 +++++++++++++++++++
 packages/rpclib-html/rpclib-html.10.0.0/opam       | 37 +++++++++++++++++
 packages/rpclib-js/rpclib-js.10.0.0/opam           | 38 +++++++++++++++++
 packages/rpclib-lwt/rpclib-lwt.10.0.0/opam         | 42 +++++++++++++++++++
 packages/rpclib/rpclib.10.0.0/opam                 | 47 ++++++++++++++++++++++
 6 files changed, 247 insertions(+)
 create mode 100644 packages/ppx_deriving_rpc/ppx_deriving_rpc.10.0.0/opam
 create mode 100644 packages/rpclib-async/rpclib-async.10.0.0/opam
 create mode 100644 packages/rpclib-html/rpclib-html.10.0.0/opam
 create mode 100644 packages/rpclib-js/rpclib-js.10.0.0/opam
 create mode 100644 packages/rpclib-lwt/rpclib-lwt.10.0.0/opam
 create mode 100644 packages/rpclib/rpclib.10.0.0/opam

(from ocaml/opam:debian-13-ocaml-4.08@sha256:80a09e26a40906a0540a2459942f5998aac3bcb8a4ff47e1322ee2dd442a05e0)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.08@sha256:80a09e26a40906a0540a2459942f5998aac3bcb8a4ff47e1322ee2dd442a05e0' locally
docker.io/ocaml/opam@sha256:80a09e26a40906a0540a2459942f5998aac3bcb8a4ff47e1322ee2dd442a05e0: Pulling from ocaml/opam
53c88f1dfeb7: Already exists
268d44a12236: Already exists
f2f36c7402e3: Already exists
9eb2778f421b: Already exists
3ca35f1ec5ed: Already exists
b08866568793: Already exists
fb0d17ce08c9: Already exists
c8db2c4fd670: Already exists
5fa8cfe8f9cb: Already exists
e7f5f7180a56: Already exists
9f66154be4d4: Already exists
f6674de6e5d4: Already exists
80eb63632584: Already exists
66f55aa69346: Already exists
d121bc397a1a: Already exists
0eff100405dd: Already exists
7d67d217736c: Already exists
ac7107dc3d00: Already exists
f01a17be3cef: Already exists
30a38827b55c: Already exists
085733096c8e: Already exists
86db5d63aa02: Already exists
4f4fb700ef54: Already exists
034a62edceac: Already exists
808c1ae36c95: Already exists
eba808bca592: Already exists
68b2bb6a330b: Already exists
9fee74853ab2: Already exists
00d667d2b4f9: Already exists
cde2288b7be2: Already exists
6e6039e741bd: Already exists
08dc627d7129: Already exists
fbbf04bee28a: Already exists
cf124fccb693: Already exists
16001ee30892: Already exists
a379ebcf721f: Already exists
c05951b4b1dd: Already exists
1238fc26ec9b: Already exists
33d5b2862e74: Already exists
6a5c5f5e740e: Already exists
f97083767ae6: Already exists
cb770b20c0eb: Already exists
5e403702cc0e: Already exists
fa35f800b1a7: Already exists
932a17a8050d: Already exists
Digest: sha256:80a09e26a40906a0540a2459942f5998aac3bcb8a4ff47e1322ee2dd442a05e0
Status: Downloaded newer image for ocaml/opam@sha256:80a09e26a40906a0540a2459942f5998aac3bcb8a4ff47e1322ee2dd442a05e0
2025-12-11 21:43.30 ---> using "4e39e7583321cacbd3cee18d1d04925e7fc020cb224bb36557c0c82331187f5d" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-11 21:43.30 ---> using "13e55b872e3aa6d037f9f9f521bf8a66e288b31c5e24796d4361aaf0112ed049" 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
2025-12-11 21:43.30 ---> using "430bbbd43ecbb6d2abff1b35bf4bc3fc7197ba4314a76967f419b85ad8478fe1" 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=debian os-version=13
# 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       4.08
# invariant            ["ocaml-base-compiler" {= "4.08.1"}]
# compiler-packages    ocaml-base-compiler.4.08.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.08/lib/ocaml/stublibs:/home/opam/.opam/4.08/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.08.1
2025-12-11 21:43.30 ---> using "0a460527c9be66f9f0b375b6b305b345cef6d62a9bea1656b2456df73dc287fa" 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/"))
2025-12-11 21:43.30 ---> using "a822f7b43577648c294a4a54714ce74789547ce49b343c84231bd7d31178d914" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-11 21:43.49 ---> saved as "56bdddae2f8b799cecc09ac5d3c3b1316527aad0e76449b280a40c3c5594b58c"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-11 21:44.12 ---> saved as "5300f1b0013cf076f7c6764ab4e35dae8fd94d8bdec038477a084424af354dda"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [82.1 kB]
- Fetched 173 kB in 0s (1083 kB/s)
- Reading package lists...
- 
2025-12-11 21:44.15 ---> saved as "1b7ed98820160b9a8abe87d401925c84b24e134a596b9cac49c17507cacda8c4"

/home/opam: (run (shell "opam pin add -k version -yn rpclib-html.10.0.0 10.0.0"))
rpclib-html is now pinned to version 10.0.0
2025-12-11 21:44.16 ---> saved as "303771bc0bf922296f3d5b961a4fc7d38820bbc3bfd184fb72069fdfb63c951b"

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

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall rpclib-html.10.0.0;
        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-13\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'rpclib-html.10.0.0' && 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
2025-12-11 21:45.01: Job failed: Failed: Build failed
2025-12-11 21:45.01: Log analysis:
2025-12-11 21:45.01: >>> 
No solution found, exiting
 (score = 100)
2025-12-11 21:45.01: [SKIP] Package not available