(for PR #29893)

2026-05-12 12:13.34: New job: test ez_api.3.0.0, using opam 2.4
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29893/head (f8b665bc7f31903aeca03d04a5c0996397f57443)
                              on debian-13-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:debian-13-ocaml-5.4@sha256:f9700a48fc9ceee25e58aabe0b5d3c4d88bf2427ddb44e9208e4f5acbfe4dfdc
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.4 /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 "\"debian-13\""; 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
RUN (opam reinstall --with-test ez_api.3.0.0) || true
RUN opam reinstall --with-test --verbose 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 "\"debian-13\""; 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:debian-13-ocaml-5.4@sha256:f9700a48fc9ceee25e58aabe0b5d3c4d88bf2427ddb44e9208e4f5acbfe4dfdc-ez_api.3.0.0-f8b665bc7f31903aeca03d04a5c0996397f57443"
2026-05-12 12:13.34: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:f9700a48fc9ceee25e58aabe0b5d3c4d88bf2427ddb44e9208e4f5acbfe4dfdc)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.4 /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 \"\\\"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\" != '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"))
 (run (network host)
      (shell "(opam reinstall --with-test ez_api.3.0.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose 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 \"\\\"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\" != '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:15.42: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
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:debian-13-ocaml-5.4@sha256:f9700a48fc9ceee25e58aabe0b5d3c4d88bf2427ddb44e9208e4f5acbfe4dfdc)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:f9700a48fc9ceee25e58aabe0b5d3c4d88bf2427ddb44e9208e4f5acbfe4dfdc' locally
docker.io/ocaml/opam@sha256:f9700a48fc9ceee25e58aabe0b5d3c4d88bf2427ddb44e9208e4f5acbfe4dfdc: Pulling from ocaml/opam
307f8152a55e: Already exists
53d481666795: Already exists
4ee22a5df705: Already exists
ae88ba2e7c99: Already exists
466fcae906a3: Already exists
024abae8c1ed: Already exists
d582ebdec32b: Already exists
aa12715098f1: Already exists
62299cb9f759: Already exists
a25072680c61: Already exists
43b56dd9ccf7: Already exists
244d3fc9f983: Already exists
c4fb47424a8f: Already exists
cf6798d648a4: Already exists
279a991ac05e: Already exists
cf66fc12d100: Already exists
cf66fc12d100: Already exists
d39d0e8ae83c: Already exists
4b54e9cd8568: Already exists
f65d25bce8ea: Already exists
7d77baca5957: Already exists
4f4fb700ef54: Already exists
a99a940ecfac: Already exists
f5264679c08b: Already exists
f2b70106109c: Already exists
b37088730bad: Already exists
cbd33ffade5f: Already exists
f1cf9ab18ca0: Already exists
87f3d72372a4: Already exists
25d15f09ece2: Already exists
6304df60357e: Already exists
34a8ea3e9b48: Already exists
a0636f21098e: Already exists
9511add15c87: Already exists
963ec00065e9: Already exists
3a098b8178a5: Already exists
ca1c1d43252a: Already exists
ca50eb78767c: Already exists
85fc1e77225e: Already exists
088f7de253ad: Already exists
938187a1d3ef: Pulling fs layer
044c0ba9a0dd: Pulling fs layer
6bbf310b2b49: Pulling fs layer
b44f087bbb3f: Pulling fs layer
82bcf6933519: Pulling fs layer
b44f087bbb3f: Waiting
07e9a942ad36: Pulling fs layer
82bcf6933519: Waiting
94e0fd4beda2: Pulling fs layer
94e0fd4beda2: Waiting
07e9a942ad36: Waiting
044c0ba9a0dd: Verifying Checksum
044c0ba9a0dd: Download complete
6bbf310b2b49: Verifying Checksum
6bbf310b2b49: Download complete
938187a1d3ef: Download complete
938187a1d3ef: Pull complete
044c0ba9a0dd: Pull complete
6bbf310b2b49: Pull complete
82bcf6933519: Download complete
07e9a942ad36: Verifying Checksum
07e9a942ad36: Download complete
94e0fd4beda2: Verifying Checksum
94e0fd4beda2: Download complete
b44f087bbb3f: Verifying Checksum
b44f087bbb3f: Download complete
b44f087bbb3f: Pull complete
82bcf6933519: Pull complete
07e9a942ad36: Pull complete
94e0fd4beda2: Pull complete
Digest: sha256:f9700a48fc9ceee25e58aabe0b5d3c4d88bf2427ddb44e9208e4f5acbfe4dfdc
Status: Downloaded newer image for ocaml/opam@sha256:f9700a48fc9ceee25e58aabe0b5d3c4d88bf2427ddb44e9208e4f5acbfe4dfdc
2026-05-12 12:15.45 ---> using "ac1995f8abd260285fd7f15d3dfa37a0c18d5abe2573e173c9117b295287210f" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2026-05-12 12:15.45 ---> using "8e393bac49910abce899505ffd2a8855d529af19a0f287ff127a29f1c3b4b7a6" 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.

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

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-05-12 12:15.45 ---> using "82676405eaa71f9ec17ae35134bec3e3167e31225781f392ba8398b1896314d4" 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.4.1
# self-upgrade         no
# system               arch=x86_64 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                 71
# 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:15.45 ---> using "bc7db01e737fd2688a579c971f68860dab13afb13cf65344278a01a97a9cab7c" 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:15.45 ---> using "38b5d13e6495b826725d2082a1c522cb66cb8c0f55c40776cc7f7b3441a156aa" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-12 12:16.07 ---> saved as "709c8d9678d528b10dab88857f8dff3804c7eeaeed5d2c73868cf6a63ce680cf"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.5.1 includes security fixes; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2026-05-12 12:16.23 ---> saved as "1dbdf121f705fad33eec5e242b8a790219e6b529de952da8dc326d258937bc07"

/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 amd64 Packages [159 kB]
- Fetched 250 kB in 0s (1456 kB/s)
- Reading package lists...
- 
2026-05-12 12:16.25 ---> saved as "eede7797c2ad715240804367b77fdf38e77667a627bc33874785804c9cec1a06"

/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:16.26 ---> saved as "129d86ff0f26061bacc74a6b6b5027c7e3f78af45b4275baad7c7bbaee559690"

/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 \"\\\"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\" != '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  (cached)
-> 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:18.04 ---> saved as "1e2d98d4fc3c20682b397b63d4b1c52ff4453787e8b93728a00a579b1fcbe29e"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test ez_api.3.0.0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile ez_api 3.0.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ez_api.3.0.0  (https://github.com/OCamlPro/ez_api/archive/refs/tags/3.0.0.tar.gz)
-> removed   ez_api.3.0.0
-> installed ez_api.3.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-12 12:18.12 ---> saved as "a09701043820847e2ba9fe3cd951592db3961441dfdc33b3a56abf6f65685c64"

/home/opam: (run (shell  "opam reinstall --with-test --verbose 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 \"\\\"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\" != '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"))
The following actions will be performed:
=== recompile 1 package
  - recompile ez_api 3.0.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [ez_api.3.0.0: extract]
-> retrieved ez_api.3.0.0  (cached)
Processing  2/4: [ez_api: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ez_api" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/ez_api.3.0.0)
-> compiled  ez_api.3.0.0
-> removed   ez_api.3.0.0
-> installed ez_api.3.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-12 12:18.21 ---> saved as "a0c0ca53f7eca1df8ff1526e82a000e8ee3c8f5649b45258e6ac187c79482848"
Job succeeded
2026-05-12 12:18.32: Job succeeded