(for PR #29484)

2026-03-12 11:12.28: New job: build colibri2.0.5, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29484/head (1b330fadfbca45ff79eea30cec2cd15a1b2a42b9)
                              on debian-13-ocaml-5.4/arm32v7

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29484/head" && git reset --hard 1b330fad
git fetch origin master
git merge --no-edit 6d75ddf1d37818547f88125983edb2e55e55ed23
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:c95f25fc7bfaa76edc45bc23c42aceff342f8dc6089f36316509a8ee6536f83f
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 colibri2.0.5 0.5
RUN opam reinstall colibri2.0.5; \
    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" != 'colibri2.0.5' && 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-03-12 11:12.28: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:c95f25fc7bfaa76edc45bc23c42aceff342f8dc6089f36316509a8ee6536f83f-colibri2.0.5-1b330fadfbca45ff79eea30cec2cd15a1b2a42b9"
2026-03-12 11:12.28: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:c95f25fc7bfaa76edc45bc23c42aceff342f8dc6089f36316509a8ee6536f83f)
 (shell /usr/bin/linux32 /bin/sh -c)
 (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 colibri2.0.5 0.5"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall colibri2.0.5;\
             \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\" != 'colibri2.0.5' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-03-12 11:12.28: Waiting for resource in pool OCluster
2026-03-12 11:12.29: Waiting for worker…
2026-03-12 11:12.29: Got resource from pool OCluster
Building on kydoime.caelum.ci.dev
All commits already cached
HEAD is now at 6d75ddf1d3 Merge pull request #29495 from toots/opam-publish-posix-bindings.4.0.2
Merge made by the 'ort' strategy.
 packages/colibri2/colibri2.0.5/opam               | 70 +++++++++++++++++++++++
 packages/colibrics/colibrics.0.5/opam             | 50 ++++++++++++++++
 packages/colibrilib-why3/colibrilib-why3.0.5/opam | 40 +++++++++++++
 packages/colibrilib/colibrilib.0.5/opam           | 40 +++++++++++++
 4 files changed, 200 insertions(+)
 create mode 100644 packages/colibri2/colibri2.0.5/opam
 create mode 100644 packages/colibrics/colibrics.0.5/opam
 create mode 100644 packages/colibrilib-why3/colibrilib-why3.0.5/opam
 create mode 100644 packages/colibrilib/colibrilib.0.5/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:c95f25fc7bfaa76edc45bc23c42aceff342f8dc6089f36316509a8ee6536f83f)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:c95f25fc7bfaa76edc45bc23c42aceff342f8dc6089f36316509a8ee6536f83f' locally
