Build:
  1. 0
2026-04-09 20:07.59: New job: build js_of_ocaml-compiler.5.9.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29692/head (f9a2e06a182171435adc9220f56159740b03f8af)
                              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/29692/head" && git reset --hard f9a2e06a
git fetch origin master
git merge --no-edit 18b5a50741ae19dbea5b6c7cc6876a0352f248d0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:82b5420655385c32dc96068e36a744a8e8c869890b3a55869a20415f213fd254
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /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 js_of_ocaml-compiler.5.9.1 5.9.1
RUN opam reinstall js_of_ocaml-compiler.5.9.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" != 'js_of_ocaml-compiler.5.9.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 .

2026-04-09 20:07.59: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:82b5420655385c32dc96068e36a744a8e8c869890b3a55869a20415f213fd254-js_of_ocaml-compiler.5.9.1-f9a2e06a182171435adc9220f56159740b03f8af"
2026-04-09 20:07.59: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:82b5420655385c32dc96068e36a744a8e8c869890b3a55869a20415f213fd254)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /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 js_of_ocaml-compiler.5.9.1 5.9.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall js_of_ocaml-compiler.5.9.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\" != 'js_of_ocaml-compiler.5.9.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-04-09 20:07.59: Waiting for resource in pool OCluster
2026-04-09 20:08.00: Waiting for worker…
2026-04-09 20:14.27: Got resource from pool OCluster
Building on riscv-bm-04.sw.ci.dev
All commits already cached
Updating files:  14% (2667/18650)
Updating files:  15% (2798/18650)
Updating files:  16% (2984/18650)
Updating files:  17% (3171/18650)
Updating files:  18% (3357/18650)
Updating files:  19% (3544/18650)
Updating files:  20% (3730/18650)
Updating files:  21% (3917/18650)
Updating files:  22% (4103/18650)
Updating files:  23% (4290/18650)
Updating files:  24% (4476/18650)
Updating files:  25% (4663/18650)
Updating files:  26% (4849/18650)
Updating files:  27% (5036/18650)
Updating files:  27% (5219/18650)
Updating files:  28% (5222/18650)
Updating files:  29% (5409/18650)
Updating files:  30% (5595/18650)
Updating files:  31% (5782/18650)
Updating files:  32% (5968/18650)
Updating files:  33% (6155/18650)
Updating files:  34% (6341/18650)
Updating files:  35% (6528/18650)
Updating files:  36% (6714/18650)
Updating files:  37% (6901/18650)
Updating files:  38% (7087/18650)
Updating files:  39% (7274/18650)
Updating files:  40% (7460/18650)
Updating files:  41% (7647/18650)
Updating files:  42% (7833/18650)
Updating files:  42% (7892/18650)
Updating files:  43% (8020/18650)
Updating files:  44% (8206/18650)
Updating files:  45% (8393/18650)
Updating files:  46% (8579/18650)
Updating files:  47% (8766/18650)
Updating files:  48% (8952/18650)
Updating files:  49% (9139/18650)
Updating files:  50% (9325/18650)
Updating files:  51% (9512/18650)
Updating files:  52% (9698/18650)
Updating files:  53% (9885/18650)
Updating files:  54% (10071/18650)
Updating files:  55% (10258/18650)
Updating files:  55% (10314/18650)
Updating files:  56% (10444/18650)
Updating files:  57% (10631/18650)
Updating files:  58% (10817/18650)
Updating files:  59% (11004/18650)
Updating files:  60% (11190/18650)
Updating files:  61% (11377/18650)
Updating files:  62% (11563/18650)
Updating files:  63% (11750/18650)
Updating files:  64% (11936/18650)
Updating files:  65% (12123/18650)
Updating files:  66% (12309/18650)
Updating files:  67% (12496/18650)
Updating files:  67% (12590/18650)
Updating files:  68% (12682/18650)
Updating files:  69% (12869/18650)
Updating files:  70% (13055/18650)
Updating files:  71% (13242/18650)
Updating files:  72% (13428/18650)
Updating files:  73% (13615/18650)
Updating files:  74% (13801/18650)
Updating files:  75% (13988/18650)
Updating files:  76% (14174/18650)
Updating files:  77% (14361/18650)
Updating files:  78% (14547/18650)
Updating files:  79% (14734/18650)
Updating files:  79% (14919/18650)
Updating files:  80% (14920/18650)
Updating files:  81% (15107/18650)
Updating files:  82% (15293/18650)
Updating files:  83% (15480/18650)
Updating files:  84% (15666/18650)
Updating files:  85% (15853/18650)
Updating files:  86% (16039/18650)
Updating files:  87% (16226/18650)
Updating files:  88% (16412/18650)
Updating files:  89% (16599/18650)
Updating files:  90% (16785/18650)
Updating files:  91% (16972/18650)
Updating files:  92% (17158/18650)
Updating files:  92% (17164/18650)
Updating files:  93% (17345/18650)
Updating files:  94% (17531/18650)
Updating files:  95% (17718/18650)
Updating files:  96% (17904/18650)
Updating files:  97% (18091/18650)
Updating files:  98% (18277/18650)
Updating files:  99% (18464/18650)
Updating files: 100% (18650/18650)
Updating files: 100% (18650/18650), done.
HEAD is now at 18b5a50741 Merge pull request #29686 from mabiede/opam-publish-guardian.0.4.0
Merge made by the 'ort' strategy.
 packages/js_of_ocaml-compiler/js_of_ocaml-compiler.5.7.0/opam | 2 +-
 packages/js_of_ocaml-compiler/js_of_ocaml-compiler.5.7.1/opam | 2 +-
 packages/js_of_ocaml-compiler/js_of_ocaml-compiler.5.7.2/opam | 2 +-
 packages/js_of_ocaml-compiler/js_of_ocaml-compiler.5.8.1/opam | 2 +-
 packages/js_of_ocaml-compiler/js_of_ocaml-compiler.5.8.2/opam | 2 +-
 packages/js_of_ocaml-compiler/js_of_ocaml-compiler.5.9.0/opam | 2 +-
 packages/js_of_ocaml-compiler/js_of_ocaml-compiler.5.9.1/opam | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:82b5420655385c32dc96068e36a744a8e8c869890b3a55869a20415f213fd254)
