(for PR #29893)

2026-05-12 12:13.34: New job: build ez_api.3.0.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29893/head (f8b665bc7f31903aeca03d04a5c0996397f57443)
                              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/29893/head" && git reset --hard f8b665bc
git fetch origin master
git merge --no-edit a4f153d7481c469b20f3b1064338d6a21abcb832
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:0b2e33e7339f2b3efd0a0c11dd0980dc127c461818cb0c5b56b570fb07b06e7e
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 ez_api.3.0.0 3.0.0
RUN opam reinstall ez_api.3.0.0; \
    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" != 'ez_api.3.0.0' && 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-05-12 12:13.34: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:0b2e33e7339f2b3efd0a0c11dd0980dc127c461818cb0c5b56b570fb07b06e7e-ez_api.3.0.0-f8b665bc7f31903aeca03d04a5c0996397f57443"
2026-05-12 12:13.34: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:0b2e33e7339f2b3efd0a0c11dd0980dc127c461818cb0c5b56b570fb07b06e7e)
 (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 ez_api.3.0.0 3.0.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ez_api.3.0.0;\
             \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\" != 'ez_api.3.0.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-05-12 12:13.34: Waiting for resource in pool OCluster
2026-05-12 12:21.43: Waiting for worker…
2026-05-12 16:49.00: Got resource from pool OCluster
Building on riscv-bm-01.sw.ci.dev
Updating files:  14% (2663/17853)
Updating files:  15% (2678/17853)
Updating files:  16% (2857/17853)
Updating files:  17% (3036/17853)
Updating files:  18% (3214/17853)
Updating files:  19% (3393/17853)
Updating files:  20% (3571/17853)
Updating files:  21% (3750/17853)
Updating files:  22% (3928/17853)
Updating files:  23% (4107/17853)
Updating files:  24% (4285/17853)
Updating files:  25% (4464/17853)
Updating files:  26% (4642/17853)
Updating files:  27% (4821/17853)
Updating files:  28% (4999/17853)
Updating files:  29% (5178/17853)
Updating files:  29% (5193/17853)
Updating files:  30% (5356/17853)
Updating files:  31% (5535/17853)
Updating files:  32% (5713/17853)
Updating files:  33% (5892/17853)
Updating files:  34% (6071/17853)
Updating files:  35% (6249/17853)
Updating files:  36% (6428/17853)
Updating files:  37% (6606/17853)
Updating files:  38% (6785/17853)
Updating files:  39% (6963/17853)
Updating files:  40% (7142/17853)
Updating files:  41% (7320/17853)
Updating files:  42% (7499/17853)
Updating files:  43% (7677/17853)
Updating files:  43% (7824/17853)
Updating files:  44% (7856/17853)
Updating files:  45% (8034/17853)
Updating files:  46% (8213/17853)
Updating files:  47% (8391/17853)
Updating files:  48% (8570/17853)
Updating files:  49% (8748/17853)
Updating files:  50% (8927/17853)
Updating files:  51% (9106/17853)
Updating files:  52% (9284/17853)
Updating files:  53% (9463/17853)
Updating files:  54% (9641/17853)
Updating files:  55% (9820/17853)
Updating files:  56% (9998/17853)
Updating files:  57% (10177/17853)
Updating files:  57% (10240/17853)
Updating files:  58% (10355/17853)
Updating files:  59% (10534/17853)
Updating files:  60% (10712/17853)
Updating files:  61% (10891/17853)
Updating files:  62% (11069/17853)
Updating files:  63% (11248/17853)
Updating files:  64% (11426/17853)
Updating files:  65% (11605/17853)
Updating files:  66% (11783/17853)
Updating files:  67% (11962/17853)
Updating files:  68% (12141/17853)
Updating files:  69% (12319/17853)
Updating files:  70% (12498/17853)
Updating files:  70% (12569/17853)
Updating files:  71% (12676/17853)
Updating files:  72% (12855/17853)
Updating files:  73% (13033/17853)
Updating files:  74% (13212/17853)
Updating files:  75% (13390/17853)
Updating files:  76% (13569/17853)
Updating files:  77% (13747/17853)
Updating files:  78% (13926/17853)
Updating files:  79% (14104/17853)
Updating files:  80% (14283/17853)
Updating files:  81% (14461/17853)
Updating files:  82% (14640/17853)
Updating files:  83% (14818/17853)
Updating files:  83% (14947/17853)
Updating files:  84% (14997/17853)
Updating files:  85% (15176/17853)
Updating files:  86% (15354/17853)
Updating files:  87% (15533/17853)
Updating files:  88% (15711/17853)
Updating files:  89% (15890/17853)
Updating files:  90% (16068/17853)
Updating files:  91% (16247/17853)
Updating files:  92% (16425/17853)
Updating files:  93% (16604/17853)
Updating files:  94% (16782/17853)
Updating files:  95% (16961/17853)
Updating files:  96% (17139/17853)
Updating files:  96% (17221/17853)
Updating files:  97% (17318/17853)
Updating files:  98% (17496/17853)
Updating files:  99% (17675/17853)
Updating files: 100% (17853/17853)
Updating files: 100% (17853/17853), done.
HEAD is now at 28474df805 lwt_eio: can't test with lwt6
HEAD is now at a4f153d748 Merge pull request #29889 from mtelvers/opam-publish-ocaml-version.4.1.1
Updating a4f153d748..f8b665bc7f
Fast-forward
 packages/ez_api/ez_api.3.0.0/opam | 85 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)
 create mode 100644 packages/ez_api/ez_api.3.0.0/opam

