Build:
- 0
2026-02-16 18:55.36: New job: test oktree.0.2.4, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29406/head (c53afdefcb2686c05bf4441baedb1ceb3819e0c0)
on ubuntu-25.04-ocaml-5.4/amd64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29406/head" && git reset --hard c53afdef
git fetch origin master
git merge --no-edit 66fe1c299d8a0fe922268a88a05ccf4bee097900
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:d8eea00d851efa352de30a240ccaaad837b998689827f1852a960a1413e8b081
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.4 0.2.4
RUN opam reinstall oktree.0.2.4; \
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-25.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'oktree.0.2.4' && 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.4) || true
RUN opam reinstall --with-test --verbose oktree.0.2.4; \
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-25.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'oktree.0.2.4' && 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-16 18:55.36: Using cache hint "ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:d8eea00d851efa352de30a240ccaaad837b998689827f1852a960a1413e8b081-oktree.0.2.4-c53afdefcb2686c05bf4441baedb1ceb3819e0c0"
2026-02-16 18:55.36: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:d8eea00d851efa352de30a240ccaaad837b998689827f1852a960a1413e8b081)
(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.4 0.2.4"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall oktree.0.2.4;\
\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-25.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\" != 'oktree.0.2.4' && 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.4) || true"))
(run (shell "opam reinstall --with-test --verbose oktree.0.2.4;\
\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-25.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\" != 'oktree.0.2.4' && 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-16 18:55.36: Waiting for resource in pool OCluster
2026-02-16 18:55.37: Waiting for worker…
2026-02-16 18:55.37: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at 66fe1c299d Merge pull request #29371 from edwintorok/release-lintcstubs-arity-0.5.0
Updating 66fe1c299d..c53afdefcb
Fast-forward
packages/oktree/oktree.0.2.4/opam | 51 +++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
create mode 100644 packages/oktree/oktree.0.2.4/opam
(from ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:d8eea00d851efa352de30a240ccaaad837b998689827f1852a960a1413e8b081)
2026-02-16 18:56.02 ---> using "cc6a01dee077a012e5b584d0224976b0f8797a649345b5e03898a7ff67ce3c31" 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-16 18:56.02 ---> using "d1f95e9fd01b55e4eec03d18a02cb9ae0a6a953d355b0023b59606d106291cd1" 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
[NOTE] The 'jobs' option was reset, its value was 255 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=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-02-16 18:56.02 ---> using "5d495839f503e5d8d1bcde1573c4411221e9825ae5f78177bb86860a24e0adfc" 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=x86_64 os=linux os-distribution=ubuntu os-version=25.04
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# 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-16 18:56.02 ---> using "faf978128e0ac32a5202193f4b6c08be01da6764c74f78ce1253763e5eddd8e8" 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-16 18:56.02 ---> using "cdae4a248d2ea4a433ef998142318bb3d39548b5de7bd68251082c5718b01065" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-02-16 18:56.10 ---> saved as "5b8bf26212c949798aef0c09e9f8c2567be0ad04972ade60be84674c8e284b65"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-16 18:56.27 ---> saved as "47a81484455abdf9538c7feaeb622a9aed892aed36461962562410413f14b7d3"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://security.ubuntu.com/ubuntu plucky-security InRelease
- Hit:2 http://archive.ubuntu.com/ubuntu plucky InRelease
- Hit:3 http://archive.ubuntu.com/ubuntu plucky-updates InRelease
- Hit:4 http://archive.ubuntu.com/ubuntu plucky-backports InRelease
- Reading package lists...
-
2026-02-16 18:56.35 ---> saved as "7cc2e7f7e1bb0f17a3b3180d594ccc2d0102b5175d0d137771f68d414db1b03e"
/home/opam: (run (shell "opam pin add -k version -yn oktree.0.2.4 0.2.4"))
oktree is now pinned to version 0.2.4
2026-02-16 18:56.36 ---> saved as "72a3211002105a1f990e26264cff8ea6751606ef5eaf506a7843bdeda0c70f87"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall oktree.0.2.4;\
\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-25.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\" != 'oktree.0.2.4' && 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.4 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.1 [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.4 (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.1 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved oktree.0.2.4 (https://github.com/anentropic/ocaml-oktree/archive/refs/tags/v0.2.4.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.1
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ppxlib.0.37.0
-> installed ppx_deriving.6.1.1
-> installed oktree.0.2.4
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-16 18:57.37 ---> saved as "85c2b52757b870e9a96957a2716819212ce72c97e83e66031c17f08de7afadbb"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test oktree.0.2.4) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile oktree 0.2.4 (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
-> installed popper.0.1.1
-> installed ppx_deriving_popper.0.1.1
-> removed oktree.0.2.4
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed gg.1.0.0
-> installed oktree.0.2.4
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-16 18:58.03 ---> saved as "75b680d69b832a8c5d4a2ff9c5e5e90a43b65e683be29acb7231cafc0e2d1b78"
/home/opam: (run (shell "opam reinstall --with-test --verbose oktree.0.2.4;\
\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-25.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\" != 'oktree.0.2.4' && 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.4 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [oktree: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "oktree" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/oktree.0.2.4)
- (cd _build/default/test && ./test_oktree.exe)
-
-
- PASS: 17/17 tests passed in 2.33s.
-
- ✓ of_list -> 3 static points Passed 0ms
- ✓ of_list -> sampled points, nonempty Passed 300 samples 29ms
- ✓ 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 2303ms
- ✓ 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.4
-> removed oktree.0.2.4
-> installed oktree.0.2.4
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-16 18:58.12 ---> saved as "ae0f731712170a7d6d6a15302218374b5e551a84e3b5cc49020a89ee2718d202"
Job succeeded
2026-02-16 18:58.17: Job succeeded