(for PR #29075)

2025-12-11 21:27.28: New job: build rpclib.10.0.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29075/head (2d04beee37100f8a8d89ef140421171f0eeb5625)
                              on debian-13-ocaml-4.14-no-flat-float-array/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.14-no-flat-float-array@sha256:c85ad1c5c23f8504470dd931435a41174dd26e05580c1c5628461c7b6e70c61a
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.10.0.0 10.0.0
RUN opam reinstall rpclib.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.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.28: Using cache hint "ocaml/opam:debian-13-ocaml-4.14-no-flat-float-array@sha256:c85ad1c5c23f8504470dd931435a41174dd26e05580c1c5628461c7b6e70c61a-rpclib.10.0.0-2d04beee37100f8a8d89ef140421171f0eeb5625"
2025-12-11 21:27.28: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14-no-flat-float-array@sha256:c85ad1c5c23f8504470dd931435a41174dd26e05580c1c5628461c7b6e70c61a)
 (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.10.0.0 10.0.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall rpclib.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.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.28: Waiting for resource in pool OCluster
2025-12-11 21:52.14: Waiting for worker…
2025-12-11 21:54.54: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
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.14-no-flat-float-array@sha256:c85ad1c5c23f8504470dd931435a41174dd26e05580c1c5628461c7b6e70c61a)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14-no-flat-float-array@sha256:c85ad1c5c23f8504470dd931435a41174dd26e05580c1c5628461c7b6e70c61a' locally
docker.io/ocaml/opam@sha256:c85ad1c5c23f8504470dd931435a41174dd26e05580c1c5628461c7b6e70c61a: Pulling from ocaml/opam
7f737aa7939e: Pulling fs layer
7f737aa7939e: Verifying Checksum
7f737aa7939e: Download complete
7f737aa7939e: Pull complete
Digest: sha256:c85ad1c5c23f8504470dd931435a41174dd26e05580c1c5628461c7b6e70c61a
Status: Downloaded newer image for ocaml/opam@sha256:c85ad1c5c23f8504470dd931435a41174dd26e05580c1c5628461c7b6e70c61a
2025-12-11 21:56.47 ---> saved as "27a985a0bd1da99d0347dde727f92f44170493a0cf38dde7e42049e8efa286b8"

/: (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:56.48 ---> saved as "6d3687ab82153826dc30f8f4f587f204634d417c0ff0d7fba045d3b683e1610a"

/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:57.21 ---> saved as "6ff71fe02792168d33a77052ba21f782800c8269df31895757f38e93ec83287a"

/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.14
# invariant            ["ocaml-options-only-no-flat-float-array"]
# compiler-packages    ocaml-option-no-flat-float-array.1, ocaml-options-only-no-flat-float-array.1, ocaml-variants.4.14.2+options
# 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+options+no-flat-float-array
2025-12-11 21:57.22 ---> saved as "ca81d9427bf09b96b7ac8c6dd1b79c098cc5f3b300b2ebddcbbd4c234df87aac"

/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:57.31 ---> saved as "deab1a5b502681e8c9a8aa727d1b81fa3177d389dffb52a72cb7fb7d38d97510"

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

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

/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 (1123 kB/s)
- Reading package lists...
- 
2025-12-11 21:58.11 ---> saved as "fce9d1a3fffb04236a384db27c589200ad3696542c016e4484057bc1feaabf93"

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

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall rpclib.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.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.10.0.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 11 packages
  - install base64     3.5.2           [required by rpclib]
  - install cmdliner   2.1.0           [required by rpclib]
  - install dune       3.20.2          [required by rpclib]
  - install ocamlbuild 0.16.1          [required by rresult, xmlm]
  - install ocamlfind  1.9.8           [required by rresult, xmlm]
  - install result     1.5             [required by rpclib]
  - install rpclib     10.0.0 (pinned)
  - install rresult    0.7.0           [required by rpclib]
  - install topkg      1.1.1           [required by rresult, xmlm]
  - install xmlm       1.4.0           [required by rpclib]
  - install yojson     3.0.0           [required by rpclib]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.2  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved dune.3.20.2  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved result.1.5  (cached)
-> retrieved rpclib.10.0.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved xmlm.1.4.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed xmlm.1.4.0
-> installed dune.3.20.2
-> installed result.1.5
-> installed base64.3.5.2
-> installed yojson.3.0.0
-> installed rpclib.10.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-11 21:59.06 ---> saved as "5cdedb0fe14340854700c29dd49c73a0b76aac9b7e6e6d96d2aae9f6e1d41b4c"
Job succeeded
2025-12-11 21:59.11: Job succeeded