(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:0b2e33e7339f2b3efd0a0c11dd0980dc127c461818cb0c5b56b570fb07b06e7e)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:0b2e33e7339f2b3efd0a0c11dd0980dc127c461818cb0c5b56b570fb07b06e7e' locally
docker.io/ocaml/opam@sha256:0b2e33e7339f2b3efd0a0c11dd0980dc127c461818cb0c5b56b570fb07b06e7e: Pulling from ocaml/opam
a7f0c7437445: Already exists
84697a2c23cb: Already exists
930e8a9c15f0: Already exists
3dcc2d79914b: Already exists
79c9fa26c6aa: Already exists
7f9198737428: Already exists
8e0b6cf6b9c5: Already exists
518ccde464f9: Already exists
482f9c31bdbd: Already exists
3243f39b4437: Already exists
98d5f8386409: Already exists
6d53d1591dbd: Already exists
5be66500543e: Already exists
4832cc3212da: Already exists
8e62a4a29f85: Already exists
67eee6d89132: Already exists
67eee6d89132: Already exists
5203f682b64f: Already exists
1b73d27de47c: Already exists
c6cb7b970a0d: Already exists
c4a23a78a865: Already exists
4f4fb700ef54: Already exists
7e7a7e6d074a: Already exists
e97c56a66ef0: Already exists
6d0229f49103: Already exists
9faff2b58d31: Already exists
bfd71b61cf27: Already exists
515aeab1931a: Already exists
ff21d3c48ebf: Already exists
e6ae0bc244ae: Already exists
e0e3997f7113: Already exists
d6fc5c06273a: Already exists
7f45ea50b3f4: Already exists
73743a9d67c4: Already exists
8906b3ef12ca: Already exists
d8f60874f4ab: Already exists
02b78003826e: Already exists
48ebf736b5ff: Already exists
4f4fb700ef54: Already exists
0e4b074959b3: Already exists
59ba871ca729: Pulling fs layer
b72b8cd4732f: Pulling fs layer
2e729208c224: Pulling fs layer
b802e08adf30: Pulling fs layer
b802e08adf30: Waiting
b72b8cd4732f: Download complete
2e729208c224: Verifying Checksum
2e729208c224: Download complete
b802e08adf30: Verifying Checksum
b802e08adf30: Download complete
59ba871ca729: Verifying Checksum
59ba871ca729: Download complete
59ba871ca729: Pull complete
b72b8cd4732f: Pull complete
2e729208c224: Pull complete
b802e08adf30: Pull complete
Digest: sha256:0b2e33e7339f2b3efd0a0c11dd0980dc127c461818cb0c5b56b570fb07b06e7e
Status: Downloaded newer image for ocaml/opam@sha256:0b2e33e7339f2b3efd0a0c11dd0980dc127c461818cb0c5b56b570fb07b06e7e
2026-05-12 16:49.21 ---> using "12bf2538b4187012bc8174693aa825dc9d1ef6b7ec5c10bbbf1b7633c6a45098" 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-05-12 16:49.21 ---> using "cc0d87c67af96071eeba77313d86ee81b2a458401dfff9be9eeb71491092fe5d" 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.1 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 1 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=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-05-12 16:49.21 ---> using "111a885a0ed7dc3227d8bd2bcc28167255d3d55cbb8b851b74370af452877fe9" 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-05-12 16:49.21 ---> using "a5b9c948625ba37a0390c36314c7adce89350fa0019b651c8c5685d148ad071f" 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-05-12 16:49.21 ---> using "c37d3407449b0dbffd1fb5f5f8bec32bf97c73ffefa782058de87bf642f38e00" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-12 16:49.48 ---> saved as "3f47f57d80034ea4a0100b079bb57e6a71e623e18a1c3d929375557b26344ebd"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-12 16:50.40 ---> saved as "8e21add74b6f9bd6991ddffc7154a7ad2f1ebbd4591146fecdf6250b98dac543"

