(for PR #29905)

2026-05-15 01:13.06: New job: build agentxm-example-tinyflags.0.1.0, using opam 2.2
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29905/head (0a9a9e446f8a18b3bae4e1f8506be6b7511fea3b)
                              on debian-13-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 ocaml/opam:debian-13-ocaml-4.14@sha256:65f7aeb869c8b32e46996adadf189316a07738e10008b0c70acb456e8f2ff372
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.2 /usr/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 --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 "\"debian-13\""; 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 "ocaml/opam:debian-13-ocaml-4.14@sha256:65f7aeb869c8b32e46996adadf189316a07738e10008b0c70acb456e8f2ff372-agentxm-example-tinyflags.0.1.0-0a9a9e446f8a18b3bae4e1f8506be6b7511fea3b"
2026-05-15 01:13.06: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:65f7aeb869c8b32e46996adadf189316a07738e10008b0c70acb456e8f2ff372)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -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 --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 /home/opam/.opam/download-cache)))
      (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 \"\\\"debian-13\\\"\"; 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 08:14.38: Waiting for worker…
2026-05-15 08:18.59: Got resource from pool OCluster
Building on eumache.caelum.ci.dev
All commits already cached
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 ocaml/opam:debian-13-ocaml-4.14@sha256:65f7aeb869c8b32e46996adadf189316a07738e10008b0c70acb456e8f2ff372)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:65f7aeb869c8b32e46996adadf189316a07738e10008b0c70acb456e8f2ff372' locally
docker.io/ocaml/opam@sha256:65f7aeb869c8b32e46996adadf189316a07738e10008b0c70acb456e8f2ff372: Pulling from ocaml/opam
307f8152a55e: Pulling fs layer
53d481666795: Pulling fs layer
4ee22a5df705: Pulling fs layer
ae88ba2e7c99: Pulling fs layer
466fcae906a3: Pulling fs layer
024abae8c1ed: Pulling fs layer
d582ebdec32b: Pulling fs layer
aa12715098f1: Pulling fs layer
62299cb9f759: Pulling fs layer
a25072680c61: Pulling fs layer
43b56dd9ccf7: Pulling fs layer
244d3fc9f983: Pulling fs layer
c4fb47424a8f: Pulling fs layer
cf6798d648a4: Pulling fs layer
279a991ac05e: Pulling fs layer
cf66fc12d100: Pulling fs layer
024abae8c1ed: Waiting
d582ebdec32b: Waiting
aa12715098f1: Waiting
d39d0e8ae83c: Pulling fs layer
4b54e9cd8568: Pulling fs layer
f65d25bce8ea: Pulling fs layer
ae88ba2e7c99: Waiting
7d77baca5957: Pulling fs layer
4f4fb700ef54: Pulling fs layer
a99a940ecfac: Pulling fs layer
466fcae906a3: Waiting
f5264679c08b: Pulling fs layer
f2b70106109c: Pulling fs layer
b37088730bad: Pulling fs layer
62299cb9f759: Waiting
a25072680c61: Waiting
43b56dd9ccf7: Waiting
cbd33ffade5f: Pulling fs layer
244d3fc9f983: Waiting
c4fb47424a8f: Waiting
f1cf9ab18ca0: Pulling fs layer
cf6798d648a4: Waiting
87f3d72372a4: Pulling fs layer
279a991ac05e: Waiting
25d15f09ece2: Pulling fs layer
cf66fc12d100: Waiting
d39d0e8ae83c: Waiting
7d77baca5957: Waiting
4f4fb700ef54: Waiting
6304df60357e: Pulling fs layer
34a8ea3e9b48: Pulling fs layer
4b54e9cd8568: Waiting
f65d25bce8ea: Waiting
a0636f21098e: Pulling fs layer
9511add15c87: Pulling fs layer
cbd33ffade5f: Waiting
f5264679c08b: Waiting
963ec00065e9: Pulling fs layer
3a098b8178a5: Pulling fs layer
a99a940ecfac: Waiting
25d15f09ece2: Waiting
ca1c1d43252a: Pulling fs layer
6304df60357e: Waiting
34a8ea3e9b48: Waiting
ca50eb78767c: Pulling fs layer
f1cf9ab18ca0: Waiting
87f3d72372a4: Waiting
85fc1e77225e: Pulling fs layer
f2b70106109c: Waiting
088f7de253ad: Pulling fs layer
a0636f21098e: Waiting
963ec00065e9: Waiting
9511add15c87: Waiting
b37088730bad: Waiting
f81678710361: Pulling fs layer
ca1c1d43252a: Waiting
c251df858ba6: Pulling fs layer
7ecea4566dd7: Pulling fs layer
3a098b8178a5: Waiting
85fc1e77225e: Waiting
ca50eb78767c: Waiting
4787c633e57b: Pulling fs layer
c251df858ba6: Waiting
7ecea4566dd7: Waiting
4787c633e57b: Waiting
f81678710361: Waiting
088f7de253ad: Waiting
4ee22a5df705: Verifying Checksum
4ee22a5df705: Download complete
53d481666795: Verifying Checksum
53d481666795: Download complete
466fcae906a3: Verifying Checksum
466fcae906a3: Download complete
307f8152a55e: Verifying Checksum
307f8152a55e: Download complete
ae88ba2e7c99: Verifying Checksum
ae88ba2e7c99: Download complete
307f8152a55e: Pull complete
53d481666795: Pull complete
4ee22a5df705: Pull complete
ae88ba2e7c99: Pull complete
466fcae906a3: Pull complete
d582ebdec32b: Verifying Checksum
d582ebdec32b: Download complete
024abae8c1ed: Verifying Checksum
024abae8c1ed: Download complete
62299cb9f759: Download complete
43b56dd9ccf7: Verifying Checksum
43b56dd9ccf7: Download complete
a25072680c61: Verifying Checksum
a25072680c61: Download complete
244d3fc9f983: Verifying Checksum
244d3fc9f983: Download complete
c4fb47424a8f: Verifying Checksum
c4fb47424a8f: Download complete
cf6798d648a4: Download complete
279a991ac05e: Verifying Checksum
279a991ac05e: Download complete
cf66fc12d100: Verifying Checksum
cf66fc12d100: Download complete
d39d0e8ae83c: Verifying Checksum
d39d0e8ae83c: Download complete
aa12715098f1: Verifying Checksum
aa12715098f1: Download complete
4b54e9cd8568: Download complete
f65d25bce8ea: Verifying Checksum
f65d25bce8ea: Download complete
7d77baca5957: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
f5264679c08b: Verifying Checksum
f5264679c08b: Download complete
a99a940ecfac: Download complete
b37088730bad: Verifying Checksum
b37088730bad: Download complete
cbd33ffade5f: Verifying Checksum
cbd33ffade5f: Download complete
f1cf9ab18ca0: Verifying Checksum
f1cf9ab18ca0: Download complete
87f3d72372a4: Download complete
25d15f09ece2: Verifying Checksum
25d15f09ece2: Download complete
6304df60357e: Verifying Checksum
6304df60357e: Download complete
34a8ea3e9b48: Verifying Checksum
34a8ea3e9b48: Download complete
a0636f21098e: Verifying Checksum
a0636f21098e: Download complete
9511add15c87: Verifying Checksum
9511add15c87: Download complete
3a098b8178a5: Verifying Checksum
3a098b8178a5: Download complete
ca50eb78767c: Verifying Checksum
ca50eb78767c: Download complete
85fc1e77225e: Download complete
088f7de253ad: Download complete
963ec00065e9: Verifying Checksum
963ec00065e9: Download complete
c251df858ba6: Verifying Checksum
c251df858ba6: Download complete
7ecea4566dd7: Download complete
4787c633e57b: Verifying Checksum
4787c633e57b: Download complete
f81678710361: Verifying Checksum
f81678710361: Download complete
024abae8c1ed: Pull complete
ca1c1d43252a: Verifying Checksum
ca1c1d43252a: Download complete
d582ebdec32b: Pull complete
aa12715098f1: Pull complete
62299cb9f759: Pull complete
a25072680c61: Pull complete
43b56dd9ccf7: Pull complete
244d3fc9f983: Pull complete
c4fb47424a8f: Pull complete
cf6798d648a4: Pull complete
279a991ac05e: Pull complete
cf66fc12d100: Pull complete
d39d0e8ae83c: Pull complete
4b54e9cd8568: Pull complete
f65d25bce8ea: Pull complete
7d77baca5957: Pull complete
4f4fb700ef54: Pull complete
a99a940ecfac: Pull complete
f5264679c08b: Pull complete
f2b70106109c: Pull complete
b37088730bad: Pull complete
cbd33ffade5f: Pull complete
f1cf9ab18ca0: Pull complete
87f3d72372a4: Pull complete
25d15f09ece2: Pull complete
6304df60357e: Pull complete
34a8ea3e9b48: Pull complete
a0636f21098e: Pull complete
9511add15c87: Pull complete
963ec00065e9: Pull complete
3a098b8178a5: Pull complete
ca1c1d43252a: Pull complete
ca50eb78767c: Pull complete
85fc1e77225e: Pull complete
088f7de253ad: Pull complete
f81678710361: Pull complete
c251df858ba6: Pull complete
7ecea4566dd7: Pull complete
4787c633e57b: Pull complete
Digest: sha256:65f7aeb869c8b32e46996adadf189316a07738e10008b0c70acb456e8f2ff372
Status: Downloaded newer image for ocaml/opam@sha256:65f7aeb869c8b32e46996adadf189316a07738e10008b0c70acb456e8f2ff372
2026-05-15 08:19.02 ---> using "7456a65408abcb270d19c6f5b4664cc862ce7cc44d7bef6314a4e3d98b2635cd" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2026-05-15 08:19.03 ---> saved as "ad7fd2d00ecef9003bac8a30567a511f9c334b12c853adcde9b76e6ebeeadd5a"

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from 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 development version of opam requires an update to the layout of /home/opam/.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:///home/opam/opam-repository
2026-05-15 08:19.17 ---> saved as "ed121b4457334d79f1746cef50c57f78b45686503a2f6f7ee536f5d007988382"

