Build:
  1. 0
2026-02-12 01:30.35: New job: build oktree.0.2.2, using opam 2.4
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29376/head (4b85ad4ab762fb1980b88fe9cf7f07a2d4c346d4)
                              on debian-13-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/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:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.4 /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

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2026-02-12 01:30.35: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c-oktree.0.2.2-4b85ad4ab762fb1980b88fe9cf7f07a2d4c346d4"
2026-02-12 01:30.35: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.4 /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"))
)

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:32.28: Got resource from pool OCluster
Building on eumache
All commits already cached
Updating files:  96% (17582/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:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c)
2026-02-12 01:32.37 ---> using "3c18c9e472a4f76bc128dc0a5a1e21158ba3dbd0d6773ace6ec33f0cfe6fac9b" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2026-02-12 01:32.40 ---> saved as "695532efc580fddc8cfc7ff4718d92be366d22c5036a8187ad9a916c65c1d8b6"

/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-12 01:33.11 ---> saved as "a817d3cd5d3a6de3dfb75db35a089d41c68b6a63141658d2120ff48e34d4e4e5"

/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.4.1
# 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-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:33.12 ---> saved as "c7dea16b34e29f10b9d23b5ecd2672037e071db1f9356da86d26879230525fa9"

/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:33.21 ---> saved as "bbd098b254c792aa4c56c6c9ce7b80ca30fed113d6c72d1fe921d6cc140200b1"

/home/opam: (copy (src .) (dst opam-repository/))
2026-02-12 01:33.32 ---> saved as "4a3db649a21c6a2dd8d8b8eececeef4f40d0d66815ebcd53ed1d7ded21c703f0"

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

/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 [104 kB]
- Fetched 195 kB in 0s (1163 kB/s)
- Reading package lists...
- 
2026-02-12 01:33.58 ---> saved as "3615fbcc7842a93192159340eb89b087b854770b67450d52b71cd2617e3bbe4f"

/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.59 ---> saved as "a938893c1a5e9b9f126843f38814e89afc3885d9e688d308d26cde786362bdf4"

/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  (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 ocaml-compiler-libs.v0.17.0
-> installed cppo.1.8.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:35.03 ---> saved as "54def4838ab2a3ac9e76862bdb678b67b44c1490f05225d335d90d6a33071158"
Job succeeded
2026-02-12 01:35.08: Job succeeded