(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-5.4/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/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-5.4@sha256:aabe37e5b657436d0ceaa21e99cd169f9c62e2f97672d5df29adb9785768f9b3
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-5.4@sha256:aabe37e5b657436d0ceaa21e99cd169f9c62e2f97672d5df29adb9785768f9b3-ez_api.3.0.0-f8b665bc7f31903aeca03d04a5c0996397f57443"
2026-05-12 12:13.34: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:aabe37e5b657436d0ceaa21e99cd169f9c62e2f97672d5df29adb9785768f9b3)
 (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:13.34: Waiting for worker…
2026-05-12 12:13.56: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
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-5.4@sha256:aabe37e5b657436d0ceaa21e99cd169f9c62e2f97672d5df29adb9785768f9b3)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:aabe37e5b657436d0ceaa21e99cd169f9c62e2f97672d5df29adb9785768f9b3' locally
docker.io/ocaml/opam@sha256:aabe37e5b657436d0ceaa21e99cd169f9c62e2f97672d5df29adb9785768f9b3: Pulling from ocaml/opam
b40150c1c271: Already exists
5635dddaaf61: Already exists
0a6d5f853ae3: Already exists
799f202be4df: Already exists
b903f564077a: Already exists
6c1d10b3d08f: Already exists
8fd224b6ae45: Pulling fs layer
5e37c7ad2993: Pulling fs layer
32255c35d5b3: Pulling fs layer
c3cffeaeb4b8: Pulling fs layer
a9de87727b20: Pulling fs layer
cd92154d260a: Pulling fs layer
5534cf6e4151: Pulling fs layer
92d42dfe1d12: Pulling fs layer
4974f6184649: Pulling fs layer
c3cffeaeb4b8: Waiting
ddbbf37b07ba: Pulling fs layer
a9de87727b20: Waiting
cd92154d260a: Waiting
6c31853c12bf: Pulling fs layer
ed68394a86c7: Pulling fs layer
ddbbf37b07ba: Waiting
3cc6b078d5fc: Pulling fs layer
257a2bdf9f61: Pulling fs layer
5534cf6e4151: Waiting
92d42dfe1d12: Waiting
4f4fb700ef54: Pulling fs layer
61b8d2ddf2f3: Pulling fs layer
4974f6184649: Waiting
dbb18f475127: Pulling fs layer
802447bfad8e: Pulling fs layer
257a2bdf9f61: Waiting
6c31853c12bf: Waiting
4f4fb700ef54: Waiting
e86ad76f9c74: Pulling fs layer
ed68394a86c7: Waiting
61b8d2ddf2f3: Waiting
3cc6b078d5fc: Waiting
9e967f128a0d: Pulling fs layer
dbb18f475127: Waiting
802447bfad8e: Waiting
5d5cafdc9e88: Pulling fs layer
e86ad76f9c74: Waiting
c81e5f5c4bfc: Pulling fs layer
9e967f128a0d: Waiting
5d5cafdc9e88: Waiting
0a0005210533: Pulling fs layer
8549d7b2ccb2: Pulling fs layer
c81e5f5c4bfc: Waiting
57ea4f2cdcb7: Pulling fs layer
eea0ea6a7403: Pulling fs layer
0a0005210533: Waiting
8549d7b2ccb2: Waiting
3d2e57752a6c: Pulling fs layer
eea0ea6a7403: Waiting
57ea4f2cdcb7: Waiting
128f8b8d9b04: Pulling fs layer
a594488fbf65: Pulling fs layer
fbe102fc5248: Pulling fs layer
4d204629c375: Pulling fs layer
504e6256aaf7: Pulling fs layer
a594488fbf65: Waiting
e553f7e7d2a2: Pulling fs layer
128f8b8d9b04: Waiting
504e6256aaf7: Waiting
cea2efc9b4f4: Pulling fs layer
1cf176ec0ca1: Pulling fs layer
42d435880d33: Pulling fs layer
2bd2b7deb664: Pulling fs layer
b63ece2686d2: Pulling fs layer
e553f7e7d2a2: Waiting
11efbb46aef7: Pulling fs layer
fbe102fc5248: Waiting
cea2efc9b4f4: Waiting
2bd2b7deb664: Waiting
1cf176ec0ca1: Waiting
42d435880d33: Waiting
4d204629c375: Waiting
11efbb46aef7: Waiting
b63ece2686d2: Waiting
3d2e57752a6c: Waiting
8fd224b6ae45: Verifying Checksum
8fd224b6ae45: Download complete
8fd224b6ae45: Pull complete
32255c35d5b3: Verifying Checksum
32255c35d5b3: Download complete
5e37c7ad2993: Verifying Checksum
5e37c7ad2993: Download complete
5e37c7ad2993: Pull complete
32255c35d5b3: Pull complete
a9de87727b20: Verifying Checksum
a9de87727b20: Download complete
5534cf6e4151: Verifying Checksum
5534cf6e4151: Download complete
cd92154d260a: Verifying Checksum
cd92154d260a: Download complete
4974f6184649: Verifying Checksum
4974f6184649: Download complete
c3cffeaeb4b8: Verifying Checksum
c3cffeaeb4b8: Download complete
ddbbf37b07ba: Download complete
6c31853c12bf: Verifying Checksum
6c31853c12bf: Download complete
c3cffeaeb4b8: Pull complete
ed68394a86c7: Download complete
3cc6b078d5fc: Download complete
a9de87727b20: Pull complete
92d42dfe1d12: Verifying Checksum
92d42dfe1d12: Download complete
257a2bdf9f61: Verifying Checksum
257a2bdf9f61: Download complete
cd92154d260a: Pull complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
5534cf6e4151: Pull complete
92d42dfe1d12: Pull complete
4974f6184649: Pull complete
61b8d2ddf2f3: Download complete
ddbbf37b07ba: Pull complete
802447bfad8e: Verifying Checksum
dbb18f475127: Verifying Checksum
dbb18f475127: Download complete
e86ad76f9c74: Download complete
c81e5f5c4bfc: Download complete
6c31853c12bf: Pull complete
ed68394a86c7: Pull complete
3cc6b078d5fc: Pull complete
257a2bdf9f61: Pull complete
4f4fb700ef54: Pull complete
61b8d2ddf2f3: Pull complete
dbb18f475127: Pull complete
802447bfad8e: Pull complete
e86ad76f9c74: Pull complete
5d5cafdc9e88: Verifying Checksum
5d5cafdc9e88: Download complete
0a0005210533: Verifying Checksum
0a0005210533: Download complete
9e967f128a0d: Verifying Checksum
9e967f128a0d: Download complete
9e967f128a0d: Pull complete
5d5cafdc9e88: Pull complete
c81e5f5c4bfc: Pull complete
0a0005210533: Pull complete
57ea4f2cdcb7: Verifying Checksum
57ea4f2cdcb7: Download complete
8549d7b2ccb2: Verifying Checksum
8549d7b2ccb2: Download complete
8549d7b2ccb2: Pull complete
57ea4f2cdcb7: Pull complete
eea0ea6a7403: Verifying Checksum
eea0ea6a7403: Download complete
eea0ea6a7403: Pull complete
3d2e57752a6c: Verifying Checksum
3d2e57752a6c: Download complete
3d2e57752a6c: Pull complete
a594488fbf65: Download complete
4d204629c375: Verifying Checksum
4d204629c375: Download complete
504e6256aaf7: Verifying Checksum
504e6256aaf7: Download complete
e553f7e7d2a2: Verifying Checksum
e553f7e7d2a2: Download complete
fbe102fc5248: Verifying Checksum
fbe102fc5248: Download complete
cea2efc9b4f4: Verifying Checksum
cea2efc9b4f4: Download complete
1cf176ec0ca1: Verifying Checksum
1cf176ec0ca1: Download complete
2bd2b7deb664: Verifying Checksum
2bd2b7deb664: Download complete
128f8b8d9b04: Verifying Checksum
128f8b8d9b04: Download complete
b63ece2686d2: Verifying Checksum
b63ece2686d2: Download complete
11efbb46aef7: Verifying Checksum
11efbb46aef7: Download complete
42d435880d33: Verifying Checksum
42d435880d33: Download complete
128f8b8d9b04: Pull complete
a594488fbf65: Pull complete
fbe102fc5248: Pull complete
4d204629c375: Pull complete
504e6256aaf7: Pull complete
e553f7e7d2a2: Pull complete
cea2efc9b4f4: Pull complete
1cf176ec0ca1: Pull complete
42d435880d33: Pull complete
2bd2b7deb664: Pull complete
b63ece2686d2: Pull complete
11efbb46aef7: Pull complete
Digest: sha256:aabe37e5b657436d0ceaa21e99cd169f9c62e2f97672d5df29adb9785768f9b3
Status: Downloaded newer image for ocaml/opam@sha256:aabe37e5b657436d0ceaa21e99cd169f9c62e2f97672d5df29adb9785768f9b3
2026-05-12 12:14.03 ---> using "09f7a341034f2591024efaf9dd77d7de263102b0a73433761a5c6fa3e65c805a" 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 12:14.03 ---> using "7525da887ce58c0732ee8edb92339fbfe81e6af36164d271664af51313bf4c4d" 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.