docker.io/ocaml/opam@sha256:c95f25fc7bfaa76edc45bc23c42aceff342f8dc6089f36316509a8ee6536f83f: Pulling from ocaml/opam
e7e4c87ce695: Already exists
098244b1fe4f: Already exists
94a818ec2cdc: Already exists
29e77b813c7f: Already exists
b9dc986333a7: Already exists
023a3b8ea315: Already exists
2684ea5ea2fe: Already exists
93c319c970b2: Already exists
03f63d243d48: Already exists
237874024f5b: Already exists
954f264158bf: Already exists
85f6eb6723bd: Already exists
2882e9da3bb0: Already exists
4aabbd87a4c4: Already exists
4f386ee1e947: Already exists
76eac5355b1e: Already exists
7732af2249d2: Already exists
0864fc6233a3: Already exists
74a602ddff51: Already exists
eff8656d1a08: Already exists
480ead97e7de: Already exists
71d9c83b5938: Already exists
4f4fb700ef54: Already exists
46ffbb314b18: Already exists
9ad678cce639: Already exists
cee0ad8655f3: Already exists
d7a6444c98ec: Already exists
fb7ac70d48b8: Already exists
9e9d8c0fc63b: Already exists
4fd15bd8b00c: Already exists
cfb25ffd51ce: Already exists
a1d4a67b1423: Already exists
b5f05950c5d7: Already exists
ffaeb3c9d76d: Already exists
4c3b6722757e: Already exists
0f58a95c7a9b: Already exists
c3e40142c411: Already exists
7f8475cb6605: Already exists
05a50efaf303: Already exists
6b01dec062a8: Already exists
9fd1e9989233: Already exists
0dba846700e5: Pulling fs layer
bf52bc4812dd: Pulling fs layer
1b2b9281aa17: Pulling fs layer
bd50ec9d8592: Pulling fs layer
68e2e1973b70: Pulling fs layer
57cf45132733: Pulling fs layer
265accc134f8: Pulling fs layer
68e2e1973b70: Waiting
57cf45132733: Waiting
bd50ec9d8592: Waiting
265accc134f8: Waiting
bf52bc4812dd: Download complete
0dba846700e5: Verifying Checksum
0dba846700e5: Download complete
0dba846700e5: Pull complete
1b2b9281aa17: Verifying Checksum
1b2b9281aa17: Download complete
bf52bc4812dd: Pull complete
1b2b9281aa17: Pull complete
68e2e1973b70: Verifying Checksum
68e2e1973b70: Download complete
57cf45132733: Verifying Checksum
57cf45132733: Download complete
265accc134f8: Verifying Checksum
265accc134f8: Download complete
bd50ec9d8592: Verifying Checksum
bd50ec9d8592: Download complete
bd50ec9d8592: Pull complete
68e2e1973b70: Pull complete
57cf45132733: Pull complete
265accc134f8: Pull complete
Digest: sha256:c95f25fc7bfaa76edc45bc23c42aceff342f8dc6089f36316509a8ee6536f83f
Status: Downloaded newer image for ocaml/opam@sha256:c95f25fc7bfaa76edc45bc23c42aceff342f8dc6089f36316509a8ee6536f83f
2026-03-12 11:12.36 ---> using "842f1388ec2987f766804552c28c55560fa02e4f2d5abda53e3e17755e9377f6" from cache

/: (shell /usr/bin/linux32 /bin/sh -c)

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-12 11:12.36 ---> using "ce33c090cee681486d95d74a367be59729600fac719653754f2174b3c9771c51" 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-03-12 11:12.36 ---> using "6c76db98d2847d185390e90ace0943bdfb6d6adba962f8dcd26c60bc2625937d" 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=arm32 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.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-option-bytecode-only.1, ocaml-options-vanilla.1
# ocaml:native         false
# ocaml:native-tools   false
# ocaml:native-dynlink false
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0+bytecode-only
2026-03-12 11:12.36 ---> using "9ed5cda145d4b3c88e63b67704995cdd356c06f9f9e273d5bada87220c40dd15" 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-03-12 11:12.36 ---> using "da8dd6faa512006558db46983f2d898758c4e5d6eeb28079d849c0dc2da4d351" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-12 11:12.40 ---> saved as "2bd37bcee825addaee71bafffa98b8ecbedb62b2362a301dca75278902054a6b"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-12 11:13.09 ---> saved as "21a569a0d39520b6ab33e3569cce00f0a236607aaf861ab235ab2039752b31aa"

/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 armhf Packages [102 kB]
- Fetched 193 kB in 0s (1396 kB/s)
- Reading package lists...
- 
2026-03-12 11:13.11 ---> saved as "776a46ab8e9595984bf9b685abd76cfef55b824cafcb652853553aed2e5197f6"

/home/opam: (run (shell "opam pin add -k version -yn colibri2.0.5 0.5"))
colibri2 is now pinned to version 0.5
2026-03-12 11:13.11 ---> saved as "ac15e02d3a86f0b53440b361c5e9ef580d8f1613f5ac943ae5dfa608ea927813"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall colibri2.0.5;\
                        \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\" != 'colibri2.0.5' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
colibri2.0.5 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 5.4.0 -> ocaml-compiler = 5.4.0 -> ocaml-option-bytecode-only
    - colibri2 >= 0.5 -> flint >= 0.4.0
    You can temporarily relax the switch invariant with `--update-invariant'

No solution found, exiting
"/usr/bin/linux32" "/bin/sh" "-c" "opam reinstall colibri2.0.5;
        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" != 'colibri2.0.5' && 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-03-12 11:13.23: Job failed: Failed: Build failed
2026-03-12 11:13.23: Log analysis:
2026-03-12 11:13.23: >>> 
No solution found, exiting
 (score = 100)
2026-03-12 11:13.23: [SKIP] Package not available