2026-04-09 20:14.36 ---> using "3cac56c9044dc9e4b181473d4151a691cb8b63b695b54d17732b836147acf985" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-09 20:14.37 ---> saved as "d12e6ca8ff6e4502bed07d09bbddd02c4c553df77e472192fe52e9023878c8cf"

/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 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
2026-04-09 20:16.29 ---> saved as "e8b097882913873dad746d9b449d67ebabd77b21bcfac3e06155d38073089922"

/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.5.0
# 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.3"}]
# compiler-packages    ocaml-base-compiler.4.14.3, 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.3
2026-04-09 20:16.32 ---> saved as "958fbf9e1ed7e57f43a38e9e00e72e0a72b8eb6229add8d542bfd5432e36809b"

/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/"))
2026-04-09 20:17.10 ---> saved as "2e19e9b67a050c6551ecd634f5982f057f2e67585d227ca342195cd091ebbf9e"

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-09 20:17.36 ---> saved as "d11f955b7bf80e8bd0522eaa3e1bd23fa1a7cfccd4c8c605334155aba234038b"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-09 20:19.10 ---> saved as "fd4f48661f1a4f245d2ec334c93fdc6146818ebcc782ce02a643001a3d1f4f6b"

/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 [959 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1605 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [633 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [1122 kB]
- Fetched 4697 kB in 3s (1835 kB/s)
- Reading package lists...
- 
2026-04-09 20:19.19 ---> saved as "d13fff69be2466bf6f49e89689eb13cd8a08afb7d3b82c83ba7c0ef5e426d05d"

/home/opam: (run (shell "opam pin add -k version -yn js_of_ocaml-compiler.5.9.1 5.9.1"))
js_of_ocaml-compiler is now pinned to version 5.9.1
2026-04-09 20:19.22 ---> saved as "64b9b716d77925d7c871c0fa7625cc94166f00fb2daca64bbe9fd7ece6cdab1c"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall js_of_ocaml-compiler.5.9.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\" != 'js_of_ocaml-compiler.5.9.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
js_of_ocaml-compiler.5.9.1 is not installed. Install it? [Y/n] y
  * No agreement on the version of ocaml:
    - (invariant) -> ocaml-base-compiler = 4.14.3 -> ocaml = 4.14.3
    - js_of_ocaml-compiler = 5.9.1 -> ocaml (< 4.14.3 | >= 5.0)
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.14.3
    - js_of_ocaml-compiler = 5.9.1 -> ocaml (< 4.14.3 | >= 5.0) -> ocaml-variants >= 5.2.0~
  * Missing dependency:
    - js_of_ocaml-compiler = 5.9.1 -> ocaml (< 4.14.3 | >= 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 4.14.3
    unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.1" & (os != "win32" | sys-ocaml-libc = "msvc")'
    no matching version
  * Missing dependency:
    - js_of_ocaml-compiler = 5.9.1 -> ocaml (< 4.14.3 | >= 5.0) -> ocaml-variants >= 5.2.0~ -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall js_of_ocaml-compiler.5.9.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" != 'js_of_ocaml-compiler.5.9.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
2026-04-09 20:20.31: Job failed: Failed: Build failed
2026-04-09 20:20.31: Log analysis:
2026-04-09 20:20.31: >>> 
No solution found, exiting
 (score = 100)
2026-04-09 20:20.31: [SKIP] Package not available