/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/main riscv64 Packages [964 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1601 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe riscv64 Packages [29.7 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [1125 kB]
- Get:9 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [649 kB]
- Fetched 4748 kB in 3s (1777 kB/s)
- Reading package lists...
- 
2026-05-12 16:50.48 ---> saved as "61a1c8b95028f1de88fb333a92d8bd3121a68e35acc56d97c05e5616b3daaa53"

/home/opam: (run (shell "opam pin add -k version -yn ez_api.3.0.0 3.0.0"))
ez_api is now pinned to version 3.0.0
2026-05-12 16:50.50 ---> saved as "726ed3595977dc1d88bc6c652a1283e6954ee609c2b36f767d2deccdfdc6c491"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ez_api.3.0.0;\
                        \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\" != 'ez_api.3.0.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ez_api.3.0.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 21 packages
  - install angstrom           0.16.1         [required by uri]
  - install bigstringaf        0.10.0         [required by angstrom]
  - install csexp              1.5.2          [required by dune-configurator]
  - install cstruct            6.2.0          [required by hex]
  - install dune               3.23.0         [required by ez_api]
  - install dune-configurator  3.23.0         [required by bigstringaf]
  - install ez_api             3.0.0 (pinned)
  - install ezjsonm            1.3.0          [required by ez_api]
  - install fmt                0.11.0         [required by cstruct]
  - install hex                1.5.0          [required by ezjsonm, json-data-encoding]
  - install json-data-encoding 1.1.1          [required by ez_api]
  - install jsonm              1.0.2          [required by ezjsonm]
  - install ocaml-syntax-shims 1.0.0          [required by angstrom]
  - install ocamlbuild         0.16.1         [required by uuidm]
  - install ocamlfind          1.9.8          [required by uuidm]
  - install sexplib0           v0.17.0        [required by ezjsonm]
  - install stringext          1.6.0          [required by uri]
  - install topkg              1.1.1          [required by uuidm]
  - install uri                4.4.0          [required by json-data-encoding]
  - install uuidm              0.9.10         [required by ez_api]
  - install uutf               1.0.4          [required by ezjsonm]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved dune.3.23.0, dune-configurator.3.23.0  (cached)
-> retrieved ez_api.3.0.0  (https://github.com/OCamlPro/ez_api/archive/refs/tags/3.0.0.tar.gz)
-> retrieved ezjsonm.1.3.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved hex.1.5.0  (cached)
-> retrieved json-data-encoding.1.1.1  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uri.4.4.0  (cached)
-> retrieved uuidm.0.9.10  (cached)
-> retrieved uutf.1.0.4  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uuidm.0.9.10
-> installed fmt.0.11.0
-> installed uutf.1.0.4
-> installed jsonm.1.0.2
-> installed dune.3.23.0
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed ocaml-syntax-shims.1.0.0
-> installed sexplib0.v0.17.0
-> installed hex.1.5.0
-> installed stringext.1.6.0
-> installed ezjsonm.1.3.0
-> installed dune-configurator.3.23.0
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed uri.4.4.0
-> installed json-data-encoding.1.1.1
-> installed ez_api.3.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-12 16:56.32 ---> saved as "40e9350f8981ed15aa9cc7844aaa917442aef361564fb3217534389714f817d5"
Job succeeded
2026-05-12 16:57.05: Job succeeded