(not at the head of any monitored branch or PR)
2025-11-10 11:00.33: New job: test lwt.6.0.0~beta00, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28558/head (db50ce02bd0238ef1431a20de40a98e9f360a8c0)
                              on freebsd-14.3-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/28558/head" && git reset --hard db50ce02
git fetch origin master
git merge --no-edit 21f97b2e6d7c617fc0a79cc8e59b2e10690960e1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.3-ocaml-5.4
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/local/bin/opam-dev /usr/local/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 "\"freebsd-14.3\""; 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 "\"freebsd-14.3\""; 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-11-10 11:00.33: Using cache hint "freebsd-14.3-ocaml-5.4-lwt.6.0.0~beta00-db50ce02bd0238ef1431a20de40a98e9f360a8c0"
2025-11-10 11:00.33: Using OBuilder spec:
((from freebsd-14.3-ocaml-5.4)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
 (run (network host)
      (shell "opam init --reinit -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 \"\\\"freebsd-14.3\\\"\"; 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 \"\\\"freebsd-14.3\\\"\"; 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-11-10 11:00.33: Waiting for resource in pool OCluster
2025-11-10 11:00.34: Waiting for worker…
2025-11-10 11:05.09: Got resource from pool OCluster
Building on rosemary
All commits already cached
Updating files: 100% (18704/18704), done.
HEAD is now at 21f97b2e6d Merge pull request #28836 from dbuenzli/b0-publish-bytesrw.0.3.0
Merge made by the 'ort' strategy.
 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 freebsd-14.3-ocaml-5.4)
2025-11-10 11:04.36 ---> using "463e9b939b79b2568bf98b05cff00f85b3ec5717170cf88773a44ae3b08f11e7" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
2025-11-10 11:04.37 ---> using "0f4f38cca0f09ffdac905c0015fdbe56f9214c89e28a28ae3325cd6eed47fd99" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit -ni"))
No configuration file found, using 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.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2025-11-10 11:04.37 ---> using "430d75e95f6be08ef0776e6e6bb864bc698709d5f7d071fd7fbbf37d0a8617d5" 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=freebsd os-distribution=freebsd os-version=1403000
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 39
# repositories         1 (version-controlled)
# pinned               0
# current-switch       5.4.0
# invariant            ["ocaml-base-compiler" {= "5.4.0"} | "ocaml-system" {= "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.0/lib/ocaml/stublibs:/home/opam/.opam/5.4.0/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0
2025-11-10 11:04.37 ---> using "8a5a57fecc1d42886ddc4a5b75b36583eef8196838ccdc1bf870bc7798f6f185" 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-11-10 11:04.38 ---> using "5d57b5e6a2b42d2aa72fb2cc8558fd5735263edde7f2032c7588b729f1b1565f" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-11-10 11:04.40 ---> using "9ac38c85df6b81fddd14f868e60a2182ed513512d27faa0f0b62e62b118fcb12" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-10 11:04.40 ---> using "06d58986d8222d4eeeb2498a1abbab891f25db627b7711e6f49734c2ddefbdbd" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
[WARNING] Unknown update command for bsd, skipping system update
2025-11-10 11:04.41 ---> using "3a2822a0de98513b0924052a3a023e923b1cb5b3c9faca4f959af3ae08ea4079" from cache

/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-11-10 11:04.41 ---> using "798442ade0e919ba3702e2865647340fabaae0dfc75391f093349e57788ee85a" from cache

/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 \"\\\"freebsd-14.3\\\"\"; 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
  ∗ base-bytes        base                  [required by ocplib-endian]
  ∗ cppo              1.8.0                 [required by lwt]
  ∗ csexp             1.5.2                 [required by dune-configurator]
  ∗ domain_shims      0.1.0                 [required by lwt]
  ∗ dune              3.20.2                [required by lwt]
  ∗ dune-configurator 3.20.2                [required by lwt]
  ∗ lwt               6.0.0~beta00 (pinned)
  ∗ ocamlfind         1.9.8                 [required by base-bytes]
  ∗ 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.
2025-11-10 11:05.38 ---> saved as "0578511d9bb97f64be93acd9b0942b6018c1bcb96e77a23ae7c8a92914b5ef7c"

/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
  ↻ lwt 6.0.0~beta00 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⊘ removed   lwt.6.0.0~beta00
∗ installed lwt.6.0.0~beta00
Done.
2025-11-10 11:05.53 ---> saved as "d918923b8b73a962f438e3fad1b02920624b6f4350d7398c1a6de26ef053205b"

/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 \"\\\"freebsd-14.3\\\"\"; 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
  ↻ lwt 6.0.0~beta00 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [lwt: dune exec]
+ /home/opam/.opam/5.4.0/bin/dune "exec" "-p" "lwt" "src/unix/config/discover.exe" "--" "--save" "--use-libev" "false" (CWD=/home/opam/.opam/5.4.0/.opam-switch/build/lwt.6.0.0~beta00)
Processing  2/4: [lwt: dune build]
+ /home/opam/.opam/5.4.0/bin/dune "build" "-p" "lwt" "-j" "39" "@install" "@runtest" (CWD=/home/opam/.opam/5.4.0/.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.26 seconds
- File "test/unix/dune", line 22, characters 7-11:
- 22 |  (name main)
-             ^^^^
- (cd _build/default/test/unix && ./main.exe)
- Testing library 'unix'...
- .............................................................................ESES..........................................
- Test 'mcast-join-loop' in suite 'unix_mcast' raised 'Unix.Unix_error(Unix.EADDRNOTAVAIL, "setsockopt", "")'
- Test 'mcast-join-noloop' in suite 'unix_mcast' raised 'Unix.Unix_error(Unix.EADDRNOTAVAIL, "setsockopt", "")'
[ERROR] The compilation of lwt.6.0.0~beta00 failed at "dune build -p lwt -j 39 @install @runtest".

#=== ERROR while compiling lwt.6.0.0~beta00 ===================================#
# context              2.4.1 | freebsd/x86_64 | ocaml-base-compiler.5.4.0 | pinned(https://github.com/ocsigen/lwt/archive/refs/tags/6.0.0-beta00.tar.gz)
# path                 ~/.opam/5.4.0/.opam-switch/build/lwt.6.0.0~beta00
# command              ~/.opam/5.4.0/bin/dune build -p lwt -j 39 @install @runtest
# exit-code            1
# env-file             ~/.opam/log/lwt-9116-3f5aa3.env
# output-file          ~/.opam/log/lwt-9116-3f5aa3.out
### output ###
# (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.26 seconds
# File "test/unix/dune", line 22, characters 7-11:
# 22 |  (name main)
#             ^^^^
# (cd _build/default/test/unix && ./main.exe)
# Testing library 'unix'...
# .............................................................................ESES..........................................
# Test 'mcast-join-loop' in suite 'unix_mcast' raised 'Unix.Unix_error(Unix.EADDRNOTAVAIL, "setsockopt", "")'
# Test 'mcast-join-noloop' in suite 'unix_mcast' raised 'Unix.Unix_error(Unix.EADDRNOTAVAIL, "setsockopt", "")'



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build lwt 6.0.0~beta00
└─ 
╶─ No changes have been performed
'opam reinstall --with-test --verbose lwt.6.0.0~beta00' failed.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
jail: /usr/bin/su -l opam -c cd '/home/opam' && env OPAM_REPO_CI='true' CI='true' OPAMPRECISETRACKING='1' OPAMERRLOGLEN='0' OPAMDOWNLOADJOBS='1' '/usr/bin/env' 'bash' '-c' '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 "\"freebsd-14.3\""; 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': failed
"jail" "-c" "name=obuilder_856_73464" "mount.devfs" "path=/obuilder/result/4cf693f126e90f50f21ede2978875a067886beda7a7e4138cfa09a3b8786b4d4/rootfs" "vnet" "exec.start=/sbin/ifconfig lo0 127.0.0.1/8" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/home/opam' && env OPAM_REPO_CI='true' CI='true' OPAMPRECISETRACKING='1' OPAMERRLOGLEN='0' OPAMDOWNLOADJOBS='1' '/usr/bin/env' 'bash' '-c' '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 "\"freebsd-14.3\""; 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'" failed with exit status 1
2025-11-10 11:07.02: Job failed: Failed: Build failed
2025-11-10 11:07.02: Log analysis:
2025-11-10 11:07.02: >>> 
[ERROR] The compilation of lwt.6.0.0~beta00 failed at "dune build -p lwt -j 39 @install @runtest".
 (score = 20)
2025-11-10 11:07.02: The compilation of lwt.6.0.0~beta00 failed at "dune build -p lwt -j 39 @install @runtest".