(for PR #29807)

2026-04-27 09:15.47: New job: build ppx_bin_there.0.2.1a2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29807/head (e0fe0e5778da777992e8690ed4faab031f74f9af)
                              on debian-testing-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/29807/head" && git reset --hard e0fe0e57
git fetch origin master
git merge --no-edit d5058a91d400180e2118d7eeefa040cfcee45d2c
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-testing-ocaml-4.14@sha256:31383d02924428c6ccaecb93aea5a41496a364657014d2b391f177822caa71a5
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 ppx_bin_there.0.2.1a2 0.2.1a2
RUN opam reinstall ppx_bin_there.0.2.1a2; \
    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-testing\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ppx_bin_there.0.2.1a2' && 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-04-27 09:15.47: Using cache hint "ocaml/opam:debian-testing-ocaml-4.14@sha256:31383d02924428c6ccaecb93aea5a41496a364657014d2b391f177822caa71a5-ppx_bin_there.0.2.1a2-e0fe0e5778da777992e8690ed4faab031f74f9af"
2026-04-27 09:15.47: Using OBuilder spec:
((from ocaml/opam:debian-testing-ocaml-4.14@sha256:31383d02924428c6ccaecb93aea5a41496a364657014d2b391f177822caa71a5)
 (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 ppx_bin_there.0.2.1a2 0.2.1a2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ppx_bin_there.0.2.1a2;\
             \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-testing\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'ppx_bin_there.0.2.1a2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-04-27 09:15.47: Waiting for resource in pool OCluster
2026-04-27 09:15.48: Waiting for worker…
2026-04-27 09:15.48: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at d5058a91d4 Merge pull request #29801 from YuriyKrasilnikov/opam-publish-idna.0.4.0
Updating d5058a91d4..e0fe0e5778
Fast-forward
 packages/bin_there/bin_there.0.2.1a2/opam         | 30 +++++++++++++++++++++++
 packages/ppx_bin_there/ppx_bin_there.0.2.1a2/opam | 30 +++++++++++++++++++++++
 2 files changed, 60 insertions(+)
 create mode 100644 packages/bin_there/bin_there.0.2.1a2/opam
 create mode 100644 packages/ppx_bin_there/ppx_bin_there.0.2.1a2/opam

(from ocaml/opam:debian-testing-ocaml-4.14@sha256:31383d02924428c6ccaecb93aea5a41496a364657014d2b391f177822caa71a5)
Unable to find image 'ocaml/opam:debian-testing-ocaml-4.14@sha256:31383d02924428c6ccaecb93aea5a41496a364657014d2b391f177822caa71a5' locally
docker.io/ocaml/opam@sha256:31383d02924428c6ccaecb93aea5a41496a364657014d2b391f177822caa71a5: Pulling from ocaml/opam
22b89b881e9d: Already exists
4d1931df00e3: Already exists
dbca7e8960f8: Already exists
08c5b61d43d0: Already exists
8f1c63d5601f: Already exists
a9bc8a9af6e1: Already exists
3edf279568bf: Already exists
56746c7e78f3: Already exists
a3ebceab5555: Already exists
0189513af783: Already exists
944472aee81d: Already exists
290dad9a9b46: Already exists
6da275f0bf36: Already exists
71108ef0dfc7: Already exists
400994922210: Already exists
91f61dcbd37b: Already exists
71d403f6917c: Already exists
71d403f6917c: Already exists
b442e5d56d83: Already exists
d5906e67b901: Already exists
de0697eb0733: Already exists
d8c87e8c1cb6: Already exists
4f4fb700ef54: Already exists
7d16e1137bc5: Already exists
c9aa154a52a0: Already exists
0e12da75a71c: Already exists
5552abaf7556: Already exists
710184df65e3: Already exists
fd95c8c4f523: Already exists
d9dd06eefcc9: Already exists
5cd4d5914dac: Already exists
0f53b8d863fa: Already exists
f24823ce420d: Already exists
f72775c7f6a0: Already exists
98ac60f528e4: Already exists
67d38704af3a: Already exists
bc927ebaee60: Already exists
d27e811659ca: Already exists
1bff8ca6094f: Already exists
0c58a4a0bdfb: Already exists
bea067938c35: Already exists
54aff00380c1: Pulling fs layer
044b3f33cccb: Pulling fs layer
4ba07dab4cb6: Pulling fs layer
27474bbde12c: Pulling fs layer
8e8602cee1ee: Pulling fs layer
27474bbde12c: Waiting
8e8602cee1ee: Waiting
4ba07dab4cb6: Verifying Checksum
4ba07dab4cb6: Download complete
27474bbde12c: Verifying Checksum
27474bbde12c: Download complete
8e8602cee1ee: Download complete
54aff00380c1: Download complete
54aff00380c1: Pull complete
044b3f33cccb: Verifying Checksum
044b3f33cccb: Download complete
044b3f33cccb: Pull complete
4ba07dab4cb6: Pull complete
27474bbde12c: Pull complete
8e8602cee1ee: Pull complete
Digest: sha256:31383d02924428c6ccaecb93aea5a41496a364657014d2b391f177822caa71a5
Status: Downloaded newer image for ocaml/opam@sha256:31383d02924428c6ccaecb93aea5a41496a364657014d2b391f177822caa71a5
2026-04-27 09:16.39 ---> using "2c813dc0b7315f5bc48165c7321c1aa771bb82143225c2a461f4f00d33c451a0" 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-04-27 09:16.39 ---> using "8ecebb2f5387f8a21a3432f4bfd9fbe1eab493b68bbf3b87ff4dd197213c50c3" 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.

[NOTE] The 'jobs' option was reset, its value was 71 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=71 --global
Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[default] Initialised
2026-04-27 09:16.39 ---> using "8d8216e0f79604f8ecc9729ef5df113f69dfabc04212ba8c35dbb0397c67ded9" 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.1
# 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                 255
# repositories         2 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.3"}]
# compiler-packages    ocaml-base-compiler.4.14.3, 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.3
2026-04-27 09:16.39 ---> using "cb8d214846ca6a75a718530d01b52ed2581f8ea540d0363760e223a1fd379b0a" 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-04-27 09:16.39 ---> using "334afa0fcb793faf437c0e7e288acaf758c0723b8b2a59cdce3333046bbaa264" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-27 09:16.47 ---> saved as "9635c918c867e8b98079a745749f6168b7f16e49082798404cf1dfc74dd23178"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-27 09:17.05 ---> saved as "f3dce4e78c44d7f3fbc1d9244492d73781c42d0da37315e0934aaf84c9d2ba36"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian testing InRelease [148 kB]
- Get:2 http://deb.debian.org/debian testing-updates InRelease [45.1 kB]
- Get:3 http://deb.debian.org/debian-security testing-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian testing/main amd64 Packages.diff/Index [63.6 kB]
- Get:5 http://deb.debian.org/debian testing/main amd64 Packages T-2026-04-27-0805.20-F-2026-04-18-0803.08.pdiff [944 kB]
- Get:5 http://deb.debian.org/debian testing/main amd64 Packages T-2026-04-27-0805.20-F-2026-04-18-0803.08.pdiff [944 kB]
- Fetched 1249 kB in 2s (779 kB/s)
- Reading package lists...
- 
2026-04-27 09:17.09 ---> saved as "538c306712032e1cdb2b75038889a044693ff876a548e2fbaba80cdfa6ca1841"

/home/opam: (run (shell "opam pin add -k version -yn ppx_bin_there.0.2.1a2 0.2.1a2"))
ppx_bin_there is now pinned to version 0.2.1a2
2026-04-27 09:17.10 ---> saved as "1f97bdbb8787addd5f1d1b190b3e959bf274c3e5ad5950e696271648bc55d2e3"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ppx_bin_there.0.2.1a2;\
                        \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-testing\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'ppx_bin_there.0.2.1a2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ppx_bin_there.0.2.1a2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 8 packages
  - install bin_there           0.2.1a2          [required by ppx_bin_there]
  - install dune                3.22.2           [required by ppx_bin_there]
  - install ocaml-compiler-libs v0.12.4          [required by ppxlib]
  - install ppx_bin_there       0.2.1a2 (pinned)
  - install ppx_derivers        1.2.1            [required by ppxlib]
  - install ppxlib              0.38.0           [required by ppx_bin_there]
  - install sexplib0            v0.17.0          [required by ppxlib]
  - install stdlib-shims        0.3.0            [required by ppxlib]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bin_there.0.2.1a2  (cached)
-> retrieved dune.3.22.2  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ppx_bin_there.0.2.1a2  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppxlib.0.38.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed dune.3.22.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed bin_there.0.2.1a2
-> installed ocaml-compiler-libs.v0.12.4
-> installed ppxlib.0.38.0
-> installed ppx_bin_there.0.2.1a2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-27 09:17.54 ---> saved as "e22dd25fb8d601872c3ec1a4e7fbe19f74f83265d7550dbbde58b62530f7bc56"
Job succeeded
2026-04-27 09:18.01: Job succeeded