Build:
  1. 0
2026-04-11 08:05.59: New job: build sm.0.1.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29698/head (c6b442b8f2713ecfa13812163a9a6ecc188872a2)
                              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/29698/head" && git reset --hard c6b442b8
git fetch origin master
git merge --no-edit 42844088d70eed10b276d49691b1cbd714fa56a9
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 sm.0.1.1 0.1.1
RUN opam reinstall sm.0.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" != 'sm.0.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 .

2026-04-11 08:05.59: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:82b5420655385c32dc96068e36a744a8e8c869890b3a55869a20415f213fd254-sm.0.1.1-c6b442b8f2713ecfa13812163a9a6ecc188872a2"
2026-04-11 08:05.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 sm.0.1.1 0.1.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall sm.0.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\" != 'sm.0.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"))
)

2026-04-11 08:05.59: Waiting for resource in pool OCluster
2026-04-11 08:06.00: Waiting for worker…
2026-04-11 08:40.27: Got resource from pool OCluster
Building on riscv-bm-04.sw.ci.dev
All commits already cached
Updating files:  14% (2673/18672)
Updating files:  15% (2801/18672)
Updating files:  16% (2988/18672)
Updating files:  17% (3175/18672)
Updating files:  18% (3361/18672)
Updating files:  19% (3548/18672)
Updating files:  20% (3735/18672)
Updating files:  21% (3922/18672)
Updating files:  22% (4108/18672)
Updating files:  23% (4295/18672)
Updating files:  24% (4482/18672)
Updating files:  25% (4668/18672)
Updating files:  26% (4855/18672)
Updating files:  27% (5042/18672)
Updating files:  27% (5200/18672)
Updating files:  28% (5229/18672)
Updating files:  29% (5415/18672)
Updating files:  30% (5602/18672)
Updating files:  31% (5789/18672)
Updating files:  32% (5976/18672)
Updating files:  33% (6162/18672)
Updating files:  34% (6349/18672)
Updating files:  35% (6536/18672)
Updating files:  36% (6722/18672)
Updating files:  37% (6909/18672)
Updating files:  38% (7096/18672)
Updating files:  39% (7283/18672)
Updating files:  40% (7469/18672)
Updating files:  41% (7656/18672)
Updating files:  41% (7825/18672)
Updating files:  42% (7843/18672)
Updating files:  43% (8029/18672)
Updating files:  44% (8216/18672)
Updating files:  45% (8403/18672)
Updating files:  46% (8590/18672)
Updating files:  47% (8776/18672)
Updating files:  48% (8963/18672)
Updating files:  49% (9150/18672)
Updating files:  50% (9336/18672)
Updating files:  51% (9523/18672)
Updating files:  52% (9710/18672)
Updating files:  53% (9897/18672)
Updating files:  54% (10083/18672)
Updating files:  54% (10151/18672)
Updating files:  55% (10270/18672)
Updating files:  56% (10457/18672)
Updating files:  57% (10644/18672)
Updating files:  58% (10830/18672)
Updating files:  59% (11017/18672)
Updating files:  60% (11204/18672)
Updating files:  61% (11390/18672)
Updating files:  62% (11577/18672)
Updating files:  63% (11764/18672)
Updating files:  64% (11951/18672)
Updating files:  65% (12137/18672)
Updating files:  66% (12324/18672)
Updating files:  66% (12466/18672)
Updating files:  67% (12511/18672)
Updating files:  68% (12697/18672)
Updating files:  69% (12884/18672)
Updating files:  70% (13071/18672)
Updating files:  71% (13258/18672)
Updating files:  72% (13444/18672)
Updating files:  73% (13631/18672)
Updating files:  74% (13818/18672)
Updating files:  75% (14004/18672)
Updating files:  76% (14191/18672)
Updating files:  77% (14378/18672)
Updating files:  78% (14565/18672)
Updating files:  78% (14685/18672)
Updating files:  79% (14751/18672)
Updating files:  80% (14938/18672)
Updating files:  81% (15125/18672)
Updating files:  82% (15312/18672)
Updating files:  83% (15498/18672)
Updating files:  84% (15685/18672)
Updating files:  85% (15872/18672)
Updating files:  86% (16058/18672)
Updating files:  87% (16245/18672)
Updating files:  88% (16432/18672)
Updating files:  89% (16619/18672)
Updating files:  90% (16805/18672)
Updating files:  91% (16992/18672)
Updating files:  91% (16999/18672)
Updating files:  92% (17179/18672)
Updating files:  93% (17365/18672)
Updating files:  94% (17552/18672)
Updating files:  95% (17739/18672)
Updating files:  96% (17926/18672)
Updating files:  97% (18112/18672)
Updating files:  98% (18299/18672)
Updating files:  99% (18486/18672)
Updating files: 100% (18672/18672)
Updating files: 100% (18672/18672), done.
HEAD is now at 42844088d7 Merge pull request #29664 from YuriyKrasilnikov/opam-publish-jsonschema-core.0.1.0
Merge made by the 'ort' strategy.
 packages/sm/sm.0.1.1/opam | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
 create mode 100644 packages/sm/sm.0.1.1/opam

(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:82b5420655385c32dc96068e36a744a8e8c869890b3a55869a20415f213fd254)
2026-04-11 08:45.01 ---> saved as "3cac56c9044dc9e4b181473d4151a691cb8b63b695b54d17732b836147acf985"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-11 08:45.02 ---> 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-11 08:46.52 ---> 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-11 08:46.55 ---> 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-11 08:47.35 ---> saved as "2e19e9b67a050c6551ecd634f5982f057f2e67585d227ca342195cd091ebbf9e"

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-11 08:48.04 ---> saved as "1b62f944a85e27f3b35e48e40c7564ee76f58507d1b7878daff55a6f30fb572b"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-11 08:49.35 ---> saved as "cda29bb6ff406bac9a6a37ae6e138e2c8d7381177faa577950cc8c33e1bfa72f"

/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 [1605 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [959 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 2s (1907 kB/s)
- Reading package lists...
- 
2026-04-11 08:49.44 ---> saved as "54ce05353f7b6e13433919cc0a2a26de8c6e4e13568f533f673385510ff12cd7"

/home/opam: (run (shell "opam pin add -k version -yn sm.0.1.1 0.1.1"))
sm is now pinned to version 0.1.1
2026-04-11 08:49.47 ---> saved as "82fc5b6207022288a31160fd01e9fff1282c64a2dbb0eb8cf48abe9f6f1e74e0"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall sm.0.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\" != 'sm.0.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"))
sm.0.1.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
  - install dune 3.22.1         [required by sm]
  - install sm   0.1.1 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.22.1  (cached)
-> retrieved sm.0.1.1  (cached)
-> installed dune.3.22.1
-> installed sm.0.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-11 08:54.01 ---> saved as "67f67ab6256a76070caf51a10102d476a146836b1a8e493e923e97e6c9f873d6"
Job succeeded
2026-04-11 08:54.34: Job succeeded