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-unstable-ocaml-4.14/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/29376/head" && git reset --hard 4b85ad4a
git fetch origin master
git merge --no-edit 8f8aafa90831d3fa3c3655c9bfc730441431aea7
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-unstable-ocaml-4.14@sha256:faf46e59c7def771a8707f02db336d15d7e00d7ce25eeca54257680d2310c4d1
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-unstable\""; 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-unstable\""; 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-unstable-ocaml-4.14@sha256:faf46e59c7def771a8707f02db336d15d7e00d7ce25eeca54257680d2310c4d1-oktree.0.2.2-4b85ad4ab762fb1980b88fe9cf7f07a2d4c346d4"
2026-02-12 01:30.35: Using OBuilder spec:
((from ocaml/opam:debian-unstable-ocaml-4.14@sha256:faf46e59c7def771a8707f02db336d15d7e00d7ce25eeca54257680d2310c4d1)
(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-unstable\\\"\"; 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-unstable\\\"\"; 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 laodoke.caelum.ci.dev
All commits already cached
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-unstable-ocaml-4.14@sha256:faf46e59c7def771a8707f02db336d15d7e00d7ce25eeca54257680d2310c4d1)
2026-02-12 01:32.01 ---> saved as "8b93c0916229cbd52b8952a128ad500b7ef3d1e725ffdac95c934fff89c51e72"
/: (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:32.01 ---> saved as "927b702a0d040b0d78ef63dcb1876d01520226ee5697759814bda9402307aae5"
/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-12 01:32.30 ---> saved as "84c81f93b6ed9c0864b862b9f1531aec2d0666f125c9c817d75c328e34ebceee"
/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=debian os-version=unknown
# 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 4.14
# invariant ["ocaml-base-compiler" {= "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 /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2026-02-12 01:32.31 ---> saved as "9ce3748bbf6f7a78afd8dfe0961cc0fbd7cfb7787714f2a5ba8c84eaf8f3e9d0"
/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:32.42 ---> saved as "bacebf23c9ffca3d202661d09ffaec958277cae789d7f089432c9fed51c8174a"
/home/opam: (copy (src .) (dst opam-repository/))
2026-02-12 01:32.50 ---> saved as "5a36d9cc083349ab91e96fa0ffb95094a38831a94a1a5293996fcd619957940a"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-12 01:33.10 ---> saved as "3a8d8cc761c8e3c717ad009bef1d3b1ff6b380fd60abc21c1f77452010a339f7"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [187 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2026-02-11-2001.16-F-2026-02-07-1407.12.pdiff [526 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2026-02-11-2001.16-F-2026-02-07-1407.12.pdiff [526 kB]
- Fetched 777 kB in 3s (285 kB/s)
- Reading package lists...
-
2026-02-12 01:33.14 ---> saved as "b277953cbc3fa992fb4473503262b98bfe66cf15043ca6bbd937a6c389112e3b"
/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:33.15 ---> saved as "45022b6980b8f65a21ed08bdf4e939b421d458ea5d407231014ffbbba0e0996f"
/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-unstable\\\"\"; 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.12.4 [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.12.4 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved oktree.0.2.2 (cached)
-> 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 stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.12.4
-> 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:34.12 ---> saved as "deb1285126b2945a065388086ff6f043eda2668a32c330954c99fff61142abe9"
/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
-> installed popper.0.1.1
-> installed ppx_deriving_popper.0.1.1
-> removed oktree.0.2.2
-> installed ocamlbuild.0.16.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:34.33 ---> saved as "ae0117831a7a5c99fe38bb09523078464bfe7a5551b6abbb6251f3f3e5aa0bfd"
/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-unstable\\\"\"; 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" "71" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/oktree.0.2.2)
- (cd _build/default/test && ./test_oktree.exe)
-
-
- PASS: 17/17 tests passed in 1.98s.
-
- ✓ of_list -> 3 static points Passed 0ms
- ✓ of_list -> sampled points, nonempty Passed 300 samples 32ms
- ✓ 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 1946ms
- ✓ 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:34.41 ---> saved as "b37922ba405152d2ef2874a09784259b6c15d0c3f34cd7be44e52a6707c3c48a"
Job succeeded
2026-02-12 01:34.47: Job succeeded