Build:
  1. 0
2026-02-14 01:18.17: New job: test oktree.0.2.3, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29389/head (233345d827172741eb7fcc9199dc5afef9c1f529)
                              on debian-13-ocaml-5.4-flambda/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/29389/head" && git reset --hard 233345d8
git fetch origin master
git merge --no-edit 3109384a92327407915334a40dd67d3ff0ecf1ee
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:8cea88c592e987b81be74d6c46c0d3b9d476849450e336b44b34334fd9b30a99
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.3 0.2.3
RUN opam reinstall oktree.0.2.3; \
    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.3' && 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.3) || true
RUN opam reinstall --with-test --verbose oktree.0.2.3; \
    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.3' && 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-14 01:18.17: Using cache hint "ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:8cea88c592e987b81be74d6c46c0d3b9d476849450e336b44b34334fd9b30a99-oktree.0.2.3-233345d827172741eb7fcc9199dc5afef9c1f529"
2026-02-14 01:18.17: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:8cea88c592e987b81be74d6c46c0d3b9d476849450e336b44b34334fd9b30a99)
 (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.3 0.2.3"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall oktree.0.2.3;\
             \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.3' && 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.3) || true"))
 (run (shell  "opam reinstall --with-test --verbose oktree.0.2.3;\
             \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.3' && 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-14 01:18.17: Waiting for resource in pool OCluster
2026-02-14 01:18.17: Waiting for worker…
2026-02-14 01:18.18: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at 3109384a92 Merge pull request #29378 from dinosaure/release-miou-v0.5.3
Updating 3109384a92..233345d827
Fast-forward
 packages/oktree/oktree.0.2.3/opam | 51 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)
 create mode 100644 packages/oktree/oktree.0.2.3/opam

(from ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:8cea88c592e987b81be74d6c46c0d3b9d476849450e336b44b34334fd9b30a99)
2026-02-14 01:19.16 ---> using "fd1bf53ff284b776f77000d465568001f66aeb5b35d486b3ee8d17635a681e43" 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-14 01:19.16 ---> using "a166777cc5f971db8985b935e782d64a92cd05c4fafc74fdc5a90e4e916ce7a5" 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-02-14 01:19.16 ---> using "6373557080233ca859281f26bc6148a0f2541f12223bc5467d320e026802ca6e" 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=debian os-version=13
# 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-variants" {= "5.4.0+options"}]
# compiler-packages    ocaml-compiler.5.4.0, ocaml-option-flambda.1, ocaml-options-only-flambda.1, ocaml-variants.5.4.0+options
# 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+options+flambda
2026-02-14 01:19.16 ---> using "581170d666045cfe06a4fbe6bdd409bf05ea22e02fc47740492f7f0361d9c9c0" 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-14 01:19.16 ---> using "675ef070c292b53c7f36f80857870e5e76dc44633e746c42c52ef03e50452a5c" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-02-14 01:19.22 ---> saved as "42b8c859e47d23ad988b155f4b6768795f2d6dab898348665cc5b3ccdecc383a"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-14 01:19.43 ---> saved as "3eb3476efdc7bfb6d94ecb7c762a74c0ffa60eda2d422e38b332babdae3e28e0"

/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 amd64 Packages [108 kB]
- Fetched 198 kB in 0s (1967 kB/s)
- Reading package lists...
- 
2026-02-14 01:19.45 ---> saved as "0f8d3b48edea944190cb34eaf1d68af4780bf501c70ff1adc2ab68e9f4ea37f9"

/home/opam: (run (shell "opam pin add -k version -yn oktree.0.2.3 0.2.3"))
oktree is now pinned to version 0.2.3
2026-02-14 01:19.46 ---> saved as "e61284b54ef9088e6171d04ba36e9290a5b21d108e9eb996c176d11a8004db26"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall oktree.0.2.3;\
                        \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.3' && 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.3 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.3 (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.3  (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.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.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-14 01:21.13 ---> saved as "b972a6bbbdb2e9821eaced1a300631f0e4988d7d54e98d58646659be5ad22e5a"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test oktree.0.2.3) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile oktree              0.2.3 (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.3
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed gg.1.0.0
-> installed oktree.0.2.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-14 01:21.46 ---> saved as "08d88d889232844c1dd55089c48bc4685d745380be29063b93b2751a1fc9d44a"

/home/opam: (run (shell  "opam reinstall --with-test --verbose oktree.0.2.3;\
                        \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.3' && 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.3 (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.3)
- (cd _build/default/test && ./test_oktree.exe)
- 
- 
- PASS: 17/17 tests passed in 2.11s.
-   
-   ✓  of_list -> 3 static points           Passed                  0ms  
-   ✓  of_list -> sampled points, nonempty  Passed 300 samples     27ms  
-   ✓  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  2081ms  
-   ✓  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.3
-> removed   oktree.0.2.3
-> installed oktree.0.2.3
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-14 01:21.55 ---> saved as "27c259284a59ee5bd7e72549602465555750a10096854eb648b959b5174f0dc4"
Job succeeded
2026-02-14 01:22.01: Job succeeded