(for PR #29582)

2026-03-25 08:40.00: New job: build ocaml-compiler.5.3, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29582/head (fa5fb3a6a806e832e4c7791145889a6bbe8b64ef)
                              on macos-homebrew-ocaml-4.14/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/29582/head" && git reset --hard fa5fb3a6
git fetch origin master
git merge --no-edit 7216d2e0eb5d8d116434228a0b19a267b98e8510
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
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 ocaml-compiler.5.3 5.3
RUN opam reinstall --update-invariant ocaml-compiler.5.3; \
    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" != 'ocaml-compiler.5.3' && 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-03-25 08:40.00: Using cache hint "macos-homebrew-ocaml-4.14-ocaml-compiler.5.3-fa5fb3a6a806e832e4c7791145889a6bbe8b64ef"
2026-03-25 08:40.00: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
 (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 ocaml-compiler.5.3 5.3"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell  "opam reinstall --update-invariant ocaml-compiler.5.3;\
             \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\" != 'ocaml-compiler.5.3' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-03-25 08:40.00: Waiting for resource in pool OCluster
2026-03-25 08:40.03: Waiting for worker…
2026-03-25 09:41.56: Got resource from pool OCluster
Building on i7-worker-02
All commits already cached
Updating files:  31% (5760/18517)
Updating files:  32% (5926/18517)
Updating files:  33% (6111/18517)
Updating files:  34% (6296/18517)
Updating files:  35% (6481/18517)
Updating files:  36% (6667/18517)
Updating files:  37% (6852/18517)
Updating files:  38% (7037/18517)
Updating files:  39% (7222/18517)
Updating files:  40% (7407/18517)
Updating files:  41% (7592/18517)
Updating files:  42% (7778/18517)
Updating files:  43% (7963/18517)
Updating files:  44% (8148/18517)
Updating files:  45% (8333/18517)
Updating files:  46% (8518/18517)
Updating files:  47% (8703/18517)
Updating files:  48% (8889/18517)
Updating files:  49% (9074/18517)
Updating files:  50% (9259/18517)
Updating files:  51% (9444/18517)
Updating files:  52% (9629/18517)
Updating files:  53% (9815/18517)
Updating files:  54% (10000/18517)
Updating files:  55% (10185/18517)
Updating files:  56% (10370/18517)
Updating files:  56% (10418/18517)
Updating files:  57% (10555/18517)
Updating files:  58% (10740/18517)
Updating files:  59% (10926/18517)
Updating files:  60% (11111/18517)
Updating files:  61% (11296/18517)
Updating files:  62% (11481/18517)
Updating files:  63% (11666/18517)
Updating files:  64% (11851/18517)
Updating files:  65% (12037/18517)
Updating files:  66% (12222/18517)
Updating files:  67% (12407/18517)
Updating files:  68% (12592/18517)
Updating files:  69% (12777/18517)
Updating files:  70% (12962/18517)
Updating files:  71% (13148/18517)
Updating files:  72% (13333/18517)
Updating files:  73% (13518/18517)
Updating files:  74% (13703/18517)
Updating files:  75% (13888/18517)
Updating files:  76% (14073/18517)
Updating files:  77% (14259/18517)
Updating files:  78% (14444/18517)
Updating files:  79% (14629/18517)
Updating files:  80% (14814/18517)
Updating files:  81% (14999/18517)
Updating files:  82% (15184/18517)
Updating files:  83% (15370/18517)
Updating files:  84% (15555/18517)
Updating files:  85% (15740/18517)
Updating files:  86% (15925/18517)
Updating files:  86% (16014/18517)
Updating files:  87% (16110/18517)
Updating files:  88% (16295/18517)
Updating files:  89% (16481/18517)
Updating files:  90% (16666/18517)
Updating files:  91% (16851/18517)
Updating files:  92% (17036/18517)
Updating files:  93% (17221/18517)
Updating files:  94% (17406/18517)
Updating files:  95% (17592/18517)
Updating files:  96% (17777/18517)
Updating files:  97% (17962/18517)
Updating files:  98% (18147/18517)
Updating files:  99% (18332/18517)
Updating files: 100% (18517/18517)
Updating files: 100% (18517/18517), done.
HEAD is now at 7216d2e0eb Merge pull request #29593 from arvidj/aj/avoid-passage-0-3-2-3
Merge made by the 'ort' strategy.
 packages/ocaml-compiler/ocaml-compiler.5.3.0/opam      |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.3/opam        |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.4.0/opam      |  5 ++++-
 .../ocaml-compiler/ocaml-compiler.5.4.0~alpha1/opam    |  5 ++++-
 .../ocaml-compiler/ocaml-compiler.5.4.0~beta1/opam     |  5 ++++-
 .../ocaml-compiler/ocaml-compiler.5.4.0~beta2/opam     |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.4.0~rc1/opam  |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.4.1/opam      |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.4/opam        |  5 ++++-
 .../ocaml-compiler/ocaml-compiler.5.5.0~alpha1/opam    |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.5/opam        |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.6/opam        |  5 ++++-
 packages/ocaml-option-llvm/ocaml-option-llvm.1/opam    | 18 ++++++++++++++++++
 .../ocaml-options-vanilla/ocaml-options-vanilla.1/opam |  1 +
 packages/ocaml-variants/ocaml-variants.5.2.0+msvc/opam |  2 ++
 15 files changed, 69 insertions(+), 12 deletions(-)
 create mode 100644 packages/ocaml-option-llvm/ocaml-option-llvm.1/opam

(from macos-homebrew-ocaml-4.14)
2026-03-25 09:45.00 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache

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

/: (run (shell "ln -f ~/local/bin/opam-dev ~/local/bin/opam"))
2026-03-25 09:45.00 ---> using "f20a31eccb94af52fa2a3ef86b723bc6460bac3d8a92b8861915540c2498d20a" 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-03-25 09:45.00 ---> using "7818e224f85c11d1d318abe9ba4e297be345388b7ed476f912b6900c6bae56aa" 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=x86_64 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                 11
# repositories         1 (version-controlled)
# pinned               0
# current-switch       4.14.2
# invariant            ["ocaml-base-compiler" {= "4.14.2"} | "ocaml-system" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /Users/mac1000/.opam/4.14.2/lib/ocaml/stublibs:/Users/mac1000/.opam/4.14.2/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2026-03-25 09:45.01 ---> using "625776f8b2f728a128171e2ba4372c97abd18632a07574a8412026e8be39dac5" 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-03-25 09:45.01 ---> using "15fbb76bf7dee5d6e8ae583230339015a61d8d2d8397de2cfe6459f8ba421f1e" from cache

/: (copy (src .) (dst opam-repository/))
2026-03-25 09:45.03 ---> using "776718e859a598173cbe381d6c4d6ce06c187f2903974040462b301b17494735" from cache

/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
2026-03-25 09:45.04 ---> using "c5180bc18657bbe0ceaad8408ddfcb4d57d90eaac4a0bc2d39b6807d79d10d5d" from cache

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

                                                                           0.7%
- 
#                                                                          1.6%
#                                                                          2.6%
##                                                                         3.4%
###                                                                        4.3%
###                                                                        5.1%
####                                                                       6.1%
####                                                                       6.9%
#####                                                                      7.8%
######                                                                     8.6%
######                                                                     9.6%
- 
#######                                                                   10.4%
########                                                                  11.2%
########                                                                  12.1%
#########                                                                 12.9%
#########                                                                 13.8%
##########                                                                14.6%
###########                                                               15.5%
###########                                                               16.3%
############                                                              17.1%
############                                                              17.9%
#############                                                             18.9%
- 
##############                                                            19.7%
##############                                                            20.5%
###############                                                           21.3%
################                                                          22.3%
################                                                          23.1%
#################                                                         23.9%
#################                                                         24.7%
##################                                                        25.6%
###################                                                       26.4%
###################                                                       27.4%
####################                                                      28.2%
- 
####################                                                      29.0%
#####################                                                     29.8%
######################                                                    30.7%
######################                                                    31.6%
#######################                                                   32.4%
#######################                                                   33.2%
########################                                                  34.1%
#########################                                                 35.1%
#########################                                                 35.9%
##########################                                                36.7%
###########################                                               37.6%
- 
###########################                                               38.4%
############################                                              39.4%
############################                                              40.2%
#############################                                             41.0%
##############################                                            41.9%
##############################                                            42.8%
###############################                                           43.6%
###############################                                           44.4%
################################                                          45.3%
#################################                                         46.1%
#################################                                         46.9%
- 
##################################                                        47.7%
###################################                                       48.7%
###################################                                       49.5%
####################################                                      50.3%
####################################                                      51.1%
#####################################                                     52.1%
######################################                                    52.9%
######################################                                    53.7%
#######################################                                   54.5%
#######################################                                   55.4%
########################################                                  56.2%
- 
#########################################                                 57.0%
#########################################                                 57.9%
##########################################                                58.8%
##########################################                                59.6%
###########################################                               60.4%
############################################                              61.2%
############################################                              62.2%
#############################################                             63.0%
#############################################                             63.8%
##############################################                            64.6%
###############################################                           65.5%
- 
###############################################                           66.4%
################################################                          67.2%
#################################################                         68.1%
#################################################                         68.9%
##################################################                        69.7%
##################################################                        70.7%
###################################################                       71.5%
####################################################                      72.3%
####################################################                      73.2%
#####################################################                     74.0%
#####################################################                     74.8%
- 
######################################################                    75.7%
#######################################################                   76.6%
#######################################################                   77.4%
########################################################                  78.2%
########################################################                  79.2%
#########################################################                 80.0%
##########################################################                80.8%
##########################################################                81.6%
###########################################################               82.4%
############################################################              83.3%
############################################################              84.2%
- 
#############################################################             85.0%
#############################################################             85.9%
##############################################################            86.7%
###############################################################           87.5%
###############################################################           88.3%
################################################################          89.3%
################################################################          90.1%
#################################################################         90.9%
##################################################################        91.7%
##################################################################        92.7%
###################################################################       93.5%
- 
###################################################################       94.3%
####################################################################      95.2%
#####################################################################     96.0%
#####################################################################     96.8%
######################################################################    97.6%
######################################################################    98.6%
#######################################################################   99.4%
######################################################################## 100.0%
- ==> Pouring portable-ruby-4.0.1.catalina.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-03-25 09:45.04 ---> using "45ceb7d439fb571f505904010b53b571aaa59c256b156539bc2b68e87fa321bb" from cache

/: (run (shell "opam pin add -k version -yn ocaml-compiler.5.3 5.3"))
ocaml-compiler is now pinned to version 5.3
2026-03-25 09:45.06 ---> saved as "9493d0ad2968f47dda166e85e6b7ea76614e0db5368d3e2d8d35166654bf8d5d"

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell  "opam reinstall --update-invariant ocaml-compiler.5.3;\
               \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\" != 'ocaml-compiler.5.3' && partial_fails=\"$partial_fails $pkg\";\
               \n        done;\
               \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
               \n        exit 1"))

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>

ocaml-compiler.5.3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== remove 1 package
  - remove  ocaml-base-compiler 4.14.2          [conflicts with ocaml-variants]
=== upgrade 2 packages
  - upgrade ocaml               4.14.2 to 5.3.1 [uses ocaml-config]
  - upgrade ocaml-config        2 to 3
=== install 7 packages
  - install base-domains        base
  - install base-effects        base
  - install base-nnp            base
  - install host-arch-x86_64    1
  - install host-system-other   1
  - install ocaml-compiler      5.3 (pinned)
  - install ocaml-variants      5.3.1+trunk     [required by ocaml-config]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> retrieved ocaml-compiler.5.3  (https://github.com/ocaml/ocaml/archive/5.3.tar.gz)
-> retrieved ocaml-config.3  (cached)
-> removed   ocaml.4.14.2
-> removed   ocaml-config.2
-> removed   ocaml-base-compiler.4.14.2
-> installed ocaml-compiler.5.3
-> installed ocaml-variants.5.3.1+trunk
-> installed ocaml-config.3
-> installed ocaml.5.3.1
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
[NOTE] Switch invariant was updated to ["ocaml-variants" {= "5.3.1+trunk"} | "ocaml-system" {= "4.14.2"}]
       Use `opam switch set-invariant' to change it.
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-25 09:48.31 ---> saved as "d621cc857c01b860f61faf8796ac7dd3aadbd909e4fe2e75d15bc81bef51a3fb"
Job succeeded
2026-03-25 09:48.44: Job succeeded