(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 opensuse-tumbleweed-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:opensuse-tumbleweed-ocaml-4.14@sha256:38e931845d50d12cc39395dc3d363df70ffd44fc60b57daa3869d9e39eddbbd3
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 "\"opensuse-tumbleweed\""; 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:opensuse-tumbleweed-ocaml-4.14@sha256:38e931845d50d12cc39395dc3d363df70ffd44fc60b57daa3869d9e39eddbbd3-bin_there.0.2.1a2-e0fe0e5778da777992e8690ed4faab031f74f9af"
2026-04-27 09:15.47: Using OBuilder spec:
((from ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:38e931845d50d12cc39395dc3d363df70ffd44fc60b57daa3869d9e39eddbbd3)
 (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 \"\\\"opensuse-tumbleweed\\\"\"; 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 toxis.caelum.ci.dev
All commits already cached
Updating files:  94% (17829/18863)
Updating files:  95% (17920/18863)
Updating files:  96% (18109/18863)
Updating files:  97% (18298/18863)
Updating files:  98% (18486/18863)
Updating files:  99% (18675/18863)
Updating files: 100% (18863/18863)
Updating files: 100% (18863/18863), done.
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:opensuse-tumbleweed-ocaml-4.14@sha256:38e931845d50d12cc39395dc3d363df70ffd44fc60b57daa3869d9e39eddbbd3)
Unable to find image 'ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:38e931845d50d12cc39395dc3d363df70ffd44fc60b57daa3869d9e39eddbbd3' locally
docker.io/ocaml/opam@sha256:38e931845d50d12cc39395dc3d363df70ffd44fc60b57daa3869d9e39eddbbd3: Pulling from ocaml/opam
85da69e3bcbc: Already exists
631376f83c43: Already exists
e6b6c69451d3: Already exists
695154cba58f: Already exists
bc0cda136487: Already exists
c26744712456: Already exists
0a74335c4d68: Already exists
ba2f0650f9cf: Already exists
401145706a85: Already exists
e0c42004bc71: Already exists
edece2bae288: Already exists
6c0ed6e21b99: Already exists
90e5d3a0b960: Already exists
e5041d2608d8: Already exists
053e18401091: Already exists
31a48d0feace: Already exists
f3132c48eee0: Already exists
28881178e4f5: Already exists
28881178e4f5: Already exists
4f4fb700ef54: Already exists
4ca919bb8ba3: Already exists
28a9e4fe3ccb: Already exists
69822f6c63a0: Already exists
02a12c934701: Already exists
3f7b5a81e6fd: Already exists
82938bd52f0c: Already exists
1821cb695e32: Already exists
40118f739789: Already exists
7b86c6fb804f: Already exists
5445e3b50faa: Already exists
521cc8813270: Already exists
e1d1d0b1a994: Already exists
793715c1504d: Already exists
c5c0d670aec8: Already exists
93be4eb84204: Already exists
1ab1098f30c4: Already exists
1d0d57d53af1: Already exists
c87ec73c8717: Already exists
bc3c89c5d7da: Pulling fs layer
b7564f832aef: Pulling fs layer
e01b5f5ee60e: Pulling fs layer
9f557655d25f: Pulling fs layer
0df8ccb9fd7a: Pulling fs layer
bc3c89c5d7da: Waiting
b7564f832aef: Waiting
9f557655d25f: Waiting
e01b5f5ee60e: Waiting
0df8ccb9fd7a: Waiting
b7564f832aef: Verifying Checksum
b7564f832aef: Download complete
e01b5f5ee60e: Verifying Checksum
e01b5f5ee60e: Download complete
9f557655d25f: Verifying Checksum
9f557655d25f: Download complete
0df8ccb9fd7a: Verifying Checksum
0df8ccb9fd7a: Download complete
bc3c89c5d7da: Verifying Checksum
bc3c89c5d7da: Download complete
bc3c89c5d7da: Pull complete
b7564f832aef: Pull complete
e01b5f5ee60e: Pull complete
9f557655d25f: Pull complete
0df8ccb9fd7a: Pull complete
Digest: sha256:38e931845d50d12cc39395dc3d363df70ffd44fc60b57daa3869d9e39eddbbd3
Status: Downloaded newer image for ocaml/opam@sha256:38e931845d50d12cc39395dc3d363df70ffd44fc60b57daa3869d9e39eddbbd3
2026-04-27 09:18.18 ---> saved as "1dc363d81e0b7fbaa010d4cb9c993643b6138e404a9d67fa5ee291d3198ff14f"

/: (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.18 ---> saved as "c4ae0bb470f491684343de3713e12c340e4ebc828925453c7c5a0b09f446f0b0"

/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-patches-overlay] no changes from git+https://github.com/ocurrent/opam-repository#patches
[default] Initialised
2026-04-27 09:18.51 ---> saved as "0f65e45cc07b4ef931823a3d28050723e8b9eca340627ec9757008f2c80be8ab"

/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=opensuse-tumbleweed os-version=20260416
# 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.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:18.52 ---> saved as "746a53f49ce204d9e1ccade3b89be9f393b333015923664ea042b45c58a67601"

/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.00 ---> saved as "14c25f4086ba3c77efc54e6ecd20c51752b4cc9d4492a67d71fd9352941aad07"

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-27 09:19.06 ---> saved as "99b303603ec7858785d5eab81bb8a8e5828cccbdc8ad03b960d90d81fea1bb11"

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Repository 'openSUSE-Tumbleweed-Update' is up to date.
- Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata [...
- Looking for gpg keys in repository openSUSE-Tumbleweed-Non-Oss.
-   gpgkey=http://download.opensuse.org/tumbleweed/repo/non-oss/repodata/repomd.xml.key
- ...
- ....done]
- Building repository 'openSUSE-Tumbleweed-Non-Oss' cache [....done]
- Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata [...
- Looking for gpg keys in repository openSUSE-Tumbleweed-Oss.
-   gpgkey=http://download.opensuse.org/tumbleweed/repo/oss/repodata/repomd.xml.key
- ..
- ...........
- ..........
- ....done]
- Building repository 'openSUSE-Tumbleweed-Oss' cache [..
- ..done]
- All repositories have been refreshed.
2026-04-27 09:19.42 ---> saved as "1b3ddaf12f5ba9e97ae3c9822b34679ad76e6cc1f2efd3fc6a01e12e255a54c2"

/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:19.43 ---> saved as "1668005223af6821ae94c3ff69cc6e7394d4eb25015ceaedf64466d2b16070ab"

/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 \"\\\"opensuse-tumbleweed\\\"\"; 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  (cached)
-> 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:20.15 ---> saved as "61c895ea0e98daad4d923a529127d772e6af13ea667ebe32d80dc93ed95ed43e"
Job succeeded
2026-04-27 09:20.24: Job succeeded