(for PR #28222)

2025-08-21 14:13.41: New job: build lwt.6.0.0~alpha01, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28222/head (a14b2680809606d7e55ae7ed410b73438cb77bd0)
                              on ubuntu-24.04-ocaml-4.14/riscv64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/28222/head" && git reset --hard a14b2680
git fetch origin master
git merge --no-edit 4bae7ec4df49df4454ea492c8d7a1196aeae04e0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:7958f297af30e65a828017a8b571a195a78dd0f8a898aaf44e9aeedf8113377e
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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~alpha01 6.0.0~alpha01
RUN opam reinstall lwt.6.0.0~alpha01; \
    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 "\"ubuntu-24.04\""; 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~alpha01' && 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-08-21 14:13.41: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:7958f297af30e65a828017a8b571a195a78dd0f8a898aaf44e9aeedf8113377e-lwt.6.0.0~alpha01-a14b2680809606d7e55ae7ed410b73438cb77bd0"
2025-08-21 14:13.41: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:7958f297af30e65a828017a8b571a195a78dd0f8a898aaf44e9aeedf8113377e)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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~alpha01 6.0.0~alpha01"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lwt.6.0.0~alpha01;\
             \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 \"\\\"ubuntu-24.04\\\"\"; 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~alpha01' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-08-21 14:13.41: Waiting for resource in pool OCluster
