(for PR #29147)

2025-12-30 15:41.49: New job: test lwt_runtime_events.6.0.0, using opam 2.2
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29147/head (a9c2dfa8be3eba34b7f4bd01fa139b8e6d829c91)
                              on debian-13-ocaml-5.4/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.4@sha256:4b8c7632b913b4384d00bda7a80a6abca052753710bcd7a467ca0372adb1a083
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 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.49: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:4b8c7632b913b4384d00bda7a80a6abca052753710bcd7a467ca0372adb1a083-lwt_runtime_events.6.0.0-a9c2dfa8be3eba34b7f4bd01fa139b8e6d829c91"
2025-12-30 15:41.49: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:4b8c7632b913b4384d00bda7a80a6abca052753710bcd7a467ca0372adb1a083)
 (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 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.49: Waiting for resource in pool OCluster
2025-12-30 15:43.20: Waiting for worker…
2025-12-30 15:47.30: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
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.4@sha256:4b8c7632b913b4384d00bda7a80a6abca052753710bcd7a467ca0372adb1a083)
2025-12-30 15:47.49 ---> using "92a4868cef67203ec83e505d6e143939fe2b26f936d185df29fc7fc62ef6a0b1" 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"))
2025-12-30 15:47.49 ---> using "562fdeda9e604b8172930ab2f0f492083b91e18ecc0a42ddbe83aee7e983a968" 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 development 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:47.49 ---> using "33ca01a0ffe817d31bd5f098ae5237aeeeab95b1ac63c3ea213c8e7e4b67e4d2" 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.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       5.4
# invariant            ocaml-base-compiler >= 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       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0
2025-12-30 15:47.49 ---> using "bcdb9b8ba8ac1c1cbeb9498c581437ff40c893c30a4d6e017a8d15a0adf18aae" 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:47.49 ---> using "1b315e0c57e4ba7723dc0679f0a22ed54b9be4718a83d94cb14caef6f3283860" from cache

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

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

/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 (846 kB/s)
- Reading package lists...
- 
2025-12-30 15:48.29 ---> saved as "0d83ea74c9bc96c7dc4b58081eb1af6e1bb4981c121ced1b6febf3dcddccf398"

/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:48.30 ---> saved as "c3ff772527b7a8f5afc8510cdfeb9c4f83d4d6b27a7f4bbb81727955751ff713"

/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.
# Run eval $(opam env) to update the current shell environment
2025-12-30 15:49.04 ---> saved as "3c55df42f953a0b660dcd2f64089ae888546da12469c53dce34164a66eaf487b"

/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.
# Run eval $(opam env) to update the current shell environment
2025-12-30 15:49.10 ---> saved as "76603206f2d4f22a8a227a583d491fb4db418d89451c7e380e9d04d4b8cdb91d"

/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.4/.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.
# Run eval $(opam env) to update the current shell environment
2025-12-30 15:49.17 ---> saved as "32c57d7d823d9e1b096ecaa7512a2448f6b520072bdb77545ff02572bf48647a"
Job succeeded
2025-12-30 15:49.44: Job succeeded