(for PR #29075)

2025-12-11 21:27.27: New job: build rpclib-async.10.0.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29075/head (2d04beee37100f8a8d89ef140421171f0eeb5625)
                              on fedora-41-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/29075/head" && git reset --hard 2d04beee
git fetch origin master
git merge --no-edit 0a807743922f8e480818f3e2a1bdf8281f406d0d
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-4.14@sha256:5f7b943b03c8962e425dbfaba3fa75709133c3648d7d3654f5ed91b0ce57d45e
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-async.10.0.0 10.0.0
RUN opam reinstall rpclib-async.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 "\"fedora-41\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'rpclib-async.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.27: Using cache hint "ocaml/opam:fedora-41-ocaml-4.14@sha256:5f7b943b03c8962e425dbfaba3fa75709133c3648d7d3654f5ed91b0ce57d45e-rpclib-async.10.0.0-2d04beee37100f8a8d89ef140421171f0eeb5625"
2025-12-11 21:27.27: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-4.14@sha256:5f7b943b03c8962e425dbfaba3fa75709133c3648d7d3654f5ed91b0ce57d45e)
 (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-async.10.0.0 10.0.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall rpclib-async.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 \"\\\"fedora-41\\\"\"; 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-async.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.27: Waiting for resource in pool OCluster
2025-12-11 21:47.49: Waiting for worker…
2025-12-11 21:50.39: Got resource from pool OCluster
Building on odawa.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:fedora-41-ocaml-4.14@sha256:5f7b943b03c8962e425dbfaba3fa75709133c3648d7d3654f5ed91b0ce57d45e)
2025-12-11 21:50.47 ---> using "414be81a566d8701f912af060720eceb3bef35ebb4d23525ec9fe41e9ddaae36" 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:50.47 ---> using "302a7448ab27c0edc4427a3b0881ad07e8bd3b548666c1e88f5b1cbf0f8fb96f" 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:50.47 ---> using "492e3aceadfa72bb10e6c039df68bb2a60845d610c61df93f5167e84e1ce93f4" 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.4.1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=fedora os-version=41
# 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
2025-12-11 21:50.47 ---> using "c26b324c1293276f438033bb4541d0e586ab530f8e9bd282551c5e317e4cc7da" 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:50.47 ---> using "a08361f9972b0ce2092ce7221dc6bb0957d78a72c50dc3a57bf5c715684a9603" from cache

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 41 - x86_64 - Updates           100% |  12.8 KiB/s |   5.5 KiB |  00m00s
-  Fedora 41 - x86_64                     100% |  67.9 KiB/s |  23.4 KiB |  00m00s
-  Fedora 41 openh264 (From Cisco) - x86_ 100% |   5.4 KiB/s | 986.0   B |  00m00s
- Repositories loaded.
- Metadata cache created.
2025-12-11 21:51.19 ---> saved as "6c48566e4748eb42538db11a7e2f8f93529772f9dcb6c0238b407affb36f8ad2"

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

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall rpclib-async.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 \"\\\"fedora-41\\\"\"; 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-async.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-async.10.0.0 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.14.2
    - rpclib-async >= 10.0.0 -> ocaml >= 5.3.0 -> ocaml-variants < 5.4.2~
    You can temporarily relax the switch invariant with `--update-invariant'
  * Missing dependency:
    - rpclib-async >= 10.0.0 -> ocaml >= 5.3.0 -> ocaml-variants < 5.4.2~ -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - rpclib-async >= 10.0.0 -> ocaml >= 5.3.0 -> ocaml-variants < 5.4.2~ -> system-msvc
    unmet availability conditions: 'os = "win32"'

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