(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-5.4/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/29905/head" && git reset --hard 0a9a9e44
git fetch origin master
git merge --no-edit adfd36b5d12830043a1f66dbf8d5a820e784fb8f
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 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-5.4-agentxm-example-tinyflags.0.1.0-0a9a9e446f8a18b3bae4e1f8506be6b7511fea3b"
2026-05-15 01:13.06: 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 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 m1-worker-02
Updating files:  65% (11630/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:  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-5.4)
2026-05-15 01:13.13 ---> using "338135fbf1889e924a607b47198b8b308c32a925cc9436066d65a9bdc402cad5" from cache

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

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

/: (copy (src .) (dst opam-repository/))
2026-05-15 01:13.18 ---> saved as "cdc2481092bf776a34fab48f480a943a68d4bfc53e4340e2e06ded15f3e40a78"

/: (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.28 ---> saved as "0522e5cc9ce82bac42b988b014dd04d2ffb9e97639a81e0f08700326bda1bfa7"

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

                                                                           0.0%
                                                                           0.8%
#                                                                          1.6%
#                                                                          2.4%
##                                                                         3.2%
##                                                                         4.1%
###                                                                        4.8%
####                                                                       5.6%
- 
####                                                                       6.4%
#####                                                                      7.3%
#####                                                                      8.1%
######                                                                     8.9%
######                                                                     9.6%
#######                                                                   10.5%
########                                                                  11.3%
########                                                                  12.1%
#########                                                                 13.0%
#########                                                                 13.8%
##########                                                                14.5%
- 
###########                                                               15.3%
###########                                                               16.2%
############                                                              17.0%
############                                                              17.8%
#############                                                             18.5%
#############                                                             19.4%
##############                                                            20.3%
###############                                                           21.1%
###############                                                           21.9%
################                                                          22.7%
################                                                          23.6%
- 
#################                                                         24.5%
##################                                                        25.3%
##################                                                        26.0%
###################                                                       26.8%
###################                                                       27.7%
####################                                                      28.5%
#####################                                                     29.3%
#####################                                                     30.2%
######################                                                    30.9%
######################                                                    31.7%
#######################                                                   32.6%
########################                                                  33.4%
- 
########################                                                  34.3%
#########################                                                 35.1%
#########################                                                 35.8%
##########################                                                36.7%
###########################                                               37.5%
###########################                                               38.3%
############################                                              39.2%
############################                                              40.1%
#############################                                             40.9%
#############################                                             41.7%
##############################                                            42.4%
- 
###############################                                           43.3%
###############################                                           44.1%
################################                                          44.9%
################################                                          45.7%
#################################                                         46.6%
##################################                                        47.3%
##################################                                        48.1%
###################################                                       48.9%
###################################                                       49.8%
####################################                                      50.7%
#####################################                                     51.5%
- 
#####################################                                     52.2%
######################################                                    53.1%
######################################                                    53.9%
#######################################                                   54.7%
#######################################                                   55.5%
########################################                                  56.4%
#########################################                                 57.2%
#########################################                                 57.9%
##########################################                                58.7%
##########################################                                59.6%
###########################################                               60.4%
- 
############################################                              61.2%
############################################                              61.9%
#############################################                             62.8%
#############################################                             63.6%
##############################################                            64.4%
##############################################                            65.2%
###############################################                           66.1%
################################################                          66.8%
################################################                          67.6%
#################################################                         68.4%
#################################################                         69.0%
- 
##################################################                        69.9%
##################################################                        70.7%
###################################################                       71.2%
###################################################                       72.0%
####################################################                      72.9%
#####################################################                     73.7%
#####################################################                     74.5%
######################################################                    75.4%
######################################################                    76.1%
#######################################################                   76.8%
#######################################################                   77.2%
- 
#######################################################                   77.6%
########################################################                  78.1%
########################################################                  78.5%
########################################################                  78.9%
#########################################################                 79.2%
#########################################################                 79.6%
#########################################################                 80.1%
#########################################################                 80.5%
##########################################################                80.9%
##########################################################                81.3%
##########################################################                81.7%
- 
###########################################################               82.1%
###########################################################               82.5%
###########################################################               83.0%
############################################################              83.4%
############################################################              83.8%
############################################################              84.1%
############################################################              84.5%
#############################################################             84.9%
#############################################################             85.3%
#############################################################             85.8%
##############################################################            86.2%
- 
##############################################################            86.6%
##############################################################            87.0%
##############################################################            87.4%
###############################################################           87.9%
###############################################################           88.3%
###############################################################           88.7%
################################################################          89.1%
################################################################          89.4%
################################################################          90.0%
#################################################################         90.3%
#################################################################         90.7%
- 
#################################################################         91.1%
#################################################################         91.5%
##################################################################        91.9%
##################################################################        92.4%
##################################################################        92.8%
###################################################################       93.2%
###################################################################       93.6%
###################################################################       94.0%
####################################################################      94.5%
####################################################################      94.9%
####################################################################      95.3%
####################################################################      95.6%
- 
#####################################################################     96.0%
#####################################################################     96.5%
#####################################################################     96.9%
######################################################################    97.3%
######################################################################    97.7%
######################################################################    98.1%
######################################################################    98.5%
#######################################################################   99.0%
#######################################################################   99.4%
#######################################################################   99.8%
######################################################################## 100.0%
- ==> Pouring portable-ruby-4.0.3.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.
2026-05-15 01:14.03 ---> saved as "5ca083f3952b140ef35387810e547b9cfea807cca977c9e716adb9aae3dd4112"

/: (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.04 ---> saved as "0e4b5650b6d03a8e545f1a9f9ea34eff5759521ca6b74c09934ad51a2d33682b"

/: (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:14.45 ---> saved as "c84ea911bc5c9f4b1a9d57e398904f32a7c6f99d4e09bff59166f76ed66ba7fd"
Job succeeded
2026-05-15 01:14.52: Job succeeded