(for PR #29147)

2025-12-30 15:41.47: New job: test lwt_runtime_events.6.0.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29147/head (a9c2dfa8be3eba34b7f4bd01fa139b8e6d829c91)
                              on debian-13-ocaml-5.1/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/29147/head" && git reset --hard a9c2dfa8
git fetch origin master
git merge --no-edit f2d102f951a5dc2af6db218c6aef53c80186295a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.1@sha256:a06d01f1810e15579674dbcbbb9196b2dba499c115e174baa6b38d2d6c195b8c
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 lwt_runtime_events.6.0.0 6.0.0
RUN opam reinstall lwt_runtime_events.6.0.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" != 'lwt_runtime_events.6.0.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test lwt_runtime_events.6.0.0) || true
RUN opam reinstall --with-test --verbose lwt_runtime_events.6.0.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" != 'lwt_runtime_events.6.0.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-12-30 15:41.47: Using cache hint "ocaml/opam:debian-13-ocaml-5.1@sha256:a06d01f1810e15579674dbcbbb9196b2dba499c115e174baa6b38d2d6c195b8c-lwt_runtime_events.6.0.0-a9c2dfa8be3eba34b7f4bd01fa139b8e6d829c91"
2025-12-30 15:41.47: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.1@sha256:a06d01f1810e15579674dbcbbb9196b2dba499c115e174baa6b38d2d6c195b8c)
 (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 lwt_runtime_events.6.0.0 6.0.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lwt_runtime_events.6.0.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\" != 'lwt_runtime_events.6.0.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test lwt_runtime_events.6.0.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose lwt_runtime_events.6.0.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\" != 'lwt_runtime_events.6.0.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-12-30 15:41.47: Waiting for resource in pool OCluster
2025-12-30 15:41.49: Waiting for worker…
2025-12-30 15:41.49: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at f2d102f951 Merge pull request #29150 from raphael-proust/llvm-20-21-only-cosmetics
Merge made by the 'ort' strategy.
 packages/lwt/lwt.6.0.0/opam                        | 64 ++++++++++++++++++++++
 packages/lwt_direct/lwt_direct.6.0.0/opam          | 41 ++++++++++++++
 packages/lwt_ppx/lwt_ppx.6.0.0/opam                | 46 ++++++++++++++++
 .../lwt_runtime_events.6.0.0/opam                  | 39 +++++++++++++
 4 files changed, 190 insertions(+)
 create mode 100644 packages/lwt/lwt.6.0.0/opam
 create mode 100644 packages/lwt_direct/lwt_direct.6.0.0/opam
 create mode 100644 packages/lwt_ppx/lwt_ppx.6.0.0/opam
 create mode 100644 packages/lwt_runtime_events/lwt_runtime_events.6.0.0/opam

(from ocaml/opam:debian-13-ocaml-5.1@sha256:a06d01f1810e15579674dbcbbb9196b2dba499c115e174baa6b38d2d6c195b8c)
2025-12-30 15:43.02 ---> using "be8dbd40e83bc18106059f60d056b408300ce97198bc1a20d42c3edc343c0e83" 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-12-30 15:43.02 ---> using "546534b5e0d8818e5fc735219c253059d641bfb38f16152491cc4631024a71d9" 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-12-30 15:43.02 ---> using "5eefbd5200dd47a1559da0d5a46335084f2b8dc102c0560605645bf224f812dc" 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.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.1
# invariant            ["ocaml-base-compiler" {= "5.1.1"}]
# compiler-packages    ocaml-base-compiler.5.1.1, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.1/lib/ocaml/stublibs:/home/opam/.opam/5.1/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.1.1
2025-12-30 15:43.02 ---> using "5162af2749a911c183c00cc74aa48f60b207a631760d7ea088d3707a114e4770" 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-12-30 15:43.02 ---> using "94f3bcd7ccf46d4e830d2ab6462bf5e4d8cedad14d2a8948c7dc3fd75c3e1121" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-30 15:43.04 ---> saved as "daf98482bb6bda7e6cf5ac3203c09d90d2fedff49cfc7b90b3005e40e9648a09"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-30 15:43.23 ---> saved as "49bbdf9cc98e421b04aad7919a7cb3a7667a8f5cf89b03abe95ecf4988802f75"

/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]
- Fetched 90.7 kB in 0s (1173 kB/s)
- Reading package lists...
2025-12-30 15:43.25 ---> saved as "c806aded34a16ca2ff4e4f91b5779d0ffbadf01a04e88cd34c2febbe02376688"

/home/opam: (run (shell "opam pin add -k version -yn lwt_runtime_events.6.0.0 6.0.0"))
lwt_runtime_events is now pinned to version 6.0.0
2025-12-30 15:43.25 ---> saved as "d6272132ecfafb2e0014b1e406d6def4c6b1ab487d24e328857d92495a693041"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lwt_runtime_events.6.0.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\" != 'lwt_runtime_events.6.0.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
lwt_runtime_events.6.0.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
  - install dune               3.20.2         [required by lwt_runtime_events]
  - install lwt_runtime_events 6.0.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.20.2  (cached)
-> retrieved lwt_runtime_events.6.0.0  (cached)
-> installed dune.3.20.2
-> installed lwt_runtime_events.6.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-30 15:43.54 ---> saved as "a561519ea3f898831357a4706b276fefc8a3b59601fc64c9e37b2601a3573f3c"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test lwt_runtime_events.6.0.0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile lwt_runtime_events 6.0.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   lwt_runtime_events.6.0.0
-> installed lwt_runtime_events.6.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-30 15:43.59 ---> saved as "425815f99dd7bb91d92e96f71b28f67be22bc8ee92c8baa29dc1e704278fd79a"

/home/opam: (run (shell  "opam reinstall --with-test --verbose lwt_runtime_events.6.0.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\" != 'lwt_runtime_events.6.0.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile lwt_runtime_events 6.0.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [lwt_runtime_events: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "lwt_runtime_events" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/5.1/.opam-switch/build/lwt_runtime_events.6.0.0)
-> compiled  lwt_runtime_events.6.0.0
-> removed   lwt_runtime_events.6.0.0
-> installed lwt_runtime_events.6.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-30 15:44.04 ---> saved as "18ee9673f585713e4a6c32e712a98a7211d61339ef3321191d6cc13508fad4db"
Job succeeded
2025-12-30 15:44.19: Job succeeded