(for PR #28485)

2025-09-11 00:52.30: New job: build omni-irc.v0.1.12-1-g01e9475, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28485/head (7386318651c3e60f273db07ad6d31c6c377ca249)
                              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/28485/head" && git reset --hard 73863186
git fetch origin master
git merge --no-edit 5d1371bc23e88e4550632b7924b378935fd984f0
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 omni-irc.v0.1.12-1-g01e9475 v0.1.12-1-g01e9475
RUN opam reinstall omni-irc.v0.1.12-1-g01e9475; \
    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" != 'omni-irc.v0.1.12-1-g01e9475' && 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 00:52.30: Using cache hint "macos-homebrew-ocaml-4.14-omni-irc.v0.1.12-1-g01e9475-7386318651c3e60f273db07ad6d31c6c377ca249"
2025-09-11 00:52.30: 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 omni-irc.v0.1.12-1-g01e9475 v0.1.12-1-g01e9475"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell  "opam reinstall omni-irc.v0.1.12-1-g01e9475;\
             \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\" != 'omni-irc.v0.1.12-1-g01e9475' && 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 00:52.30: Waiting for resource in pool OCluster
2025-09-11 00:52.31: Waiting for worker…
2025-09-11 00:52.31: Got resource from pool OCluster
Building on m1-worker-02
Updating files:  67% (12328/18218)
Updating files:  68% (12389/18218)
Updating files:  69% (12571/18218)
Updating files:  70% (12753/18218)
Updating files:  71% (12935/18218)
Updating files:  72% (13117/18218)
Updating files:  73% (13300/18218)
Updating files:  74% (13482/18218)
Updating files:  75% (13664/18218)
Updating files:  76% (13846/18218)
Updating files:  77% (14028/18218)
Updating files:  78% (14211/18218)
Updating files:  79% (14393/18218)
Updating files:  80% (14575/18218)
Updating files:  81% (14757/18218)
Updating files:  82% (14939/18218)
Updating files:  83% (15121/18218)
Updating files:  84% (15304/18218)
Updating files:  85% (15486/18218)
Updating files:  86% (15668/18218)
Updating files:  87% (15850/18218)
Updating files:  88% (16032/18218)
Updating files:  89% (16215/18218)
Updating files:  90% (16397/18218)
Updating files:  91% (16579/18218)
Updating files:  92% (16761/18218)
Updating files:  93% (16943/18218)
Updating files:  94% (17125/18218)
Updating files:  95% (17308/18218)
Updating files:  96% (17490/18218)
Updating files:  97% (17672/18218)
Updating files:  98% (17854/18218)
Updating files:  99% (18036/18218)
Updating files: 100% (18218/18218)
Updating files: 100% (18218/18218), done.
HEAD is now at be41cf7e3a Merge commit 'bc82b4dfa5c18f726c224bbc8cc5d6dc546a88a7'
HEAD is now at 5d1371bc23 Merge pull request #28480 from mdales/mwd-update-ocaml-gif
Merge made by the 'ort' strategy.
 packages/omni-irc/omni-irc.v0.1.12-1-g01e9475/opam | 48 ++++++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 packages/omni-irc/omni-irc.v0.1.12-1-g01e9475/opam

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

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

/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
2025-09-11 00:52.44 ---> 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 00:52.44 ---> 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 00:52.44 ---> 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 00:52.44 ---> using "5431cbcc658e0d18f1e86a42b7295d7baef82e74db465ab87f8a15ba49194dde" from cache

/: (copy (src .) (dst opam-repository/))
2025-09-11 00:52.49 ---> saved as "aa45f58480de564ca81d5f9761f110e41a31711fd8e070f0bb6ecf9f3e05edd4"

/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
2025-09-11 00:52.59 ---> saved as "abc58fa4c017b7bc6c233b34d6fdce78e6e4cdb1645088b6b8e171b5772fac88"

/: (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 00:53.18 ---> saved as "3f35c7b8055941fe9f49c492fea2eef9cc3e01c5a4077032918e5a4ba2ad74e4"

/: (run (shell "opam pin add -k version -yn omni-irc.v0.1.12-1-g01e9475 v0.1.12-1-g01e9475"))
omni-irc is now pinned to version v0.1.12-1-g01e9475
2025-09-11 00:53.19 ---> saved as "33a877e312fd47db6213c0990d04f90ea954febfda496fd8b8cf39311888ce52"

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell  "opam reinstall omni-irc.v0.1.12-1-g01e9475;\
               \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\" != 'omni-irc.v0.1.12-1-g01e9475' && partial_fails=\"$partial_fails $pkg\";\
               \n        done;\
               \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
               \n        exit 1"))
omni-irc.v0.1.12-1-g01e9475 is not installed. Install it? [y/n] y
  * Missing dependency:
    - omni-irc -> omni-irc-sig
    unknown package

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall omni-irc.v0.1.12-1-g01e9475;
        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" != 'omni-irc.v0.1.12-1-g01e9475' && 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
2025-09-11 00:53.37: Job failed: Failed: Build failed
2025-09-11 00:53.37: Log analysis:
2025-09-11 00:53.37: >>> 
No solution found, exiting
 (score = 100)
2025-09-11 00:53.37: [SKIP] Package not available