(for PR #29914)

2026-05-23 03:18.30: New job: build openrouter_api.0.1.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29914/head (181bd7f2c014be2e4549088cb3037af97dd41645)
                              on fedora-42-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/29914/head" && git reset --hard 181bd7f2
git fetch origin master
git merge --no-edit cd48593a8c5ed365fd47b7d4835f6b4ad523fb37
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-4.14@sha256:e6a38353674ea860d6c5261703f414c086d904e59abf219f8ed663e47421f440
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 openrouter_api.0.1.0 0.1.0
RUN opam reinstall openrouter_api.0.1.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-42\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'openrouter_api.0.1.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 .

2026-05-23 03:18.30: Using cache hint "ocaml/opam:fedora-42-ocaml-4.14@sha256:e6a38353674ea860d6c5261703f414c086d904e59abf219f8ed663e47421f440-openrouter_api.0.1.0-181bd7f2c014be2e4549088cb3037af97dd41645"
2026-05-23 03:18.30: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-4.14@sha256:e6a38353674ea860d6c5261703f414c086d904e59abf219f8ed663e47421f440)
 (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 openrouter_api.0.1.0 0.1.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall openrouter_api.0.1.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-42\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'openrouter_api.0.1.0' && 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-23 03:18.30: Waiting for resource in pool OCluster
2026-05-23 03:18.31: Waiting for worker…
2026-05-23 03:18.31: Got resource from pool OCluster
Building on eumache.caelum.ci.dev
All commits already cached
HEAD is now at cd48593a8c Merge pull request #29940 from hannesm/release-tar-v3.5.0
Updating cd48593a8c..181bd7f2c0
Fast-forward
 packages/openrouter_api/openrouter_api.0.1.0/opam | 51 +++++++++++++++++++++++
 1 file changed, 51 insertions(+)
 create mode 100644 packages/openrouter_api/openrouter_api.0.1.0/opam

(from ocaml/opam:fedora-42-ocaml-4.14@sha256:e6a38353674ea860d6c5261703f414c086d904e59abf219f8ed663e47421f440)
Unable to find image 'ocaml/opam:fedora-42-ocaml-4.14@sha256:e6a38353674ea860d6c5261703f414c086d904e59abf219f8ed663e47421f440' locally
docker.io/ocaml/opam@sha256:e6a38353674ea860d6c5261703f414c086d904e59abf219f8ed663e47421f440: Pulling from ocaml/opam
accf5bbc0c67: Pulling fs layer
416e4a8866bb: Pulling fs layer
09b2fb3c52f4: Pulling fs layer
7d4fe74f60d8: Pulling fs layer
accf5bbc0c67: Waiting
bbcb95d43ae8: Pulling fs layer
98c9e9bc3c3f: Pulling fs layer
416e4a8866bb: Waiting
59aec800fed7: Pulling fs layer
09b2fb3c52f4: Waiting
34843ed0e584: Pulling fs layer
7d4fe74f60d8: Waiting
424f865e9d0e: Pulling fs layer
59aec800fed7: Waiting
bbcb95d43ae8: Waiting
5594cf317ecb: Pulling fs layer
98c9e9bc3c3f: Waiting
34843ed0e584: Waiting
7d9cba6e4af6: Pulling fs layer
424f865e9d0e: Waiting
f8e47f2173a6: Pulling fs layer
cde03adba68d: Pulling fs layer
7d9cba6e4af6: Waiting
d670f2c79209: Pulling fs layer
2c9204fad5a4: Pulling fs layer
f8e47f2173a6: Waiting
e6729152ebda: Pulling fs layer
2c9204fad5a4: Waiting
38838b679ce8: Pulling fs layer
e81ed02324ae: Pulling fs layer
e6729152ebda: Waiting
416e5bed9209: Pulling fs layer
38838b679ce8: Waiting
4f4fb700ef54: Pulling fs layer
cde03adba68d: Waiting
416e5bed9209: Waiting
e81ed02324ae: Waiting
d97d403a554d: Pulling fs layer
120f1228e350: Pulling fs layer
5818b24e8ca2: Pulling fs layer
d97d403a554d: Waiting
bf4e4b4c0901: Pulling fs layer
4f4fb700ef54: Waiting
b31f5381f4f1: Pulling fs layer
120f1228e350: Waiting
bf4e4b4c0901: Waiting
4445c4223195: Pulling fs layer
a1a8982696e1: Pulling fs layer
7ab4ccef3cde: Pulling fs layer
5818b24e8ca2: Waiting
4445c4223195: Waiting
a1a8982696e1: Waiting
8a8a38b5d8d7: Pulling fs layer
7ab4ccef3cde: Waiting
19f2332bf3a3: Pulling fs layer
a1f0867da660: Pulling fs layer
8a8a38b5d8d7: Waiting
a604f4114989: Pulling fs layer
a1f0867da660: Waiting
ba846e218609: Pulling fs layer
443f3df204cf: Pulling fs layer
a604f4114989: Waiting
ba846e218609: Waiting
a7adaa545c51: Pulling fs layer
443f3df204cf: Waiting
d991deb45863: Pulling fs layer
a7adaa545c51: Waiting
1949201fd01e: Pulling fs layer
d991deb45863: Waiting
164ba39dbbe5: Pulling fs layer
53b18195ce3a: Pulling fs layer
151f7f8ff2d5: Pulling fs layer
1949201fd01e: Waiting
164ba39dbbe5: Waiting
53b18195ce3a: Waiting
7947ec7be2fb: Pulling fs layer
151f7f8ff2d5: Waiting
c2b1dc239f11: Pulling fs layer
7947ec7be2fb: Waiting
b63ef135f58c: Pulling fs layer
c2b1dc239f11: Waiting
b63ef135f58c: Waiting
accf5bbc0c67: Verifying Checksum
accf5bbc0c67: Download complete
416e4a8866bb: Verifying Checksum
416e4a8866bb: Download complete
09b2fb3c52f4: Verifying Checksum
09b2fb3c52f4: Download complete
accf5bbc0c67: Pull complete
416e4a8866bb: Pull complete
bbcb95d43ae8: Verifying Checksum
bbcb95d43ae8: Download complete
09b2fb3c52f4: Pull complete
7d4fe74f60d8: Verifying Checksum
7d4fe74f60d8: Download complete
98c9e9bc3c3f: Verifying Checksum
98c9e9bc3c3f: Download complete
59aec800fed7: Verifying Checksum
59aec800fed7: Download complete
34843ed0e584: Verifying Checksum
34843ed0e584: Download complete
424f865e9d0e: Download complete
5594cf317ecb: Verifying Checksum
5594cf317ecb: Download complete
7d9cba6e4af6: Verifying Checksum
7d9cba6e4af6: Download complete
cde03adba68d: Verifying Checksum
cde03adba68d: Download complete
f8e47f2173a6: Verifying Checksum
f8e47f2173a6: Download complete
d670f2c79209: Download complete
e6729152ebda: Verifying Checksum
e6729152ebda: Download complete
2c9204fad5a4: Verifying Checksum
2c9204fad5a4: Download complete
38838b679ce8: Verifying Checksum
38838b679ce8: Download complete
e81ed02324ae: Verifying Checksum
e81ed02324ae: Download complete
416e5bed9209: Verifying Checksum
416e5bed9209: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
d97d403a554d: Download complete
120f1228e350: Download complete
5818b24e8ca2: Download complete
bf4e4b4c0901: Download complete
b31f5381f4f1: Verifying Checksum
b31f5381f4f1: Download complete
4445c4223195: Download complete
a1a8982696e1: Verifying Checksum
a1a8982696e1: Download complete
7ab4ccef3cde: Download complete
19f2332bf3a3: Download complete
8a8a38b5d8d7: Download complete
a1f0867da660: Download complete
a604f4114989: Download complete
443f3df204cf: Verifying Checksum
443f3df204cf: Download complete
ba846e218609: Verifying Checksum
ba846e218609: Download complete
d991deb45863: Verifying Checksum
d991deb45863: Download complete
1949201fd01e: Download complete
a7adaa545c51: Verifying Checksum
a7adaa545c51: Download complete
164ba39dbbe5: Verifying Checksum
164ba39dbbe5: Download complete
7d4fe74f60d8: Pull complete
bbcb95d43ae8: Pull complete
98c9e9bc3c3f: Pull complete
59aec800fed7: Pull complete
34843ed0e584: Pull complete
424f865e9d0e: Pull complete
53b18195ce3a: Verifying Checksum
53b18195ce3a: Download complete
7947ec7be2fb: Verifying Checksum
7947ec7be2fb: Download complete
5594cf317ecb: Pull complete
c2b1dc239f11: Verifying Checksum
c2b1dc239f11: Download complete
7d9cba6e4af6: Pull complete
b63ef135f58c: Download complete
f8e47f2173a6: Pull complete
cde03adba68d: Pull complete
d670f2c79209: Pull complete
2c9204fad5a4: Pull complete
e6729152ebda: Pull complete
38838b679ce8: Pull complete
e81ed02324ae: Pull complete
416e5bed9209: Pull complete
4f4fb700ef54: Pull complete
d97d403a554d: Pull complete
120f1228e350: Pull complete
5818b24e8ca2: Pull complete
bf4e4b4c0901: Pull complete
b31f5381f4f1: Pull complete
4445c4223195: Pull complete
a1a8982696e1: Pull complete
7ab4ccef3cde: Pull complete
8a8a38b5d8d7: Pull complete
19f2332bf3a3: Pull complete
a1f0867da660: Pull complete
a604f4114989: Pull complete
ba846e218609: Pull complete
443f3df204cf: Pull complete
a7adaa545c51: Pull complete
d991deb45863: Pull complete
1949201fd01e: Pull complete
164ba39dbbe5: Pull complete
53b18195ce3a: Pull complete
151f7f8ff2d5: Verifying Checksum
151f7f8ff2d5: Download complete
151f7f8ff2d5: Pull complete
7947ec7be2fb: Pull complete
c2b1dc239f11: Pull complete
b63ef135f58c: Pull complete
Digest: sha256:e6a38353674ea860d6c5261703f414c086d904e59abf219f8ed663e47421f440
Status: Downloaded newer image for ocaml/opam@sha256:e6a38353674ea860d6c5261703f414c086d904e59abf219f8ed663e47421f440
2026-05-23 03:24.59 ---> saved as "6023191b8cf732da630992592018c20935007aff83a39fd6978e2a6ff9f95a2c"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-05-23 03:24.59 ---> saved as "7ba29709a77a5c4239390c1ed3053d4fb4eb5db076df78784f75d1b8a3df3161"

/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.

Continue? [Y/n] y
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.

[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-23 03:25.13 ---> saved as "fc3d8a5ef6b62e40e819c0c70b29e7e29678b79bcfacdb8aee4dc06acb890e84"

/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=fedora os-version=42
# 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-23 03:25.13 ---> saved as "6309269bd3afd14996a17b3502ab51401d6355a6e20df1dfee69d05d8500bf3d"

/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-23 03:25.21 ---> saved as "451a025877dec161a3059bfe7bbefc647f4ae40835e7738842081bd82c692c33"

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-23 03:25.30 ---> saved as "727e2ba4982aa2edd1b4d68ef7d288156ade503b705dcae28c425e8ed5ac5d70"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-23 03:25.41 ---> saved as "627dc08b4b7373d4f3ed8a86e576f4cc6d9d1d63429242d4b76b1032a3304ba1"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 42 - x86_64 - Updates           100% |  10.8 KiB/s |  17.1 KiB |  00m02s
-  Fedora 42 - x86_64                     100% |  48.9 KiB/s |  18.5 KiB |  00m00s
-  Fedora 42 openh264 (From Cisco) - x86_ 100% |   5.1 KiB/s | 986.0   B |  00m00s
- Repositories loaded.
- Metadata cache created.
2026-05-23 03:25.48 ---> saved as "0511b512ad3d3603b048642f701b363e24bebc5a5e5d147494f9a7cc57fdde65"

/home/opam: (run (shell "opam pin add -k version -yn openrouter_api.0.1.0 0.1.0"))
openrouter_api is now pinned to version 0.1.0
2026-05-23 03:25.48 ---> saved as "08b3980f14b88d3f1f3c192100636e90fc5034e36096fdb1d76d5906deb672b6"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall openrouter_api.0.1.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-42\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'openrouter_api.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
openrouter_api.0.1.0 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.14.3
    - openrouter_api >= 0.1.0 -> ocaml >= 5.2.0 -> ocaml-variants < 5.6.1~
    You can temporarily relax the switch invariant with `--update-invariant'
  * Missing dependency:
    - openrouter_api >= 0.1.0 -> ocaml >= 5.2.0 -> ocaml-variants < 5.2.1~ -> base-implicits
    unknown package
  * Missing dependency:
    - openrouter_api >= 0.1.0 -> ocaml >= 5.2.0 -> ocaml-variants < 5.2.1~ -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - openrouter_api >= 0.1.0 -> ocaml >= 5.2.0 -> ocaml-variants < 5.2.1~ -> ocaml (= 4.02.4 | = 4.03.1 | = 4.04.3 | = 4.05.1 | = 4.06.2 | = 4.07.2 | = 4.08.2)
    no matching version
  * Missing dependency:
    - openrouter_api >= 0.1.0 -> ocaml >= 5.2.0 -> ocaml-variants < 5.2.1~ -> system-msvc
    unmet availability conditions: 'os = "win32"'

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