(for PR #27802)

2025-04-21 03:07.53: New job: build junit.2.3.0, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27802/head (311efe76002605d961e013d97bb28c10f5b8d499)
                              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/27802/head" && git reset --hard 311efe76
git fetch origin master
git merge --no-edit 999bff3ed88d26f76ff7eaddbfa7af49ed4737dc
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 junit.2.3.0 2.3.0
RUN opam reinstall junit.2.3.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" != 'junit.2.3.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-04-21 03:07.53: Using cache hint "macos-homebrew-ocaml-4.14-junit.2.3.0-311efe76002605d961e013d97bb28c10f5b8d499"
2025-04-21 03:07.53: 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 junit.2.3.0 2.3.0"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell  "opam reinstall junit.2.3.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\" != 'junit.2.3.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-04-21 03:07.53: Waiting for resource in pool OCluster
2025-04-21 03:07.56: Waiting for worker…
2025-04-21 03:12.23: Got resource from pool OCluster
Building on m1-worker-02
All commits already cached
Updating files:  50% (11476/22932)
Updating files:  51% (11696/22932)
Updating files:  52% (11925/22932)
Updating files:  53% (12154/22932)
Updating files:  54% (12384/22932)
Updating files:  55% (12613/22932)
Updating files:  56% (12842/22932)
Updating files:  57% (13072/22932)
Updating files:  58% (13301/22932)
Updating files:  59% (13530/22932)
Updating files:  60% (13760/22932)
Updating files:  61% (13989/22932)
Updating files:  62% (14218/22932)
Updating files:  63% (14448/22932)
Updating files:  64% (14677/22932)
Updating files:  65% (14906/22932)
Updating files:  66% (15136/22932)
Updating files:  67% (15365/22932)
Updating files:  68% (15594/22932)
Updating files:  69% (15824/22932)
Updating files:  70% (16053/22932)
Updating files:  71% (16282/22932)
Updating files:  72% (16512/22932)
Updating files:  73% (16741/22932)
Updating files:  74% (16970/22932)
Updating files:  75% (17199/22932)
Updating files:  76% (17429/22932)
Updating files:  77% (17658/22932)
Updating files:  78% (17887/22932)
Updating files:  79% (18117/22932)
Updating files:  80% (18346/22932)
Updating files:  81% (18575/22932)
Updating files:  82% (18805/22932)
Updating files:  83% (19034/22932)
Updating files:  84% (19263/22932)
Updating files:  85% (19493/22932)
Updating files:  86% (19722/22932)
Updating files:  87% (19951/22932)
Updating files:  87% (19968/22932)
Updating files:  88% (20181/22932)
Updating files:  89% (20410/22932)
Updating files:  90% (20639/22932)
Updating files:  91% (20869/22932)
Updating files:  92% (21098/22932)
Updating files:  93% (21327/22932)
Updating files:  94% (21557/22932)
Updating files:  95% (21786/22932)
Updating files:  96% (22015/22932)
Updating files:  97% (22245/22932)
Updating files:  98% (22474/22932)
Updating files:  99% (22703/22932)
Updating files: 100% (22932/22932)
Updating files: 100% (22932/22932), done.
HEAD is now at 999bff3ed8 Merge pull request #27746 from hirrolot/opam-publish-checked_oint.0.6.0
Updating 999bff3ed8..311efe7600
Fast-forward
 packages/junit/junit.2.3.0/opam                   | 41 +++++++++++++++++++++++
 packages/junit_alcotest/junit_alcotest.2.3.0/opam | 41 +++++++++++++++++++++++
 packages/junit_ounit/junit_ounit.2.3.0/opam       | 41 +++++++++++++++++++++++
 3 files changed, 123 insertions(+)
 create mode 100644 packages/junit/junit.2.3.0/opam
 create mode 100644 packages/junit_alcotest/junit_alcotest.2.3.0/opam
 create mode 100644 packages/junit_ounit/junit_ounit.2.3.0/opam

(from macos-homebrew-ocaml-4.14)
2025-04-21 03:12.27 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache

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

/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
2025-04-21 03:12.27 ---> 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-04-21 03:12.27 ---> 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=14.4
# 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-04-21 03:12.27 ---> 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-04-21 03:12.27 ---> using "5431cbcc658e0d18f1e86a42b7295d7baef82e74db465ab87f8a15ba49194dde" from cache

/: (copy (src .) (dst opam-repository/))
2025-04-21 03:12.34 ---> saved as "410059f4f09ea47a88c251cc2905d5d6d9deb527cc9e093c463e102cd9083925"

/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
2025-04-21 03:12.47 ---> saved as "9ee4d622b8270e7cecf5bae08a8a7d5ed1f30834c6ccb647b56ec5f1d5d7a173"

/: (run (network host)
        (shell "opam update --depexts || true"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- ==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:7645e2d653a335798030f6502e7834dfdbeeec5629429a1a34da5dbb2c57d63e
- #=#=#                                                                         

                                                                           0.3%
                                                                           0.8%
- 
#                                                                          1.5%
#                                                                          2.1%
##                                                                         3.0%
##                                                                         3.5%
##                                                                         4.0%
###                                                                        4.6%
###                                                                        5.1%
###                                                                        5.6%
####                                                                       6.0%
####                                                                       6.4%
- 
####                                                                       6.8%
#####                                                                      7.2%
#####                                                                      7.8%
#####                                                                      8.2%
######                                                                     8.6%
######                                                                     9.0%
######                                                                     9.5%
#######                                                                   10.0%
#######                                                                   10.4%
#######                                                                   10.8%
########                                                                  11.3%
- 
########                                                                  11.7%
########                                                                  12.1%
#########                                                                 12.7%
#########                                                                 13.1%
#########                                                                 13.5%
##########                                                                13.9%
##########                                                                14.3%
##########                                                                14.7%
###########                                                               15.3%
###########                                                               15.7%
###########                                                               16.1%
- 
############                                                              16.7%
############                                                              17.1%
############                                                              17.5%
############                                                              17.9%
#############                                                             18.5%
#############                                                             18.9%
#############                                                             19.3%
##############                                                            19.9%
##############                                                            20.3%
##############                                                            20.7%
###############                                                           21.1%
- 
###############                                                           21.6%
###############                                                           22.0%
################                                                          22.5%
################                                                          23.0%
################                                                          23.4%
#################                                                         23.9%
#################                                                         24.3%
#################                                                         24.8%
##################                                                        25.2%
##################                                                        25.6%
##################                                                        26.2%
- 
###################                                                       26.6%
###################                                                       27.0%
###################                                                       27.4%
####################                                                      28.0%
####################                                                      28.4%
####################                                                      28.8%
#####################                                                     29.2%
#####################                                                     29.8%
#####################                                                     30.2%
######################                                                    30.8%
- 
######################                                                    31.2%
######################                                                    31.7%
#######################                                                   32.1%
#######################                                                   32.6%
#######################                                                   33.0%
########################                                                  33.4%
########################                                                  33.8%
########################                                                  34.4%
#########################                                                 34.8%
#########################                                                 35.3%
- 
#########################                                                 35.8%
##########################                                                36.2%
##########################                                                36.6%
##########################                                                37.0%
##########################                                                37.4%
###########################                                               38.0%
###########################                                               38.4%
###########################                                               38.8%
############################                                              39.2%
############################                                              39.8%
############################                                              40.2%
- 
#############################                                             40.6%
#############################                                             41.1%
#############################                                             41.5%
##############################                                            41.9%
##############################                                            42.3%
##############################                                            42.9%
###############################                                           43.3%
###############################                                           43.8%
###############################                                           44.3%
################################                                          44.7%
################################                                          45.1%
- 
################################                                          45.6%
#################################                                         46.1%
#################################                                         46.5%
#################################                                         47.0%
##################################                                        47.5%
##################################                                        47.9%
##################################                                        48.3%
###################################                                       48.9%
###################################                                       49.3%
###################################                                       49.7%
####################################                                      50.1%
- 
####################################                                      50.5%
####################################                                      51.1%
#####################################                                     51.5%
#####################################                                     51.9%
#####################################                                     52.3%
######################################                                    52.9%
######################################                                    53.3%
######################################                                    53.9%
#######################################                                   54.3%
#######################################                                   54.7%
#######################################                                   55.1%
- 
#######################################                                   55.5%
########################################                                  56.0%
########################################                                  56.4%
########################################                                  56.9%
#########################################                                 57.3%
#########################################                                 57.8%
#########################################                                 58.2%
##########################################                                58.6%
##########################################                                59.2%
##########################################                                59.7%
###########################################                               60.1%
- 
###########################################                               60.5%
###########################################                               61.0%
############################################                              61.4%
############################################                              61.8%
############################################                              62.4%
#############################################                             62.8%
#############################################                             63.2%
#############################################                             63.6%
##############################################                            64.2%
##############################################                            64.6%
- 
##############################################                            65.0%
###############################################                           65.4%
###############################################                           65.8%
###############################################                           66.3%
################################################                          66.8%
################################################                          67.2%
################################################                          67.6%
#################################################                         68.1%
#################################################                         68.5%
#################################################                         69.0%
##################################################                        69.5%
- 
##################################################                        69.9%
##################################################                        70.3%
##################################################                        70.7%
###################################################                       71.3%
###################################################                       71.7%
###################################################                       72.1%
####################################################                      72.7%
####################################################                      73.1%
####################################################                      73.5%
#####################################################                     73.9%
#####################################################                     74.3%
- 
#####################################################                     74.7%
######################################################                    75.2%
######################################################                    75.7%
######################################################                    76.1%
#######################################################                   76.6%
#######################################################                   77.5%
########################################################                  78.4%
#########################################################                 79.2%
#########################################################                 80.0%
##########################################################                81.0%
##########################################################                81.8%
- 
###########################################################               82.8%
############################################################              83.7%
############################################################              84.5%
#############################################################             85.5%
##############################################################            86.3%
##############################################################            87.1%
###############################################################           88.0%
################################################################          88.9%
################################################################          89.8%
#################################################################         90.8%
#################################################################         91.6%
- 
##################################################################        92.4%
###################################################################       93.4%
###################################################################       94.2%
####################################################################      95.2%
#####################################################################     96.0%
#####################################################################     96.9%
######################################################################    97.7%
#######################################################################   98.7%
#######################################################################   99.5%
######################################################################## 100.0%
- ==> Pouring portable-ruby-3.3.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.
2025-04-21 03:13.35 ---> saved as "33468f4d75a061582af5fdc95e7af44e4a07c63718cd0fc290254ddf25b9b9ce"

/: (run (shell "opam pin add -k version -yn junit.2.3.0 2.3.0"))
junit is now pinned to version 2.3.0
2025-04-21 03:13.36 ---> saved as "2184124221c820774b1d804eb5485fef63dbb007a9423e814865781e8edeb988"

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell  "opam reinstall junit.2.3.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\" != 'junit.2.3.0' && partial_fails=\"$partial_fails $pkg\";\
               \n        done;\
               \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
               \n        exit 1"))
junit.2.3.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 10 packages
  - install dune       3.18.1         [required by junit]
  - install junit      2.3.0 (pinned)
  - install ocamlbuild 0.16.1         [required by ptime]
  - install ocamlfind  1.9.8          [required by ptime]
  - install ptime      1.2.0          [required by junit]
  - install re         1.12.0         [required by tyxml]
  - install seq        base           [required by tyxml]
  - install topkg      1.0.8          [required by ptime]
  - install tyxml      4.6.0          [required by junit]
  - install uutf       1.0.4          [required by tyxml]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.18.1  (cached)
-> retrieved junit.2.3.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved topkg.1.0.8  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed ptime.1.2.0
-> installed dune.3.18.1
-> installed re.1.12.0
-> installed tyxml.4.6.0
-> installed junit.2.3.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-21 03:14.11 ---> saved as "44aa06e7eed8cc5cfb5c98697a97ec173b785bfc9c3f4e0732f260899c7e3bf6"
Job succeeded
2025-04-21 03:14.20: Job succeeded