(for PR #28558)

2025-09-20 15:39.18: New job: test lwt_direct.6.0.0~beta00, using opam 2.2
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28558/head (7753d1b064e3a3d77a2b8675d3e040d70b50c1ff)
                              on debian-13-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-13-ocaml-5.3@sha256:d96959611c273d7e1726ccd221b4f5e95a02676bef62ee9cd5d6f638aaaa573f
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_direct.6.0.0~beta00 6.0.0~beta00
RUN opam reinstall lwt_direct.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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'lwt_direct.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_direct.6.0.0~beta00) || true
RUN opam reinstall --with-test --verbose lwt_direct.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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'lwt_direct.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-13-ocaml-5.3@sha256:d96959611c273d7e1726ccd221b4f5e95a02676bef62ee9cd5d6f638aaaa573f-lwt_direct.6.0.0~beta00-7753d1b064e3a3d77a2b8675d3e040d70b50c1ff"
2025-09-20 15:39.18: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.3@sha256:d96959611c273d7e1726ccd221b4f5e95a02676bef62ee9cd5d6f638aaaa573f)
 (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_direct.6.0.0~beta00 6.0.0~beta00"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lwt_direct.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-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_direct.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_direct.6.0.0~beta00) || true"))
 (run (shell  "opam reinstall --with-test --verbose lwt_direct.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-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_direct.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:40.39: Got resource from pool OCluster
Building on eumache
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-13-ocaml-5.3@sha256:d96959611c273d7e1726ccd221b4f5e95a02676bef62ee9cd5d6f638aaaa573f)
2025-09-20 15:40.48 ---> using "e5ce46144b4e25b3e363c3d09bd5c434fad1097e903303a843a6f78001c9b5bd" 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-09-20 15:40.48 ---> using "ad1c170142914665b9566c7798d6ab3a6950c826fc5485483827e141d7c53a82" 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-09-20 15:40.48 ---> using "e7693cb460353b056010e94d2fc6e1ae82aa633e59c6e57ca42068dbf1a48bc7" 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.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.48 ---> using "3c0afcabe284e503cb2f2bc7dac73d21509c3632b116fc9bcd7d7baafd9b242b" 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.48 ---> using "d85381150989a762e6179357a9dc49d10174b45df1bc5abd8d5595b525f60c27" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-09-20 15:40.51 ---> saved as "5f55e1e21d1695f544f7784e718c3175a4b4d483893d602a87d618d1b7dbcf42"

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

/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 [41.1 kB]
- Fetched 132 kB in 0s (639 kB/s)
- Reading package lists...
- 
2025-09-20 15:41.16 ---> saved as "f84f963c7f29f347ce90975fdb6e6f56a5594c3f11fc7f8c6a5d23319a04ce6f"

/home/opam: (run (shell "opam pin add -k version -yn lwt_direct.6.0.0~beta00 6.0.0~beta00"))
lwt_direct is now pinned to version 6.0.0~beta00
2025-09-20 15:41.17 ---> saved as "8a3d865de4a2e2722cf5d2fecff2e7fa9de696f6be5671dd64ed9bfc2a8c857c"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lwt_direct.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-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_direct.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_direct.6.0.0~beta00 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 10 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_direct]
  - install dune-configurator 3.20.2                [required by lwt]
  - install lwt               6.0.0~beta00          [required by lwt_direct]
  - install lwt_direct        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, lwt_direct.6.0.0~beta00  (cached)
-> 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
-> installed lwt_direct.6.0.0~beta00
Done.
# Run eval $(opam env) to update the current shell environment
2025-09-20 15:42.06 ---> saved as "0b8bfb8ba84c1d979d91cda63e504f7e96b9e4a1d63430bc8587e5ec877d0ace"

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   lwt_direct.6.0.0~beta00
-> installed lwt_direct.6.0.0~beta00
Done.
# Run eval $(opam env) to update the current shell environment
2025-09-20 15:42.12 ---> saved as "6fd6637aa679e750d99163956e01736edae07a2db06e5c72b832728ff9365775"

/home/opam: (run (shell  "opam reinstall --with-test --verbose lwt_direct.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-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_direct.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_direct 6.0.0~beta00 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [lwt_direct: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "lwt_direct" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/5.3/.opam-switch/build/lwt_direct.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/direct && ./main.exe)
- Testing library 'lwt_direct'...
- .............
- Ok. 13 tests ran, 0 tests skipped in 0.00 seconds
- (cd _build/default/test/multidomain && ./movingpromises.exe)
- moving-promises: ✓
- (cd _build/default/test/multidomain && ./domainworkers.exe)
- domain-workers: ✓
-> compiled  lwt_direct.6.0.0~beta00
-> removed   lwt_direct.6.0.0~beta00
-> installed lwt_direct.6.0.0~beta00
Done.
# Run eval $(opam env) to update the current shell environment
2025-09-20 15:42.19 ---> saved as "3649b8bf7c4a56a044334be6aa71c5524b7c42a75dd6a3f2255e4b416a22f762"
Job succeeded
2025-09-20 15:42.26: Job succeeded