(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 macos-homebrew-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/29914/head" && git reset --hard 181bd7f2
git fetch origin master
git merge --no-edit cd48593a8c5ed365fd47b7d4835f6b4ad523fb37
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
USER 1000:1000
RUN ln -f ~/local/bin/opam-dev ~/local/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 -k local --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 "\"macos-homebrew\""; 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 "macos-homebrew-ocaml-4.14-openrouter_api.0.1.0-181bd7f2c014be2e4549088cb3037af97dd41645"
2026-05-23 03:18.30: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(user (uid 1000) (gid 1000))
(run (shell "ln -f ~/local/bin/opam-dev ~/local/bin/opam"))
(run (network host)
(shell "opam init --reinit -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 -k local --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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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 \"\\\"macos-homebrew\\\"\"; 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 07:14.49: Got resource from pool OCluster
Building on m1-worker-03
All commits already cached
Updating files: 66% (11947/17947)
Updating files: 67% (12025/17947)
Updating files: 68% (12204/17947)
Updating files: 69% (12384/17947)
Updating files: 70% (12563/17947)
Updating files: 71% (12743/17947)
Updating files: 72% (12922/17947)
Updating files: 73% (13102/17947)
Updating files: 74% (13281/17947)
Updating files: 75% (13461/17947)
Updating files: 76% (13640/17947)
Updating files: 77% (13820/17947)
Updating files: 78% (13999/17947)
Updating files: 79% (14179/17947)
Updating files: 80% (14358/17947)
Updating files: 81% (14538/17947)
Updating files: 82% (14717/17947)
Updating files: 83% (14897/17947)
Updating files: 84% (15076/17947)
Updating files: 85% (15255/17947)
Updating files: 86% (15435/17947)
Updating files: 87% (15614/17947)
Updating files: 88% (15794/17947)
Updating files: 89% (15973/17947)
Updating files: 90% (16153/17947)
Updating files: 91% (16332/17947)
Updating files: 92% (16512/17947)
Updating files: 93% (16691/17947)
Updating files: 94% (16871/17947)
Updating files: 95% (17050/17947)
Updating files: 96% (17230/17947)
Updating files: 97% (17409/17947)
Updating files: 98% (17589/17947)
Updating files: 99% (17768/17947)
Updating files: 100% (17947/17947)
Updating files: 100% (17947/17947), done.
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 macos-homebrew-ocaml-4.14)
2026-05-23 07:14.51 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache
/: (user (uid 1000) (gid 1000))
/: (run (shell "ln -f ~/local/bin/opam-dev ~/local/bin/opam"))
2026-05-23 07:14.51 ---> using "f20a31eccb94af52fa2a3ef86b723bc6460bac3d8a92b8861915540c2498d20a" from cache
/: (run (network host)
(shell "opam init --reinit -ni"))
No configuration file found, using 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 /Users/mac1000/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [Y/n] y
[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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2026-05-23 07:14.51 ---> using "7818e224f85c11d1d318abe9ba4e297be345388b7ed476f912b6900c6bae56aa" from cache
/: (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=macos os-distribution=homebrew os-version=15.5
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 7
# repositories 1 (version-controlled)
# pinned 0
# current-switch 4.14.2
# invariant ["ocaml-base-compiler" {= "4.14.2"} | "ocaml-system" {= "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 /Users/mac1000/.opam/4.14.2/lib/ocaml/stublibs:/Users/mac1000/.opam/4.14.2/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2026-05-23 07:14.51 ---> using "625776f8b2f728a128171e2ba4372c97abd18632a07574a8412026e8be39dac5" from cache
/: (env OPAMDOWNLOADJOBS 1)
/: (env OPAMERRLOGLEN 0)
/: (env OPAMPRECISETRACKING 1)
/: (env CI true)
/: (env OPAM_REPO_CI true)
/: (run (shell "rm -rf opam-repository/"))
2026-05-23 07:14.52 ---> using "15fbb76bf7dee5d6e8ae583230339015a61d8d2d8397de2cfe6459f8ba421f1e" from cache
/: (copy (src .) (dst opam-repository/))
2026-05-23 07:14.56 ---> saved as "487b646ce2d6b73da2f99b03b587b6644fe4cb1c1c28380ecd90db13b834f987"
/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
2026-05-23 07:15.05 ---> saved as "272130963240ed6e07dd60fe4b19a7375ac3bef1acdf4de36c312b69f0370ed2"
/: (run (network host)
(shell "opam update --depexts || true"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- ==> Downloading https://ghcr.io/v2/homebrew/core/portable-ruby/blobs/sha256:d5dbe0bbfd7e00136344e7872fc26ad1db935cf7c6421c5888e42bab6cc2f6b3
- #=#=#
0.1%
0.8%
# 1.9%
## 2.8%
## 3.6%
### 4.5%
### 5.3%
#### 6.1%
#### 6.8%
-
##### 7.7%
###### 8.5%
###### 9.3%
####### 10.2%
####### 11.0%
######## 11.7%
######### 12.6%
######### 13.4%
########## 14.2%
########## 15.1%
########### 15.9%
-
########### 16.6%
############ 17.5%
############# 18.3%
############# 19.1%
############## 19.9%
############## 20.8%
############### 21.5%
################ 22.3%
################ 23.1%
################# 24.0%
################# 24.8%
################## 25.5%
-
################## 26.3%
################### 27.1%
#################### 28.0%
#################### 28.8%
##################### 29.7%
##################### 30.4%
###################### 31.2%
####################### 32.1%
####################### 32.9%
######################## 33.7%
######################## 34.4%
-
######################### 35.3%
########################## 36.1%
########################## 36.9%
########################### 37.7%
########################### 38.6%
############################ 39.3%
############################ 40.1%
############################# 40.9%
############################## 41.8%
############################## 42.6%
############################### 43.3%
-
############################### 44.2%
################################ 45.0%
################################ 45.8%
################################# 46.6%
################################## 47.5%
################################## 48.2%
################################### 49.0%
################################### 49.8%
#################################### 50.7%
##################################### 51.5%
##################################### 52.4%
###################################### 53.2%
-
###################################### 53.9%
####################################### 54.7%
######################################## 55.6%
######################################## 56.4%
######################################### 57.2%
######################################### 58.1%
########################################## 58.8%
########################################### 59.7%
########################################### 60.5%
############################################ 61.3%
############################################ 62.1%
-
############################################# 63.0%
############################################# 63.7%
############################################## 64.5%
############################################### 65.3%
############################################### 66.2%
################################################ 67.0%
################################################ 67.7%
################################################# 68.5%
################################################# 69.4%
################################################## 70.2%
################################################### 71.0%
-
################################################### 71.9%
#################################################### 72.6%
#################################################### 73.4%
##################################################### 74.3%
###################################################### 75.2%
###################################################### 76.0%
####################################################### 76.8%
####################################################### 77.7%
######################################################## 78.4%
######################################################### 79.2%
######################################################### 80.0%
-
########################################################## 80.9%
########################################################## 81.7%
########################################################### 82.4%
############################################################ 83.3%
############################################################ 84.2%
############################################################# 85.0%
############################################################# 85.8%
############################################################## 86.6%
############################################################## 87.5%
############################################################### 88.2%
-
################################################################ 89.1%
################################################################ 89.9%
################################################################# 90.7%
################################################################# 91.5%
################################################################## 92.4%
################################################################### 93.1%
################################################################### 93.9%
#################################################################### 94.7%
#################################################################### 95.6%
##################################################################### 96.4%
##################################################################### 97.1%
###################################################################### 97.9%
-
####################################################################### 98.8%
####################################################################### 99.6%
######################################################################## 100.0%
- ==> Pouring portable-ruby-4.0.5.arm64_big_sur.bottle.tar.gz
- ==> Homebrew collects anonymous analytics.
- Read the analytics documentation (and how to opt-out) here:
- https://docs.brew.sh/Analytics
- No analytics have been recorded yet (nor will be during this `brew` run).
-
- ==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
- https://github.com/Homebrew/brew#donations
-
- Already up-to-date.
2026-05-23 07:15.31 ---> saved as "73dc9d1880643c321d26e0dd567d5a393ed037ee57786dbd1367ba10730e1a5f"
/: (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 07:15.32 ---> saved as "c8d114711f8a1f780db316784d91a7e122f02384d56aa0279d0d1d577b16440d"
/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(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 \"\\\"macos-homebrew\\\"\"; 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
* No agreement on the version of ocaml:
- (invariant) -> ocaml-base-compiler = 4.14.2 -> ocaml = 4.14.2
- openrouter_api >= 0.1.0 -> ocaml >= 5.2.0
You can temporarily relax the switch invariant with `--update-invariant'
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 "\"macos-homebrew\""; 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 07:15.49: Job failed: Failed: Build failed
2026-05-23 07:15.49: Log analysis:
2026-05-23 07:15.49: >>>
No solution found, exiting
(score = 100)
2026-05-23 07:15.49: [SKIP] Package not available