(for PR #28222)

2025-08-21 14:13.41: New job: build lwt_log.1.1.2, 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_log.1.1.2 1.1.2
RUN opam reinstall lwt_log.1.1.2; \
    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_log.1.1.2' && 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_log.1.1.2-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_log.1.1.2 1.1.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lwt_log.1.1.2;\
             \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_log.1.1.2' && 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 14:58.41: Got resource from pool OCluster
Building on riscv-bm-04.sw.ci.dev
All commits already cached
Updating files:  14% (2628/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:  28% (5158/18065)
Updating files:  29% (5239/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:  43% (7768/18065)
Updating files:  43% (7820/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:  54% (9756/18065)
Updating files:  55% (9936/18065)
Updating files:  56% (10117/18065)
Updating files:  56% (10159/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:  67% (12104/18065)
Updating files:  68% (12285/18065)
Updating files:  68% (12365/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:  80% (14452/18065)
Updating files:  81% (14633/18065)
Updating files:  81% (14722/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:  93% (16801/18065)
Updating files:  94% (16982/18065)
Updating files:  94% (17046/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
Digest: sha256:7958f297af30e65a828017a8b571a195a78dd0f8a898aaf44e9aeedf8113377e
Status: Downloaded newer image for ocaml/opam@sha256:7958f297af30e65a828017a8b571a195a78dd0f8a898aaf44e9aeedf8113377e
2025-08-21 14:58.52 ---> 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 14:58.52 ---> 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 14:58.52 ---> 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 14:58.52 ---> 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 14:58.52 ---> using "eb19ee2378fde4cad6f42edbf6c22b30fca7f5a580e64019802cf07776cf3db1" from cache

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

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-21 14:58.57 ---> 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/universe riscv64 Packages [1166 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [812 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 6s (672 kB/s)
- Reading package lists...
- 
2025-08-21 14:58.57 ---> using "22f4b1c0058e43d07931cab69f56860c54b9a175cc6ee617ed1190227a6bd483" from cache

/home/opam: (run (shell "opam pin add -k version -yn lwt_log.1.1.2 1.1.2"))
lwt_log is now pinned to version 1.1.2
2025-08-21 14:59.00 ---> saved as "c849e1f7e4243668bccfaf767c19f80adea27ef792f9f7c84c99009ba68d5aa6"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lwt_log.1.1.2;\
                        \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_log.1.1.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
lwt_log.1.1.2 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 dune              3.20.0         [required by lwt_log]
  - install dune-configurator 3.20.0         [required by lwt]
  - install lwt               5.9.1          [required by lwt_log]
  - install lwt_log           1.1.2 (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 dune.3.20.0, dune-configurator.3.20.0  (cached)
-> retrieved lwt.5.9.1  (cached)
-> retrieved lwt_log.1.1.2  (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 csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.20.0
-> installed lwt.5.9.1
-> installed lwt_log.1.1.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 15:03.45 ---> saved as "5b68f294eaacaabd529165f92121ca1e31749b4a61d1cdc65dbed2b6c5a52994"
Job succeeded
2025-08-21 15:04.18: Job succeeded