Build:
  1. 0
2026-04-25 02:13.18: New job: test openrouter_api.0.0.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29745/head (88d480220f6bd12641020bda375640f1cf92e57c)
                              on debian-13-ocaml-4.14/arm64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29745/head" && git reset --hard 88d48022
git fetch origin master
git merge --no-edit d8a9e2e0a7d02035213c1f6b67414365c186c828
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:53a7a8bc1955d3bf2dcb864dd4259fa6fca948ea3ddda453aa3720f0a90b4f93
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.0.1 0.0.1
RUN opam reinstall openrouter_api.0.0.1; \
    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" != 'openrouter_api.0.0.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test openrouter_api.0.0.1) || true
RUN opam reinstall --with-test --verbose openrouter_api.0.0.1; \
    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" != 'openrouter_api.0.0.1' && 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-04-25 02:13.18: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:53a7a8bc1955d3bf2dcb864dd4259fa6fca948ea3ddda453aa3720f0a90b4f93-openrouter_api.0.0.1-88d480220f6bd12641020bda375640f1cf92e57c"
2026-04-25 02:13.18: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:53a7a8bc1955d3bf2dcb864dd4259fa6fca948ea3ddda453aa3720f0a90b4f93)
 (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.0.1 0.0.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall openrouter_api.0.0.1;\
             \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\" != 'openrouter_api.0.0.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test openrouter_api.0.0.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose openrouter_api.0.0.1;\
             \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\" != 'openrouter_api.0.0.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-04-25 02:13.18: Waiting for resource in pool OCluster
2026-04-25 02:13.18: Waiting for worker…
2026-04-25 02:15.21: Got resource from pool OCluster
Building on ocaml-1.osuosl.ci.dev
All commits already cached
Updating files:  30% (5761/18831)
Updating files:  31% (5838/18831)
Updating files:  32% (6026/18831)
Updating files:  33% (6215/18831)
Updating files:  34% (6403/18831)
Updating files:  35% (6591/18831)
Updating files:  36% (6780/18831)
Updating files:  37% (6968/18831)
Updating files:  38% (7156/18831)
Updating files:  39% (7345/18831)
Updating files:  40% (7533/18831)
Updating files:  41% (7721/18831)
Updating files:  42% (7910/18831)
Updating files:  43% (8098/18831)
Updating files:  44% (8286/18831)
Updating files:  45% (8474/18831)
Updating files:  46% (8663/18831)
Updating files:  47% (8851/18831)
Updating files:  48% (9039/18831)
Updating files:  49% (9228/18831)
Updating files:  50% (9416/18831)
Updating files:  51% (9604/18831)
Updating files:  52% (9793/18831)
Updating files:  53% (9981/18831)
Updating files:  54% (10169/18831)
Updating files:  55% (10358/18831)
Updating files:  56% (10546/18831)
Updating files:  57% (10734/18831)
Updating files:  58% (10922/18831)
Updating files:  59% (11111/18831)
Updating files:  60% (11299/18831)
Updating files:  61% (11487/18831)
Updating files:  62% (11676/18831)
Updating files:  63% (11864/18831)
Updating files:  63% (11875/18831)
Updating files:  64% (12052/18831)
Updating files:  65% (12241/18831)
Updating files:  66% (12429/18831)
Updating files:  67% (12617/18831)
Updating files:  68% (12806/18831)
Updating files:  69% (12994/18831)
Updating files:  70% (13182/18831)
Updating files:  71% (13371/18831)
Updating files:  72% (13559/18831)
Updating files:  73% (13747/18831)
Updating files:  74% (13935/18831)
Updating files:  75% (14124/18831)
Updating files:  76% (14312/18831)
Updating files:  77% (14500/18831)
Updating files:  78% (14689/18831)
Updating files:  79% (14877/18831)
Updating files:  80% (15065/18831)
Updating files:  81% (15254/18831)
Updating files:  82% (15442/18831)
Updating files:  83% (15630/18831)
Updating files:  84% (15819/18831)
Updating files:  85% (16007/18831)
Updating files:  86% (16195/18831)
Updating files:  87% (16383/18831)
Updating files:  88% (16572/18831)
Updating files:  89% (16760/18831)
Updating files:  90% (16948/18831)
Updating files:  91% (17137/18831)
Updating files:  91% (17273/18831)
Updating files:  92% (17325/18831)
Updating files:  93% (17513/18831)
Updating files:  94% (17702/18831)
Updating files:  95% (17890/18831)
Updating files:  96% (18078/18831)
Updating files:  97% (18267/18831)
Updating files:  98% (18455/18831)
Updating files:  99% (18643/18831)
Updating files: 100% (18831/18831)
Updating files: 100% (18831/18831), done.
HEAD is now at d8a9e2e0a7 Merge pull request #29797 from gares/release-elpi-v3.7.1
Updating d8a9e2e0a7..88d480220f
Fast-forward
 packages/openrouter_api/openrouter_api.0.0.1/opam | 48 +++++++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 packages/openrouter_api/openrouter_api.0.0.1/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:53a7a8bc1955d3bf2dcb864dd4259fa6fca948ea3ddda453aa3720f0a90b4f93)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:53a7a8bc1955d3bf2dcb864dd4259fa6fca948ea3ddda453aa3720f0a90b4f93' locally
