(for PR #29260)

2026-01-21 13:35.31: New job: build camels.1.0.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29260/head (d2d2eaffa072ea1090da943d36c8a776012a0b42)
                              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/29260/head" && git reset --hard d2d2eaff
git fetch origin master
git merge --no-edit 10a02a697b08f6d78a6c4c2cb9a76136afc7776d
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:f20ef09e777da135c4ee8d0398873c087223035afd7a128f8bfd33dd9b8f4966
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 camels.1.0.0 1.0.0
RUN opam reinstall camels.1.0.0; \
    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" != 'camels.1.0.0' && 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-01-21 13:35.31: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:f20ef09e777da135c4ee8d0398873c087223035afd7a128f8bfd33dd9b8f4966-camels.1.0.0-d2d2eaffa072ea1090da943d36c8a776012a0b42"
2026-01-21 13:35.31: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:f20ef09e777da135c4ee8d0398873c087223035afd7a128f8bfd33dd9b8f4966)
 (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 camels.1.0.0 1.0.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall camels.1.0.0;\
             \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\" != 'camels.1.0.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-01-21 13:35.31: Waiting for resource in pool OCluster
2026-01-21 13:35.32: Waiting for worker…
2026-01-21 13:36.27: Got resource from pool OCluster
Building on riscv-bm-02.sw.ci.dev
Updating files:  13% (2689/19236)
Updating files:  14% (2694/19236)
Updating files:  15% (2886/19236)
Updating files:  16% (3078/19236)
Updating files:  17% (3271/19236)
Updating files:  18% (3463/19236)
Updating files:  19% (3655/19236)
Updating files:  20% (3848/19236)
Updating files:  21% (4040/19236)
Updating files:  22% (4232/19236)
Updating files:  23% (4425/19236)
Updating files:  24% (4617/19236)
Updating files:  25% (4809/19236)
Updating files:  26% (5002/19236)
Updating files:  27% (5194/19236)
Updating files:  27% (5230/19236)
Updating files:  28% (5387/19236)
Updating files:  29% (5579/19236)
Updating files:  30% (5771/19236)
Updating files:  31% (5964/19236)
Updating files:  32% (6156/19236)
Updating files:  33% (6348/19236)
Updating files:  34% (6541/19236)
Updating files:  35% (6733/19236)
Updating files:  36% (6925/19236)
Updating files:  37% (7118/19236)
Updating files:  38% (7310/19236)
Updating files:  39% (7503/19236)
Updating files:  39% (7618/19236)
Updating files:  40% (7695/19236)
Updating files:  41% (7887/19236)
Updating files:  42% (8080/19236)
Updating files:  43% (8272/19236)
Updating files:  44% (8464/19236)
Updating files:  45% (8657/19236)
Updating files:  46% (8849/19236)
Updating files:  47% (9041/19236)
Updating files:  48% (9234/19236)
Updating files:  49% (9426/19236)
Updating files:  50% (9618/19236)
Updating files:  51% (9811/19236)
Updating files:  51% (9948/19236)
Updating files:  52% (10003/19236)
Updating files:  53% (10196/19236)
Updating files:  54% (10388/19236)
Updating files:  55% (10580/19236)
Updating files:  56% (10773/19236)
Updating files:  57% (10965/19236)
Updating files:  58% (11157/19236)
Updating files:  59% (11350/19236)
Updating files:  60% (11542/19236)
Updating files:  61% (11734/19236)
Updating files:  62% (11927/19236)
Updating files:  63% (12119/19236)
Updating files:  63% (12288/19236)
Updating files:  64% (12312/19236)
Updating files:  65% (12504/19236)
Updating files:  66% (12696/19236)
Updating files:  67% (12889/19236)
Updating files:  68% (13081/19236)
Updating files:  69% (13273/19236)
Updating files:  70% (13466/19236)
Updating files:  71% (13658/19236)
Updating files:  72% (13850/19236)
Updating files:  73% (14043/19236)
Updating files:  74% (14235/19236)
Updating files:  75% (14427/19236)
Updating files:  76% (14620/19236)
Updating files:  76% (14629/19236)
Updating files:  77% (14812/19236)
Updating files:  78% (15005/19236)
Updating files:  79% (15197/19236)
Updating files:  80% (15389/19236)
Updating files:  81% (15582/19236)
Updating files:  82% (15774/19236)
Updating files:  83% (15966/19236)
Updating files:  84% (16159/19236)
Updating files:  85% (16351/19236)
Updating files:  86% (16543/19236)
Updating files:  87% (16736/19236)
Updating files:  87% (16906/19236)
Updating files:  88% (16928/19236)
Updating files:  89% (17121/19236)
Updating files:  90% (17313/19236)
Updating files:  91% (17505/19236)
Updating files:  92% (17698/19236)
Updating files:  93% (17890/19236)
Updating files:  94% (18082/19236)
Updating files:  95% (18275/19236)
Updating files:  96% (18467/19236)
Updating files:  97% (18659/19236)
Updating files:  98% (18852/19236)
Updating files:  99% (19044/19236)
Updating files:  99% (19108/19236)
Updating files: 100% (19236/19236)
Updating files: 100% (19236/19236), done.
HEAD is now at c950c930a6 3 packages from codex-semantics-library/codex
HEAD is now at 10a02a697b Merge pull request #29249 from panglesd/release-slipshow-v0.8.0
Updating 10a02a697b..d2d2eaffa0
Fast-forward
 packages/camels/camels.1.0.0/opam | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 packages/camels/camels.1.0.0/opam

(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:f20ef09e777da135c4ee8d0398873c087223035afd7a128f8bfd33dd9b8f4966)
2026-01-21 13:36.54 ---> using "4626d4a5a131a88d02479f5c3b21defc447f75fbe8e0dea7762a8bf70d192939" 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-01-21 13:36.54 ---> using "2cf77de0c9217b9f307fb96292f7e750553dddea1ae1c3af3d877c5064cd48be" 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-01-21 13:36.54 ---> using "e97b1f5b3923c1d4406517373572055c44243d2c7e5d515860195f8caac29ab2" 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-01-21 13:36.54 ---> using "7446a1617c0a540a3bcb1fa66767241aea48568e6441847fecb4c62276a88c16" 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-01-21 13:36.54 ---> using "6a1c59d3cd71ed778ec1a09ca3f6c9b8135cf735686be40ac73fa2d2fb3e5849" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-21 13:37.22 ---> saved as "45b90029808039b51cda9c0afbdf492fb7cb2ae0b4bdc1f37fd663b47bae2724"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-21 13:38.59 ---> saved as "f2b0651158e9688237ea55d50c27fd6108812046e006e5fc700299743e9941cb"

/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 [1479 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [908 kB]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [931 kB]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [585 kB]
- Fetched 4282 kB in 2s (2069 kB/s)
- Reading package lists...
- 
2026-01-21 13:39.08 ---> saved as "f78e07a1d50f332d0fb4c7540bdf744cac90ebb7dab60c2d294f2c2b8a9c15e9"

/home/opam: (run (shell "opam pin add -k version -yn camels.1.0.0 1.0.0"))
camels is now pinned to version 1.0.0
2026-01-21 13:39.10 ---> saved as "20912605fa7f52d64f37d7a123578ae0dea67fd3daee8d1a6dd32f89aabb396e"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall camels.1.0.0;\
                        \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\" != 'camels.1.0.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
camels.1.0.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 28 packages
  - install base-bytes          base           [required by ocplib-endian]
  - install camels              1.0.0 (pinned)
  - install cmdliner            2.1.0          [required by camels]
  - install cppo                1.8.0          [required by notty]
  - install csexp               1.5.2          [required by dune-configurator]
  - install dune                3.21.0         [required by camels]
  - install dune-configurator   3.21.0         [required by mirage-clock-unix]
  - install duration            0.2.1          [required by mirage-time-unix]
  - install fmt                 0.11.0         [required by camels]
  - install lwt                 6.0.0          [required by mirage-time-unix, notty]
  - install mirage-clock        4.2.0          [required by mirage-clock-unix]
  - install mirage-clock-unix   4.2.0          [required by camels]
  - install mirage-time         3.0.0          [required by mirage-time-unix]
  - install mirage-time-unix    3.0.0          [required by camels]
  - install notty               0.2.3          [required by camels]
  - install ocaml-compiler-libs v0.12.4        [required by ppxlib]
  - install ocamlbuild          0.16.1         [required by fmt]
  - install ocamlfind           1.9.8          [required by fmt]
  - install ocplib-endian       1.2            [required by lwt]
  - install ppx_derivers        1.2.1          [required by ppx_deriving]
  - install ppx_deriving        6.1.1          [required by ppx_deriving_yojson]
  - install ppx_deriving_yojson 3.10.0         [required by camels]
  - install ppxlib              0.37.0         [required by ppx_deriving_yojson]
  - install sexplib0            v0.17.0        [required by ppxlib]
  - install stdlib-shims        0.3.0          [required by ppxlib]
  - install topkg               1.1.1          [required by fmt]
  - install uutf                1.0.4          [required by notty]
  - install yojson              3.0.0          [required by camels]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camels.1.0.0  (https://github.com/yomimono/camels/releases/download/1.0.0/camels-1.0.0.tbz)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved lwt.6.0.0  (cached)
-> retrieved mirage-clock.4.2.0, mirage-clock-unix.4.2.0  (cached)
-> retrieved mirage-time.3.0.0, mirage-time-unix.3.0.0  (cached)
-> retrieved notty.0.2.3  (cached)
-> installed cmdliner.2.1.0
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.1.1  (cached)
-> retrieved ppx_deriving_yojson.3.10.0  (cached)
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved yojson.3.0.0  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed dune.3.21.0
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed mirage-clock.4.2.0
-> installed cppo.1.8.0
-> installed ppx_derivers.1.2.1
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocplib-endian.1.2
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed dune-configurator.3.21.0
-> installed yojson.3.0.0
-> installed mirage-clock-unix.4.2.0
-> installed lwt.6.0.0
-> installed mirage-time.3.0.0
-> installed mirage-time-unix.3.0.0
-> installed notty.0.2.3
-> installed ppxlib.0.37.0
-> installed ppx_deriving.6.1.1
-> installed ppx_deriving_yojson.3.10.0
-> installed camels.1.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-21 13:47.56 ---> saved as "48b84dd07e2417bdcc88c91e6dac37d78f25005c64f37a15f8a0e2b1baeb181b"
Job succeeded
2026-01-21 13:48.33: Job succeeded