(for PR #29582)

2026-03-25 08:40.00: New job: build ocaml-compiler.5.4, 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.4 5.4
RUN opam reinstall --update-invariant ocaml-compiler.5.4; \
    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.4' && 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.4-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.4 5.4"))
 (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.4;\
             \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.4' && 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:38.07: Got resource from pool OCluster
Building on i7-worker-04
All commits already cached
Updating files:  35% (6525/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:  57% (10555/18517)
Updating files:  58% (10740/18517)
Updating files:  58% (10824/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:  85% (15861/18517)
Updating files:  86% (15925/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:38.13 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache

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

/: (run (shell "ln -f ~/local/bin/opam-dev ~/local/bin/opam"))
2026-03-25 09:38.13 ---> 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:38.13 ---> 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:38.14 ---> 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:38.14 ---> using "15fbb76bf7dee5d6e8ae583230339015a61d8d2d8397de2cfe6459f8ba421f1e" from cache

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

/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
2026-03-25 09:38.17 ---> 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.5%
#                                                                          2.4%
##                                                                         3.2%
##                                                                         4.0%
###                                                                        4.8%
####                                                                       5.8%
####                                                                       6.6%
- 
#####                                                                      7.5%
#####                                                                      8.3%
######                                                                     9.2%
#######                                                                   10.1%
#######                                                                   10.9%
########                                                                  11.7%
#########                                                                 12.6%
#########                                                                 13.4%
##########                                                                14.2%
##########                                                                15.0%
- 
###########                                                               15.9%
############                                                              16.8%
############                                                              17.7%
#############                                                             18.5%
#############                                                             19.3%
##############                                                            20.2%
###############                                                           21.1%
###############                                                           21.9%
################                                                          22.8%
################                                                          23.6%
#################                                                         24.4%
##################                                                        25.3%
- 
##################                                                        26.1%
###################                                                       27.0%
####################                                                      27.9%
####################                                                      28.8%
#####################                                                     29.6%
#####################                                                     30.6%
######################                                                    31.4%
#######################                                                   32.3%
#######################                                                   33.1%
########################                                                  34.0%
#########################                                                 34.8%
- 
#########################                                                 35.7%
##########################                                                36.5%
##########################                                                37.3%
###########################                                               38.1%
############################                                              39.0%
############################                                              39.8%
#############################                                             40.6%
#############################                                             41.6%
##############################                                            42.4%
###############################                                           43.3%
###############################                                           44.1%
- 
################################                                          45.0%
################################                                          45.8%
#################################                                         46.6%
##################################                                        47.6%
##################################                                        48.4%
###################################                                       49.2%
####################################                                      50.1%
####################################                                      50.9%
#####################################                                     51.9%
#####################################                                     52.7%
######################################                                    53.5%
- 
#######################################                                   54.4%
#######################################                                   55.2%
########################################                                  56.0%
########################################                                  56.9%
#########################################                                 57.8%
##########################################                                58.6%
##########################################                                59.4%
###########################################                               60.3%
############################################                              61.2%
############################################                              62.0%
#############################################                             62.8%
- 
#############################################                             63.6%
##############################################                            64.6%
###############################################                           65.4%
###############################################                           66.2%
################################################                          67.1%
################################################                          67.9%
#################################################                         68.7%
##################################################                        69.7%
##################################################                        70.5%
###################################################                       71.4%
###################################################                       72.2%
- 
####################################################                      73.0%
#####################################################                     73.9%
#####################################################                     74.8%
######################################################                    75.6%
#######################################################                   76.5%
#######################################################                   77.3%
########################################################                  78.1%
########################################################                  79.0%
#########################################################                 79.8%
##########################################################                80.6%
##########################################################                81.5%
- 
###########################################################               82.4%
###########################################################               83.2%
############################################################              84.0%
#############################################################             84.9%
#############################################################             85.7%
##############################################################            86.5%
##############################################################            87.5%
###############################################################           88.3%
################################################################          89.1%
################################################################          90.0%
#################################################################         90.8%
- 
#################################################################         91.6%
##################################################################        92.4%
###################################################################       93.3%
###################################################################       94.1%
####################################################################      95.1%
#####################################################################     95.9%
#####################################################################     96.7%
######################################################################    97.6%
######################################################################    98.4%
#######################################################################   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:38.17 ---> using "45ceb7d439fb571f505904010b53b571aaa59c256b156539bc2b68e87fa321bb" from cache

/: (run (shell "opam pin add -k version -yn ocaml-compiler.5.4 5.4"))
ocaml-compiler is now pinned to version 5.4
2026-03-25 09:38.19 ---> saved as "291251bf2aae74dd4702d61b1f8fe65279ee805f372e19d999da3d9505c64a50"

/: (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.4;\
               \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.4' && 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.4 is not installed. Install it? [Y/n] y
  * No agreement on the version of ocaml:
    - ocaml-compiler = 5.4 -> ocaml = 5.4.1 -> ocaml-variants < 5.4.2~ -> ocaml (= 3.09.1 | = 4.00.0 | = 4.00.1 | = 4.01.0 | = 4.02.0 | = 4.02.1 | = 4.02.2 | = 4.02.3 | = 4.02.4 | = 4.03.0 | = 4.03.1 | = 4.04.0 | = 4.04.1 | = 4.04.2 | = 4.04.3 | = 4.05.0 | = 4.05.1 | = 4.06.0 | = 4.06.1 | = 4.06.2 | = 4.07.0 | = 4.07.1 | = 4.07.2 | = 4.08.0 | = 4.08.1 | = 4.08.2 | = 4.09.0 | = 4.09.1 | = 4.09.2 | = 4.10.0 | = 4.10.1 | = 4.10.2 | = 4.10.3 | = 4.11.0 | = 4.11.1 | = 4.11.2 | = 4.11.3 | = 4.12.0 | = 4.12.1 | = 4.12.2 | = 4.13.0 | = 4.13.1 | = 4.13.2 | = 4.14.0 | = 4.14.1 | = 4.14.2 | = 4.14.3 | = 5.0.0 | = 5.0.1 | = 5.1.0 | = 5.1.1 | = 5.1.2 | = 5.2.0 | = 5.2.1 | = 5.2.2 | = 5.3.0)
    - ocaml-compiler = 5.4 -> ocaml = 5.4.1
  * Missing dependency:
    - ocaml-compiler = 5.4 -> ocaml = 5.4.1 -> ocaml-base-compiler >= 5.4.1~ -> ocaml-compiler (= 5.4.1 | = 5.5.0~alpha1)
    not available because the package is pinned to version 5.4
  * Missing dependency:
    - ocaml-compiler = 5.4 -> ocaml = 5.4.1 -> ocaml-variants < 5.4.2~ -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - ocaml-compiler = 5.4 -> ocaml = 5.4.1 -> ocaml-variants < 5.4.2~ -> system-msvc
    unmet availability conditions: 'os = "win32"'
  * Missing dependency:
    - ocaml-compiler = 5.4 -> ocaml = 5.4.1 -> ocaml-variants < 5.4.2~ -> ocaml-compiler (<= 5.3.0 | = 5.4.0~alpha1 | = 5.4.0~beta1 | = 5.4.0~beta2 | = 5.4.0~rc1 | = 5.4.0 | = 5.4.1)
    not available because the package is pinned to version 5.4

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall --update-invariant ocaml-compiler.5.4;
        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.4' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 20
2026-03-25 09:38.46: Job failed: Failed: Build failed
2026-03-25 09:38.46: Log analysis:
2026-03-25 09:38.46: >>> 
No solution found, exiting
 (score = 100)
2026-03-25 09:38.46: [SKIP] Package not available