docker.io/ocaml/opam@sha256:53a7a8bc1955d3bf2dcb864dd4259fa6fca948ea3ddda453aa3720f0a90b4f93: Pulling from ocaml/opam
912041a7b9f6: Already exists
384913182f58: Already exists
e7afd92310f2: Already exists
4c463b0e2a83: Already exists
414acffd690a: Already exists
e9fe6906cc38: Already exists
de3b3e62a756: Already exists
3099becd7ce0: Already exists
070a3c5c3800: Already exists
0a1f5b6ab287: Already exists
9c0a2ac17ad8: Already exists
bd2582e07236: Already exists
97e17cd4d04c: Already exists
f448a6398a51: Already exists
457e4400863c: Already exists
fca49b31ca13: Already exists
14e2b0fb3b32: Already exists
14e2b0fb3b32: Already exists
3274c4c203d0: Already exists
c94da4bc4f13: Already exists
b0b816efbd05: Already exists
dd657d165857: Already exists
4f4fb700ef54: Already exists
1939844c1e42: Already exists
a12f397df222: Already exists
61a60d8f7b0a: Already exists
27115b0e59d9: Already exists
ee225e26bcf0: Already exists
05b5a741b2da: Already exists
82107d8efc45: Already exists
dcf25205b3b2: Already exists
dd1d2b63e706: Already exists
89f96c977b1d: Already exists
64836cc68637: Already exists
05682ec10158: Already exists
bb5304ad554a: Already exists
bdeefdd5c13a: Already exists
8fc5309d3aa8: Already exists
587f1186af6b: Already exists
baa1f11944d3: Already exists
0c53051b4d52: Already exists
c727f4b5c5fa: Pulling fs layer
2e4006652849: Pulling fs layer
2c02be3d1819: Pulling fs layer
5e47fb80e9b7: Pulling fs layer
5e47fb80e9b7: Waiting
2e4006652849: Download complete
2c02be3d1819: Download complete
5e47fb80e9b7: Verifying Checksum
5e47fb80e9b7: Download complete
c727f4b5c5fa: Verifying Checksum
c727f4b5c5fa: Download complete
c727f4b5c5fa: Pull complete
2e4006652849: Pull complete
2c02be3d1819: Pull complete
5e47fb80e9b7: Pull complete
Digest: sha256:53a7a8bc1955d3bf2dcb864dd4259fa6fca948ea3ddda453aa3720f0a90b4f93
Status: Downloaded newer image for ocaml/opam@sha256:53a7a8bc1955d3bf2dcb864dd4259fa6fca948ea3ddda453aa3720f0a90b4f93
2026-04-25 02:15.26 ---> using "e85167b019c4bca8de986c62928be71192d1e65fbe489b759545a20e1f175d92" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-25 02:15.26 ---> using "1773ccac8e5e0b24146cc6b9639e58cbda496e8c729f9ac0e51844b7e498ad61" 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.

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

[NOTE] The 'jobs' option was reset, its value was 79 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=79 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-25 02:15.26 ---> using "b427d19c2fec657cd84b82daf50caacc233fda5d39f31a02d2d7ad8b04031254" 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.1
# self-upgrade         no
# system               arch=arm64 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                 15
# repositories         1 (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-04-25 02:15.26 ---> using "6fda9573cd6e06507ab5ce8a2029e793a2a0785a63ec9e2343b20fcdaab3c95d" 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/"))
2026-04-25 02:15.26 ---> using "9fc27f5dae7501d352d784008f43c2043f4613e07314a5e53cf68199a95122df" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-25 02:15.28 ---> using "bb1608b87eb0f5fe338036c6b4724706c6db50fe0bd69381de5d6f77f7db5c5e" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-25 02:15.28 ---> using "e0b514c88d311682c647b8cadacefbfd07dcecbf6e4bf5b3f5ad1f3c6c93e012" from cache

/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 arm64 Packages [126 kB]
- Fetched 217 kB in 0s (590 kB/s)
- Reading package lists...
- 
2026-04-25 02:15.28 ---> using "9790d45885d07ba77ca99890a284061758a4a99043d8493fb182a9ca076fbaff" from cache

/home/opam: (run (shell "opam pin add -k version -yn openrouter_api.0.0.1 0.0.1"))
openrouter_api is now pinned to version 0.0.1
2026-04-25 02:15.28 ---> using "815ab1711f436448f85f319c723df15ac85615b1986d61f15587d54db218f92c" from cache

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

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall openrouter_api.0.0.1;
        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" != 'openrouter_api.0.0.1' && 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-04-25 02:16.06: Job failed: Failed: Build failed
2026-04-25 02:16.06: Log analysis:
2026-04-25 02:16.06: >>> 
No solution found, exiting
 (score = 100)
2026-04-25 02:16.06: [SKIP] Package not available