Build:
  1. 0
2026-02-17 13:52.30: New job: build ocaml-compiler.5.4.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29408/head (d10e5a9919bb3cca75e8ad64d90d869bd5b237f0)
                              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/29408/head" && git reset --hard d10e5a99
git fetch origin master
git merge --no-edit 809faa59ae6d7ced1d9cd52d11740accdb6b5e83
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:4b282ce026cda62f3e60b3edaa8bf0c1bb3b1d24c5f30b72bafc748c7978b52c
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 ocaml-compiler.5.4.1 5.4.1
RUN opam reinstall --update-invariant ocaml-compiler.5.4.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-compiler.5.4.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-02-17 13:52.30: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:4b282ce026cda62f3e60b3edaa8bf0c1bb3b1d24c5f30b72bafc748c7978b52c-ocaml-compiler.5.4.1-d10e5a9919bb3cca75e8ad64d90d869bd5b237f0"
2026-02-17 13:52.30: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:4b282ce026cda62f3e60b3edaa8bf0c1bb3b1d24c5f30b72bafc748c7978b52c)
 (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 ocaml-compiler.5.4.1 5.4.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall --update-invariant ocaml-compiler.5.4.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-compiler.5.4.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-02-17 13:52.30: Waiting for resource in pool OCluster
2026-02-17 13:52.30: Waiting for worker…
2026-02-18 00:54.57: Got resource from pool OCluster
Building on riscv-bm-02.sw.ci.dev
All commits already cached
Updating files:  14% (2722/18232)
Updating files:  15% (2735/18232)
Updating files:  16% (2918/18232)
Updating files:  17% (3100/18232)
Updating files:  18% (3282/18232)
Updating files:  19% (3465/18232)
Updating files:  20% (3647/18232)
Updating files:  21% (3829/18232)
Updating files:  22% (4012/18232)
Updating files:  23% (4194/18232)
Updating files:  24% (4376/18232)
Updating files:  25% (4558/18232)
Updating files:  26% (4741/18232)
Updating files:  27% (4923/18232)
Updating files:  28% (5105/18232)
Updating files:  28% (5286/18232)
Updating files:  29% (5288/18232)
Updating files:  30% (5470/18232)
Updating files:  31% (5652/18232)
Updating files:  32% (5835/18232)
Updating files:  33% (6017/18232)
Updating files:  34% (6199/18232)
Updating files:  35% (6382/18232)
Updating files:  36% (6564/18232)
Updating files:  37% (6746/18232)
Updating files:  38% (6929/18232)
Updating files:  39% (7111/18232)
Updating files:  40% (7293/18232)
Updating files:  41% (7476/18232)
Updating files:  42% (7658/18232)
Updating files:  43% (7840/18232)
Updating files:  43% (7958/18232)
Updating files:  44% (8023/18232)
Updating files:  45% (8205/18232)
Updating files:  46% (8387/18232)
Updating files:  47% (8570/18232)
Updating files:  48% (8752/18232)
Updating files:  49% (8934/18232)
Updating files:  50% (9116/18232)
Updating files:  51% (9299/18232)
Updating files:  52% (9481/18232)
Updating files:  53% (9663/18232)
Updating files:  54% (9846/18232)
Updating files:  55% (10028/18232)
Updating files:  56% (10210/18232)
Updating files:  57% (10393/18232)
Updating files:  57% (10470/18232)
Updating files:  58% (10575/18232)
Updating files:  59% (10757/18232)
Updating files:  60% (10940/18232)
Updating files:  61% (11122/18232)
Updating files:  62% (11304/18232)
Updating files:  63% (11487/18232)
Updating files:  64% (11669/18232)
Updating files:  65% (11851/18232)
Updating files:  66% (12034/18232)
Updating files:  67% (12216/18232)
Updating files:  68% (12398/18232)
Updating files:  69% (12581/18232)
Updating files:  70% (12763/18232)
Updating files:  70% (12796/18232)
Updating files:  71% (12945/18232)
Updating files:  72% (13128/18232)
Updating files:  73% (13310/18232)
Updating files:  74% (13492/18232)
Updating files:  75% (13674/18232)
Updating files:  76% (13857/18232)
Updating files:  77% (14039/18232)
Updating files:  78% (14221/18232)
Updating files:  79% (14404/18232)
Updating files:  80% (14586/18232)
Updating files:  81% (14768/18232)
Updating files:  82% (14951/18232)
Updating files:  83% (15133/18232)
Updating files:  83% (15144/18232)
Updating files:  84% (15315/18232)
Updating files:  85% (15498/18232)
Updating files:  86% (15680/18232)
Updating files:  87% (15862/18232)
Updating files:  88% (16045/18232)
Updating files:  89% (16227/18232)
Updating files:  90% (16409/18232)
Updating files:  91% (16592/18232)
Updating files:  92% (16774/18232)
Updating files:  93% (16956/18232)
Updating files:  94% (17139/18232)
Updating files:  95% (17321/18232)
Updating files:  95% (17491/18232)
Updating files:  96% (17503/18232)
Updating files:  97% (17686/18232)
Updating files:  98% (17868/18232)
Updating files:  99% (18050/18232)
Updating files: 100% (18232/18232)
Updating files: 100% (18232/18232), done.
HEAD is now at 809faa59ae Merge pull request #29404 from SkySkimmer/vsrocq-compat
Updating 809faa59ae..d10e5a9919
Fast-forward
 .../ocaml-base-compiler.4.14.3/opam                |  75 +++++++++++++
 .../ocaml-base-compiler.5.4.1/opam                 |  21 ++++
 packages/ocaml-compiler/ocaml-compiler.5.4.1/opam  | 124 +++++++++++++++++++++
 packages/ocaml-src/ocaml-src.4.14.3/opam           |  15 +++
 packages/ocaml-src/ocaml-src.5.4.1/opam            |  15 +++
 packages/ocaml-system/ocaml-system.4.14.3/opam     |  56 ++++++++++
 packages/ocaml-system/ocaml-system.5.4.1/opam      |  61 ++++++++++
 .../ocaml-variants.4.14.3+options/opam             | 107 ++++++++++++++++++
 .../opam                                           |   0
 .../ocaml-variants.5.4.1+options/opam              |  24 ++++
 .../opam                                           |   0
 packages/ocaml/ocaml.4.14.4/opam                   |  38 +++++++
 packages/ocaml/ocaml.5.4.2/opam                    |  43 +++++++
 13 files changed, 579 insertions(+)
 create mode 100644 packages/ocaml-base-compiler/ocaml-base-compiler.4.14.3/opam
 create mode 100644 packages/ocaml-base-compiler/ocaml-base-compiler.5.4.1/opam
 create mode 100644 packages/ocaml-compiler/ocaml-compiler.5.4.1/opam
 create mode 100644 packages/ocaml-src/ocaml-src.4.14.3/opam
 create mode 100644 packages/ocaml-src/ocaml-src.5.4.1/opam
 create mode 100644 packages/ocaml-system/ocaml-system.4.14.3/opam
 create mode 100644 packages/ocaml-system/ocaml-system.5.4.1/opam
 create mode 100644 packages/ocaml-variants/ocaml-variants.4.14.3+options/opam
 rename packages/ocaml-variants/{ocaml-variants.4.14.3+trunk => ocaml-variants.4.14.4+trunk}/opam (100%)
 create mode 100644 packages/ocaml-variants/ocaml-variants.5.4.1+options/opam
 rename packages/ocaml-variants/{ocaml-variants.5.4.1+trunk => ocaml-variants.5.4.2+trunk}/opam (100%)
 create mode 100644 packages/ocaml/ocaml.4.14.4/opam
 create mode 100644 packages/ocaml/ocaml.5.4.2/opam

(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:4b282ce026cda62f3e60b3edaa8bf0c1bb3b1d24c5f30b72bafc748c7978b52c)
2026-02-18 00:55.08 ---> using "40d7843ecf277139c4c28c384d143c29cf834752694c6d2cde13cc05e47d68f6" 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-02-18 00:55.08 ---> using "7e8bf476332986a17f336a125c9f8be30b1e25886f164f9655ce90813f79e64e" 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 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-02-18 00:55.08 ---> using "71ae131335993be27ddb5bd22d6d98842a636c85685e0e74b9ce98bf1905d43e" 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.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.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
2026-02-18 00:55.08 ---> using "26684295e2eca44b8f29d866a054ee71eb72449d71ab583d34bfe4a12adb8f9e" 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/"))
2026-02-18 00:55.08 ---> using "1da11bae1a1188a437fc4610ca388bc4bb58d030f99a443ce21d2e38a2227401" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-02-18 00:55.13 ---> using "3e9cbf4c676308adc0dc08478714941c54b8c17d348a9e5eb0678058df7cfdf5" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-18 00:55.13 ---> using "adda83006005c3f0a03abe82c6170ea5eb794b21f8de1102157bb1a45f376304" 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 [1513 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [931 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [602 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [939 kB]
- Fetched 4363 kB in 2s (1789 kB/s)
- Reading package lists...
- 
2026-02-18 00:55.13 ---> using "7c01d421f072bc2dba2a683c37aabffe64e8440d1510a5749107d910f2937305" from cache

/home/opam: (run (shell "opam pin add -k version -yn ocaml-compiler.5.4.1 5.4.1"))
ocaml-compiler is now pinned to version 5.4.1
2026-02-18 00:55.17 ---> saved as "05451134cf8361fa6314bf0748a0e3c8e07b7366b63debe5747746022737d983"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall --update-invariant ocaml-compiler.5.4.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-compiler.5.4.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ocaml-compiler.5.4.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== remove 1 package
  - remove    ocaml-base-compiler 4.14.2 (pinned) [conflicts with ocaml-variants]
=== recompile 1 package
  - recompile opam-depext         1.2.3           [uses ocaml]
=== upgrade 2 packages
  - upgrade   ocaml               4.14.2 to 5.4.1 [uses ocaml-config]
  - upgrade   ocaml-config        2 to 3
=== install 5 packages
  - install   base-domains        base
  - install   base-effects        base
  - install   base-nnp            base
  - install   ocaml-compiler      5.4.1 (pinned)
  - install   ocaml-variants      5.4.1+options   [required by ocaml-config]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-compiler.5.4.1  (cached)
-> retrieved ocaml-config.3  (cached)
-> retrieved opam-depext.1.2.3  (cached)
-> removed   opam-depext.1.2.3
-> removed   ocaml.4.14.2
-> removed   ocaml-config.2
-> removed   ocaml-base-compiler.4.14.2
-> installed ocaml-compiler.5.4.1
-> installed ocaml-variants.5.4.1+options
-> installed ocaml-config.3
-> installed ocaml.5.4.1
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
-> installed opam-depext.1.2.3
[NOTE] Switch invariant was updated to ["ocaml-variants" {= "5.4.1+options"}]
       Use `opam switch set-invariant' to change it.
Done.

<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# To update the current shell environment, run: eval $(opam env)
2026-02-18 01:11.46 ---> saved as "a9bb9badd5974fedc574db72b48a6fefdbfa9a8158e5060e519b89234da3bec5"
Job succeeded
2026-02-18 01:12.18: Job succeeded