(for PR #27881)

2025-05-15 13:50.59: New job: build ocaml-option-fp.1, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27881/head (d00d1f12333e4a7b6e424fb2abd6eec5baf0a43c)
                              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/27881/head" && git reset --hard d00d1f12
git fetch origin master
git merge --no-edit 8efeb9aa265b6d2d4fa7cb352b4e4e94a93ab845
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:39b42a4e4893d22fac40e1565e95f997493e2965530114d6defd3a4343fe6fed
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 ocaml-option-fp.1 1
RUN opam reinstall ocaml-option-fp.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" != 'ocaml-option-fp.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-05-15 13:50.59: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:39b42a4e4893d22fac40e1565e95f997493e2965530114d6defd3a4343fe6fed-ocaml-option-fp.1-d00d1f12333e4a7b6e424fb2abd6eec5baf0a43c"
2025-05-15 13:50.59: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:39b42a4e4893d22fac40e1565e95f997493e2965530114d6defd3a4343fe6fed)
 (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 ocaml-option-fp.1 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ocaml-option-fp.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\" != 'ocaml-option-fp.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-05-15 13:50.59: Connecting to build cluster…
2025-05-15 13:50.59: Waiting for resource in pool OCluster
2025-05-15 13:52.01: Waiting for worker…
2025-05-15 15:23.24: Got resource from pool OCluster
Building on riscv-bm-04.sw.ci.dev
All commits already cached
Updating files:  11% (2739/23038)
Updating files:  12% (2765/23038)
Updating files:  13% (2995/23038)
Updating files:  14% (3226/23038)
Updating files:  15% (3456/23038)
Updating files:  16% (3687/23038)
Updating files:  17% (3917/23038)
Updating files:  18% (4147/23038)
Updating files:  19% (4378/23038)
Updating files:  20% (4608/23038)
Updating files:  21% (4838/23038)
Updating files:  22% (5069/23038)
Updating files:  23% (5299/23038)
Updating files:  23% (5328/23038)
Updating files:  24% (5530/23038)
Updating files:  25% (5760/23038)
Updating files:  26% (5990/23038)
Updating files:  27% (6221/23038)
Updating files:  28% (6451/23038)
Updating files:  29% (6682/23038)
Updating files:  30% (6912/23038)
Updating files:  31% (7142/23038)
Updating files:  32% (7373/23038)
Updating files:  33% (7603/23038)
Updating files:  34% (7833/23038)
Updating files:  35% (8064/23038)
Updating files:  35% (8076/23038)
Updating files:  36% (8294/23038)
Updating files:  37% (8525/23038)
Updating files:  38% (8755/23038)
Updating files:  39% (8985/23038)
Updating files:  40% (9216/23038)
Updating files:  41% (9446/23038)
Updating files:  42% (9676/23038)
Updating files:  43% (9907/23038)
Updating files:  44% (10137/23038)
Updating files:  45% (10368/23038)
Updating files:  45% (10562/23038)
Updating files:  46% (10598/23038)
Updating files:  47% (10828/23038)
Updating files:  48% (11059/23038)
Updating files:  49% (11289/23038)
Updating files:  50% (11519/23038)
Updating files:  51% (11750/23038)
Updating files:  52% (11980/23038)
Updating files:  53% (12211/23038)
Updating files:  54% (12441/23038)
Updating files:  55% (12671/23038)
Updating files:  56% (12902/23038)
Updating files:  56% (12967/23038)
Updating files:  57% (13132/23038)
Updating files:  58% (13363/23038)
Updating files:  59% (13593/23038)
Updating files:  60% (13823/23038)
Updating files:  61% (14054/23038)
Updating files:  62% (14284/23038)
Updating files:  63% (14514/23038)
Updating files:  64% (14745/23038)
Updating files:  65% (14975/23038)
Updating files:  66% (15206/23038)
Updating files:  66% (15330/23038)
Updating files:  67% (15436/23038)
Updating files:  68% (15666/23038)
Updating files:  69% (15897/23038)
Updating files:  70% (16127/23038)
Updating files:  71% (16357/23038)
Updating files:  72% (16588/23038)
Updating files:  73% (16818/23038)
Updating files:  74% (17049/23038)
Updating files:  75% (17279/23038)
Updating files:  75% (17435/23038)
Updating files:  76% (17509/23038)
Updating files:  77% (17740/23038)
Updating files:  78% (17970/23038)
Updating files:  79% (18201/23038)
Updating files:  80% (18431/23038)
Updating files:  81% (18661/23038)
Updating files:  82% (18892/23038)
Updating files:  83% (19122/23038)
Updating files:  84% (19352/23038)
Updating files:  85% (19583/23038)
Updating files:  86% (19813/23038)
Updating files:  86% (19928/23038)
Updating files:  87% (20044/23038)
Updating files:  88% (20274/23038)
Updating files:  89% (20504/23038)
Updating files:  90% (20735/23038)
Updating files:  91% (20965/23038)
Updating files:  92% (21195/23038)
Updating files:  93% (21426/23038)
Updating files:  94% (21656/23038)
Updating files:  95% (21887/23038)
Updating files:  96% (22117/23038)
Updating files:  96% (22323/23038)
Updating files:  97% (22347/23038)
Updating files:  98% (22578/23038)
Updating files:  99% (22808/23038)
Updating files: 100% (23038/23038)
Updating files: 100% (23038/23038), done.
HEAD is now at 8efeb9aa26 Merge pull request #27768 from recoules/release-bitwuzla-cxx-0.7.0
Merge made by the 'ort' strategy.
 packages/ocaml-option-fp/ocaml-option-fp.1/opam | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:39b42a4e4893d22fac40e1565e95f997493e2965530114d6defd3a4343fe6fed)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:39b42a4e4893d22fac40e1565e95f997493e2965530114d6defd3a4343fe6fed' locally
