(for PR #29905)

2026-05-15 01:13.06: New job: build agentxm-example-tinyflags.0.1.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29905/head (0a9a9e446f8a18b3bae4e1f8506be6b7511fea3b)
                              on macos-homebrew-ocaml-4.14/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/29905/head" && git reset --hard 0a9a9e44
git fetch origin master
git merge --no-edit adfd36b5d12830043a1f66dbf8d5a820e784fb8f
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 agentxm-example-tinyflags.0.1.0 0.1.0
RUN opam reinstall agentxm-example-tinyflags.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" != 'agentxm-example-tinyflags.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-05-15 01:13.06: Using cache hint "macos-homebrew-ocaml-4.14-agentxm-example-tinyflags.0.1.0-0a9a9e446f8a18b3bae4e1f8506be6b7511fea3b"
2026-05-15 01:13.06: 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 agentxm-example-tinyflags.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 agentxm-example-tinyflags.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\" != 'agentxm-example-tinyflags.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-05-15 01:13.06: Waiting for resource in pool OCluster
2026-05-15 01:13.06: Waiting for worker…
2026-05-15 01:13.06: Got resource from pool OCluster
Building on i7-worker-02
Updating files:  30% (5391/17889)
Updating files:  31% (5546/17889)
Updating files:  32% (5725/17889)
Updating files:  33% (5904/17889)
Updating files:  34% (6083/17889)
Updating files:  35% (6262/17889)
Updating files:  36% (6441/17889)
Updating files:  37% (6619/17889)
Updating files:  38% (6798/17889)
Updating files:  39% (6977/17889)
Updating files:  40% (7156/17889)
Updating files:  41% (7335/17889)
Updating files:  42% (7514/17889)
Updating files:  43% (7693/17889)
Updating files:  44% (7872/17889)
Updating files:  45% (8051/17889)
Updating files:  46% (8229/17889)
Updating files:  47% (8408/17889)
Updating files:  48% (8587/17889)
Updating files:  49% (8766/17889)
Updating files:  50% (8945/17889)
Updating files:  51% (9124/17889)
Updating files:  52% (9303/17889)
Updating files:  53% (9482/17889)
Updating files:  54% (9661/17889)
Updating files:  55% (9839/17889)
Updating files:  56% (10018/17889)
Updating files:  56% (10110/17889)
Updating files:  57% (10197/17889)
Updating files:  58% (10376/17889)
Updating files:  59% (10555/17889)
Updating files:  60% (10734/17889)
Updating files:  61% (10913/17889)
Updating files:  62% (11092/17889)
Updating files:  63% (11271/17889)
Updating files:  64% (11449/17889)
Updating files:  65% (11628/17889)
Updating files:  66% (11807/17889)
Updating files:  67% (11986/17889)
Updating files:  68% (12165/17889)
Updating files:  69% (12344/17889)
Updating files:  70% (12523/17889)
Updating files:  71% (12702/17889)
Updating files:  72% (12881/17889)
Updating files:  73% (13059/17889)
Updating files:  74% (13238/17889)
Updating files:  75% (13417/17889)
Updating files:  76% (13596/17889)
Updating files:  77% (13775/17889)
Updating files:  78% (13954/17889)
Updating files:  79% (14133/17889)
Updating files:  80% (14312/17889)
Updating files:  81% (14491/17889)
Updating files:  82% (14669/17889)
Updating files:  83% (14848/17889)
Updating files:  84% (15027/17889)
Updating files:  85% (15206/17889)
Updating files:  86% (15385/17889)
Updating files:  86% (15451/17889)
Updating files:  87% (15564/17889)
Updating files:  88% (15743/17889)
Updating files:  89% (15922/17889)
Updating files:  90% (16101/17889)
Updating files:  91% (16279/17889)
Updating files:  92% (16458/17889)
Updating files:  93% (16637/17889)
Updating files:  94% (16816/17889)
Updating files:  95% (16995/17889)
Updating files:  96% (17174/17889)
Updating files:  97% (17353/17889)
Updating files:  98% (17532/17889)
Updating files:  99% (17711/17889)
Updating files: 100% (17889/17889)
Updating files: 100% (17889/17889), done.
HEAD is now at 96d040643e [new release] dune (18 packages) (3.23.1)
HEAD is now at adfd36b5d1 Merge pull request #29901 from ajbt200128/opam-publish-pyro-caml-instruments.1.0.0
Updating adfd36b5d1..0a9a9e446f
Fast-forward
 .../agentxm-example-tinyflags.0.1.0/opam           | 32 ++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 packages/agentxm-example-tinyflags/agentxm-example-tinyflags.0.1.0/opam

(from macos-homebrew-ocaml-4.14)
2026-05-15 01:13.21 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache

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

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

/: (copy (src .) (dst opam-repository/))
2026-05-15 01:13.32 ---> saved as "1e55682ec857c2210929033831000d0f87d44855d97c9ec43027d5594b6e481f"

/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
default (at file:///Users/mac1000/opam-repository): 
    [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)

default (at file:///Users/mac1000/opam-repository): 
    [INFO] opam 2.5.1 includes security fixes; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2026-05-15 01:13.52 ---> saved as "adc8cad915a7c3ac85f8fc4dcd2e1d6b56a728601997f9a48a3e5ae7b061c9f3"

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

                                                                           0.7%
#                                                                          1.5%
#                                                                          2.3%
##                                                                         3.1%
- 
##                                                                         3.9%
###                                                                        5.0%
####                                                                       5.8%
####                                                                       6.6%
#####                                                                      7.5%
#####                                                                      8.3%
######                                                                     9.1%
#######                                                                    9.9%
#######                                                                   10.7%
########                                                                  11.6%
########                                                                  12.3%
- 
#########                                                                 12.9%
#########                                                                 13.8%
##########                                                                14.6%
###########                                                               15.4%
###########                                                               16.3%
############                                                              17.1%
#############                                                             18.1%
#############                                                             18.8%
#############                                                             19.2%
##############                                                            19.7%
- 
##############                                                            20.1%
##############                                                            20.5%
###############                                                           20.9%
###############                                                           21.4%
###############                                                           21.8%
################                                                          22.2%
################                                                          22.6%
################                                                          23.1%
################                                                          23.5%
#################                                                         23.9%
#################                                                         24.5%
- 
#################                                                         24.9%
##################                                                        25.3%
##################                                                        25.8%
##################                                                        26.2%
###################                                                       26.6%
###################                                                       27.0%
###################                                                       27.4%
####################                                                      27.9%
####################                                                      28.3%
####################                                                      28.7%
####################                                                      29.1%
- 
#####################                                                     29.5%
#####################                                                     30.0%
#####################                                                     30.4%
######################                                                    30.8%
######################                                                    31.2%
######################                                                    31.6%
#######################                                                   32.1%
#######################                                                   32.5%
#######################                                                   33.0%
########################                                                  33.4%
########################                                                  33.8%
- 
########################                                                  34.2%
########################                                                  34.7%
#########################                                                 35.2%
#########################                                                 35.6%
#########################                                                 36.0%
##########################                                                36.5%
##########################                                                36.9%
##########################                                                37.3%
###########################                                               37.7%
###########################                                               38.1%
###########################                                               38.5%
- 
############################                                              38.9%
############################                                              39.4%
############################                                              39.8%
############################                                              40.2%
#############################                                             40.6%
#############################                                             41.1%
#############################                                             41.5%
##############################                                            41.9%
##############################                                            42.3%
##############################                                            42.9%
###############################                                           43.3%
- 
###############################                                           43.7%
###############################                                           44.0%
################################                                          44.6%
################################                                          45.0%
################################                                          45.4%
################################                                          45.8%
#################################                                         46.2%
#################################                                         46.7%
#################################                                         47.1%
##################################                                        47.5%
##################################                                        47.9%
- 
##################################                                        48.3%
###################################                                       48.8%
###################################                                       49.2%
###################################                                       49.6%
###################################                                       50.0%
####################################                                      50.4%
####################################                                      50.9%
####################################                                      51.3%
#####################################                                     51.7%
#####################################                                     52.1%
- 
#####################################                                     52.6%
######################################                                    53.0%
######################################                                    53.4%
######################################                                    54.0%
#######################################                                   54.4%
#######################################                                   54.8%
#######################################                                   55.4%
########################################                                  55.8%
########################################                                  56.2%
########################################                                  56.7%
- 
#########################################                                 57.1%
#########################################                                 57.5%
#########################################                                 57.9%
##########################################                                58.5%
##########################################                                58.9%
##########################################                                59.4%
###########################################                               59.8%
###########################################                               60.2%
###########################################                               60.7%
###########################################                               61.1%
############################################                              61.5%
- 
############################################                              61.9%
############################################                              62.3%
#############################################                             62.8%
#############################################                             63.2%
#############################################                             63.8%
##############################################                            64.2%
##############################################                            64.5%
##############################################                            64.9%
###############################################                           65.4%
###############################################                           65.8%
###############################################                           66.2%
- 
###############################################                           66.6%
################################################                          67.2%
################################################                          67.6%
################################################                          68.0%
#################################################                         68.5%
#################################################                         68.9%
#################################################                         69.3%
##################################################                        69.7%
##################################################                        70.1%
##################################################                        70.5%
###################################################                       71.0%
- 
###################################################                       71.4%
###################################################                       71.8%
####################################################                      72.3%
####################################################                      72.7%
####################################################                      73.1%
####################################################                      73.5%
#####################################################                     74.1%
#####################################################                     74.5%
#####################################################                     75.0%
######################################################                    75.4%
- 
######################################################                    76.0%
#######################################################                   76.8%
#######################################################                   77.6%
########################################################                  78.5%
#########################################################                 79.3%
#########################################################                 80.1%
##########################################################                81.0%
##########################################################                81.8%
###########################################################               82.6%
############################################################              83.4%
############################################################              84.4%
- 
#############################################################             85.1%
#############################################################             85.9%
##############################################################            86.9%
###############################################################           87.7%
###############################################################           88.6%
################################################################          89.0%
################################################################          89.4%
################################################################          89.8%
#################################################################         90.3%
#################################################################         90.7%
#################################################################         91.1%
- 
#################################################################         91.5%
##################################################################        92.0%
##################################################################        92.4%
##################################################################        92.8%
###################################################################       93.2%
###################################################################       93.6%
###################################################################       94.0%
####################################################################      94.6%
####################################################################      95.0%
####################################################################      95.5%
#####################################################################     95.9%
- 
#####################################################################     96.3%
#####################################################################     96.7%
#####################################################################     97.1%
######################################################################    97.6%
######################################################################    98.0%
######################################################################    98.5%
#######################################################################   98.9%
#######################################################################   99.5%
#######################################################################   99.9%
######################################################################## 100.0%
- ==> Pouring portable-ruby-4.0.3.catalina.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-05-15 01:14.38 ---> saved as "213ccff3e9acc1e1524848b8eed00a27fd03e41dfa2b2200533bc63e269d8ebc"

/: (run (shell "opam pin add -k version -yn agentxm-example-tinyflags.0.1.0 0.1.0"))
agentxm-example-tinyflags is now pinned to version 0.1.0
2026-05-15 01:14.40 ---> saved as "8b1121cc2d964d2202172682f53d40ebbb9e16f020dbfd5ce6968f871ac2dc6a"

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell  "opam reinstall agentxm-example-tinyflags.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\" != 'agentxm-example-tinyflags.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"))
agentxm-example-tinyflags.0.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
  - install agentxm-example-tinyflags 0.1.0 (pinned)
  - install dune                      3.23.0         [required by agentxm-example-tinyflags]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved agentxm-example-tinyflags.0.1.0  (https://github.com/agentxm/agentxm-example-tinyflags-ocaml/releases/download/v0.1.0/agentxm-example-tinyflags-0.1.0.tar.gz)
-> retrieved dune.3.23.0  (cached)
-> installed dune.3.23.0
-> installed agentxm-example-tinyflags.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-15 01:15.41 ---> saved as "41535c97c26f67eeb32bf497a2624e0afd97464511602e0baf3ef67ebf153378"
Job succeeded
2026-05-15 01:15.52: Job succeeded