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 debian-13-ocaml-5.4/arm64

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:debian-13-ocaml-5.4@sha256:fe046f456a18d449418293d603194e036c6d1a71186759fa305959a79064cb9d
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 "\"debian-13\""; 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:debian-13-ocaml-5.4@sha256:fe046f456a18d449418293d603194e036c6d1a71186759fa305959a79064cb9d-sm.0.1.1-c6b442b8f2713ecfa13812163a9a6ecc188872a2"
2026-04-11 08:05.59: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:fe046f456a18d449418293d603194e036c6d1a71186759fa305959a79064cb9d)
 (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 \"\\\"debian-13\\\"\"; 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:08.47: Got resource from pool OCluster
Building on ainia.caelum.ci.dev
Updating files:  81% (15224/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:  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 f4910a2531 [new release] textmate-language (0.6.0)
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:debian-13-ocaml-5.4@sha256:fe046f456a18d449418293d603194e036c6d1a71186759fa305959a79064cb9d)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:fe046f456a18d449418293d603194e036c6d1a71186759fa305959a79064cb9d' locally
docker.io/ocaml/opam@sha256:fe046f456a18d449418293d603194e036c6d1a71186759fa305959a79064cb9d: Pulling from ocaml/opam
deab8db42772: Already exists
0e3be483d5aa: Already exists
068cb436b3a9: Already exists
876321ecdfda: Already exists
273508c8cc8f: Already exists
0127577a5c6f: Already exists
3a9ccd696d58: Already exists
07e9e46cfc73: Already exists
90969cd95f06: Already exists
73bba924289b: Already exists
95b440bef6e0: Already exists
4d557eea525f: Already exists
66433cb92d59: Already exists
c84c96b2584b: Already exists
4c2683e0739d: Already exists
5d1e421ae43b: Already exists
30b477dede6e: Already exists
30b477dede6e: Already exists
ae38f53b91ad: Already exists
2891aff3bb84: Already exists
557b57ba5e84: Already exists
26aa66f0772d: Already exists
4f4fb700ef54: Already exists
052acd1bf2d5: Already exists
574caf9a2301: Already exists
84389297cf64: Already exists
6bbca6fcf80a: Already exists
a3d41e3ab742: Already exists
8d1ee78e3cbb: Already exists
7e42808b1a06: Already exists
145716f86fbb: Already exists
96f1a7065127: Already exists
bf34a5cce066: Already exists
b208125ec0c1: Already exists
eb9f72cac455: Already exists
6c2ef7cdfe76: Already exists
2f1d47b9f295: Already exists
3510a4fa3067: Already exists
a67317911b4e: Already exists
919c1b5320bf: Already exists
22da690bd44e: Already exists
932171677f01: Pulling fs layer
74918ccf3079: Pulling fs layer
68e490d2c7ce: Pulling fs layer
ba126ccd8f8a: Pulling fs layer
fec6624cd4f8: Pulling fs layer
bad63f639c33: Pulling fs layer
786545699103: Pulling fs layer
fec6624cd4f8: Waiting
bad63f639c33: Waiting
786545699103: Waiting
ba126ccd8f8a: Waiting
74918ccf3079: Verifying Checksum
74918ccf3079: Download complete
932171677f01: Download complete
932171677f01: Pull complete
74918ccf3079: Pull complete
68e490d2c7ce: Verifying Checksum
68e490d2c7ce: Download complete
68e490d2c7ce: Pull complete
bad63f639c33: Verifying Checksum
bad63f639c33: Download complete
fec6624cd4f8: Verifying Checksum
fec6624cd4f8: Download complete
786545699103: Verifying Checksum
786545699103: Download complete
ba126ccd8f8a: Verifying Checksum
ba126ccd8f8a: Download complete
ba126ccd8f8a: Pull complete
fec6624cd4f8: Pull complete
bad63f639c33: Pull complete
786545699103: Pull complete
Digest: sha256:fe046f456a18d449418293d603194e036c6d1a71186759fa305959a79064cb9d
Status: Downloaded newer image for ocaml/opam@sha256:fe046f456a18d449418293d603194e036c6d1a71186759fa305959a79064cb9d
2026-04-11 08:08.52 ---> using "78bae75fdc282b2e17ea11f64fbb16667ffd1c41e445cc94377f7ea5292a011c" 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-11 08:08.52 ---> using "90851ed704abf15e71139ba4232a500a172fe1d3db61e2553840a9318550bd9e" 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-04-11 08:08.52 ---> using "846e2f55bb914ca8ca17986160612e156ad6e1d3fa2f87cce444182599211971" 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=arm64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 79
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# invariant            ["ocaml-base-compiler" {= "5.4.1"}]
# compiler-packages    ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.1
2026-04-11 08:08.52 ---> using "2a7d4d8c9b7647cc8f259c921eecd8fd17cf2dfeaa6dfdd2b3dae852dc8bb5f8" 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-04-11 08:08.52 ---> using "afabd998c6afcd4cde0e505629d78ec3a606d795c969dc5e9e4e878c758275eb" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-11 08:09.00 ---> saved as "89ce089ea84b51ea7ee7a255e9883dd665b119458caaf3b82b6b0c4453e13ed6"

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main arm64 Packages [120 kB]
- Fetched 211 kB in 0s (1469 kB/s)
- Reading package lists...
2026-04-11 08:09.21 ---> saved as "9c166c4e12665e36abb6b0c885301b217361e6c84a269323ba57293168d535ad"

/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:09.22 ---> saved as "cf8bdb5bdab2abd98c1d70466b7c4cc91f63942c1ecdfe09991d21cbc60603d9"

/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 \"\\\"debian-13\\\"\"; 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  (https://github.com/daysv/ocaml-sm/releases/download/0.1.1/sm-0.1.1.tbz)
-> 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:09.53 ---> saved as "8f39980af492ff4fe3d28ec1041e1b47d8bebd173385b4f70e3d8aa1d8511eca"
Job succeeded
2026-04-11 08:10.06: Job succeeded