(for PR #27984)

2025-06-04 00:55.36: New job: build runtime_events_tools_bare.0.5.2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27984/head (9e2b2f55a32eeb63c1566ddc5da11e048a0b45a9)
                              on debian-12-ocaml-5.3/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/27984/head" && git reset --hard 9e2b2f55
git fetch origin master
git merge --no-edit c037675bed027195b802bf40b1840ece3feb3b2a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:d99fd8128a7448a16cfeccfa6f8e34c796d6bc7608f349426bfb743e069e5372
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /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 runtime_events_tools_bare.0.5.2 0.5.2
RUN opam reinstall runtime_events_tools_bare.0.5.2; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'runtime_events_tools_bare.0.5.2' && 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-06-04 00:55.36: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:d99fd8128a7448a16cfeccfa6f8e34c796d6bc7608f349426bfb743e069e5372-runtime_events_tools_bare.0.5.2-9e2b2f55a32eeb63c1566ddc5da11e048a0b45a9"
2025-06-04 00:55.36: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:d99fd8128a7448a16cfeccfa6f8e34c796d6bc7608f349426bfb743e069e5372)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /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 runtime_events_tools_bare.0.5.2 0.5.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall runtime_events_tools_bare.0.5.2;\
             \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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'runtime_events_tools_bare.0.5.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-06-04 00:55.36: Waiting for resource in pool OCluster
2025-06-04 00:55.36: Waiting for worker…
2025-06-04 00:55.36: Got resource from pool OCluster
Building on okypous.caelum.ci.dev
Updating files:  79% (18429/23181)
Updating files:  80% (18545/23181)
Updating files:  81% (18777/23181)
Updating files:  82% (19009/23181)
Updating files:  83% (19241/23181)
Updating files:  84% (19473/23181)
Updating files:  85% (19704/23181)
Updating files:  86% (19936/23181)
Updating files:  87% (20168/23181)
Updating files:  88% (20400/23181)
Updating files:  89% (20632/23181)
Updating files:  90% (20863/23181)
Updating files:  91% (21095/23181)
Updating files:  92% (21327/23181)
Updating files:  93% (21559/23181)
Updating files:  94% (21791/23181)
Updating files:  95% (22022/23181)
Updating files:  96% (22254/23181)
Updating files:  97% (22486/23181)
Updating files:  98% (22718/23181)
Updating files:  99% (22950/23181)
Updating files: 100% (23181/23181)
Updating files: 100% (23181/23181), done.
HEAD is now at 38bbbf2851 [new release] ppx_unreachable (1.1)
HEAD is now at c037675bed Merge pull request #27980 from jmid/conf-freeglut-typo
Updating c037675bed..9e2b2f55a3
Fast-forward
 .../runtime_events_tools.0.5.2/opam                | 44 ++++++++++++++++++++++
 .../runtime_events_tools_bare.0.5.2/opam           | 39 +++++++++++++++++++
 2 files changed, 83 insertions(+)
 create mode 100644 packages/runtime_events_tools/runtime_events_tools.0.5.2/opam
 create mode 100644 packages/runtime_events_tools_bare/runtime_events_tools_bare.0.5.2/opam

(from ocaml/opam:debian-12-ocaml-5.3@sha256:d99fd8128a7448a16cfeccfa6f8e34c796d6bc7608f349426bfb743e069e5372)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:d99fd8128a7448a16cfeccfa6f8e34c796d6bc7608f349426bfb743e069e5372' locally
docker.io/ocaml/opam@sha256:d99fd8128a7448a16cfeccfa6f8e34c796d6bc7608f349426bfb743e069e5372: Pulling from ocaml/opam
c6295d31e3ed: Pulling fs layer
c6295d31e3ed: Verifying Checksum
c6295d31e3ed: Download complete
c6295d31e3ed: Pull complete
Digest: sha256:d99fd8128a7448a16cfeccfa6f8e34c796d6bc7608f349426bfb743e069e5372
Status: Downloaded newer image for ocaml/opam@sha256:d99fd8128a7448a16cfeccfa6f8e34c796d6bc7608f349426bfb743e069e5372
2025-06-04 00:55.41 ---> using "5c1fabf4ad593eb1adf4adf902048b3e6962c07d23d0efc955484f63cb1a92ce" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-06-04 00:55.41 ---> using "cbd219d8cc253e5c4ca1fc1fed658a33a1bdb115da617c5752e54270b607aa08" from cache

/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 version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-04 00:55.41 ---> using "99535fa9134a02ca95857635a3acb084b454d2d4972c8669b3cea1fcc876d75c" from cache

/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.4.0~alpha2
# self-upgrade         no
# system               arch=arm64 os=linux os-distribution=debian os-version=12
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 79
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.3
# invariant            ["ocaml-base-compiler" {= "5.3.0"}]
# compiler-packages    ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.3.0
2025-06-04 00:55.41 ---> using "5a236a25e1c5117a333c0707990f699bec34244219d412c3dee8b04c2ef241f9" from cache

/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/"))
2025-06-04 00:55.41 ---> using "7b228cdac7d01373007e4a0a346d87a9b33711d4934602b3494e299f76ff3291" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-06-04 00:55.50 ---> saved as "8ceb2b42d9ce89fcc58007a8b1a60b2f39842124e64ae268f92b416f84d78bb6"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-04 00:56.14 ---> saved as "9bcfb7184f96b5c4465a4f1f2c093a3625a0d45d8887bf1ef393a7f2c195a857"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [261 kB]
- Fetched 364 kB in 0s (882 kB/s)
- Reading package lists...
- 
2025-06-04 00:56.15 ---> saved as "fbb5e04a7ae920d259f659da92549c367d4ca6881c0be9f462ccd394a5ba5a13"

/home/opam: (run (shell "opam pin add -k version -yn runtime_events_tools_bare.0.5.2 0.5.2"))
runtime_events_tools_bare is now pinned to version 0.5.2
2025-06-04 00:56.16 ---> saved as "70d063e8cdb7a6c76d43e034527277b88a2108ce28117633d5bfc6161ec26c7b"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall runtime_events_tools_bare.0.5.2;\
                        \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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'runtime_events_tools_bare.0.5.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
runtime_events_tools_bare.0.5.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 3 packages
  - install cmdliner                  1.3.0          [required by runtime_events_tools_bare]
  - install dune                      3.19.0         [required by runtime_events_tools_bare]
  - install runtime_events_tools_bare 0.5.2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved dune.3.19.0  (cached)
-> retrieved runtime_events_tools_bare.0.5.2  (https://github.com/tarides/runtime_events_tools/releases/download/0.5.2/runtime_events_tools-0.5.2.tbz)
-> installed cmdliner.1.3.0
-> installed dune.3.19.0
-> installed runtime_events_tools_bare.0.5.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-04 00:56.48 ---> saved as "d6008aea4a82ca5d4d3adcc98ea6ef723641e154f1c7ff2862a4f920953a5f60"
Job succeeded
2025-06-04 00:57.03: Job succeeded