Build:
- 0
2026-04-26 18:39.04: New job: test nats-client.0.0.9, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29806/head (d05139b47896b9026fcac2de702ca16d8ae69036)
on ubuntu-24.04-ocaml-5.4/riscv64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29806/head" && git reset --hard d05139b4
git fetch origin master
git merge --no-edit 740705498b2a845b3db8233e6dcbf71d981ba76f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:decaec29a4cd049083a7ddb392ab182116707e4bcc4b17470f70542991f2248b
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 nats-client.0.0.9 0.0.9
RUN opam reinstall nats-client.0.0.9; \
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 "\"ubuntu-24.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'nats-client.0.0.9' && 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 nats-client.0.0.9) || true
RUN opam reinstall --with-test --verbose nats-client.0.0.9; \
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 "\"ubuntu-24.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'nats-client.0.0.9' && 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-26 18:39.04: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:decaec29a4cd049083a7ddb392ab182116707e4bcc4b17470f70542991f2248b-nats-client.0.0.9-d05139b47896b9026fcac2de702ca16d8ae69036"
2026-04-26 18:39.04: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:decaec29a4cd049083a7ddb392ab182116707e4bcc4b17470f70542991f2248b)
(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 nats-client.0.0.9 0.0.9"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall nats-client.0.0.9;\
\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 \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'nats-client.0.0.9' && 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 nats-client.0.0.9) || true"))
(run (shell "opam reinstall --with-test --verbose nats-client.0.0.9;\
\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 \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'nats-client.0.0.9' && 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-26 18:39.04: Waiting for resource in pool OCluster
2026-04-26 18:39.05: Waiting for worker…
2026-04-26 19:04.42: Got resource from pool OCluster
Building on riscv-bm-02.sw.ci.dev
All commits already cached
Updating files: 14% (2669/18862)
Updating files: 15% (2830/18862)
Updating files: 16% (3018/18862)
Updating files: 17% (3207/18862)
Updating files: 18% (3396/18862)
Updating files: 19% (3584/18862)
Updating files: 20% (3773/18862)
Updating files: 21% (3962/18862)
Updating files: 22% (4150/18862)
Updating files: 23% (4339/18862)
Updating files: 24% (4527/18862)
Updating files: 25% (4716/18862)
Updating files: 26% (4905/18862)
Updating files: 27% (5093/18862)
Updating files: 27% (5184/18862)
Updating files: 28% (5282/18862)
Updating files: 29% (5470/18862)
Updating files: 30% (5659/18862)
Updating files: 31% (5848/18862)
Updating files: 32% (6036/18862)
Updating files: 33% (6225/18862)
Updating files: 34% (6414/18862)
Updating files: 35% (6602/18862)
Updating files: 36% (6791/18862)
Updating files: 37% (6979/18862)
Updating files: 38% (7168/18862)
Updating files: 39% (7357/18862)
Updating files: 40% (7545/18862)
Updating files: 40% (7620/18862)
Updating files: 41% (7734/18862)
Updating files: 42% (7923/18862)
Updating files: 43% (8111/18862)
Updating files: 44% (8300/18862)
Updating files: 45% (8488/18862)
Updating files: 46% (8677/18862)
Updating files: 47% (8866/18862)
Updating files: 48% (9054/18862)
Updating files: 49% (9243/18862)
Updating files: 50% (9431/18862)
Updating files: 51% (9620/18862)
Updating files: 52% (9809/18862)
Updating files: 52% (9957/18862)
Updating files: 53% (9997/18862)
Updating files: 54% (10186/18862)
Updating files: 55% (10375/18862)
Updating files: 56% (10563/18862)
Updating files: 57% (10752/18862)
Updating files: 58% (10940/18862)
Updating files: 59% (11129/18862)
Updating files: 60% (11318/18862)
Updating files: 61% (11506/18862)
Updating files: 62% (11695/18862)
Updating files: 63% (11884/18862)
Updating files: 64% (12072/18862)
Updating files: 64% (12176/18862)
Updating files: 65% (12261/18862)
Updating files: 66% (12449/18862)
Updating files: 67% (12638/18862)
Updating files: 68% (12827/18862)
Updating files: 69% (13015/18862)
Updating files: 70% (13204/18862)
Updating files: 71% (13393/18862)
Updating files: 72% (13581/18862)
Updating files: 73% (13770/18862)
Updating files: 74% (13958/18862)
Updating files: 75% (14147/18862)
Updating files: 76% (14336/18862)
Updating files: 77% (14524/18862)
Updating files: 77% (14533/18862)
Updating files: 78% (14713/18862)
Updating files: 79% (14901/18862)
Updating files: 80% (15090/18862)
Updating files: 81% (15279/18862)
Updating files: 82% (15467/18862)
Updating files: 83% (15656/18862)
Updating files: 84% (15845/18862)
Updating files: 85% (16033/18862)
Updating files: 86% (16222/18862)
Updating files: 87% (16410/18862)
Updating files: 88% (16599/18862)
Updating files: 89% (16788/18862)
Updating files: 89% (16900/18862)
Updating files: 90% (16976/18862)
Updating files: 91% (17165/18862)
Updating files: 92% (17354/18862)
Updating files: 93% (17542/18862)
Updating files: 94% (17731/18862)
Updating files: 95% (17919/18862)
Updating files: 96% (18108/18862)
Updating files: 97% (18297/18862)
Updating files: 98% (18485/18862)
Updating files: 99% (18674/18862)
Updating files: 100% (18862/18862)
Updating files: 100% (18862/18862), done.
HEAD is now at 740705498b Merge pull request #29803 from dinosaure/release-uspf-0.2.1
Updating 740705498b..d05139b478
Fast-forward
.../nats-client-async/nats-client-async.0.0.9/opam | 46 ++++++++++++++++++++++
packages/nats-client/nats-client.0.0.9/opam | 39 ++++++++++++++++++
2 files changed, 85 insertions(+)
create mode 100644 packages/nats-client-async/nats-client-async.0.0.9/opam
create mode 100644 packages/nats-client/nats-client.0.0.9/opam
(from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:decaec29a4cd049083a7ddb392ab182116707e4bcc4b17470f70542991f2248b)
2026-04-26 19:04.53 ---> using "e0c1b647577e1fc204c678cf5d63cb0afd90eccb9c1888f75cd723b90ce2ca1e" 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-26 19:04.53 ---> using "674b8ea42f40d5ea3c7e5926b358810e8e66c303fdc615d3be28a6499e445987" 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
2026-04-26 19:04.53 ---> using "d5a9555314d030ca07cf72fcb3040f91e05b1196222eb7fc2e2e6f65b14cdf56" 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=riscv64 os=linux os-distribution=ubuntu os-version=24.04
# 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-04-26 19:04.53 ---> using "0b4c62e905ad02c58c8af3aba15b44a0a57e9dd2b016df695e0ba3fe0ade4c66" 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-26 19:04.53 ---> using "e6fb835bfe3ef42a617348e5afc8fe92fed31767c22f739483c2b52064c8b168" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-26 19:04.59 ---> using "80d4fd43e58a7b1b2d7162121ab5ea28d67988a9901cf9ac793329424a3e6070" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-26 19:04.59 ---> using "e047d3bf3795aa3a6f84e2b9f04055646ff3bac2c92de86d276ee4b3e5c042c8" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
- Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
- Get:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease [126 kB]
- Get:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
- Get:5 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse riscv64 Packages [5111 B]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted riscv64 Packages [10.8 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [953 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1596 kB]
- Get:9 http://ports.ubuntu.com/ubuntu-ports noble-backports/main riscv64 Packages [48.9 kB]
- Get:10 http://ports.ubuntu.com/ubuntu-ports noble-backports/multiverse riscv64 Packages [671 B]
- Get:11 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe riscv64 Packages [29.3 kB]
- Get:12 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [1119 kB]
- Get:13 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [637 kB]
- Get:14 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse riscv64 Packages [3400 B]
- Get:15 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted riscv64 Packages [8621 B]
- Fetched 4790 kB in 2s (2074 kB/s)
- Reading package lists...
-
2026-04-26 19:04.59 ---> using "3245653556cae2d32b92eb944219639475fd3e5687a2e0f3a7ff36e642e4f549" from cache
/home/opam: (run (shell "opam pin add -k version -yn nats-client.0.0.9 0.0.9"))
nats-client is now pinned to version 0.0.9
2026-04-26 19:04.59 ---> using "abe6b7b3b3441ae9637e9adff2ec620afdcd465bb952998f3ddc171acb495dc0" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall nats-client.0.0.9;\
\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 \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'nats-client.0.0.9' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
nats-client.0.0.9 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 3 packages
- install dune 3.22.2 [required by nats-client]
- install nats-client 0.0.9 (pinned)
- install yojson 3.0.0 [required by nats-client]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.22.2 (cached)
-> retrieved nats-client.0.0.9 (https://github.com/hebilicious/nats-ml/releases/download/v0.0.9/nats-client-0.0.9.tbz)
-> retrieved yojson.3.0.0 (cached)
-> installed dune.3.22.2
-> installed yojson.3.0.0
-> installed nats-client.0.0.9
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-26 19:04.59 ---> using "234109b1bd0e12c88782baa71f94ce7cff896ba296195772713b8d443ce96a0f" from cache
/home/opam: (run (network host)
(shell "(opam reinstall --with-test nats-client.0.0.9) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile nats-client 0.0.9 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed nats-client.0.0.9
-> installed nats-client.0.0.9
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-26 19:05.22 ---> saved as "440bb711c2629a24958e9e358b176d3abb82061ec398527de959fc0b585f1a63"
/home/opam: (run (shell "opam reinstall --with-test --verbose nats-client.0.0.9;\
\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 \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'nats-client.0.0.9' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
The following actions will be performed:
=== recompile 1 package
- recompile nats-client 0.0.9 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [nats-client: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "nats-client" "-j" "3" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/nats-client.0.0.9)
-> compiled nats-client.0.0.9
-> removed nats-client.0.0.9
-> installed nats-client.0.0.9
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-26 19:05.44 ---> saved as "84b2a77a7520706f6a080324578fdc62f678db4f272527fbe20d69cfc5a59dc3"
Job succeeded
2026-04-26 19:06.16: Job succeeded