(for PR #28495)

2025-09-11 13:43.17: New job: build efl.1.24.0, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28495/head (39ef1a8a5ad92f9e2f0d6857dbb4a91a15a9b4a6)
                              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/28495/head" && git reset --hard 39ef1a8a
git fetch origin master
git merge --no-edit 866bcd03cd164b928ac73b30e64dce324b9973f9
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
USER 1000:1000
RUN ln -f ~/local/bin/opam-2.3 ~/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 efl.1.24.0 1.24.0
RUN opam reinstall efl.1.24.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" != 'efl.1.24.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 .

2025-09-11 13:43.17: Using cache hint "macos-homebrew-ocaml-4.14-efl.1.24.0-39ef1a8a5ad92f9e2f0d6857dbb4a91a15a9b4a6"
2025-09-11 13:43.17: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
 (user (uid 1000) (gid 1000))
 (run (shell "ln -f ~/local/bin/opam-2.3 ~/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 efl.1.24.0 1.24.0"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell  "opam reinstall efl.1.24.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\" != 'efl.1.24.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-09-11 13:43.17: Connecting to build cluster…
2025-09-11 13:43.17: Waiting for resource in pool OCluster
2025-09-11 13:43.22: Waiting for worker…
2025-09-11 13:46.02: Got resource from pool OCluster
Building on m1-worker-02
All commits already cached
Updating files:  64% (11700/18224)
Updating files:  65% (11846/18224)
Updating files:  66% (12028/18224)
Updating files:  67% (12211/18224)
Updating files:  68% (12393/18224)
Updating files:  69% (12575/18224)
Updating files:  70% (12757/18224)
Updating files:  71% (12940/18224)
Updating files:  72% (13122/18224)
Updating files:  73% (13304/18224)
Updating files:  74% (13486/18224)
Updating files:  75% (13668/18224)
Updating files:  76% (13851/18224)
Updating files:  77% (14033/18224)
Updating files:  78% (14215/18224)
Updating files:  79% (14397/18224)
Updating files:  80% (14580/18224)
Updating files:  81% (14762/18224)
Updating files:  82% (14944/18224)
Updating files:  83% (15126/18224)
Updating files:  84% (15309/18224)
Updating files:  85% (15491/18224)
Updating files:  86% (15673/18224)
Updating files:  87% (15855/18224)
Updating files:  88% (16038/18224)
Updating files:  89% (16220/18224)
Updating files:  90% (16402/18224)
Updating files:  91% (16584/18224)
Updating files:  92% (16767/18224)
Updating files:  93% (16949/18224)
Updating files:  94% (17131/18224)
Updating files:  95% (17313/18224)
Updating files:  96% (17496/18224)
Updating files:  97% (17678/18224)
Updating files:  98% (17860/18224)
Updating files:  99% (18042/18224)
Updating files: 100% (18224/18224)
Updating files: 100% (18224/18224), done.
HEAD is now at 866bcd03cd Merge pull request #28488 from mdales/mwd-fix-claudius
Merge made by the 'ort' strategy.
 packages/efl/efl.1.12.0/opam | 3 ++-
 packages/efl/efl.1.13.0/opam | 3 ++-
 packages/efl/efl.1.17.0/opam | 3 ++-
 packages/efl/efl.1.18.0/opam | 3 ++-
 packages/efl/efl.1.19.0/opam | 3 ++-
 packages/efl/efl.1.20.0/opam | 3 ++-
 packages/efl/efl.1.22.0/opam | 3 ++-
 packages/efl/efl.1.24.0/opam | 3 ++-
 8 files changed, 16 insertions(+), 8 deletions(-)

(from macos-homebrew-ocaml-4.14)
2025-09-11 13:46.05 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache

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

/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
2025-09-11 13:46.05 ---> using "133faf6477bb7d579f4909c1f9ea81a7b33e8728123c32f7ba0f1532c2d3d002" 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
2025-09-11 13:46.05 ---> using "ef3d87c6398c801c10cf5a6d93f8ba7a7aca8d0c6db9fa9fa49b79f0f9e94e2e" 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.3.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
2025-09-11 13:46.05 ---> using "ac863649c8b1638b67aad7aed774fd3a3fe5d0b0e5eb7991274454937cf65d01" 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/"))
2025-09-11 13:46.05 ---> using "5431cbcc658e0d18f1e86a42b7295d7baef82e74db465ab87f8a15ba49194dde" from cache

/: (copy (src .) (dst opam-repository/))
2025-09-11 13:46.07 ---> using "338c9d2d48985064727d92cb1510748194b6a0ebab680ac9a9958a57326c989c" from cache

/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
2025-09-11 13:46.07 ---> using "818a0751cdea7a5ad51ba23282355dbe26e4cd04dc9bf8ee75f4b7fecd48c147" from cache

/: (run (network host)
        (shell "opam update --depexts || true"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- ==> 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.
2025-09-11 13:46.07 ---> using "bcba8699b34d5db5832b443269ded39135e91f09d11a69253011a4d14d49693e" from cache

/: (run (shell "opam pin add -k version -yn efl.1.24.0 1.24.0"))
efl is now pinned to version 1.24.0
2025-09-11 13:46.07 ---> using "8cdfef0f1dcf033059dc8320f4c36ee27ee451f6c021674d6ecb34472233f8cf" from cache

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell  "opam reinstall efl.1.24.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\" != 'efl.1.24.0' && partial_fails=\"$partial_fails $pkg\";\
               \n        done;\
               \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
               \n        exit 1"))
[ERROR] efl = 1.24.0: unmet availability conditions: 'opam-version < "2.2"'
"/usr/bin/env" "bash" "-c" "opam reinstall efl.1.24.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" != 'efl.1.24.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 5
2025-09-11 13:46.24: Job failed: Failed: Build failed
2025-09-11 13:46.24: Log analysis:
2025-09-11 13:46.24: >>> 
[ERROR] efl = 1.24.0: unmet availability conditions: 'opam-version < "2.2"'
 (score = 100)
2025-09-11 13:46.24: [SKIP] Package not available