- github
- ocaml
- opam-repository
- 181bd7
- extras,s390x-ocaml-5.4,openrouter_api.0.1.0
(not at the head of any monitored branch or PR)
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 debian-13-ocaml-5.4/s390x
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:debian-13-ocaml-5.4@sha256:34b047b52894d41ab9cec70a806ab0b4122365099f190ddfdca0a185f18fdfbb
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 "\"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.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:debian-13-ocaml-5.4@sha256:34b047b52894d41ab9cec70a806ab0b4122365099f190ddfdca0a185f18fdfbb-openrouter_api.0.1.0-181bd7f2c014be2e4549088cb3037af97dd41645"
2026-05-23 03:18.30: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:34b047b52894d41ab9cec70a806ab0b4122365099f190ddfdca0a185f18fdfbb)
(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 \"\\\"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.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 10:25.14: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
Updating files: 58% (10581/17944)
Updating files: 59% (10587/17944)
Updating files: 60% (10767/17944)
Updating files: 61% (10946/17944)
Updating files: 62% (11126/17944)
Updating files: 63% (11305/17944)
Updating files: 64% (11485/17944)
Updating files: 65% (11664/17944)
Updating files: 66% (11844/17944)
Updating files: 67% (12023/17944)
Updating files: 68% (12202/17944)
Updating files: 69% (12382/17944)
Updating files: 70% (12561/17944)
Updating files: 71% (12741/17944)
Updating files: 72% (12920/17944)
Updating files: 73% (13100/17944)
Updating files: 74% (13279/17944)
Updating files: 75% (13458/17944)
Updating files: 76% (13638/17944)
Updating files: 77% (13817/17944)
Updating files: 78% (13997/17944)
Updating files: 79% (14176/17944)
Updating files: 80% (14356/17944)
Updating files: 81% (14535/17944)
Updating files: 82% (14715/17944)
Updating files: 83% (14894/17944)
Updating files: 84% (15073/17944)
Updating files: 85% (15253/17944)
Updating files: 86% (15432/17944)
Updating files: 87% (15612/17944)
Updating files: 88% (15791/17944)
Updating files: 89% (15971/17944)
Updating files: 90% (16150/17944)
Updating files: 91% (16330/17944)
Updating files: 92% (16509/17944)
Updating files: 93% (16688/17944)
Updating files: 94% (16868/17944)
Updating files: 95% (17047/17944)
Updating files: 96% (17227/17944)
Updating files: 97% (17406/17944)
Updating files: 98% (17586/17944)
Updating files: 99% (17765/17944)
Updating files: 100% (17944/17944)
Updating files: 100% (17944/17944), done.
HEAD is now at b5f14e19e9 [new release] tar (4 packages) (3.5.0)
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:debian-13-ocaml-5.4@sha256:34b047b52894d41ab9cec70a806ab0b4122365099f190ddfdca0a185f18fdfbb)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:34b047b52894d41ab9cec70a806ab0b4122365099f190ddfdca0a185f18fdfbb' locally
docker.io/ocaml/opam@sha256:34b047b52894d41ab9cec70a806ab0b4122365099f190ddfdca0a185f18fdfbb: Pulling from ocaml/opam
Digest: sha256:34b047b52894d41ab9cec70a806ab0b4122365099f190ddfdca0a185f18fdfbb
Status: Downloaded newer image for ocaml/opam@sha256:34b047b52894d41ab9cec70a806ab0b4122365099f190ddfdca0a185f18fdfbb
2026-05-23 10:25.20 ---> using "57d2e9451a73ca71418d8865f91314fd310fbd9f220056a3c6e330c6a7437b30" 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-05-23 10:25.20 ---> using "0a3ddf89b8dc8cf458650dc782918c5e434c33f565f6510d3baf11d2377b7756" 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.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
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-05-23 10:25.20 ---> using "306f9ddc86730d7d65edbd70e00b66b5dad71135e7e430ff0df5902a4a734c82" 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=s390x 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 3
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# invariant ["ocaml-base-compiler" {= "5.4.1"}]
# compiler-packages ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.1
2026-05-23 10:25.20 ---> using "83dacd44ca1fbac5366438a66c0f76b56d4d4be72b3e9693f625ee5817e820ab" 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-05-23 10:25.20 ---> using "9f9fbba0dd7b33177ff27588a22cebb3d9640c1a45eb0508ebe69a3d508565db" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-05-23 10:25.31 ---> saved as "d11ba9df803ca8e2a188d4941bf4ac0f885b625df274bed4210d0b6dd1363cbd"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-23 10:25.52 ---> saved as "f093904e441da5059af8d083fd85d4c97408584e6b6e5885792f62b27cc0daeb"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- 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 trixie/main s390x Packages [9324 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main s390x Packages [159 kB]
- Fetched 9715 kB in 1s (7690 kB/s)
- Reading package lists...
2026-05-23 10:25.57 ---> saved as "fbc07892202ee12c8b234e0e16950ce82a0d500c9ab4a8c7f3e43e62651ca82b"
/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 10:25.59 ---> saved as "3f3aaedb3d562873114c63619705c86d4150f45bc1ef00704bcabd8997dd863c"
/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 \"\\\"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.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
* Missing dependency:
- openrouter_api >= 0.1.0 -> async_ssl >= v0.17.0-1 -> async >= v0.17 -> core_unix >= v0.17
unmet availability conditions, e.g. 'arch != "arm32" & arch != "x86_32" & arch != "ppc64" & arch != "s390x" & (os-distribution != "alpine" | os-version < "3.21") & 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 "\"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.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 10:26.11: Job failed: Failed: Build failed
2026-05-23 10:26.11: Log analysis:
2026-05-23 10:26.11: >>>
No solution found, exiting
(score = 100)
2026-05-23 10:26.11: [SKIP] Package not available