(for PR #29312)

2026-01-30 20:43.28: New job: build toffee.0.1.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29312/head (4219a994291bbd7606c64e62833ff523b0ca72c2)
                              on macos-homebrew-ocaml-4.14/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/29312/head" && git reset --hard 4219a994
git fetch origin master
git merge --no-edit 0758d335cb8d1367e501844fb86be0b07e4918ac
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 toffee.0.1.0 0.1.0
RUN opam reinstall toffee.0.1.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" != 'toffee.0.1.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-01-30 20:43.28: Using cache hint "macos-homebrew-ocaml-4.14-toffee.0.1.0-4219a994291bbd7606c64e62833ff523b0ca72c2"
2026-01-30 20:43.28: 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 toffee.0.1.0 0.1.0"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell  "opam reinstall toffee.0.1.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\" != 'toffee.0.1.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-01-30 20:43.28: Waiting for resource in pool OCluster
2026-01-30 20:43.29: Waiting for worker…
2026-01-30 20:49.26: Got resource from pool OCluster
Building on m1-worker-03
Updating files:  65% (12660/19317)
Updating files:  66% (12750/19317)
Updating files:  67% (12943/19317)
Updating files:  68% (13136/19317)
Updating files:  69% (13329/19317)
Updating files:  70% (13522/19317)
Updating files:  71% (13716/19317)
Updating files:  72% (13909/19317)
Updating files:  73% (14102/19317)
Updating files:  74% (14295/19317)
Updating files:  75% (14488/19317)
Updating files:  76% (14681/19317)
Updating files:  77% (14875/19317)
Updating files:  78% (15068/19317)
Updating files:  79% (15261/19317)
Updating files:  80% (15454/19317)
Updating files:  81% (15647/19317)
Updating files:  82% (15840/19317)
Updating files:  83% (16034/19317)
Updating files:  84% (16227/19317)
Updating files:  85% (16420/19317)
Updating files:  86% (16613/19317)
Updating files:  87% (16806/19317)
Updating files:  88% (16999/19317)
Updating files:  89% (17193/19317)
Updating files:  90% (17386/19317)
Updating files:  91% (17579/19317)
Updating files:  92% (17772/19317)
Updating files:  93% (17965/19317)
Updating files:  94% (18158/19317)
Updating files:  95% (18352/19317)
Updating files:  96% (18545/19317)
Updating files:  97% (18738/19317)
Updating files:  98% (18931/19317)
Updating files:  99% (19124/19317)
Updating files: 100% (19317/19317)
Updating files: 100% (19317/19317), done.
HEAD is now at d84af309a5 Merge commit '4b9b0eb627d5c8bc34581d87bf7f38c49ff914e2'
HEAD is now at 0758d335cb Merge pull request #29298 from raphael-proust/opam-publish-lwt_ppx.5.9.3
Updating 0758d335cb..4219a99429
Fast-forward
 packages/matrix/matrix.0.1.0/opam | 42 +++++++++++++++++++++++++++++++++++
 packages/mosaic/mosaic.0.1.0/opam | 46 +++++++++++++++++++++++++++++++++++++++
 packages/toffee/toffee.0.1.0/opam | 41 ++++++++++++++++++++++++++++++++++
 3 files changed, 129 insertions(+)
 create mode 100644 packages/matrix/matrix.0.1.0/opam
 create mode 100644 packages/mosaic/mosaic.0.1.0/opam
 create mode 100644 packages/toffee/toffee.0.1.0/opam

(from macos-homebrew-ocaml-4.14)
2026-01-30 20:49.37 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache

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

/: (run (shell "ln -f ~/local/bin/opam-dev ~/local/bin/opam"))
2026-01-30 20:49.37 ---> 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-01-30 20:49.38 ---> 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=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       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-01-30 20:49.38 ---> 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-01-30 20:49.38 ---> using "15fbb76bf7dee5d6e8ae583230339015a61d8d2d8397de2cfe6459f8ba421f1e" from cache

/: (copy (src .) (dst opam-repository/))
2026-01-30 20:49.43 ---> saved as "0c6d6324f525c88d6f914c513ce50049a6297610443c305a5ccce5c1d7434371"

/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
2026-01-30 20:49.52 ---> saved as "3547b5ff9f96c3bebffb0716444fbec630f342f038f4989e9a901a5812ef5c37"

/: (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:1c98fa49eacc935640a6f8e10a2bf33f14cfc276804b71ddb658ea45ba99d167
- #=#=#                                                                          

                                                                           0.1%
                                                                           0.3%
                                                                           0.9%
#                                                                          1.5%
#                                                                          1.9%
- 
#                                                                          2.0%
#                                                                          2.8%
##                                                                         3.2%
##                                                                         3.6%
##                                                                         3.9%
##                                                                         4.1%
###                                                                        4.5%
###                                                                        4.9%
###                                                                        5.3%
####                                                                       5.9%
- 
####                                                                       6.3%
####                                                                       6.7%
#####                                                                      7.0%
#####                                                                      7.4%
#####                                                                      8.0%
######                                                                     8.4%
######                                                                     8.8%
######                                                                     9.2%
######                                                                     9.6%
#######                                                                   10.0%
#######                                                                   10.4%
#######                                                                   11.0%
- 
########                                                                  11.4%
########                                                                  11.7%
########                                                                  12.1%
#########                                                                 12.5%
#########                                                                 13.1%
#########                                                                 13.5%
#########                                                                 13.9%
##########                                                                14.3%
##########                                                                14.7%
##########                                                                15.1%
- 
###########                                                               15.6%
###########                                                               16.0%
###########                                                               16.4%
############                                                              16.8%
############                                                              17.3%
############                                                              17.7%
#############                                                             18.1%
#############                                                             18.6%
#############                                                             19.0%
#############                                                             19.4%
##############                                                            19.8%
- 
##############                                                            20.3%
##############                                                            20.7%
###############                                                           21.1%
###############                                                           21.5%
###############                                                           21.9%
###############                                                           22.2%
################                                                          22.6%
################                                                          22.9%
################                                                          23.2%
################                                                          23.4%
#################                                                         23.8%
- 
#################                                                         24.1%
#################                                                         24.3%
#################                                                         24.6%
#################                                                         24.9%
##################                                                        25.1%
##################                                                        25.4%
##################                                                        25.8%
##################                                                        26.1%
##################                                                        26.3%
###################                                                       26.6%
###################                                                       26.9%
- 
###################                                                       27.2%
###################                                                       27.4%
####################                                                      27.8%
####################                                                      28.1%
####################                                                      28.3%
####################                                                      28.6%
####################                                                      29.0%
#####################                                                     29.3%
#####################                                                     29.5%
#####################                                                     29.8%
#####################                                                     30.1%
- 
#####################                                                     30.3%
######################                                                    30.8%
######################                                                    31.0%
######################                                                    31.3%
######################                                                    31.6%
######################                                                    31.8%
#######################                                                   32.1%
#######################                                                   32.4%
#######################                                                   32.6%
#######################                                                   33.0%
#######################                                                   33.3%
- 
########################                                                  33.5%
########################                                                  33.8%
########################                                                  34.2%
########################                                                  34.5%
#########################                                                 34.8%
#########################                                                 35.1%
#########################                                                 35.3%
#########################                                                 35.6%
#########################                                                 35.9%
##########################                                                36.3%
- 
##########################                                                36.4%
##########################                                                36.7%
##########################                                                36.9%
##########################                                                37.1%
##########################                                                37.3%
###########################                                               37.6%
###########################                                               37.7%
###########################                                               38.0%
###########################                                               38.3%
###########################                                               38.4%
- 
###########################                                               38.7%
############################                                              39.0%
############################                                              39.1%
############################                                              39.5%
############################                                              39.7%
############################                                              40.0%
#############################                                             40.4%
#############################                                             40.7%
#############################                                             40.9%
#############################                                             41.2%
#############################                                             41.5%
- 
##############################                                            41.7%
##############################                                            42.0%
##############################                                            42.3%
##############################                                            42.7%
##############################                                            43.0%
###############################                                           43.2%
###############################                                           43.6%
###############################                                           44.2%
################################                                          44.5%
################################                                          44.9%
################################                                          45.3%
- 
#################################                                         45.9%
#################################                                         46.3%
#################################                                         46.7%
#################################                                         47.1%
##################################                                        47.5%
##################################                                        47.9%
##################################                                        48.4%
###################################                                       48.8%
###################################                                       49.2%
###################################                                       49.6%
####################################                                      50.1%
- 
####################################                                      50.6%
####################################                                      51.0%
####################################                                      51.4%
#####################################                                     51.9%
#####################################                                     52.3%
#####################################                                     52.7%
######################################                                    53.1%
######################################                                    53.9%
#######################################                                   54.7%
########################################                                  55.6%
########################################                                  56.4%
- 
#########################################                                 57.4%
#########################################                                 58.2%
##########################################                                59.0%
###########################################                               59.8%
###########################################                               60.7%
############################################                              61.5%
############################################                              62.3%
#############################################                             63.3%
##############################################                            64.1%
##############################################                            64.9%
###############################################                           65.8%
- 
###############################################                           66.6%
################################################                          67.4%
#################################################                         68.2%
#################################################                         69.1%
##################################################                        70.0%
##################################################                        70.8%
###################################################                       71.7%
####################################################                      72.5%
####################################################                      73.4%
#####################################################                     74.2%
######################################################                    75.2%
- 
######################################################                    76.0%
#######################################################                   76.9%
#######################################################                   77.7%
########################################################                  78.5%
#########################################################                 79.3%
#########################################################                 80.2%
##########################################################                81.1%
##########################################################                81.8%
###########################################################               82.8%
############################################################              83.6%
############################################################              84.4%
- 
#############################################################             85.2%
#############################################################             86.1%
##############################################################            86.9%
###############################################################           87.7%
###############################################################           88.5%
################################################################          89.4%
#################################################################         90.3%
#################################################################         91.1%
##################################################################        91.9%
##################################################################        92.8%
###################################################################       93.8%
- 
####################################################################      94.6%
####################################################################      95.4%
#####################################################################     96.2%
#####################################################################     97.1%
######################################################################    97.9%
#######################################################################   98.8%
#######################################################################   99.6%
######################################################################## 100.0%
- ==> Pouring portable-ruby-3.4.8.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-01-30 20:50.51 ---> saved as "5f1d82ed7ae539183ed6581bf7c92098a6a63870b4107c4803765e7aa22544db"

/: (run (shell "opam pin add -k version -yn toffee.0.1.0 0.1.0"))
toffee is now pinned to version 0.1.0
2026-01-30 20:50.52 ---> saved as "f094b79f4ead43b22551550e419aba2ee873b95caec5e7b40c96046ed8ea96ee"

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell  "opam reinstall toffee.0.1.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\" != 'toffee.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
               \n        done;\
               \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
               \n        exit 1"))
toffee.0.1.0 is not installed. Install it? [Y/n] y
  * No agreement on the version of ocaml-base-compiler:
    - (invariant) -> ocaml-base-compiler = 4.14.2
    - toffee -> ocaml >= 5.1 -> ocaml-base-compiler >= 5.1.0~
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.14.2
    - toffee -> ocaml >= 5.1 -> ocaml-variants < 5.6.1~
  * Missing dependency:
    - toffee -> ocaml >= 5.1 -> ocaml-variants >= 5.1.0~ -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall toffee.0.1.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" != 'toffee.0.1.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 20
2026-01-30 20:51.10: Job failed: Failed: Build failed
2026-01-30 20:51.10: Log analysis:
2026-01-30 20:51.10: >>> 
No solution found, exiting
 (score = 100)
2026-01-30 20:51.10: [SKIP] Package not available