(for PR #28558)

2025-09-20 15:39.18: New job: test lwt.6.0.0~beta00, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28558/head (7753d1b064e3a3d77a2b8675d3e040d70b50c1ff)
                              on debian-testing-ocaml-5.3/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/28558/head" && git reset --hard 7753d1b0
git fetch origin master
git merge --no-edit 80e086fd6fc3ef5ff89cb76d9fba5b20394f0eeb
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-testing-ocaml-5.3@sha256:b7002f8485fbbdcb4d23ce9b77fc1069c96a95aed54c5f141a42932ad32d8956
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.6.0.0~beta00 6.0.0~beta00
RUN opam reinstall lwt.6.0.0~beta00; \
    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-testing\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'lwt.6.0.0~beta00' && 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.6.0.0~beta00) || true
RUN opam reinstall --with-test --verbose lwt.6.0.0~beta00; \
    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-testing\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'lwt.6.0.0~beta00' && 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-09-20 15:39.18: Using cache hint "ocaml/opam:debian-testing-ocaml-5.3@sha256:b7002f8485fbbdcb4d23ce9b77fc1069c96a95aed54c5f141a42932ad32d8956-lwt.6.0.0~beta00-7753d1b064e3a3d77a2b8675d3e040d70b50c1ff"
2025-09-20 15:39.18: Using OBuilder spec:
((from ocaml/opam:debian-testing-ocaml-5.3@sha256:b7002f8485fbbdcb4d23ce9b77fc1069c96a95aed54c5f141a42932ad32d8956)
 (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.6.0.0~beta00 6.0.0~beta00"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lwt.6.0.0~beta00;\
             \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-testing\\\"\"; 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.6.0.0~beta00' && 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.6.0.0~beta00) || true"))
 (run (shell  "opam reinstall --with-test --verbose lwt.6.0.0~beta00;\
             \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-testing\\\"\"; 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.6.0.0~beta00' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-09-20 15:39.18: Waiting for resource in pool OCluster
2025-09-20 15:39.19: Waiting for worker…
2025-09-20 15:39.20: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 80e086fd6f Merge pull request #28533 from ejgallego/release-coq-lsp-0.2.4+9.0
Updating 80e086fd6f..7753d1b064
Fast-forward
 packages/lwt/lwt.6.0.0~beta00/opam               | 67 ++++++++++++++++++++++++
 packages/lwt_direct/lwt_direct.6.0.0~beta00/opam | 42 +++++++++++++++
 2 files changed, 109 insertions(+)
 create mode 100644 packages/lwt/lwt.6.0.0~beta00/opam
 create mode 100644 packages/lwt_direct/lwt_direct.6.0.0~beta00/opam

(from ocaml/opam:debian-testing-ocaml-5.3@sha256:b7002f8485fbbdcb4d23ce9b77fc1069c96a95aed54c5f141a42932ad32d8956)
2025-09-20 15:40.05 ---> using "8e8c121db5c36f01129f3745b3b8c9190445d2380e17639c42efb6c8261eb1dd" 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-09-20 15:40.05 ---> using "f07a56566faf8a5cc8df53e5681335eb7affcea0eb21befdde5aed3a7d2d76a0" 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-09-20 15:40.05 ---> using "cd05b997a40b333dfa40ed3db04ebf5bae973d472f03529ca4fd2f90330eec60" 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.1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=unknown
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# 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-09-20 15:40.05 ---> using "890795340568925f6e20d68de3ec777e2cbf7c36714276ec329db153eb2f1946" 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-09-20 15:40.05 ---> using "b6fbe2677200aadd8452ac7ab106464dcea3c3634111612f5ed8219507edb76c" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-09-20 15:40.20 ---> saved as "8eff51062a32dfe9e5539e0278606e22a09727322cd0ba4e4b3440fbb943bef7"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-09-20 15:40.37 ---> saved as "9c8f2b87c18bece52cda748c8f333e2d84eed9240c730e8e812f6a321c088053"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian testing InRelease [147 kB]
- Get:2 http://deb.debian.org/debian testing-updates InRelease [45.1 kB]
- Get:3 http://deb.debian.org/debian-security testing-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian testing/main amd64 Packages.diff/Index [63.6 kB]
- Get:5 http://deb.debian.org/debian testing/main amd64 Packages T-2025-09-20-1418.21-F-2025-09-13-1417.43.pdiff [665 kB]
- Get:5 http://deb.debian.org/debian testing/main amd64 Packages T-2025-09-20-1418.21-F-2025-09-13-1417.43.pdiff [665 kB]
- Fetched 965 kB in 3s (318 kB/s)
- Reading package lists...
2025-09-20 15:40.41 ---> saved as "8183f7ba525a4fe1901a6bc062ba9a69291686608225253b592f50f52a64f434"

/home/opam: (run (shell "opam pin add -k version -yn lwt.6.0.0~beta00 6.0.0~beta00"))
lwt is now pinned to version 6.0.0~beta00
2025-09-20 15:40.42 ---> saved as "9a3ea6842fb56131a79412349aec737054e3fffcd5a6ecb6b317a92c4b68c063"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lwt.6.0.0~beta00;\
                        \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-testing\\\"\"; 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.6.0.0~beta00' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
lwt.6.0.0~beta00 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 9 packages
  - install base-bytes        base                  [required by ocplib-endian]
  - install cppo              1.8.0                 [required by lwt]
  - install csexp             1.5.2                 [required by dune-configurator]
  - install domain_shims      0.1.0                 [required by lwt]
  - install dune              3.20.2                [required by lwt]
  - install dune-configurator 3.20.2                [required by lwt]
  - install lwt               6.0.0~beta00 (pinned)
  - install ocamlfind         1.9.8                 [required by base-bytes]
  - install ocplib-endian     1.2                   [required by lwt]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved domain_shims.0.1.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> retrieved lwt.6.0.0~beta00  (https://github.com/ocsigen/lwt/archive/refs/tags/6.0.0-beta00.tar.gz)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.20.2
-> installed domain_shims.0.1.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.20.2
-> installed lwt.6.0.0~beta00
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-20 15:41.14 ---> saved as "7dd6e20f923fe9c0e4d89b8bb01b8be6a66a5ac756fefc643d1abadf6e5082bf"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   lwt.6.0.0~beta00
-> installed lwt.6.0.0~beta00
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-20 15:41.26 ---> saved as "2641331f3471cbe829518302af3e8f72325936755ef8a292e63b74203092de87"

/home/opam: (run (shell  "opam reinstall --with-test --verbose lwt.6.0.0~beta00;\
                        \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-testing\\\"\"; 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.6.0.0~beta00' && 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 6.0.0~beta00 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [lwt: dune exec]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "exec" "-p" "lwt" "src/unix/config/discover.exe" "--" "--save" "--use-libev" "false" (CWD=/home/opam/.opam/5.3/.opam-switch/build/lwt.6.0.0~beta00)
Processing  2/4: [lwt: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "lwt" "-j" "255" "@install" "@runtest" (CWD=/home/opam/.opam/5.3/.opam-switch/build/lwt.6.0.0~beta00)
- (cd _build/default/test/multidomain && ./unixpipe.exe)
- unixpipe: ✓
- (cd _build/default/test/multidomain && ./preempting.exe)
- preempting: ✓
- (cd _build/default/test/multidomain && ./basic.exe)
- basic: ✓
- (cd _build/default/test/multidomain && ./movingpromises.exe)
- moving-promises: ✓
- (cd _build/default/test/multidomain && ./domainworkers.exe)
- domain-workers: ✓
- (cd _build/default/test/core && ./main.exe)
- Testing library 'core'...
- .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSS..................................................................................................................................................
- Ok. 697 tests ran, 23 tests skipped in 0.15 seconds
- (cd _build/default/test/unix && ./main.exe)
- Testing library 'unix'...
- .............................................................................SSSS..........................................
- Ok. 119 tests ran, 4 tests skipped in 6.01 seconds
-> compiled  lwt.6.0.0~beta00
-> removed   lwt.6.0.0~beta00
-> installed lwt.6.0.0~beta00
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-20 15:41.38 ---> saved as "298799093c6687aa1c938ebba80403371ddfc8eabe0e3b3dbd55c10d4c267b76"
Job succeeded
2025-09-20 15:41.43: Job succeeded