(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 macos-homebrew-ocaml-5.4/arm64

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 macos-homebrew-ocaml-5.4
USER 1000:1000
RUN ln -f ~/local/bin/opam-dev ~/local/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 -k local --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 "\"macos-homebrew\""; 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 "macos-homebrew-ocaml-5.4-ez_api.3.0.0-f8b665bc7f31903aeca03d04a5c0996397f57443"
2026-05-12 12:13.34: Using OBuilder spec:
((from macos-homebrew-ocaml-5.4)
 (user (uid 1000) (gid 1000))
 (run (shell "ln -f ~/local/bin/opam-dev ~/local/bin/opam"))
 (run (network host)
      (shell "opam init --reinit -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 -k local --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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (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 \"\\\"macos-homebrew\\\"\"; 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 14:26.56: Got resource from pool OCluster
Building on m1-worker-02
All commits already cached
Updating files:  68% (12258/17858)
Updating files:  69% (12323/17858)
Updating files:  70% (12501/17858)
Updating files:  71% (12680/17858)
Updating files:  72% (12858/17858)
Updating files:  73% (13037/17858)
Updating files:  74% (13215/17858)
Updating files:  75% (13394/17858)
Updating files:  76% (13573/17858)
Updating files:  77% (13751/17858)
Updating files:  78% (13930/17858)
Updating files:  79% (14108/17858)
Updating files:  80% (14287/17858)
Updating files:  81% (14465/17858)
Updating files:  82% (14644/17858)
Updating files:  83% (14823/17858)
Updating files:  84% (15001/17858)
Updating files:  85% (15180/17858)
Updating files:  86% (15358/17858)
Updating files:  87% (15537/17858)
Updating files:  88% (15716/17858)
Updating files:  89% (15894/17858)
Updating files:  90% (16073/17858)
Updating files:  91% (16251/17858)
Updating files:  92% (16430/17858)
Updating files:  93% (16608/17858)
Updating files:  94% (16787/17858)
Updating files:  95% (16966/17858)
Updating files:  96% (17144/17858)
Updating files:  97% (17323/17858)
Updating files:  98% (17501/17858)
Updating files:  99% (17680/17858)
Updating files: 100% (17858/17858)
Updating files: 100% (17858/17858), done.
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 macos-homebrew-ocaml-5.4)
2026-05-12 14:26.58 ---> using "338135fbf1889e924a607b47198b8b308c32a925cc9436066d65a9bdc402cad5" from cache

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

/: (run (shell "ln -f ~/local/bin/opam-dev ~/local/bin/opam"))
2026-05-12 14:26.58 ---> using "7aa34524ca0a69b4a488c30909f7495a04a243f9066091b1dfe73b446b0dfcd3" from cache

/: (run (network host)
        (shell "opam init --reinit -ni"))
No configuration file found, using 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 /Users/mac1000/.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:///Users/mac1000/opam-repository
2026-05-12 14:26.59 ---> using "91dcaa513ca3161d91620d0583acdea5310cd52ccab1dfbdd183600da37afdb2" from cache

/: (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.0
# self-upgrade         no
# system               arch=arm64 os=macos os-distribution=homebrew os-version=15.5
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 7
# repositories         1 (version-controlled)
# pinned               0
# current-switch       5.4.0
# invariant            ["ocaml-base-compiler" {= "5.4.0"} | "ocaml-system" {= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /Users/mac1000/.opam/5.4.0/lib/ocaml/stublibs:/Users/mac1000/.opam/5.4.0/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0
2026-05-12 14:26.59 ---> using "cea1bfc0b1cda73d964aa2fc69cc828a6e6d8edd86f991754707e8b004a3cb09" from cache

/: (env OPAMDOWNLOADJOBS 1)

/: (env OPAMERRLOGLEN 0)

/: (env OPAMPRECISETRACKING 1)

/: (env CI true)

/: (env OPAM_REPO_CI true)

/: (run (shell "rm -rf opam-repository/"))
2026-05-12 14:26.59 ---> using "e3eba35b672d86e69268bbb9214f23a1f9d1fb0787b4d803840af8d45829b222" from cache

/: (copy (src .) (dst opam-repository/))
2026-05-12 14:27.04 ---> saved as "601d32daeabdabac63c8123af718f737a5cce18b0cac0509c3ebed28beee74a2"

/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
default (at file:///Users/mac1000/opam-repository): 
    [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)

default (at file:///Users/mac1000/opam-repository): 
    [INFO] opam 2.5.1 includes security fixes; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2026-05-12 14:27.15 ---> saved as "d14074d2b7c907c78485077a474eb54149f65b40acd9028b5b06f53052640f17"

/: (run (network host)
        (shell "opam update --depexts || true"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- ==> Downloading https://ghcr.io/v2/homebrew/core/portable-ruby/blobs/sha256:8ad98d9cf15477d1a43f4012cfd5eff5c271398bca1e2724b55bd4944a0bb1d4
- #=#=#                                                                          

                                                                           0.6%
#                                                                          1.4%
#                                                                          2.3%
##                                                                         3.1%
##                                                                         3.9%
###                                                                        4.6%
###                                                                        5.4%
####                                                                       6.3%
#####                                                                      7.1%
- 
#####                                                                      7.9%
######                                                                     8.8%
######                                                                     9.6%
#######                                                                   10.3%
#######                                                                   11.1%
########                                                                  12.0%
#########                                                                 12.8%
#########                                                                 13.6%
##########                                                                14.3%
##########                                                                15.2%
###########                                                               16.0%
- 
############                                                              16.8%
############                                                              17.6%
#############                                                             18.5%
#############                                                             19.2%
##############                                                            20.0%
###############                                                           20.9%
###############                                                           21.7%
################                                                          22.5%
################                                                          23.2%
#################                                                         24.0%
#################                                                         24.9%
##################                                                        25.7%
- 
###################                                                       26.5%
###################                                                       27.4%
####################                                                      28.2%
####################                                                      28.9%
#####################                                                     29.7%
#####################                                                     30.5%
######################                                                    31.4%
#######################                                                   32.2%
#######################                                                   32.9%
########################                                                  33.8%
########################                                                  34.6%
- 
#########################                                                 35.4%
##########################                                                36.2%
##########################                                                37.1%
###########################                                               37.8%
###########################                                               38.6%
############################                                              39.4%
#############################                                             40.3%
#############################                                             41.1%
##############################                                            41.8%
##############################                                            42.6%
###############################                                           43.5%
###############################                                           44.3%
- 
################################                                          45.1%
#################################                                         45.8%
#################################                                         46.8%
##################################                                        47.5%
##################################                                        48.3%
###################################                                       49.1%
###################################                                       50.0%
####################################                                      50.8%
#####################################                                     51.7%
#####################################                                     52.4%
######################################                                    53.2%
- 
######################################                                    54.0%
#######################################                                   54.9%
########################################                                  55.8%
########################################                                  56.6%
#########################################                                 57.3%
#########################################                                 58.2%
##########################################                                59.0%
###########################################                               59.8%
###########################################                               60.6%
############################################                              61.5%
############################################                              62.2%
- 
#############################################                             63.0%
#############################################                             63.8%
##############################################                            64.7%
###############################################                           65.5%
###############################################                           66.3%
################################################                          67.0%
################################################                          67.9%
#################################################                         68.7%
##################################################                        69.5%
##################################################                        70.3%
###################################################                       71.2%
- 
###################################################                       71.9%
####################################################                      72.7%
#####################################################                     73.6%
#####################################################                     74.4%
######################################################                    75.3%
######################################################                    76.1%
#######################################################                   76.8%
#######################################################                   77.7%
########################################################                  78.5%
#########################################################                 79.3%
#########################################################                 80.2%
- 
##########################################################                81.0%
##########################################################                81.8%
###########################################################               82.5%
############################################################              83.4%
############################################################              84.2%
#############################################################             85.0%
#############################################################             85.8%
##############################################################            86.7%
##############################################################            87.4%
###############################################################           88.2%
################################################################          89.0%
################################################################          89.9%
- 
#################################################################         90.7%
#################################################################         91.4%
##################################################################        92.3%
###################################################################       93.1%
###################################################################       93.9%
####################################################################      94.7%
####################################################################      95.4%
#####################################################################     96.3%
#####################################################################     97.1%
######################################################################    97.9%
#######################################################################   98.8%
- 
#######################################################################   99.6%
######################################################################## 100.0%
- ==> Pouring portable-ruby-4.0.3.arm64_big_sur.bottle.tar.gz
- ==> Homebrew collects anonymous analytics.
- Read the analytics documentation (and how to opt-out) here:
-   https://docs.brew.sh/Analytics
- No analytics have been recorded yet (nor will be during this `brew` run).
- 
- ==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
-   https://github.com/Homebrew/brew#donations
- 
- Already up-to-date.
2026-05-12 14:27.47 ---> saved as "f80d06441abbca47da7e72ad0e1eddcccf960ca86a66a561b616e2e9cd1e8cb2"

/: (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 14:27.48 ---> saved as "b15c38c7535035468b42e4d97bbf1093f91870512bbdc879cb9b409f5c9c1cd5"

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (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 \"\\\"macos-homebrew\\\"\"; 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 stringext.1.6.0
-> installed csexp.1.5.2
-> installed sexplib0.v0.17.0
-> installed ocaml-syntax-shims.1.0.0
-> installed cstruct.6.2.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 14:28.42 ---> saved as "c34808adafe30c8e05dfcf037135e63e9aaee99bd721e43d7892e7f6230d0d93"
Job succeeded
2026-05-12 14:28.51: Job succeeded