2025-08-21 14:13.41: Waiting for worker…
2025-08-21 15:09.39: Got resource from pool OCluster
Building on riscv-bm-03.sw.ci.dev
All commits already cached
Updating files:  14% (2706/18065)
Updating files:  15% (2710/18065)
Updating files:  16% (2891/18065)
Updating files:  17% (3072/18065)
Updating files:  18% (3252/18065)
Updating files:  19% (3433/18065)
Updating files:  20% (3613/18065)
Updating files:  21% (3794/18065)
Updating files:  22% (3975/18065)
Updating files:  23% (4155/18065)
Updating files:  24% (4336/18065)
Updating files:  25% (4517/18065)
Updating files:  26% (4697/18065)
Updating files:  27% (4878/18065)
Updating files:  28% (5059/18065)
Updating files:  29% (5239/18065)
Updating files:  29% (5266/18065)
Updating files:  30% (5420/18065)
Updating files:  31% (5601/18065)
Updating files:  32% (5781/18065)
Updating files:  33% (5962/18065)
Updating files:  34% (6143/18065)
Updating files:  35% (6323/18065)
Updating files:  36% (6504/18065)
Updating files:  37% (6685/18065)
Updating files:  38% (6865/18065)
Updating files:  39% (7046/18065)
Updating files:  40% (7226/18065)
Updating files:  41% (7407/18065)
Updating files:  42% (7588/18065)
Updating files:  42% (7662/18065)
Updating files:  43% (7768/18065)
Updating files:  44% (7949/18065)
Updating files:  45% (8130/18065)
Updating files:  46% (8310/18065)
Updating files:  47% (8491/18065)
Updating files:  48% (8672/18065)
Updating files:  49% (8852/18065)
Updating files:  50% (9033/18065)
Updating files:  51% (9214/18065)
Updating files:  52% (9394/18065)
Updating files:  53% (9575/18065)
Updating files:  53% (9668/18065)
Updating files:  54% (9756/18065)
Updating files:  55% (9936/18065)
Updating files:  56% (10117/18065)
Updating files:  57% (10298/18065)
Updating files:  58% (10478/18065)
Updating files:  59% (10659/18065)
Updating files:  60% (10839/18065)
Updating files:  61% (11020/18065)
Updating files:  62% (11201/18065)
Updating files:  63% (11381/18065)
Updating files:  64% (11562/18065)
Updating files:  65% (11743/18065)
Updating files:  66% (11923/18065)
Updating files:  66% (12031/18065)
Updating files:  67% (12104/18065)
Updating files:  68% (12285/18065)
Updating files:  69% (12465/18065)
Updating files:  70% (12646/18065)
Updating files:  71% (12827/18065)
Updating files:  72% (13007/18065)
Updating files:  73% (13188/18065)
Updating files:  74% (13369/18065)
Updating files:  75% (13549/18065)
Updating files:  76% (13730/18065)
Updating files:  77% (13911/18065)
Updating files:  78% (14091/18065)
Updating files:  79% (14272/18065)
Updating files:  79% (14322/18065)
Updating files:  80% (14452/18065)
Updating files:  81% (14633/18065)
Updating files:  82% (14814/18065)
Updating files:  83% (14994/18065)
Updating files:  84% (15175/18065)
Updating files:  85% (15356/18065)
Updating files:  86% (15536/18065)
Updating files:  87% (15717/18065)
Updating files:  88% (15898/18065)
Updating files:  89% (16078/18065)
Updating files:  90% (16259/18065)
Updating files:  91% (16440/18065)
Updating files:  92% (16620/18065)
Updating files:  92% (16705/18065)
Updating files:  93% (16801/18065)
Updating files:  94% (16982/18065)
Updating files:  95% (17162/18065)
Updating files:  96% (17343/18065)
Updating files:  97% (17524/18065)
Updating files:  98% (17704/18065)
Updating files:  99% (17885/18065)
Updating files: 100% (18065/18065)
Updating files: 100% (18065/18065), done.
HEAD is now at 4bae7ec4df Merge pull request #28375 from jmid/opam-compiler-re-bounds
Merge made by the 'ort' strategy.
 packages/curl_lwt/curl_lwt.0.10.0/opam            |  2 +-
 packages/lwt/lwt.6.0.0~alpha01/opam               | 69 +++++++++++++++++++++++
 packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam | 44 +++++++++++++++
 packages/lwt_glib/lwt_glib.1.0.1/opam             |  2 +-
 packages/lwt_glib/lwt_glib.1.1.0/opam             |  2 +-
 packages/lwt_glib/lwt_glib.1.1.1/opam             |  2 +-
 packages/lwt_log/lwt_log.1.1.0/opam               |  2 +-
 packages/lwt_log/lwt_log.1.1.1/opam               |  2 +-
 packages/lwt_log/lwt_log.1.1.2/opam               |  2 +-
 packages/ocurl/ocurl.0.7.6/opam                   |  1 +
 packages/ocurl/ocurl.0.7.7/opam                   |  1 +
 packages/ocurl/ocurl.0.7.8/opam                   |  1 +
 packages/ocurl/ocurl.0.7.9/opam                   |  1 +
 packages/ocurl/ocurl.0.8.1/opam                   |  1 +
 packages/ocurl/ocurl.0.8.2/opam                   |  1 +
 packages/ocurl/ocurl.0.9.0/opam                   |  1 +
 packages/ocurl/ocurl.0.9.1/opam                   |  1 +
 packages/ocurl/ocurl.0.9.2/opam                   |  1 +
 18 files changed, 129 insertions(+), 7 deletions(-)
 create mode 100644 packages/lwt/lwt.6.0.0~alpha01/opam
 create mode 100644 packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam

