(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-13-ocaml-4.14-nnpchecker/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-4.14-nnpchecker@sha256:f1c06627cfbf5a03ccceea92316a5f6963e3aa26c61faf983439c7217299ae29
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-13\""; 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-13\""; 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-13-ocaml-4.14-nnpchecker@sha256:f1c06627cfbf5a03ccceea92316a5f6963e3aa26c61faf983439c7217299ae29-lwt.6.0.0~beta00-7753d1b064e3a3d77a2b8675d3e040d70b50c1ff"
2025-09-20 15:39.18: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14-nnpchecker@sha256:f1c06627cfbf5a03ccceea92316a5f6963e3aa26c61faf983439c7217299ae29)
 (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-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.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-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.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.27: Got resource from pool OCluster
Building on clete.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-13-ocaml-4.14-nnpchecker@sha256:f1c06627cfbf5a03ccceea92316a5f6963e3aa26c61faf983439c7217299ae29)
2025-09-20 15:41.01 ---> using "3a7c0bc2b34a2981e7344427a36cab808e508722f8a787bf76873217c8c86f71" 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:41.01 ---> using "7d96faa72e19edbdda8e9207d2d66ee6a2a712d6475d0a0ab8ac2d687b51cbd2" 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:41.01 ---> using "2cfb79f0625dfcd67b50487be590483718b3aa22a6f6c573f5781f80e85597f0" 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=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       4.14
# invariant            ["ocaml-options-only-nnpchecker"]
# compiler-packages    ocaml-option-nnpchecker.1, ocaml-options-only-nnpchecker.1, ocaml-variants.4.14.2+options
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2+options
2025-09-20 15:41.01 ---> using "18086e22986b40c8e111d95096f3629a3ca3a2f09aefe9c6e5b2c484bb372a6b" 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:41.01 ---> using "603599f3aa6c98ee9f14083d36dce4ac3363ba1ee7054d3a4f5e4367f0216cac" from cache

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

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

/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 (1379 kB/s)
- Reading package lists...
2025-09-20 15:41.31 ---> saved as "85170613af8841d095eb55d0fe84b8ff14bcf2317712399a010914db9e8a4542"

/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:41.32 ---> saved as "e3bc389ed62bf6eb98939e3753dc0a86b80b2f97bb1dde745d79f7ef79a793d5"

/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-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.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  (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
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-20 15:42.17 ---> saved as "e61910996a97ad5b0db5fe7da1ce96770452508f66e52fb55c2dd4e9f0e69a3a"

/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:42.32 ---> saved as "d6d1aaccb9cfc2a630031c83018572607fad286e2f717c715ceb9fadd265be0c"

/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-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.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/4.14/.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" "71" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.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 && ./movingpromises.exe)
- moving-promises: ✓
- (cd _build/default/test/multidomain && ./basic.exe)
- basic: ✓
- (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.27 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:42.48 ---> saved as "21d68cf9ecb2449a80cc6871dddde69d53d0f257b9878ce64a228c47af7528c8"
Job succeeded
2025-09-20 15:42.56: Job succeeded