/home/opam: (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.2.1 (01e9a24a61e23e42d513b4b775d8c30c807439b2)
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     
# upgrade-criteria     
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ocaml-base-compiler = 4.14.3
# compiler-packages    ocaml-base-compiler.4.14.3, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.3
2026-05-15 08:19.19 ---> saved as "bdce603d5aff354c46f4259155fb116f41b58ae2ffe9117e40eb2a1f6efe6658"

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2026-05-15 08:19.28 ---> saved as "cc4ee689c5272cc2b973d28cd829272cd9532458a5181afd5b311807d8759867"

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-15 08:19.53 ---> saved as "60ec8124bd49079f5df8e34b3bbca2a9c79d62e54da91446f97ef52ae56d235a"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-15 08:20.05 ---> saved as "c70f10bad1e63bc84c59c48a03973ead8c65c94374f848b5e6f6b03d22ed5362"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [161 kB]
- Fetched 252 kB in 1s (352 kB/s)
- Reading package lists...
- 
2026-05-15 08:20.07 ---> saved as "af1d993706750a9f3ad06a0a679935f0443e5f30a20b7e33421774a6325facd6"

/home/opam: (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 08:20.08 ---> saved as "a9f34ef0269dfe5c5dd10f88001e3cd12e09687cbe0a3b0d9d0f1092050d849c"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (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 \"\\\"debian-13\\\"\"; 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  (cached)
-> retrieved dune.3.23.0  (cached)
-> installed dune.3.23.0
-> installed agentxm-example-tinyflags.0.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2026-05-15 08:20.46 ---> saved as "6b735866f91999ca4b39032aa8237fa4f449a18706da48d20ba0a9df3b335f3e"
Job succeeded
2026-05-15 08:20.51: Job succeeded