(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:7958f297af30e65a828017a8b571a195a78dd0f8a898aaf44e9aeedf8113377e)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:7958f297af30e65a828017a8b571a195a78dd0f8a898aaf44e9aeedf8113377e' locally
docker.io/ocaml/opam@sha256:7958f297af30e65a828017a8b571a195a78dd0f8a898aaf44e9aeedf8113377e: Pulling from ocaml/opam
b12e9b070917: Already exists
758b6ddf930d: Already exists
39b8234c4eca: Already exists
61a5428e06ef: Already exists
6755db5304da: Already exists
c81d052fec3c: Already exists
d564affade5c: Already exists
c43e31948416: Already exists
90715207e0bf: Already exists
7401dfb4bcb1: Already exists
d09fdbe34520: Already exists
6957d52c9e36: Already exists
cd23182be0da: Already exists
fc084c2379df: Already exists
44d16e588535: Already exists
6382de6d0748: Already exists
6382de6d0748: Already exists
cd4173b979a7: Already exists
10f79976d4fa: Already exists
e9f9747dc546: Already exists
ff23179a756e: Already exists
4f4fb700ef54: Already exists
a5ce06337026: Already exists
45286e7dfe55: Already exists
3e034b35462f: Already exists
78df51f8da08: Already exists
719f037b9b2f: Already exists
f91047f757ca: Already exists
3e6589f37700: Already exists
5d054a9c7e32: Already exists
1f6263e2b031: Already exists
9cad20eb4a05: Already exists
99fd7b27b4ee: Already exists
5d25f65fb16e: Already exists
a010bf55ec41: Already exists
5d1c1e83f510: Already exists
271e2bda352b: Already exists
eba8b0aa1b04: Already exists
3d1231c0b033: Already exists
6c5aa3aca788: Already exists
2168dbd368c5: Pulling fs layer
d8da98c43883: Pulling fs layer
6a5be4777eb5: Pulling fs layer
dbc95e40ca52: Pulling fs layer
dbc95e40ca52: Waiting
d8da98c43883: Verifying Checksum
d8da98c43883: Download complete
6a5be4777eb5: Verifying Checksum
6a5be4777eb5: Download complete
dbc95e40ca52: Verifying Checksum
dbc95e40ca52: Download complete
2168dbd368c5: Verifying Checksum
2168dbd368c5: Download complete
2168dbd368c5: Pull complete
d8da98c43883: Pull complete
6a5be4777eb5: Pull complete
dbc95e40ca52: Pull complete
Digest: sha256:7958f297af30e65a828017a8b571a195a78dd0f8a898aaf44e9aeedf8113377e
Status: Downloaded newer image for ocaml/opam@sha256:7958f297af30e65a828017a8b571a195a78dd0f8a898aaf44e9aeedf8113377e
2025-08-21 15:09.50 ---> using "e5eddb20e693f0ab36af38520773f0cee63f1877e9e5c3279ce117911b9ef9e6" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-08-21 15:09.50 ---> using "59f20095f3603cde77401a5e8640af5ab1695148f1ad384835fc27d57dc85845" 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-08-21 15:09.50 ---> using "eb35f63216f0344691687bfeb41504b3d5603f732a6e3ce73b612399895b860f" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade         no
# system               arch=riscv64 os=linux os-distribution=ubuntu os-version=24.04
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 3
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# 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
2025-08-21 15:09.50 ---> using "040eb9a97f9a1e74f7395af7a4bf5a75a068d84d12295715b5b3b10df7225650" 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-08-21 15:09.50 ---> using "eb19ee2378fde4cad6f42edbf6c22b30fca7f5a580e64019802cf07776cf3db1" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-08-21 15:09.56 ---> using "dce9302575e166793d21046bbaef6c3f1b40378ab26775540c369fe23d1fea61" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-21 15:09.56 ---> using "8aad11a32452ada2c778c2a75ae1e4c866f01198d4f110b947482484d3dafc72" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
- Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
- Get:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease [126 kB]
- Get:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
- Get:5 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [812 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1166 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [499 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [874 kB]
- Fetched 3730 kB in 2s (2062 kB/s)
- Reading package lists...
- 
2025-08-21 15:09.56 ---> using "22f4b1c0058e43d07931cab69f56860c54b9a175cc6ee617ed1190227a6bd483" from cache

/home/opam: (run (shell "opam pin add -k version -yn lwt.6.0.0~alpha01 6.0.0~alpha01"))
lwt is now pinned to version 6.0.0~alpha01
2025-08-21 15:09.59 ---> saved as "9275f415142bd6e37fbc2e696512c49d42b91c9526c76e1265bbce08f2cf3add"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lwt.6.0.0~alpha01;\
                        \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 \"\\\"ubuntu-24.04\\\"\"; 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~alpha01' && 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~alpha01 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.0                 [required by lwt]
  - install dune-configurator 3.20.0                 [required by lwt]
  - install lwt               6.0.0~alpha01 (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.0, dune-configurator.3.20.0  (cached)
-> retrieved lwt.6.0.0~alpha01  (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.0
-> 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.0
-> installed lwt.6.0.0~alpha01
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 15:14.39 ---> saved as "9e85476926733d61ec79e2ee4035792309759e3cf71fb650abcd487dc16afc63"
Job succeeded
2025-08-21 15:15.11: Job succeeded