(for PR #29096)

2025-12-15 02:50.50: New job: build dune-action-plugin.3.21.0~alpha4, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29096/head (7d6af52f05e2c06c00193b2918193b6994ece701)
                              on macos-homebrew-ocaml-5.4/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/29096/head" && git reset --hard 7d6af52f
git fetch origin master
git merge --no-edit 2625e9877b44d517ad87b5bf4ff708f3e44b78d8
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.4
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 dune-action-plugin.3.21.0~alpha4 3.21.0~alpha4
RUN opam reinstall dune-action-plugin.3.21.0~alpha4; \
    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" != 'dune-action-plugin.3.21.0~alpha4' && 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-12-15 02:50.50: Using cache hint "macos-homebrew-ocaml-5.4-dune-action-plugin.3.21.0~alpha4-7d6af52f05e2c06c00193b2918193b6994ece701"
2025-12-15 02:50.50: Using OBuilder spec:
((from macos-homebrew-ocaml-5.4)
 (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 dune-action-plugin.3.21.0~alpha4 3.21.0~alpha4"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell  "opam reinstall dune-action-plugin.3.21.0~alpha4;\
             \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\" != 'dune-action-plugin.3.21.0~alpha4' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-12-15 02:50.50: Waiting for resource in pool OCluster
2025-12-15 02:50.53: Waiting for worker…
2025-12-15 03:00.42: Got resource from pool OCluster
Building on i7-worker-01
All commits already cached
Updating files:  33% (6462/19031)
Updating files:  34% (6471/19031)
Updating files:  35% (6661/19031)
Updating files:  36% (6852/19031)
Updating files:  37% (7042/19031)
Updating files:  38% (7232/19031)
Updating files:  39% (7423/19031)
Updating files:  40% (7613/19031)
Updating files:  41% (7803/19031)
Updating files:  42% (7994/19031)
Updating files:  43% (8184/19031)
Updating files:  44% (8374/19031)
Updating files:  45% (8564/19031)
Updating files:  46% (8755/19031)
Updating files:  47% (8945/19031)
Updating files:  48% (9135/19031)
Updating files:  49% (9326/19031)
Updating files:  50% (9516/19031)
Updating files:  51% (9706/19031)
Updating files:  52% (9897/19031)
Updating files:  53% (10087/19031)
Updating files:  54% (10277/19031)
Updating files:  55% (10468/19031)
Updating files:  56% (10658/19031)
Updating files:  57% (10848/19031)
Updating files:  58% (11038/19031)
Updating files:  59% (11229/19031)
Updating files:  60% (11419/19031)
Updating files:  61% (11609/19031)
Updating files:  62% (11800/19031)
Updating files:  62% (11809/19031)
Updating files:  63% (11990/19031)
Updating files:  64% (12180/19031)
Updating files:  65% (12371/19031)
Updating files:  66% (12561/19031)
Updating files:  67% (12751/19031)
Updating files:  68% (12942/19031)
Updating files:  69% (13132/19031)
Updating files:  70% (13322/19031)
Updating files:  71% (13513/19031)
Updating files:  72% (13703/19031)
Updating files:  73% (13893/19031)
Updating files:  74% (14083/19031)
Updating files:  75% (14274/19031)
Updating files:  76% (14464/19031)
Updating files:  77% (14654/19031)
Updating files:  78% (14845/19031)
Updating files:  79% (15035/19031)
Updating files:  80% (15225/19031)
Updating files:  81% (15416/19031)
Updating files:  82% (15606/19031)
Updating files:  83% (15796/19031)
Updating files:  84% (15987/19031)
Updating files:  85% (16177/19031)
Updating files:  86% (16367/19031)
Updating files:  87% (16557/19031)
Updating files:  88% (16748/19031)
Updating files:  89% (16938/19031)
Updating files:  90% (17128/19031)
Updating files:  91% (17319/19031)
Updating files:  92% (17509/19031)
Updating files:  93% (17699/19031)
Updating files:  94% (17890/19031)
Updating files:  94% (17988/19031)
Updating files:  95% (18080/19031)
Updating files:  96% (18270/19031)
Updating files:  97% (18461/19031)
Updating files:  98% (18651/19031)
Updating files:  99% (18841/19031)
Updating files: 100% (19031/19031)
Updating files: 100% (19031/19031), done.
HEAD is now at 2625e9877b Merge pull request #29094 from anmonteiro/patch-9
Updating 2625e9877b..7d6af52f05
Fast-forward
 .../chrome-trace/chrome-trace.3.21.0~alpha4/opam   | 41 ++++++++++++
 .../dune-action-plugin.3.21.0~alpha4/opam          | 54 ++++++++++++++++
 .../dune-build-info.3.21.0~alpha4/opam             | 47 ++++++++++++++
 .../dune-configurator.3.21.0~alpha4/opam           | 51 +++++++++++++++
 packages/dune-glob/dune-glob.3.21.0~alpha4/opam    | 44 +++++++++++++
 .../dune-private-libs.3.21.0~alpha4/opam           | 52 +++++++++++++++
 .../dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha4/opam   | 43 +++++++++++++
 packages/dune-rpc/dune-rpc.3.21.0~alpha4/opam      | 46 +++++++++++++
 packages/dune-site/dune-site.3.21.0~alpha4/opam    | 39 +++++++++++
 packages/dune/dune.3.21.0~alpha4/opam              | 75 ++++++++++++++++++++++
 packages/dyn/dyn.3.21.0~alpha4/opam                | 42 ++++++++++++
 packages/fs-io/fs-io.3.21.0~alpha4/opam            | 41 ++++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha4/opam  | 45 +++++++++++++
 packages/ordering/ordering.3.21.0~alpha4/opam      | 40 ++++++++++++
 packages/stdune/stdune.3.21.0~alpha4/opam          | 48 ++++++++++++++
 .../top-closure/top-closure.3.21.0~alpha4/opam     | 40 ++++++++++++
 packages/xdg/xdg.3.21.0~alpha4/opam                | 41 ++++++++++++
 17 files changed, 789 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.21.0~alpha4/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.21.0~alpha4/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.21.0~alpha4/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.21.0~alpha4/opam
 create mode 100644 packages/dune-glob/dune-glob.3.21.0~alpha4/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.21.0~alpha4/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha4/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.21.0~alpha4/opam
 create mode 100644 packages/dune-site/dune-site.3.21.0~alpha4/opam
 create mode 100644 packages/dune/dune.3.21.0~alpha4/opam
 create mode 100644 packages/dyn/dyn.3.21.0~alpha4/opam
 create mode 100644 packages/fs-io/fs-io.3.21.0~alpha4/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha4/opam
 create mode 100644 packages/ordering/ordering.3.21.0~alpha4/opam
 create mode 100644 packages/stdune/stdune.3.21.0~alpha4/opam
 create mode 100644 packages/top-closure/top-closure.3.21.0~alpha4/opam
 create mode 100644 packages/xdg/xdg.3.21.0~alpha4/opam

(from macos-homebrew-ocaml-5.4)
2025-12-15 03:00.47 ---> using "338135fbf1889e924a607b47198b8b308c32a925cc9436066d65a9bdc402cad5" from cache

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

/: (run (shell "ln -f ~/local/bin/opam-dev ~/local/bin/opam"))
2025-12-15 03:00.48 ---> using "7aa34524ca0a69b4a488c30909f7495a04a243f9066091b1dfe73b446b0dfcd3" 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-12-15 03:00.48 ---> using "91dcaa513ca3161d91620d0583acdea5310cd52ccab1dfbdd183600da37afdb2" 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       5.4.0
# invariant            ["ocaml-base-compiler" {= "5.4.0"} | "ocaml-system" {= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /Users/mac1000/.opam/5.4.0/lib/ocaml/stublibs:/Users/mac1000/.opam/5.4.0/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0
2025-12-15 03:00.48 ---> using "cea1bfc0b1cda73d964aa2fc69cc828a6e6d8edd86f991754707e8b004a3cb09" 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-12-15 03:00.49 ---> using "e3eba35b672d86e69268bbb9214f23a1f9d1fb0787b4d803840af8d45829b222" from cache

/: (copy (src .) (dst opam-repository/))
2025-12-15 03:00.51 ---> using "e0450d9458e5fd3902a62522bf12df0a4a77aa361916dbfebfc912be0f211bbe" from cache

/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
2025-12-15 03:00.52 ---> using "2441ad3b0278beb8cee9ac62467dbb4b4b874a70948921285727bd85adbd4883" from cache

/: (run (network host)
        (shell "opam update --depexts || true"))
+ /usr/local/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-12-15 03:00.52 ---> using "5718a1e2394af9b1ac5be09495836bd423a78718d4d6ac2af811fc125013d9e0" from cache

/: (run (shell "opam pin add -k version -yn dune-action-plugin.3.21.0~alpha4 3.21.0~alpha4"))
dune-action-plugin is now pinned to version 3.21.0~alpha4
2025-12-15 03:00.54 ---> saved as "cd707b4f331af9bc97cdf3e6d6f40a5242825dc350bca6623dc0cb3f366e83dc"

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell  "opam reinstall dune-action-plugin.3.21.0~alpha4;\
               \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\" != 'dune-action-plugin.3.21.0~alpha4' && partial_fails=\"$partial_fails $pkg\";\
               \n        done;\
               \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
               \n        exit 1"))
dune-action-plugin.3.21.0~alpha4 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 15 packages
  - install csexp              1.5.2                  [required by dune-action-plugin]
  - install dune               3.21.0~alpha4          [required by dune-action-plugin]
  - install dune-action-plugin 3.21.0~alpha4 (pinned)
  - install dune-glob          3.21.0~alpha4          [required by dune-action-plugin]
  - install dune-private-libs  3.21.0~alpha4          [required by dune-action-plugin]
  - install dune-rpc           3.21.0~alpha4          [required by dune-action-plugin]
  - install dyn                3.21.0~alpha4          [required by dune-private-libs, dune-glob, dune-rpc]
  - install fs-io              3.21.0~alpha4          [required by stdune]
  - install ocamlc-loc         3.21.0~alpha4          [required by dune-rpc]
  - install ordering           3.21.0~alpha4          [required by dune-glob, dune-rpc]
  - install pp                 2.0.0                  [required by dune-private-libs, dune-rpc]
  - install re                 1.14.0                 [required by dune-glob]
  - install stdune             3.21.0~alpha4          [required by dune-action-plugin]
  - install top-closure        3.21.0~alpha4          [required by stdune]
  - install xdg                3.21.0~alpha4          [required by dune-rpc]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.21.0~alpha4, dune-action-plugin.3.21.0~alpha4, dune-glob.3.21.0~alpha4, dune-private-libs.3.21.0~alpha4, dune-rpc.3.21.0~alpha4, dyn.3.21.0~alpha4, fs-io.3.21.0~alpha4, ocamlc-loc.3.21.0~alpha4, ordering.3.21.0~alpha4, stdune.3.21.0~alpha4, top-closure.3.21.0~alpha4, xdg.3.21.0~alpha4  (cached)
-> retrieved pp.2.0.0  (cached)
-> retrieved re.1.14.0  (cached)
-> installed dune.3.21.0~alpha4
-> installed re.1.14.0
-> installed pp.2.0.0
-> installed csexp.1.5.2
-> installed ordering.3.21.0~alpha4
-> installed fs-io.3.21.0~alpha4
-> installed xdg.3.21.0~alpha4
-> installed top-closure.3.21.0~alpha4
-> installed dyn.3.21.0~alpha4
-> installed ocamlc-loc.3.21.0~alpha4
-> installed stdune.3.21.0~alpha4
-> installed dune-private-libs.3.21.0~alpha4
-> installed dune-glob.3.21.0~alpha4
-> installed dune-rpc.3.21.0~alpha4
-> installed dune-action-plugin.3.21.0~alpha4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-15 03:03.03 ---> saved as "3b68463dae897cd8e29f3ed1433e09b93b927d7118339054e630968ac1f9ff2e"
Job succeeded
2025-12-15 03:03.16: Job succeeded