(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-12-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-12-ocaml-4.14@sha256:a95aacd48081b7ad6f21317fa1041ee91448d99667de6d5f754a76794c11819c
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-12\""; 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-12-ocaml-4.14@sha256:a95aacd48081b7ad6f21317fa1041ee91448d99667de6d5f754a76794c11819c-ppx_bin_there.0.2.1a2-e0fe0e5778da777992e8690ed4faab031f74f9af"
2026-04-27 09:15.47: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:a95aacd48081b7ad6f21317fa1041ee91448d99667de6d5f754a76794c11819c)
 (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-12\\\"\"; 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 toxis.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-12-ocaml-4.14@sha256:a95aacd48081b7ad6f21317fa1041ee91448d99667de6d5f754a76794c11819c)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:a95aacd48081b7ad6f21317fa1041ee91448d99667de6d5f754a76794c11819c' locally
docker.io/ocaml/opam@sha256:a95aacd48081b7ad6f21317fa1041ee91448d99667de6d5f754a76794c11819c: Pulling from ocaml/opam
c150dd3f5fc9: Already exists
3546e4aec575: Already exists
6bc8f2abbc4a: Already exists
797e9e8fa14d: Already exists
58742c3479d1: Already exists
a758dccfaded: Already exists
f2bc29ef0632: Already exists
03d877054e50: Already exists
5480a1a6c33c: Already exists
6288c3211fc9: Already exists
6aa556e51c64: Already exists
b67b2e06214e: Already exists
af82d28720e9: Already exists
c50c0ea762d8: Already exists
9740a02bfecc: Already exists
e1e484c56b19: Already exists
0da03a2134a8: Already exists
81dc3ddf6e89: Already exists
edd2de5fc943: Already exists
098706a320b8: Already exists
5d4140134a09: Already exists
daec48e85781: Already exists
4f4fb700ef54: Already exists
bab188757846: Already exists
128c6fd19148: Already exists
2bf47810b1b2: Already exists
b60d7b53ecdd: Already exists
f5945e597930: Already exists
961f4463c6cd: Already exists
f000ebd5811a: Already exists
69c1d8a7165c: Already exists
3ab6a74eb692: Already exists
dc58c525b722: Already exists
373eef81e867: Already exists
62a00145b04a: Already exists
d5bf21242861: Already exists
920894086c5b: Already exists
289fac949cc8: Already exists
d14a7c246a36: Already exists
6312ed2a3fa1: Already exists
5a92dff0f97e: Already exists
311c3df9eb6f: Pulling fs layer
14d67b1d7e41: Pulling fs layer
a1a69bcba283: Pulling fs layer
a8de892bc5b7: Pulling fs layer
a8de892bc5b7: Waiting
14d67b1d7e41: Download complete
a1a69bcba283: Verifying Checksum
a1a69bcba283: Download complete
a8de892bc5b7: Download complete
311c3df9eb6f: Verifying Checksum
311c3df9eb6f: Download complete
311c3df9eb6f: Pull complete
14d67b1d7e41: Pull complete
a1a69bcba283: Pull complete
a8de892bc5b7: Pull complete
Digest: sha256:a95aacd48081b7ad6f21317fa1041ee91448d99667de6d5f754a76794c11819c
Status: Downloaded newer image for ocaml/opam@sha256:a95aacd48081b7ad6f21317fa1041ee91448d99667de6d5f754a76794c11819c
2026-04-27 09:18.53 ---> saved as "ac2ea500d4424db5ca90758502a76f7f8111c5897f5751db9fb94ec20cebdc43"

/: (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:18.53 ---> saved as "8b11471c6b06740bf185412fd290274de8462112cbfefb8a72b84ac3daf41b6e"

/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-04-27 09:19.22 ---> saved as "e71cebb980e359c67a5951d6fe4ec20cff7b91b3c8d01c11953426600f96908c"

/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=12
# 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.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:19.24 ---> saved as "4e3414ef924c22e18f7b5641fc885c67f809437ac0bf533a73c37c293430190b"

/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:19.38 ---> saved as "cba303f6ba7dfa79b746d4f2dfc1f5672ee80a104d175bc52fa6f7a31b49485b"

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-27 09:19.54 ---> saved as "7f0ec945a65720c1c9001d0fe962f7215a0f8a0b30b546f90a3db9462e2596d0"

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [297 kB]
- Fetched 401 kB in 0s (1140 kB/s)
- Reading package lists...
- 
2026-04-27 09:20.16 ---> saved as "b794e110a4e03a3e254673748f51357e1ec25fe632f65a735a30062dd568233a"

/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:20.16 ---> saved as "bec5636a5448403cd8e7dc9358f9d8a7eef5f4991562c6f80b052c83c21cea8b"

/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-12\\\"\"; 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:21.20 ---> saved as "25e45e74696a02d3bf7bd144cec10bb731faee94a74a0f9631e8fc3de336e1f0"
Job succeeded
2026-04-27 09:21.26: Job succeeded