(for PR #29893)

2026-05-12 12:13.34: New job: build ez_api.3.0.0, lower-bounds, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29893/head (f8b665bc7f31903aeca03d04a5c0996397f57443)
                              on debian-13-ocaml-4.11/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-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c
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 "\"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
ENV OPAMCRITERIA="+removed,+count[version-lag,solution]"
ENV OPAMFIXUPCRITERIA="+removed,+count[version-lag,solution]"
ENV OPAMUPGRADECRITERIA="+removed,+count[version-lag,solution]"
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

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2026-05-12 12:13.34: Using cache hint "ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c-ez_api.3.0.0-f8b665bc7f31903aeca03d04a5c0996397f57443"
2026-05-12 12:13.34: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c)
 (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 \"\\\"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"))
 (env OPAMCRITERIA +removed,+count[version-lag,solution])
 (env OPAMFIXUPCRITERIA +removed,+count[version-lag,solution])
 (env OPAMUPGRADECRITERIA +removed,+count[version-lag,solution])
 (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"))
)

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.37: Got resource from pool OCluster
Building on toxis.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-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c)
2026-05-12 12:14.22 ---> saved as "36abb6db1723167d15c41f53ef05d371444812dc64e2ea7fe109d222db988473"

/: (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.23 ---> saved as "ddac252099c5b2d54339d1d5ce1680dc0efdcd97685ea67e98bf00e3969a4cbb"

/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 12:14.37 ---> saved as "46a82dae54b5c9788e3dae57433d9118a21aa0088ec416269ef3069584c03a6a"

/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=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       4.11
# invariant            ["ocaml-base-compiler" {= "4.11.2"}]
# compiler-packages    ocaml-base-compiler.4.11.2
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.11/lib/ocaml/stublibs:/home/opam/.opam/4.11/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.11.2
2026-05-12 12:14.38 ---> saved as "53985bcb3f24565c20d2da6967e68f88a84007fd873c323a2e036f7132746b08"

/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.52 ---> saved as "36cd69ae995028e64e8bf00b096c47dd3797cc556c353001ca5950f1dd2b0528"

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

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

/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 1s (216 kB/s)
- Reading package lists...
- 
2026-05-12 12:15.21 ---> saved as "1876ad2c5e6e0a72ec0573c21bfe5868b43eefc36c09e71c93b4e34e51ac1e1b"

/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:15.22 ---> saved as "d6ae5cb43281c807f62b76b26ddae6bad17b5c19e475712b67f38f5b5375abad"

/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.22.2         [required by ez_api]
  - install dune-configurator  3.22.2         [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.16.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.8          [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.22.2, dune-configurator.3.22.2  (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.16.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uri.4.4.0  (cached)
-> retrieved uuidm.0.9.8  (https://opam.ocaml.org/cache)
-> 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.8
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed jsonm.1.0.2
-> installed dune.3.22.2
-> installed stringext.1.6.0
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed ocaml-syntax-shims.1.0.0
-> installed sexplib0.v0.16.0
-> installed hex.1.5.0
-> installed ezjsonm.1.3.0
-> installed dune-configurator.3.22.2
-> 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:16.44 ---> saved as "b6977b17c6692bc3bfca790ae08ebe97578ce05725cbd4ed6be24f668b7d991e"

/home/opam: (env OPAMCRITERIA +removed,+count[version-lag,solution])

/home/opam: (env OPAMFIXUPCRITERIA +removed,+count[version-lag,solution])

/home/opam: (env OPAMUPGRADECRITERIA +removed,+count[version-lag,solution])

/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"))
The following actions will be performed:
=== remove 5 packages
  - remove    angstrom                0.16.1                    [conflicts with dune]
  - remove    bigstringaf             0.10.0                    [conflicts with dune]
  - remove    csexp                   1.5.2                     [conflicts with dune]
  - remove    fmt                     0.11.0                    [conflicts with ocamlbuild]
  - remove    ocaml-syntax-shims      1.0.0                     [conflicts with dune]
=== downgrade 14 packages
  - downgrade cstruct                 6.2.0 to 3.3.0            [uses dune]
  - downgrade dune                    3.22.2 to 3.5.0           [required by ez_api]
  - downgrade dune-configurator       3.22.2 to 2.5.1           [uses dune]
  - downgrade ezjsonm                 1.3.0 to 1.1.0            [required by ez_api]
  - downgrade hex                     1.5.0 to 1.3.0            [uses dune]
  - downgrade json-data-encoding      1.1.1 to 1.0.1            [required by ez_api]
  - downgrade ocamlbuild              0.16.1 to 0.14.0          [required by stringext, re]
  - downgrade ocamlfind               1.9.8 to 1.8.1            [required by stringext, re]
  - downgrade sexplib0                v0.16.0 to v0.13.0        [uses dune]
  - downgrade stringext               1.6.0 to 1.4.0            [required by uri]
  - downgrade topkg                   1.1.1 to 1.0.8            [uses ocamlbuild]
  - downgrade uri                     4.4.0 to 1.9.6            [uses sexplib]
  - downgrade uuidm                   0.9.8 to 0.9.7            [required by ez_api]
  - downgrade uutf                    1.0.4 to 1.0.3            [uses ocamlbuild]
=== recompile 2 packages
  - recompile ez_api                  3.0.0 (pinned)
  - recompile jsonm                   1.0.2                     [uses ocamlbuild]
=== install 16 packages
  - install   base                    v0.13.1                   [required by parsexp]
  - install   base-bytes              base                      [required by uri]
  - install   conf-m4                 1                         [required by ocamlfind]
  - install   dune-private-libs       2.5.1                     [required by dune-configurator]
  - install   jbuilder                1.0+beta20.1 (deprecated) [required by uri]
  - install   num                     1.5                       [required by sexplib]
  - install   ocaml-compiler-libs     v0.11.0                   [required by ppxlib]
  - install   ocaml-migrate-parsetree 1.7.3 (deprecated)        [required by uri]
  - install   parsexp                 v0.13.0                   [required by sexplib]
  - install   ppx_derivers            1.0                       [required by ocaml-migrate-parsetree]
  - install   ppx_sexp_conv           v0.13.0                   [required by uri]
  - install   ppxlib                  0.12.0                    [required by ppx_sexp_conv]
  - install   re                      1.3.0                     [required by uri]
  - install   result                  1.5                       [required by ocaml-migrate-parsetree]
  - install   sexplib                 v0.13.0                   [required by cstruct]
  - install   stdio                   v0.13.0                   [required by ppxlib]

The following system packages will first need to be installed:
    m4

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4"
- Selecting previously unselected package m4.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20623 files and directories currently installed.)
- Preparing to unpack .../archives/m4_1.4.19-8_amd64.deb ...
- Unpacking m4 (1.4.19-8) ...
- Setting up m4 (1.4.19-8) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.13.1  (cached)
-> retrieved cstruct.3.3.0  (cached)
-> installed conf-m4.1
-> retrieved dune.3.5.0  (cached)
-> retrieved dune-configurator.2.5.1, dune-private-libs.2.5.1  (cached)
-> retrieved ez_api.3.0.0  (cached)
-> retrieved ezjsonm.1.1.0  (cached)
-> retrieved hex.1.3.0  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved json-data-encoding.1.0.1  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved num.1.5  (cached)
-> retrieved ocaml-compiler-libs.v0.11.0  (cached)
-> retrieved ocaml-migrate-parsetree.1.7.3  (cached)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocamlfind.1.8.1  (cached)
-> retrieved parsexp.v0.13.0  (cached)
-> retrieved ppx_derivers.1.0  (cached)
-> retrieved ppx_sexp_conv.v0.13.0  (cached)
-> retrieved ppxlib.0.12.0  (cached)
-> retrieved re.1.3.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved sexplib.v0.13.0  (cached)
-> retrieved sexplib0.v0.13.0  (cached)
-> retrieved stdio.v0.13.0  (cached)
-> retrieved stringext.1.4.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved uri.1.9.6  (cached)
-> retrieved uuidm.0.9.7  (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.3  (cached)
-> installed num.1.5
-> installed jbuilder.1.0+beta20.1
-> installed ppx_derivers.1.0
-> installed ocaml-compiler-libs.v0.11.0
-> removed   ez_api.3.0.0
-> removed   ezjsonm.1.3.0
-> removed   json-data-encoding.1.1.1
-> removed   hex.1.5.0
-> removed   cstruct.6.2.0
-> removed   fmt.0.11.0
-> removed   jsonm.1.0.2
-> removed   sexplib0.v0.16.0
-> removed   uri.4.4.0
-> removed   angstrom.0.16.1
-> removed   bigstringaf.0.10.0
-> removed   dune-configurator.3.22.2
-> removed   csexp.1.5.2
-> removed   ocaml-syntax-shims.1.0.0
-> removed   stringext.1.6.0
-> removed   dune.3.22.2
-> removed   uuidm.0.9.8
-> removed   uutf.1.0.4
-> removed   topkg.1.1.1
-> removed   ocamlbuild.0.16.1
-> removed   ocamlfind.1.9.8
-> installed dune.3.5.0
-> installed ocamlbuild.0.14.0
-> installed ocamlfind.1.8.1
-> installed base-bytes.base
-> installed result.1.5
-> installed sexplib0.v0.13.0
-> installed dune-private-libs.2.5.1
-> installed stringext.1.4.0
-> installed dune-configurator.2.5.1
-> installed topkg.1.0.8
-> installed uuidm.0.9.7
-> installed uutf.1.0.3
-> installed re.1.3.0
-> installed jsonm.1.0.2
-> installed ocaml-migrate-parsetree.1.7.3
-> installed base.v0.13.1
-> installed stdio.v0.13.0
-> installed parsexp.v0.13.0
-> installed sexplib.v0.13.0
-> installed cstruct.3.3.0
-> installed hex.1.3.0
-> installed ezjsonm.1.1.0
-> installed ppxlib.0.12.0
-> installed ppx_sexp_conv.v0.13.0
-> installed uri.1.9.6
-> installed json-data-encoding.1.0.1
[ERROR] The compilation of ez_api.3.0.0 failed at "dune build -p ez_api -j 71 @install".

#=== ERROR while compiling ez_api.3.0.0 =======================================#
# context              2.5.1 | linux/x86_64 | ocaml-base-compiler.4.11.2 | pinned(https://github.com/OCamlPro/ez_api/archive/refs/tags/3.0.0.tar.gz)
# path                 ~/.opam/4.11/.opam-switch/build/ez_api.3.0.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ez_api -j 71 @install
# exit-code            1
# env-file             ~/.opam/log/ez_api-8-f081d6.env
# output-file          ~/.opam/log/ez_api-8-f081d6.out
### output ###
# File "/home/opam/.opam/4.11/lib/uri/uri.dune", line 1, characters 0-0:
# Warning: .dune files are ignored since 2.0. Reinstall the library with dune
# >= 2.0 to get rid of this warning and enable support for the subsystem this
# library provides.
# File "/home/opam/.opam/4.11/lib/uri/services/uri.services.dune", line 1, characters 0-0:
# Warning: .dune files are ignored since 2.0. Reinstall the library with dune
# >= 2.0 to get rid of this warning and enable support for the subsystem this
# library provides.
# File "/home/opam/.opam/4.11/lib/uri/services_full/uri.services_full.dune", line 1, characters 0-0:
# Warning: .dune files are ignored since 2.0. Reinstall the library with dune
# >= 2.0 to get rid of this warning and enable support for the subsystem this
# library provides.
# File "/home/opam/.opam/4.11/lib/uri/top/uri.top.dune", line 1, characters 0-0:
# Warning: .dune files are ignored since 2.0. Reinstall the library with dune
# >= 2.0 to get rid of this warning and enable support for the subsystem this
# library provides.
# File "/home/opam/.opam/4.11/lib/ocaml-compiler-libs/bytecomp/ocaml-compiler-libs.bytecomp.dune", line 1, characters 0-0:
# Warning: .dune files are ignored since 2.0. Reinstall the library with dune
# >= 2.0 to get rid of this warning and enable support for the subsystem this
# library provides.
# File "/home/opam/.opam/4.11/lib/ocaml-compiler-libs/common/ocaml-compiler-libs.common.dune", line 1, characters 0-0:
# Warning: .dune files are ignored since 2.0. Reinstall the library with dune
# >= 2.0 to get rid of this warning and enable support for the subsystem this
# library provides.
# File "/home/opam/.opam/4.11/lib/ocaml-compiler-libs/shadow/ocaml-compiler-libs.shadow.dune", line 1, characters 0-0:
# Warning: .dune files are ignored since 2.0. Reinstall the library with dune
# >= 2.0 to get rid of this warning and enable support for the subsystem this
# library provides.
# File "/home/opam/.opam/4.11/lib/ocaml-compiler-libs/toplevel/ocaml-compiler-libs.toplevel.dune", line 1, characters 0-0:
# Warning: .dune files are ignored since 2.0. Reinstall the library with dune
# >= 2.0 to get rid of this warning and enable support for the subsystem this
# library provides.
# File "/home/opam/.opam/4.11/lib/ppx_derivers/ppx_derivers.dune", line 1, characters 0-0:
# Warning: .dune files are ignored since 2.0. Reinstall the library with dune
# >= 2.0 to get rid of this warning and enable support for the subsystem this
# library provides.
# (cd _build/default && /home/opam/.opam/4.11/bin/ocamlc.opt -w -40 -w +a-4-41-42-44-45-48-70 -warn-error -a -g -bin-annot -I src/ppx/.ppxlib_optcomp.objs/byte -I /home/opam/.opam/4.11/lib/base -I /home/opam/.opam/4.11/lib/base/base_internalhash_types -I /home/opam/.opam/4.11/lib/base/caml -I /home/opam/.opam/4.11/lib/base/shadow_stdlib -I /home/opam/.opam/4.11/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.11/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.11/lib/ocaml-migrate-parsetree -I /home/opam/.opam/4.11/lib/ocaml/compiler-libs -I /home/opam/.opam/4.11/lib/ppx_derivers -I /home/opam/.opam/4.11/lib/ppxlib -I /home/opam/.opam/4.11/lib/ppxlib/ast -I /home/opam/.opam/4.11/lib/ppxlib/print_diff -I /home/opam/.opam/4.11/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.11/lib/result -I /home/opam/.opam/4.11/lib/sexplib0 -I /home/opam/.opam/4.11/lib/stdio -no-alias-deps -o src/ppx/.ppxlib_optcomp.objs/byte/ppxlib_optcomp.cmo -c -impl src/ppx/ppxlib_optcomp.ml)
# File "src/ppx/ppxlib_optcomp.ml", lines 38-43, characters 2-17:
# 38 | ..method! cases l =
# 39 |     let l = List.filter_map (fun c ->
# 40 |       let p = filter_pattern c.pc_lhs in
# 41 |       Option.map (fun pc_lhs -> { c with pc_lhs }) p
# 42 |     ) l in
# 43 |     super#cases l
# Error: The method `cases' has no previous definition



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ez_api 3.0.0
+- 
+- The following changes have been performed
| - remove    angstrom                0.16.1
| - remove    bigstringaf             0.10.0
| - remove    csexp                   1.5.2
| - remove    ez_api                  3.0.0
| - remove    fmt                     0.11.0
| - remove    ocaml-syntax-shims      1.0.0
| - downgrade cstruct                 6.2.0 to 3.3.0
| - downgrade dune                    3.22.2 to 3.5.0
| - downgrade dune-configurator       3.22.2 to 2.5.1
| - downgrade ezjsonm                 1.3.0 to 1.1.0
| - downgrade hex                     1.5.0 to 1.3.0
| - downgrade json-data-encoding      1.1.1 to 1.0.1
| - downgrade ocamlbuild              0.16.1 to 0.14.0
| - downgrade ocamlfind               1.9.8 to 1.8.1
| - downgrade sexplib0                v0.16.0 to v0.13.0
| - downgrade stringext               1.6.0 to 1.4.0
| - downgrade topkg                   1.1.1 to 1.0.8
| - downgrade uri                     4.4.0 to 1.9.6
| - downgrade uuidm                   0.9.8 to 0.9.7
| - downgrade uutf                    1.0.4 to 1.0.3
| - recompile jsonm                   1.0.2
| - install   base                    v0.13.1
| - install   base-bytes              base
| - install   conf-m4                 1
| - install   dune-private-libs       2.5.1
| - install   jbuilder                1.0+beta20.1
| - install   num                     1.5
| - install   ocaml-compiler-libs     v0.11.0
| - install   ocaml-migrate-parsetree 1.7.3
| - install   parsexp                 v0.13.0
| - install   ppx_derivers            1.0
| - install   ppx_sexp_conv           v0.13.0
| - install   ppxlib                  0.12.0
| - install   re                      1.3.0
| - install   result                  1.5
| - install   sexplib                 v0.13.0
| - install   stdio                   v0.13.0
+- 

<><> ocaml-migrate-parsetree.1.7.3 installed successfully <><><><><><><><><><><>
=> Note: This package is deprecated.

<><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.11/.opam-switch/backup/state-20260512121646.export"
Or you can retry to install your package selection with:
    /usr/bin/opam install --restore
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "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" failed with exit status 1
2026-05-12 12:19.04: Job failed: Failed: Build failed
2026-05-12 12:19.04: Log analysis:
2026-05-12 12:19.04: >>> 
[ERROR] The compilation of ez_api.3.0.0 failed at "dune build -p ez_api -j 71 @install".
 (score = 20)
2026-05-12 12:19.04: >>> 
# Error: The method `cases' has no previous definition
 (score = 48)
2026-05-12 12:19.04: The method `cases' has no previous definition