(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 centos-10-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:centos-10-ocaml-4.14@sha256:099a1bd8a7289677b3d286cae6c74fde2827d36af3aacb5219c5046e669cc824
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 "\"centos-10\""; 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:centos-10-ocaml-4.14@sha256:099a1bd8a7289677b3d286cae6c74fde2827d36af3aacb5219c5046e669cc824-ppx_bin_there.0.2.1a2-e0fe0e5778da777992e8690ed4faab031f74f9af"
2026-04-27 09:15.47: Using OBuilder spec:
((from ocaml/opam:centos-10-ocaml-4.14@sha256:099a1bd8a7289677b3d286cae6c74fde2827d36af3aacb5219c5046e669cc824)
 (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 \"\\\"centos-10\\\"\"; 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.49: Got resource from pool OCluster
Building on laodoke.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:centos-10-ocaml-4.14@sha256:099a1bd8a7289677b3d286cae6c74fde2827d36af3aacb5219c5046e669cc824)
Unable to find image 'ocaml/opam:centos-10-ocaml-4.14@sha256:099a1bd8a7289677b3d286cae6c74fde2827d36af3aacb5219c5046e669cc824' locally
docker.io/ocaml/opam@sha256:099a1bd8a7289677b3d286cae6c74fde2827d36af3aacb5219c5046e669cc824: Pulling from ocaml/opam
c252d74f67ec: Already exists
d716ad7daa12: Already exists
7c3161b1d5c5: Already exists
e8edfe322ebf: Already exists
9533c4138b2b: Already exists
01447aa59fe6: Already exists
1b1b1beb007c: Already exists
033ea94b6e9d: Already exists
91da64a82a71: Already exists
9c3f35293680: Already exists
8a1ad33047f6: Already exists
d6d9dfd531a8: Already exists
b58e93fb0830: Already exists
811808969f3d: Already exists
f625d66cda24: Already exists
85a61d4b2cd3: Already exists
8554f95f31c4: Already exists
1f796ea40b97: Already exists
1f796ea40b97: Already exists
af268e80dce6: Already exists
776119f993fa: Already exists
2562cf194f77: Already exists
c06b13fb3647: Already exists
4f4fb700ef54: Already exists
8ed79bf0d9d3: Already exists
c031ae8d2f01: Already exists
127448c81755: Already exists
e7b578b7d79b: Already exists
9c65fa384f52: Already exists
c7ff449c86ae: Already exists
8c251a97b8ba: Already exists
84f4bdf092ed: Already exists
794bc7a14461: Already exists
b9ef5536a55e: Already exists
bb8b414b8f89: Already exists
609b85206fb1: Already exists
8b6ee93b5e3f: Already exists
6c7db228ccf2: Already exists
3c1daa43e98b: Already exists
d64c879d4f47: Already exists
4b8a291c507b: Already exists
a858064f1b8f: Already exists
50eb7bc2b7c8: Pulling fs layer
00693fd39147: Pulling fs layer
1a8ea1a2f199: Pulling fs layer
ea91d9bbcc85: Pulling fs layer
00693fd39147: Waiting
50eb7bc2b7c8: Waiting
1a8ea1a2f199: Waiting
ea91d9bbcc85: Waiting
00693fd39147: Download complete
1a8ea1a2f199: Verifying Checksum
1a8ea1a2f199: Download complete
ea91d9bbcc85: Verifying Checksum
ea91d9bbcc85: Download complete
50eb7bc2b7c8: Verifying Checksum
50eb7bc2b7c8: Download complete
50eb7bc2b7c8: Pull complete
00693fd39147: Pull complete
1a8ea1a2f199: Pull complete
ea91d9bbcc85: Pull complete
Digest: sha256:099a1bd8a7289677b3d286cae6c74fde2827d36af3aacb5219c5046e669cc824
Status: Downloaded newer image for ocaml/opam@sha256:099a1bd8a7289677b3d286cae6c74fde2827d36af3aacb5219c5046e669cc824
2026-04-27 09:19.22 ---> saved as "e7e8c79b27f7f1a90625ac842c31b4a8869d50861d095d8a6fc98a0389974666"

/: (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:19.22 ---> saved as "f890515150dc851b29dada4a0e35568e92e7f0426234093880dc6d67d84556d9"

/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-27 09:19.50 ---> saved as "509e385c121d2c44d7352417150ca4968f334b4d955b0e67a232ffcb250dca38"

/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=centos os-version=10
# 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.51 ---> saved as "e991fddf296834a8808a29f6ee5285a8edb5183541ae6a945c06ca679394c27c"

/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.58 ---> saved as "c6cccb89f4ad0c00be4753cc3575fd0e1d800004ad14ea3542f5c1bce907cbc0"

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-27 09:20.06 ---> saved as "02c66fd2806920e7daa480b2ce4e14ed9839f6889c59bc7b79efc28c779f2f23"

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 10 - BaseOS                       116 kB/s |  15 kB     00:00    
- CentOS Stream 10 - BaseOS                       9.1 MB/s | 6.9 MB     00:00    
- CentOS Stream 10 - AppStream                    126 kB/s |  15 kB     00:00    
- CentOS Stream 10 - AppStream                    5.4 MB/s | 3.6 MB     00:00    
- CentOS Stream 10 - CRB                          121 kB/s |  15 kB     00:00    
- CentOS Stream 10 - CRB                          3.1 MB/s | 834 kB     00:00    
- CentOS Stream 10 - Extras packages              133 kB/s |  17 kB     00:00    
- Metadata cache created.
2026-04-27 09:20.33 ---> saved as "b3756c6ebac7b0877f1b041ebe9551619ca894a0e4fd4e1122dc164511d4097a"

/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.34 ---> saved as "ce824c2c99319aa757504f16921d7523dc3d27edd3e7539ce143ce7d23704750"

/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 \"\\\"centos-10\\\"\"; 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.27 ---> saved as "b19816c954f4df383a2419a789e7fdf75e15090c2488081438f3bfdc4c37e361"
Job succeeded
2026-04-27 09:21.35: Job succeeded