(for PR #29807)

2026-04-27 18:58.34: 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 ubuntu-24.04-ocaml-4.14/riscv64

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:ubuntu-24.04-ocaml-4.14@sha256:d7aa3c86bd24a9b9cb853d516a4c7642d43cd0f47030b44d51a0b6f1470a61cb
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 "\"ubuntu-24.04\""; 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 18:58.34: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:d7aa3c86bd24a9b9cb853d516a4c7642d43cd0f47030b44d51a0b6f1470a61cb-bin_there.0.2.1a2-e0fe0e5778da777992e8690ed4faab031f74f9af"
2026-04-27 18:58.34: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:d7aa3c86bd24a9b9cb853d516a4c7642d43cd0f47030b44d51a0b6f1470a61cb)
 (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 \"\\\"ubuntu-24.04\\\"\"; 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 18:58.34: Connecting to build cluster…
2026-04-27 18:58.34: Waiting for resource in pool OCluster
2026-04-27 18:58.43: Waiting for worker…
2026-04-27 19:53.20: Got resource from pool OCluster
Building on riscv-bm-04.sw.ci.dev
All commits already cached
Updating files:   9% (1883/18863)
Updating files:  10% (1887/18863)
Updating files:  11% (2075/18863)
Updating files:  12% (2264/18863)
Updating files:  13% (2453/18863)
Updating files:  14% (2641/18863)
Updating files:  15% (2830/18863)
Updating files:  16% (3019/18863)
Updating files:  17% (3207/18863)
Updating files:  18% (3396/18863)
Updating files:  19% (3584/18863)
Updating files:  20% (3773/18863)
Updating files:  21% (3962/18863)
Updating files:  22% (4150/18863)
Updating files:  22% (4251/18863)
Updating files:  23% (4339/18863)
Updating files:  24% (4528/18863)
Updating files:  25% (4716/18863)
Updating files:  26% (4905/18863)
Updating files:  27% (5094/18863)
Updating files:  28% (5282/18863)
Updating files:  29% (5471/18863)
Updating files:  30% (5659/18863)
Updating files:  31% (5848/18863)
Updating files:  32% (6037/18863)
Updating files:  33% (6225/18863)
Updating files:  34% (6414/18863)
Updating files:  35% (6603/18863)
Updating files:  36% (6791/18863)
Updating files:  36% (6800/18863)
Updating files:  37% (6980/18863)
Updating files:  38% (7168/18863)
Updating files:  39% (7357/18863)
Updating files:  40% (7546/18863)
Updating files:  41% (7734/18863)
Updating files:  42% (7923/18863)
Updating files:  43% (8112/18863)
Updating files:  44% (8300/18863)
Updating files:  45% (8489/18863)
Updating files:  46% (8677/18863)
Updating files:  47% (8866/18863)
Updating files:  48% (9055/18863)
Updating files:  48% (9084/18863)
Updating files:  49% (9243/18863)
Updating files:  50% (9432/18863)
Updating files:  51% (9621/18863)
Updating files:  52% (9809/18863)
Updating files:  53% (9998/18863)
Updating files:  54% (10187/18863)
Updating files:  55% (10375/18863)
Updating files:  56% (10564/18863)
Updating files:  57% (10752/18863)
Updating files:  58% (10941/18863)
Updating files:  59% (11130/18863)
Updating files:  60% (11318/18863)
Updating files:  60% (11346/18863)
Updating files:  61% (11507/18863)
Updating files:  62% (11696/18863)
Updating files:  63% (11884/18863)
Updating files:  64% (12073/18863)
Updating files:  65% (12261/18863)
Updating files:  66% (12450/18863)
Updating files:  67% (12639/18863)
Updating files:  68% (12827/18863)
Updating files:  69% (13016/18863)
Updating files:  70% (13205/18863)
Updating files:  71% (13393/18863)
Updating files:  71% (13572/18863)
Updating files:  72% (13582/18863)
Updating files:  73% (13770/18863)
Updating files:  74% (13959/18863)
Updating files:  75% (14148/18863)
Updating files:  76% (14336/18863)
Updating files:  77% (14525/18863)
Updating files:  78% (14714/18863)
Updating files:  79% (14902/18863)
Updating files:  80% (15091/18863)
Updating files:  81% (15280/18863)
Updating files:  82% (15468/18863)
Updating files:  83% (15657/18863)
Updating files:  83% (15698/18863)
Updating files:  84% (15845/18863)
Updating files:  85% (16034/18863)
Updating files:  86% (16223/18863)
Updating files:  87% (16411/18863)
Updating files:  88% (16600/18863)
Updating files:  89% (16789/18863)
Updating files:  90% (16977/18863)
Updating files:  91% (17166/18863)
Updating files:  92% (17354/18863)
Updating files:  93% (17543/18863)
Updating files:  94% (17732/18863)
Updating files:  95% (17920/18863)
Updating files:  95% (18087/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:ubuntu-24.04-ocaml-4.14@sha256:d7aa3c86bd24a9b9cb853d516a4c7642d43cd0f47030b44d51a0b6f1470a61cb)
2026-04-27 19:53.32 ---> using "a561fa540a5e03edeabc82a5696e2e05d2678fbada571c0a8d1b3bc16f0faf74" 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 19:53.32 ---> using "aa1ed4d14ee425245eb8dce126fd8139ce197d06ccaaf62ddc9ce93efc20e972" 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 19:53.32 ---> using "385b5d62825ebde0b90345b1ea1ec8350a52375e94e1f6f5fc4fb297a71b569d" 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=riscv64 os=linux os-distribution=ubuntu os-version=24.04
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 3
# 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 19:53.32 ---> using "1fedea335862cc2a55bb9266e1ccde37eb90135ed46e640bf29a221d179bb287" 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 19:53.32 ---> using "e59dbcaacccf8466288c4d2fd96476f3bcea7d06876c4f89798e4449d3f21aff" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-27 19:53.38 ---> using "cfab383e9174c0c089475391572c3895e1bf273cd8e9d8df592b4c198772e494" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-27 19:53.38 ---> using "d6e10b69cda70afc9c6d92171bd5e184201c281ce7d67b96c2d2df6d183d444d" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
- Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
- Get:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease [126 kB]
- Get:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
- Get:5 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted riscv64 Packages [10.8 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [954 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse riscv64 Packages [5111 B]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1596 kB]
- Get:9 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe riscv64 Packages [29.3 kB]
- Get:10 http://ports.ubuntu.com/ubuntu-ports noble-backports/multiverse riscv64 Packages [671 B]
- Get:11 http://ports.ubuntu.com/ubuntu-ports noble-backports/main riscv64 Packages [48.9 kB]
- Get:12 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [638 kB]
- Get:13 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse riscv64 Packages [3400 B]
- Get:14 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted riscv64 Packages [8621 B]
- Get:15 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [1119 kB]
- Fetched 4792 kB in 2s (2063 kB/s)
- Reading package lists...
- 
2026-04-27 19:53.38 ---> using "90fef5f873d17a4bec7a85b7a919870c304170af6a0fcf54aef56dfbe1c93c31" from cache

/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 19:53.38 ---> using "54cbb01817e401dbc480608ddfb10c60a2b66b2184ab0ea8455a77e6d911418a" from cache

/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 \"\\\"ubuntu-24.04\\\"\"; 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 19:53.38 ---> using "58482ea2117057e0a0fd97ed00fef20dd1f9dcbdc2f01d2cab09dfcce7655567" from cache
Job succeeded
2026-04-27 19:54.13: Job succeeded