docker.io/ocaml/opam@sha256:39b42a4e4893d22fac40e1565e95f997493e2965530114d6defd3a4343fe6fed: Pulling from ocaml/opam
617ff4840b8c: Already exists
988e8ea2cc6d: Already exists
570dac43d741: Already exists
ea26f44564e9: Already exists
2bfd9ae72a2c: Already exists
796eb578f3a3: Already exists
6d92991a8e9e: Already exists
fbc48c828a25: Already exists
3c2dcbc78b0f: Already exists
c1dc429b7f84: Already exists
74e20cc48974: Already exists
8fbf6727bc85: Already exists
c8a8cea98988: Already exists
638f4f7109b1: Already exists
cc8c5df7a495: Already exists
cc8c5df7a495: Already exists
bec5a94ff963: Already exists
25188549e567: Already exists
46dd3f2165e8: Already exists
b4c6c071f533: Already exists
4f4fb700ef54: Already exists
60c1d36594c2: Already exists
b6033626df51: Already exists
52b8b5cdda97: Already exists
5ad22f4af7fb: Already exists
7c2bf4a75a99: Already exists
01c51614a62f: Already exists
adef6cb33e2c: Already exists
fb20ccd8b4d9: Already exists
f25d69174348: Already exists
062630e43b34: Already exists
b443377219b0: Already exists
7fa072e343b6: Already exists
40cd77b9164f: Already exists
9107ae430a1b: Already exists
6797eb4e08bc: Already exists
6a2e922e4fd6: Already exists
6b2ac8a5ef1c: Already exists
090089c4b32d: Pulling fs layer
0a9e239e7a84: Pulling fs layer
7d256f30600c: Pulling fs layer
3f73b3daa5a0: Pulling fs layer
3f73b3daa5a0: Waiting
0a9e239e7a84: Verifying Checksum
0a9e239e7a84: Download complete
7d256f30600c: Verifying Checksum
7d256f30600c: Download complete
3f73b3daa5a0: Verifying Checksum
3f73b3daa5a0: Download complete
090089c4b32d: Verifying Checksum
090089c4b32d: Download complete
090089c4b32d: Pull complete
0a9e239e7a84: Pull complete
7d256f30600c: Pull complete
3f73b3daa5a0: Pull complete
Digest: sha256:39b42a4e4893d22fac40e1565e95f997493e2965530114d6defd3a4343fe6fed
Status: Downloaded newer image for ocaml/opam@sha256:39b42a4e4893d22fac40e1565e95f997493e2965530114d6defd3a4343fe6fed
2025-05-15 15:23.38 ---> using "34561917dcddbc8cfd0ec000ff0e19ea3f5058216d33f6a9a6d1cf6e9aa45b53" 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-05-15 15:23.38 ---> using "527f39781e1f701c65ad40703d975fc369ea8685b51e19dd063493a0398dbeb4" 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-05-15 15:23.38 ---> using "af6ce50a6d6847374d3a72b160b696854a8b9893ef85720276124b49c4525eb0" 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-05-15 15:23.38 ---> using "04953c58f18630357427cc9e40ec299512073a2a7887697b7da12c346200a85a" 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-05-15 15:23.38 ---> using "2b5c2196bec08b52114ea4e1f55016eeb6835294c988d4df33003f1c68722f95" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-05-15 15:23.45 ---> using "3801e5c4b4588376da4009ecd4baaf8778b9ef8905c037b2bfe471b44ec3745e" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-05-15 15:23.45 ---> using "7cd09b3ee2e77d17ca38caa79fb12e63644f3a10abbc8d2048a719594bf41605" 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 [741 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1102 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-backports/main riscv64 Packages [77.1 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe riscv64 Packages [30.5 kB]
- Get:9 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [439 kB]
- Fetched 2769 kB in 2s (1794 kB/s)
- Reading package lists...
- 
2025-05-15 15:23.45 ---> using "a563ca694ccf4ef7a2eff6a28e303efce68082d4fb43b8e53fa78ad36037d91c" from cache

/home/opam: (run (shell "opam pin add -k version -yn ocaml-option-fp.1 1"))
ocaml-option-fp is now pinned to version 1
2025-05-15 15:23.45 ---> using "5f2fe3088e68fba0eacd611084dcf303f3bfb0a59bca1d70d130f7297bd070fa" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ocaml-option-fp.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\" != 'ocaml-option-fp.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
[ERROR] ocaml-option-fp = 1: unmet availability conditions: '(os = "linux" | os = "macos") & (arch = "x86_64" | arch = "arm64")'
"/usr/bin/env" "bash" "-c" "opam reinstall ocaml-option-fp.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" != 'ocaml-option-fp.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 5
2025-05-15 15:24.36: Job failed: Failed: Build failed
2025-05-15 15:24.36: Log analysis:
2025-05-15 15:24.36: >>> 
[ERROR] ocaml-option-fp = 1: unmet availability conditions: '(os = "linux" | os = "macos") & (arch = "x86_64" | arch = "arm64")'
 (score = 100)
2025-05-15 15:24.36: [SKIP] Package not available