(for PR #29807)

2026-04-27 09:15.47: New job: build bin_there.0.2.1a2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29807/head (e0fe0e5778da777992e8690ed4faab031f74f9af)
                              on debian-13-ocaml-4.14/arm64

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-13-ocaml-4.14@sha256:53a7a8bc1955d3bf2dcb864dd4259fa6fca948ea3ddda453aa3720f0a90b4f93
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 bin_there.0.2.1a2 0.2.1a2
RUN opam reinstall 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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != '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-13-ocaml-4.14@sha256:53a7a8bc1955d3bf2dcb864dd4259fa6fca948ea3ddda453aa3720f0a90b4f93-bin_there.0.2.1a2-e0fe0e5778da777992e8690ed4faab031f74f9af"
2026-04-27 09:15.47: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:53a7a8bc1955d3bf2dcb864dd4259fa6fca948ea3ddda453aa3720f0a90b4f93)
 (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 bin_there.0.2.1a2 0.2.1a2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall 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-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\" != '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 okypous.caelum.ci.dev
Updating files:  75% (14306/18862)
Updating files:  76% (14336/18862)
Updating files:  77% (14524/18862)
Updating files:  78% (14713/18862)
Updating files:  79% (14901/18862)
Updating files:  80% (15090/18862)
Updating files:  81% (15279/18862)
Updating files:  82% (15467/18862)
Updating files:  83% (15656/18862)
Updating files:  84% (15845/18862)
Updating files:  85% (16033/18862)
Updating files:  86% (16222/18862)
Updating files:  87% (16410/18862)
Updating files:  88% (16599/18862)
Updating files:  89% (16788/18862)
Updating files:  90% (16976/18862)
Updating files:  91% (17165/18862)
Updating files:  92% (17354/18862)
Updating files:  93% (17542/18862)
Updating files:  94% (17731/18862)
Updating files:  95% (17919/18862)
Updating files:  96% (18108/18862)
Updating files:  97% (18297/18862)
Updating files:  98% (18485/18862)
Updating files:  99% (18674/18862)
Updating files: 100% (18862/18862)
Updating files: 100% (18862/18862), done.
HEAD is now at d05139b478 [new release] nats-client (2 packages) (0.0.9)
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-13-ocaml-4.14@sha256:53a7a8bc1955d3bf2dcb864dd4259fa6fca948ea3ddda453aa3720f0a90b4f93)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:53a7a8bc1955d3bf2dcb864dd4259fa6fca948ea3ddda453aa3720f0a90b4f93' locally
docker.io/ocaml/opam@sha256:53a7a8bc1955d3bf2dcb864dd4259fa6fca948ea3ddda453aa3720f0a90b4f93: Pulling from ocaml/opam
912041a7b9f6: Already exists
384913182f58: Already exists
e7afd92310f2: Already exists
4c463b0e2a83: Already exists
414acffd690a: Already exists
e9fe6906cc38: Already exists
de3b3e62a756: Already exists
3099becd7ce0: Already exists
070a3c5c3800: Already exists
0a1f5b6ab287: Already exists
9c0a2ac17ad8: Already exists
bd2582e07236: Already exists
97e17cd4d04c: Already exists
f448a6398a51: Already exists
457e4400863c: Already exists
fca49b31ca13: Already exists
14e2b0fb3b32: Already exists
14e2b0fb3b32: Already exists
3274c4c203d0: Already exists
c94da4bc4f13: Already exists
b0b816efbd05: Already exists
dd657d165857: Already exists
4f4fb700ef54: Already exists
1939844c1e42: Already exists
a12f397df222: Already exists
61a60d8f7b0a: Already exists
27115b0e59d9: Already exists
ee225e26bcf0: Already exists
05b5a741b2da: Already exists
82107d8efc45: Already exists
dcf25205b3b2: Already exists
dd1d2b63e706: Already exists
89f96c977b1d: Already exists
64836cc68637: Already exists
05682ec10158: Already exists
bb5304ad554a: Already exists
bdeefdd5c13a: Already exists
8fc5309d3aa8: Already exists
587f1186af6b: Already exists
baa1f11944d3: Already exists
0c53051b4d52: Already exists
c727f4b5c5fa: Pulling fs layer
2e4006652849: Pulling fs layer
2c02be3d1819: Pulling fs layer
5e47fb80e9b7: Pulling fs layer
c727f4b5c5fa: Waiting
5e47fb80e9b7: Waiting
2e4006652849: Waiting
2c02be3d1819: Waiting
2e4006652849: Verifying Checksum
2e4006652849: Download complete
2c02be3d1819: Verifying Checksum
2c02be3d1819: Download complete
5e47fb80e9b7: Verifying Checksum
5e47fb80e9b7: Download complete
c727f4b5c5fa: Download complete
c727f4b5c5fa: Pull complete
2e4006652849: Pull complete
2c02be3d1819: Pull complete
5e47fb80e9b7: Pull complete
Digest: sha256:53a7a8bc1955d3bf2dcb864dd4259fa6fca948ea3ddda453aa3720f0a90b4f93
Status: Downloaded newer image for ocaml/opam@sha256:53a7a8bc1955d3bf2dcb864dd4259fa6fca948ea3ddda453aa3720f0a90b4f93
2026-04-27 09:15.52 ---> using "e85167b019c4bca8de986c62928be71192d1e65fbe489b759545a20e1f175d92" 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:15.52 ---> using "1773ccac8e5e0b24146cc6b9639e58cbda496e8c729f9ac0e51844b7e498ad61" 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-27 09:15.52 ---> using "b427d19c2fec657cd84b82daf50caacc233fda5d39f31a02d2d7ad8b04031254" 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=arm64 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                 79
# 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:15.52 ---> using "6fda9573cd6e06507ab5ce8a2029e793a2a0785a63ec9e2343b20fcdaab3c95d" 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:15.52 ---> using "9fc27f5dae7501d352d784008f43c2043f4613e07314a5e53cf68199a95122df" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-27 09:16.01 ---> saved as "00bd93672d6352e1ed0975f55ae3cdc9e7326991aa08528209267f2e1c06c93b"

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

/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 arm64 Packages [126 kB]
- Fetched 217 kB in 0s (439 kB/s)
- Reading package lists...
- 
2026-04-27 09:16.23 ---> saved as "212da7f6563518319b44a0d795d05c417f1b40efc232e5f6d5b6be8070de18a5"

/home/opam: (run (shell "opam pin add -k version -yn bin_there.0.2.1a2 0.2.1a2"))
bin_there is now pinned to version 0.2.1a2
2026-04-27 09:16.23 ---> saved as "124a92a85ea0f732a09f765921d5c3667316e2a579f8d7cd00a0957a75936730"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall 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-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\" != '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"))
bin_there.0.2.1a2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
  - install bin_there 0.2.1a2 (pinned)
  - install dune      3.22.2           [required by bin_there]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bin_there.0.2.1a2  (https://gitlab.com/api/v4/projects/81089450/packages/generic/bin_there/0.2.1a2/bin_there-0.2.1a2.tar.gz)
-> retrieved dune.3.22.2  (cached)
-> installed dune.3.22.2
-> installed bin_there.0.2.1a2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-27 09:16.53 ---> saved as "cd7568108ac3b2aab6ed08c850e5f1a2c4e15fc0cc2e28f905e2c05aa26432d3"
Job succeeded
2026-04-27 09:17.04: Job succeeded