(for PR #28222)

2025-08-21 14:13.40: New job: build lwt_log.1.1.1, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28222/head (a14b2680809606d7e55ae7ed410b73438cb77bd0)
                              on ubuntu-24.04-ocaml-5.3/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-5.3@sha256:9851aef4e26fe1f48d439ded581304c2faed62bdb4fc2b23f4e393b05a1df27b
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.1 1.1.1
RUN opam reinstall lwt_log.1.1.1; \
    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.1' && 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.40: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:9851aef4e26fe1f48d439ded581304c2faed62bdb4fc2b23f4e393b05a1df27b-lwt_log.1.1.1-a14b2680809606d7e55ae7ed410b73438cb77bd0"
2025-08-21 14:13.40: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:9851aef4e26fe1f48d439ded581304c2faed62bdb4fc2b23f4e393b05a1df27b)
 (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.1 1.1.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lwt_log.1.1.1;\
             \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.1' && 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.40: Waiting for resource in pool OCluster
2025-08-21 14:13.41: Waiting for worker…
2025-08-21 14:26.48: Got resource from pool OCluster
Building on riscv-bm-04.sw.ci.dev
All commits already cached
Updating files:  14% (2582/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:  27% (5041/18065)
Updating files:  28% (5059/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:  41% (7435/18065)
Updating files:  42% (7588/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:  54% (9756/18065)
Updating files:  54% (9776/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:  67% (12104/18065)
Updating files:  67% (12118/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% (14392/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% (16763/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-5.3@sha256:9851aef4e26fe1f48d439ded581304c2faed62bdb4fc2b23f4e393b05a1df27b)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:9851aef4e26fe1f48d439ded581304c2faed62bdb4fc2b23f4e393b05a1df27b' locally
docker.io/ocaml/opam@sha256:9851aef4e26fe1f48d439ded581304c2faed62bdb4fc2b23f4e393b05a1df27b: Pulling from ocaml/opam
Digest: sha256:9851aef4e26fe1f48d439ded581304c2faed62bdb4fc2b23f4e393b05a1df27b
Status: Downloaded newer image for ocaml/opam@sha256:9851aef4e26fe1f48d439ded581304c2faed62bdb4fc2b23f4e393b05a1df27b
2025-08-21 14:26.59 ---> using "71cd7d08865ea0fd5715e396c65038deabf0a0e84d517ba5d0a9d237f255c98d" 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:26.59 ---> using "a8387f6d8682b78fd167dde6f330d017b38658d2342fbf069ffebe10f6b56434" 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:26.59 ---> using "5f8e52636db6b389200528e05fea3be2689519ab47e74ac8143668acb6834682" 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       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-08-21 14:26.59 ---> using "e1ccfe6896912301e29ae4c14509447d4f76bdebe89957985d6c3fd16166e23b" 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:26.59 ---> using "6b05776eaaf1144296255e02133020db0a10f5476f0fd0e8a6647edaa247ca0e" from cache

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

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-21 14:27.05 ---> using "25485534789615d89adb0d461be8927738f3f69e1050454f406f030c64179cbe" 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 2s (2065 kB/s)
- Reading package lists...
- 
2025-08-21 14:27.05 ---> using "b2af86c2f0e47d488c70d3f18b422765a1dc88bf8f2f3d3246cc1b0856a85186" from cache

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

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lwt_log.1.1.1;\
                        \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.1' && 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.1 is not installed. Install it? [y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.3.0
    - lwt_log = 1.1.1 -> ocaml < 5.0 -> ocaml-variants
    You can temporarily relax the switch invariant with `--update-invariant'
  * Missing dependency:
    - lwt_log = 1.1.1 -> ocaml < 5.0 -> ocaml-base-compiler (<= 3.07+1 | = 3.07+2 | = 3.08.0 | = 3.08.1 | = 3.08.2 | = 3.08.3 | = 3.08.4 | = 3.09.0) | ocaml-system (<= 3.07+1 | = 3.07+2 | >= 3.08.0) | ocaml-variants < 3.09.1~
    not available because the package is pinned to version 5.3.0
    unmet availability conditions, e.g. 'sys-ocaml-version = "5.3.0" & (os != "win32" | sys-ocaml-libc = "msvc")'
    no matching version
  * Missing dependency:
    - lwt_log = 1.1.1 -> ocaml < 5.0 -> ocaml-variants -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - lwt_log = 1.1.1 -> ocaml < 5.0 -> ocaml-variants -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall lwt_log.1.1.1;
        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.1' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 20
2025-08-21 14:28.26: Job failed: Failed: Build failed
2025-08-21 14:28.26: Log analysis:
2025-08-21 14:28.26: >>> 
No solution found, exiting
 (score = 100)
2025-08-21 14:28.26: [SKIP] Package not available