[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
Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-05-12 12:14.03 ---> using "f8803a11d187995016c9a877d7bb7f2bd06661d108f18c980b71dabcdcb7c455" 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=x86_64 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                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# invariant            ["ocaml-base-compiler" {= "5.4.1"}]
# compiler-packages    ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.1
2026-05-12 12:14.03 ---> using "9ea98c898d80dc8f6cfdc4433260d1ec3e59c067c1b4fcacc5d3f9b7bd626d6f" 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 12:14.03 ---> using "434a27f68e372749b5a7287461146a21b7d5d4f38e1ce0a9a3d847a7849e3645" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-12 12:14.09 ---> saved as "cfd5b641f2acfc1072343ca2a485536d767e90536fbe1d80379c31d3c7665c31"

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:5 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1504 kB]
- Get:6 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [2038 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [2147 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [2412 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [35.9 kB]
- Fetched 8516 kB in 1s (12.7 MB/s)
- Reading package lists...
- 
2026-05-12 12:14.21 ---> saved as "85af5fa691a2b17ae58e5e9c6a82d4ed8b1e22ad432e06961d5b2837a7b24a54"

/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 12:14.21 ---> saved as "63754e56e9a8da5f2f877fde044f59133377c0dd9026f124561a32d7c0c18661"

/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 uutf.1.0.4
-> installed fmt.0.11.0
-> 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 stringext.1.6.0
-> installed hex.1.5.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 12:15.03 ---> saved as "aa23ff5ce4571a7770900d1d487673f9136a51aaba556ee357a6d2b50a826852"
Job succeeded
2026-05-12 12:15.09: Job succeeded