(for PR #29484)

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

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-12-ocaml-5.4@sha256:205fe4f459021855c2377fccae30f87c13ddf342c8839694bf1a8708f31a844b
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-12\""; 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.25: Using cache hint "ocaml/opam:debian-12-ocaml-5.4@sha256:205fe4f459021855c2377fccae30f87c13ddf342c8839694bf1a8708f31a844b-colibri2.0.5-1b330fadfbca45ff79eea30cec2cd15a1b2a42b9"
2026-03-12 11:12.25: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.4@sha256:205fe4f459021855c2377fccae30f87c13ddf342c8839694bf1a8708f31a844b)
 (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-12\\\"\"; 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.25: Waiting for resource in pool OCluster
2026-03-12 11:12.30: Waiting for worker…
2026-03-12 11:12.31: Got resource from pool OCluster
Building on toxis.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-12-ocaml-5.4@sha256:205fe4f459021855c2377fccae30f87c13ddf342c8839694bf1a8708f31a844b)
2026-03-12 11:13.53 ---> using "257b4f24c6c7d3fd94aed9eed750a9a067d32b39f56d8388856fcebf73a75ca0" 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-03-12 11:13.53 ---> using "12f07b3b42e97b59e53195c58d8188f91ea4551db1ae7501dd5d4af60836aacd" 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:13.53 ---> using "ffef0845b78d9c298b05666dfcf57665447479900b7ebe8b0b0370e2cf08021c" 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=x86_64 os=linux os-distribution=debian os-version=12
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# 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-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.0
2026-03-12 11:13.53 ---> using "983b9d0494dd571b2984d424c558640a15dbaf3f24ff81660ebed5770156bf3f" 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:13.53 ---> using "6299729daa14b23b5d57961b5b2f3224c5680ff054c49846d02e4beafc5441b9" from cache

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [293 kB]
- Fetched 397 kB in 0s (1022 kB/s)
- Reading package lists...
- 
2026-03-12 11:14.37 ---> saved as "6ef720a90807466068c5f2e110f0815d03501fe87b85214fec3bff494118fe89"

/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:14.38 ---> saved as "7349a6cf9664876e535e90f7786860e7c0e9fe8e7bfee804f68f5746637eb27b"

/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-12\\\"\"; 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
  * Missing dependency:
    - colibri2 >= 0.5 -> flint >= 0.4.0 -> conf-flint >= 3.0
    unmet availability conditions: '!(os-distribution = "ubuntu" & os-version < "24.04") & !(os-distribution = "debian" & os-version <= "12") & !(os-family = "fedora" & os-version <= "39") & !(os-family = "suse")'

No solution found, exiting
"/usr/bin/env" "bash" "-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-12\""; 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:15.03: Job failed: Failed: Build failed
2026-03-12 11:15.03: Log analysis:
2026-03-12 11:15.03: >>> 
No solution found, exiting
 (score = 100)
2026-03-12 11:15.03: [SKIP] Package not available