(for PR #28222)
2025-07-22 12:16.02: New job: build lwt_log.1.1.1, using opam 2.3 from https://github.com/ocaml/opam-repository.git#refs/pull/28222/head (381d421c95f23c7e41d7bd80fe4ee0fa7b4fca2f) 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 381d421c git fetch origin master git merge --no-edit 14fd69dba01fe02a6cbf63a81a67897e0f52cbfc cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:039779191b8bc3347aee22a53c75eb11b13cfbf6c090fde9d99c2d805a6cf381 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-07-22 12:16.02: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:039779191b8bc3347aee22a53c75eb11b13cfbf6c090fde9d99c2d805a6cf381-lwt_log.1.1.1-381d421c95f23c7e41d7bd80fe4ee0fa7b4fca2f" 2025-07-22 12:16.02: Using OBuilder spec: ((from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:039779191b8bc3347aee22a53c75eb11b13cfbf6c090fde9d99c2d805a6cf381) (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-07-22 12:16.02: Waiting for resource in pool OCluster 2025-07-22 12:16.02: Waiting for worker… 2025-07-22 12:16.02: Got resource from pool OCluster Building on riscv-bm-04.sw.ci.dev Updating files: 15% (2725/17880) Updating files: 16% (2861/17880) Updating files: 17% (3040/17880) Updating files: 18% (3219/17880) Updating files: 19% (3398/17880) Updating files: 20% (3576/17880) Updating files: 21% (3755/17880) Updating files: 22% (3934/17880) Updating files: 23% (4113/17880) Updating files: 24% (4292/17880) Updating files: 25% (4470/17880) Updating files: 26% (4649/17880) Updating files: 27% (4828/17880) Updating files: 28% (5007/17880) Updating files: 29% (5186/17880) Updating files: 29% (5273/17880) Updating files: 30% (5364/17880) Updating files: 31% (5543/17880) Updating files: 32% (5722/17880) Updating files: 33% (5901/17880) Updating files: 34% (6080/17880) Updating files: 35% (6258/17880) Updating files: 36% (6437/17880) Updating files: 37% (6616/17880) Updating files: 38% (6795/17880) Updating files: 39% (6974/17880) Updating files: 40% (7152/17880) Updating files: 41% (7331/17880) Updating files: 42% (7510/17880) Updating files: 42% (7655/17880) Updating files: 43% (7689/17880) Updating files: 44% (7868/17880) Updating files: 45% (8046/17880) Updating files: 46% (8225/17880) Updating files: 47% (8404/17880) Updating files: 48% (8583/17880) Updating files: 49% (8762/17880) Updating files: 50% (8940/17880) Updating files: 51% (9119/17880) Updating files: 52% (9298/17880) Updating files: 53% (9477/17880) Updating files: 54% (9656/17880) Updating files: 55% (9834/17880) Updating files: 55% (9985/17880) Updating files: 56% (10013/17880) Updating files: 57% (10192/17880) Updating files: 58% (10371/17880) Updating files: 59% (10550/17880) Updating files: 60% (10728/17880) Updating files: 61% (10907/17880) Updating files: 62% (11086/17880) Updating files: 63% (11265/17880) Updating files: 64% (11444/17880) Updating files: 65% (11622/17880) Updating files: 66% (11801/17880) Updating files: 67% (11980/17880) Updating files: 68% (12159/17880) Updating files: 68% (12276/17880) Updating files: 69% (12338/17880) Updating files: 70% (12516/17880) Updating files: 71% (12695/17880) Updating files: 72% (12874/17880) Updating files: 73% (13053/17880) Updating files: 74% (13232/17880) Updating files: 75% (13410/17880) Updating files: 76% (13589/17880) Updating files: 77% (13768/17880) Updating files: 78% (13947/17880) Updating files: 79% (14126/17880) Updating files: 80% (14304/17880) Updating files: 81% (14483/17880) Updating files: 82% (14662/17880) Updating files: 82% (14678/17880) Updating files: 83% (14841/17880) Updating files: 84% (15020/17880) Updating files: 85% (15198/17880) Updating files: 86% (15377/17880) Updating files: 87% (15556/17880) Updating files: 88% (15735/17880) Updating files: 89% (15914/17880) Updating files: 90% (16092/17880) Updating files: 91% (16271/17880) Updating files: 92% (16450/17880) Updating files: 93% (16629/17880) Updating files: 94% (16808/17880) Updating files: 95% (16986/17880) Updating files: 95% (17070/17880) Updating files: 96% (17165/17880) Updating files: 97% (17344/17880) Updating files: 98% (17523/17880) Updating files: 99% (17702/17880) Updating files: 100% (17880/17880) Updating files: 100% (17880/17880), done. HEAD is now at 7ff890fe47 compiler packages for OCaml 5.4.0~beta1 HEAD is now at 14fd69dba0 Merge pull request #28217 from sim642/opam-state-2.4-upper-bounds Updating 14fd69dba0..381d421c95 Fast-forward packages/lwt/lwt.6.0.0~alpha01/opam | 69 +++++++++++++++++++++++ packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam | 44 +++++++++++++++ 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 +- 5 files changed, 116 insertions(+), 3 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:039779191b8bc3347aee22a53c75eb11b13cfbf6c090fde9d99c2d805a6cf381) Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:039779191b8bc3347aee22a53c75eb11b13cfbf6c090fde9d99c2d805a6cf381' locally docker.io/ocaml/opam@sha256:039779191b8bc3347aee22a53c75eb11b13cfbf6c090fde9d99c2d805a6cf381: Pulling from ocaml/opam Digest: sha256:039779191b8bc3347aee22a53c75eb11b13cfbf6c090fde9d99c2d805a6cf381 Status: Downloaded newer image for ocaml/opam@sha256:039779191b8bc3347aee22a53c75eb11b13cfbf6c090fde9d99c2d805a6cf381 2025-07-22 12:16.21 ---> using "39effe56a8a4dce6374bd8bcf03045af23a6fc08cb035f4544406855643a1e6e" 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-07-22 12:16.21 ---> using "6d2e2f2b0ae56aca54d9f485564dfcdd7cc9f736a5425554f13adbc8d6c1e849" 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-07-22 12:16.21 ---> using "29009928aca8373e57a887bdae5a75ce8e7f687075d2a0915aac9dd8fc5a7cf3" 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-07-22 12:16.21 ---> using "4884040b93b3bf5a5724254d12d4f6273c95cbac99bd19c6a6b4aae4821b88e6" 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-07-22 12:16.21 ---> using "d3b46f0539a188c63c5163ace2e9dea2b6ddbb28247ecce01d54a6d488a72c87" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2025-07-22 12:16.45 ---> saved as "83db2e80f1646b938df74dcc585f805ac91283a2904a1100c38ce2cb72b0068a" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-07-22 12:18.15 ---> saved as "3c00bb2272097fc05cefaa18f4c2dff84ec50ab617a4b2c924d1a8bce2765ba8" /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 [1156 kB] - Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [795 kB] - Get:7 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [872 kB] - Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [486 kB] - Fetched 3688 kB in 2s (1599 kB/s) - Reading package lists... - 2025-07-22 12:18.23 ---> saved as "1059e9acbcf7d3fbfdce6afea7717802a8d6dc9393820dffc59b949eb6d0ae45" /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-07-22 12:18.26 ---> saved as "e3c0c96ff959b7d64fef6d7883f4ee56bedddb6793ef4c197d168da9b9f4aa12" /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-07-22 12:19.40: Job failed: Failed: Build failed 2025-07-22 12:19.40: Log analysis: 2025-07-22 12:19.40: >>> No solution found, exiting (score = 100) 2025-07-22 12:19.40: [SKIP] Package not available