Build:
- 0
2026-02-12 01:30.35: New job: test oktree.0.2.2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29376/head (4b85ad4ab762fb1980b88fe9cf7f07a2d4c346d4)
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/29376/head" && git reset --hard 4b85ad4a
git fetch origin master
git merge --no-edit 8f8aafa90831d3fa3c3655c9bfc730441431aea7
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:589d4f3ba5a7bf1d647cdf132cd4bc6a583b4538d1b4334807c7b1da0d552fff
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 oktree.0.2.2 0.2.2
RUN opam reinstall oktree.0.2.2; \
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" != 'oktree.0.2.2' && 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 oktree.0.2.2) || true
RUN opam reinstall --with-test --verbose oktree.0.2.2; \
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" != 'oktree.0.2.2' && 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-02-12 01:30.35: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:589d4f3ba5a7bf1d647cdf132cd4bc6a583b4538d1b4334807c7b1da0d552fff-oktree.0.2.2-4b85ad4ab762fb1980b88fe9cf7f07a2d4c346d4"
2026-02-12 01:30.35: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:589d4f3ba5a7bf1d647cdf132cd4bc6a583b4538d1b4334807c7b1da0d552fff)
(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 oktree.0.2.2 0.2.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall oktree.0.2.2;\
\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\" != 'oktree.0.2.2' && 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 oktree.0.2.2) || true"))
(run (shell "opam reinstall --with-test --verbose oktree.0.2.2;\
\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\" != 'oktree.0.2.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-02-12 01:30.35: Waiting for resource in pool OCluster
2026-02-12 01:30.35: Waiting for worker…
2026-02-12 01:30.38: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
All commits already cached
Updating files: 47% (8625/18172)
Updating files: 48% (8723/18172)
Updating files: 49% (8905/18172)
Updating files: 50% (9086/18172)
Updating files: 51% (9268/18172)
Updating files: 52% (9450/18172)
Updating files: 53% (9632/18172)
Updating files: 54% (9813/18172)
Updating files: 55% (9995/18172)
Updating files: 56% (10177/18172)
Updating files: 57% (10359/18172)
Updating files: 58% (10540/18172)
Updating files: 59% (10722/18172)
Updating files: 60% (10904/18172)
Updating files: 61% (11085/18172)
Updating files: 62% (11267/18172)
Updating files: 63% (11449/18172)
Updating files: 64% (11631/18172)
Updating files: 65% (11812/18172)
Updating files: 66% (11994/18172)
Updating files: 67% (12176/18172)
Updating files: 68% (12357/18172)
Updating files: 69% (12539/18172)
Updating files: 70% (12721/18172)
Updating files: 71% (12903/18172)
Updating files: 72% (13084/18172)
Updating files: 73% (13266/18172)
Updating files: 74% (13448/18172)
Updating files: 75% (13629/18172)
Updating files: 76% (13811/18172)
Updating files: 77% (13993/18172)
Updating files: 78% (14175/18172)
Updating files: 79% (14356/18172)
Updating files: 80% (14538/18172)
Updating files: 81% (14720/18172)
Updating files: 82% (14902/18172)
Updating files: 83% (15083/18172)
Updating files: 84% (15265/18172)
Updating files: 85% (15447/18172)
Updating files: 86% (15628/18172)
Updating files: 87% (15810/18172)
Updating files: 88% (15992/18172)
Updating files: 89% (16174/18172)
Updating files: 90% (16355/18172)
Updating files: 91% (16537/18172)
Updating files: 92% (16719/18172)
Updating files: 93% (16900/18172)
Updating files: 94% (17082/18172)
Updating files: 95% (17264/18172)
Updating files: 96% (17446/18172)
Updating files: 97% (17627/18172)
Updating files: 98% (17809/18172)
Updating files: 99% (17991/18172)
Updating files: 100% (18172/18172)
Updating files: 100% (18172/18172), done.
HEAD is now at 8f8aafa908 Merge pull request #29368 from hannesm/release-mirage-crypto-v2.0.3
Updating 8f8aafa908..4b85ad4ab7
Fast-forward
packages/oktree/oktree.0.2.2/opam | 48 +++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
create mode 100644 packages/oktree/oktree.0.2.2/opam
(from ocaml/opam:debian-13-ocaml-5.4@sha256:589d4f3ba5a7bf1d647cdf132cd4bc6a583b4538d1b4334807c7b1da0d552fff)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:589d4f3ba5a7bf1d647cdf132cd4bc6a583b4538d1b4334807c7b1da0d552fff' locally
docker.io/ocaml/opam@sha256:589d4f3ba5a7bf1d647cdf132cd4bc6a583b4538d1b4334807c7b1da0d552fff: Pulling from ocaml/opam
Digest: sha256:589d4f3ba5a7bf1d647cdf132cd4bc6a583b4538d1b4334807c7b1da0d552fff
Status: Downloaded newer image for ocaml/opam@sha256:589d4f3ba5a7bf1d647cdf132cd4bc6a583b4538d1b4334807c7b1da0d552fff
2026-02-12 01:30.46 ---> using "f46092bc7b56a9f31907b011f3c0d41957ea0f32efdd7a78133da055f1da0eb1" 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-02-12 01:30.46 ---> using "721083e6852b1c8bda67c55b3fee7aac0adf3b2bff6b9e8b4704089d244eb326" 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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-02-12 01:30.46 ---> using "b8398233573309da8aa13fbebc23c21de02a67c126d8f02d76fa7dc1b906fe18" 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.0
# 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.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, 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.0
2026-02-12 01:30.47 ---> using "b09e99fc9a970a4f5fe04c40317a362fc4408b233bd7ec9021a2fe8ffb50471e" 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-02-12 01:30.47 ---> using "97b403595115866e973fdbe52aa6872016210a306c6f0d88aebaf7e553d05aff" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-02-12 01:32.17 ---> saved as "1e68751bfe829358e4962987252b7a59b2f6e443ffd6dbb97648274ee515958d"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-12 01:34.31 ---> saved as "826804c773b2e9f064d5ac3ae4d5078345ab0dba6a4057a7dbb713d52166cf53"
/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 s390x Packages [94.6 kB]
- Fetched 185 kB in 1s (219 kB/s)
- Reading package lists...
-
2026-02-12 01:34.42 ---> saved as "63045008febfe44e0a14a8a79e93383d35fd6a800bec290a9cdfff83592fb77d"
/home/opam: (run (shell "opam pin add -k version -yn oktree.0.2.2 0.2.2"))
oktree is now pinned to version 0.2.2
2026-02-12 01:34.50 ---> saved as "e42ba4a9ed4868562d2c3df845edc5051d2cf948db17bf207cf1293fa639f82d"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall oktree.0.2.2;\
\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\" != 'oktree.0.2.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
oktree.0.2.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 10 packages
- install cppo 1.8.0 [required by ppx_deriving]
- install dune 3.21.0 [required by oktree]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ocamlfind 1.9.8 [required by ppx_deriving]
- install oktree 0.2.2 (pinned)
- install ppx_derivers 1.2.1 [required by ppx_deriving]
- install ppx_deriving 6.1.1 [required by oktree]
- install ppxlib 0.37.0 [required by ppx_deriving]
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0 (cached)
-> retrieved dune.3.21.0 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved oktree.0.2.2 (https://github.com/anentropic/ocaml-oktree/archive/refs/tags/v0.2.2.tar.gz)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_deriving.6.1.1 (cached)
-> retrieved ppxlib.0.37.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.21.0
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.17.0
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed ppxlib.0.37.0
-> installed ppx_deriving.6.1.1
-> installed oktree.0.2.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-12 01:37.28 ---> saved as "c8441aa99c6c4fbec9fc492221b8218b0f480493f97a5c4172c117c9f432b0b8"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test oktree.0.2.2) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile oktree 0.2.2 (pinned)
=== install 6 packages
- install gg 1.0.0 [required by oktree]
- install ocamlbuild 0.16.1 [required by gg]
- install popper 0.1.1 [required by ppx_deriving_popper]
- install ppx_deriving_popper 0.1.1 [required by oktree]
- install pringo 1.4 [required by popper]
- install topkg 1.1.1 [required by gg]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved gg.1.0.0 (https://opam.ocaml.org/cache)
-> retrieved ocamlbuild.0.16.1 (https://opam.ocaml.org/cache)
-> retrieved popper.0.1.1, ppx_deriving_popper.0.1.1 (https://opam.ocaml.org/cache)
-> retrieved pringo.1.4 (https://opam.ocaml.org/cache)
-> retrieved topkg.1.1.1 (https://opam.ocaml.org/cache)
-> installed pringo.1.4
-> removed oktree.0.2.2
-> installed ocamlbuild.0.16.1
-> installed popper.0.1.1
-> installed ppx_deriving_popper.0.1.1
-> installed topkg.1.1.1
-> installed gg.1.0.0
-> installed oktree.0.2.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-12 01:39.10 ---> saved as "a7147295cb9a14bacc3436527d73e4644d8c5e391efb70272584d57f9a93ee48"
/home/opam: (run (shell "opam reinstall --with-test --verbose oktree.0.2.2;\
\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\" != 'oktree.0.2.2' && 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 oktree 0.2.2 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [oktree: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "oktree" "-j" "3" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/oktree.0.2.2)
- (cd _build/default/test && ./test_oktree.exe)
-
-
- PASS: 17/17 tests passed in 1.80s.
-
- ✓ of_list -> 3 static points Passed 0ms
- ✓ of_list -> sampled points, nonempty Passed 300 samples 19ms
- ✓ nearest -> handpicked -> 0 Passed 0ms
- ✓ nearest -> handpicked -> 1 Passed 0ms
- ✓ nearest -> handpicked -> 2 Passed 0ms
- ✓ nearest -> handpicked -> 3 Passed 0ms
- ✓ nearest -> handpicked -> 4 Passed 0ms
- ✓ nearest -> sampled points, nonempty Passed 5000 samples 1779ms
- ✓ nearest -> sampled points, [] Passed 0ms
- ✓ nearest -> single point Passed 0ms
- ✓ edge_cases -> empty tree Passed 0ms
- ✓ edge_cases -> single point Passed 0ms
- ✓ edge_cases -> duplicate points Passed 0ms
- ✓ edge_cases -> insert to empty Passed 0ms
- ✓ edge_cases -> insert multiple Passed 0ms
- ✓ edge_cases -> points at boundaries Passed 0ms
- ✓ edge_cases -> invalid leaf_size Passed 300 samples 0ms
-
-> compiled oktree.0.2.2
-> removed oktree.0.2.2
-> installed oktree.0.2.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-12 01:39.55 ---> saved as "2d5c6d87522bea715ff01caa4475a91ea2f3f5a269a859ed01ad3fb3e46f1592"
Job succeeded
2026-02-12 01:40.34: Job succeeded