(for PR #29247)

2026-01-19 15:42.41: New job: build patricia-tree.0.12.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29247/head (50f45d837bb794ee9cb48b9ab11449225b1f607c)
                              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/29247/head" && git reset --hard 50f45d83
git fetch origin master
git merge --no-edit 39960ffbaf3e5b50a1e354d4c99bfecc01e358ca
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-unstable-ocaml-4.14@sha256:877f401ba4bf492d9b9b852542d7ba21baebf850b4d7bfed2a458934758d9234
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 patricia-tree.0.12.0 0.12.0
RUN opam reinstall patricia-tree.0.12.0; \
    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" != 'patricia-tree.0.12.0' && 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-01-19 15:42.41: Using cache hint "ocaml/opam:debian-unstable-ocaml-4.14@sha256:877f401ba4bf492d9b9b852542d7ba21baebf850b4d7bfed2a458934758d9234-patricia-tree.0.12.0-50f45d837bb794ee9cb48b9ab11449225b1f607c"
2026-01-19 15:42.41: Using OBuilder spec:
((from ocaml/opam:debian-unstable-ocaml-4.14@sha256:877f401ba4bf492d9b9b852542d7ba21baebf850b4d7bfed2a458934758d9234)
 (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 patricia-tree.0.12.0 0.12.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall patricia-tree.0.12.0;\
             \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\" != 'patricia-tree.0.12.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-01-19 15:42.41: Waiting for resource in pool OCluster
2026-01-19 15:42.41: Waiting for worker…
2026-01-19 15:42.43: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at 39960ffbaf Merge pull request #29193 from recoules/release-binsec-0.11.0
Updating 39960ffbaf..50f45d837b
Fast-forward
 packages/patricia-tree/patricia-tree.0.12.0/opam | 48 ++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 packages/patricia-tree/patricia-tree.0.12.0/opam

(from ocaml/opam:debian-unstable-ocaml-4.14@sha256:877f401ba4bf492d9b9b852542d7ba21baebf850b4d7bfed2a458934758d9234)
Unable to find image 'ocaml/opam:debian-unstable-ocaml-4.14@sha256:877f401ba4bf492d9b9b852542d7ba21baebf850b4d7bfed2a458934758d9234' locally
docker.io/ocaml/opam@sha256:877f401ba4bf492d9b9b852542d7ba21baebf850b4d7bfed2a458934758d9234: Pulling from ocaml/opam
8e36c1fbb8f9: Pulling fs layer
c20c78184d0b: Pulling fs layer
0ab87efdff82: Pulling fs layer
c7b76e160f19: Pulling fs layer
8e36c1fbb8f9: Waiting
0f33b0437075: Pulling fs layer
0ab87efdff82: Waiting
c20c78184d0b: Waiting
44cfe50ed87a: Pulling fs layer
c7b76e160f19: Waiting
0f33b0437075: Waiting
3d8bc88e8e4c: Pulling fs layer
031ad32a4764: Pulling fs layer
44cfe50ed87a: Waiting
295120677902: Pulling fs layer
3d8bc88e8e4c: Waiting
cabfd3ab2227: Pulling fs layer
031ad32a4764: Waiting
3ec86e62252b: Pulling fs layer
f2d973a9ea0c: Pulling fs layer
cabfd3ab2227: Waiting
295120677902: Waiting
e142f6d653d9: Pulling fs layer
f2d973a9ea0c: Waiting
bfa8af2cae08: Pulling fs layer
2fb4252d438b: Pulling fs layer
3dc003ec4a15: Pulling fs layer
e142f6d653d9: Waiting
a1c5fc4b0323: Pulling fs layer
2fb4252d438b: Waiting
bfa8af2cae08: Waiting
27c2974c0836: Pulling fs layer
3dc003ec4a15: Waiting
0adec8edeba9: Pulling fs layer
a1c5fc4b0323: Waiting
1ee2afe62a1f: Pulling fs layer
27c2974c0836: Waiting
320d8966c06c: Pulling fs layer
4f4fb700ef54: Pulling fs layer
6f46e7a21dfb: Pulling fs layer
1ee2afe62a1f: Waiting
75f876a0c9c9: Pulling fs layer
320d8966c06c: Waiting
4f4fb700ef54: Waiting
7adc49118e74: Pulling fs layer
6f46e7a21dfb: Waiting
6fa679934aac: Pulling fs layer
75f876a0c9c9: Waiting
7adc49118e74: Waiting
3c2cea696b77: Pulling fs layer
6fa679934aac: Waiting
946ea8df89a5: Pulling fs layer
ea4ceee206ec: Pulling fs layer
3c2cea696b77: Waiting
946ea8df89a5: Waiting
af006056acfa: Pulling fs layer
ea4ceee206ec: Waiting
f2f172888897: Pulling fs layer
af006056acfa: Waiting
b9eb7fecff88: Pulling fs layer
f2f172888897: Waiting
4f6f96a895ac: Pulling fs layer
37ea2e18a637: Pulling fs layer
1973f0a82dbc: Pulling fs layer
89bfe5027abd: Pulling fs layer
3618e70065f5: Pulling fs layer
1973f0a82dbc: Waiting
f559d3f65047: Pulling fs layer
b9eb7fecff88: Waiting
9de533cb491e: Pulling fs layer
4f6f96a895ac: Waiting
f28ff1d1a83b: Pulling fs layer
8b071c4740c8: Pulling fs layer
37ea2e18a637: Waiting
ac68bd7d48be: Pulling fs layer
8b071c4740c8: Waiting
c7635436197f: Pulling fs layer
5c91d9bb3cc5: Pulling fs layer
860c034923af: Pulling fs layer
860c034923af: Waiting
ac68bd7d48be: Waiting
c7635436197f: Waiting
8e36c1fbb8f9: Verifying Checksum
8e36c1fbb8f9: Download complete
c20c78184d0b: Download complete
0ab87efdff82: Download complete
c7b76e160f19: Verifying Checksum
c7b76e160f19: Download complete
0f33b0437075: Verifying Checksum
0f33b0437075: Download complete
8e36c1fbb8f9: Pull complete
c20c78184d0b: Pull complete
0ab87efdff82: Pull complete
c7b76e160f19: Pull complete
0f33b0437075: Pull complete
44cfe50ed87a: Download complete
3d8bc88e8e4c: Download complete
031ad32a4764: Verifying Checksum
031ad32a4764: Download complete
295120677902: Verifying Checksum
295120677902: Download complete
cabfd3ab2227: Verifying Checksum
cabfd3ab2227: Download complete
3ec86e62252b: Verifying Checksum
3ec86e62252b: Download complete
f2d973a9ea0c: Verifying Checksum
e142f6d653d9: Verifying Checksum
e142f6d653d9: Download complete
bfa8af2cae08: Verifying Checksum
2fb4252d438b: Verifying Checksum
2fb4252d438b: Download complete
3dc003ec4a15: Verifying Checksum
3dc003ec4a15: Download complete
a1c5fc4b0323: Download complete
27c2974c0836: Download complete
0adec8edeba9: Verifying Checksum
0adec8edeba9: Download complete
1ee2afe62a1f: Verifying Checksum
1ee2afe62a1f: Download complete
320d8966c06c: Download complete
4f4fb700ef54: Download complete
6f46e7a21dfb: Verifying Checksum
6f46e7a21dfb: Download complete
75f876a0c9c9: Download complete
7adc49118e74: Verifying Checksum
7adc49118e74: Download complete
6fa679934aac: Verifying Checksum
6fa679934aac: Download complete
3c2cea696b77: Download complete
946ea8df89a5: Verifying Checksum
946ea8df89a5: Download complete
ea4ceee206ec: Download complete
af006056acfa: Download complete
44cfe50ed87a: Pull complete
3d8bc88e8e4c: Pull complete
f2f172888897: Download complete
031ad32a4764: Pull complete
295120677902: Pull complete
b9eb7fecff88: Verifying Checksum
b9eb7fecff88: Download complete
cabfd3ab2227: Pull complete
4f6f96a895ac: Download complete
3ec86e62252b: Pull complete
37ea2e18a637: Verifying Checksum
37ea2e18a637: Download complete
f2d973a9ea0c: Pull complete
e142f6d653d9: Pull complete
89bfe5027abd: Download complete
bfa8af2cae08: Pull complete
2fb4252d438b: Pull complete
3dc003ec4a15: Pull complete
a1c5fc4b0323: Pull complete
27c2974c0836: Pull complete
0adec8edeba9: Pull complete
1ee2afe62a1f: Pull complete
320d8966c06c: Pull complete
4f4fb700ef54: Pull complete
6f46e7a21dfb: Pull complete
75f876a0c9c9: Pull complete
7adc49118e74: Pull complete
6fa679934aac: Pull complete
3c2cea696b77: Pull complete
946ea8df89a5: Pull complete
ea4ceee206ec: Pull complete
af006056acfa: Pull complete
f2f172888897: Pull complete
b9eb7fecff88: Pull complete
4f6f96a895ac: Pull complete
37ea2e18a637: Pull complete
f559d3f65047: Verifying Checksum
f559d3f65047: Download complete
9de533cb491e: Verifying Checksum
9de533cb491e: Download complete
f28ff1d1a83b: Download complete
8b071c4740c8: Verifying Checksum
8b071c4740c8: Download complete
ac68bd7d48be: Verifying Checksum
ac68bd7d48be: Download complete
c7635436197f: Download complete
5c91d9bb3cc5: Verifying Checksum
5c91d9bb3cc5: Download complete
860c034923af: Verifying Checksum
860c034923af: Download complete
1973f0a82dbc: Verifying Checksum
1973f0a82dbc: Download complete
3618e70065f5: Verifying Checksum
3618e70065f5: Download complete
1973f0a82dbc: Pull complete
89bfe5027abd: Pull complete
3618e70065f5: Pull complete
f559d3f65047: Pull complete
9de533cb491e: Pull complete
f28ff1d1a83b: Pull complete
8b071c4740c8: Pull complete
ac68bd7d48be: Pull complete
c7635436197f: Pull complete
5c91d9bb3cc5: Pull complete
860c034923af: Pull complete
Digest: sha256:877f401ba4bf492d9b9b852542d7ba21baebf850b4d7bfed2a458934758d9234
Status: Downloaded newer image for ocaml/opam@sha256:877f401ba4bf492d9b9b852542d7ba21baebf850b4d7bfed2a458934758d9234
2026-01-19 15:43.46 ---> using "b462075ce39918979f5d46f895062d08f07edac802eb7daefb45e42c925c98e1" 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-01-19 15:43.46 ---> using "581c964e68c07fbeb1f65d54c65a2fefdf27a535243971df4ba8254b219fcf7b" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] synchronised from git+https://github.com/ocurrent/opam-repository#patches
[default] Initialised
2026-01-19 15:43.46 ---> using "77050ad4c9fedcd0e4b840e14b66917d7fd59a01e5f2df0c5664cff5ff69a076" 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=unknown
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         2 (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-01-19 15:43.46 ---> using "95b194353f2b76e23e866c97fa41c13f8a7e60efd815b1ffe956cfbdb2b002ed" 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-01-19 15:43.46 ---> using "655981729f8b0b2c5918f390c11cf134c3350c092adcd061f27cdcc6a70bfe21" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-19 15:43.58 ---> saved as "7e7fd1c6b16ff576124f70a71eaa23d7d23800363c8958dbb7f1aaba33b13c23"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-19 15:44.23 ---> saved as "ed826dfa502365d720dfa4d55a109a74031cc0c1f8767d362bbf15dd4f1ebfa8"

/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-01-19-1447.19-F-2026-01-16-2009.15.pdiff [666 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2026-01-19-1447.19-F-2026-01-16-2009.15.pdiff [666 kB]
- Fetched 917 kB in 3s (337 kB/s)
- Reading package lists...
- 
2026-01-19 15:44.27 ---> saved as "71404e331e70f43bc191a0e773f63943d79b15c0eef7393ff4e885923393969e"

/home/opam: (run (shell "opam pin add -k version -yn patricia-tree.0.12.0 0.12.0"))
patricia-tree is now pinned to version 0.12.0
2026-01-19 15:44.29 ---> saved as "e0b93efaa7da2c085f425ebc719339846f130fbc8738eeebb98011d8b3fbf3d8"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall patricia-tree.0.12.0;\
                        \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\" != 'patricia-tree.0.12.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
patricia-tree.0.12.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
  - install dune          3.21.0          [required by patricia-tree]
  - install patricia-tree 0.12.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0  (cached)
-> retrieved patricia-tree.0.12.0  (cached)
-> installed dune.3.21.0
-> installed patricia-tree.0.12.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-19 15:45.14 ---> saved as "cd4cd925d20cdc21e53d59c837b5e7c5d873d6564ed6609d9ed8c39048344dd4"
Job succeeded
2026-01-19 15:45.19: Job succeeded