(for PR #29484)

2026-03-12 11:12.27: New job: build colibrilib-why3.0.5, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29484/head (1b330fadfbca45ff79eea30cec2cd15a1b2a42b9)
                              on debian-13-ocaml-5.4-flambda/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-13-ocaml-5.4-flambda@sha256:b66290a04bc4c3d6ec52e4ba562992b5026ef27d2903d5abe04dfa6450add297
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 colibrilib-why3.0.5 0.5
RUN opam reinstall colibrilib-why3.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" != 'colibrilib-why3.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.27: Using cache hint "ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:b66290a04bc4c3d6ec52e4ba562992b5026ef27d2903d5abe04dfa6450add297-colibrilib-why3.0.5-1b330fadfbca45ff79eea30cec2cd15a1b2a42b9"
2026-03-12 11:12.27: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:b66290a04bc4c3d6ec52e4ba562992b5026ef27d2903d5abe04dfa6450add297)
 (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 colibrilib-why3.0.5 0.5"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall colibrilib-why3.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\" != 'colibrilib-why3.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.27: Waiting for resource in pool OCluster
2026-03-12 11:12.33: Waiting for worker…
2026-03-12 11:14.43: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
Updating files:  95% (17565/18436)
Updating files:  96% (17699/18436)
Updating files:  97% (17883/18436)
Updating files:  98% (18068/18436)
Updating files:  99% (18252/18436)
Updating files: 100% (18436/18436)
Updating files: 100% (18436/18436), done.
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-flambda@sha256:b66290a04bc4c3d6ec52e4ba562992b5026ef27d2903d5abe04dfa6450add297)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:b66290a04bc4c3d6ec52e4ba562992b5026ef27d2903d5abe04dfa6450add297' locally
docker.io/ocaml/opam@sha256:b66290a04bc4c3d6ec52e4ba562992b5026ef27d2903d5abe04dfa6450add297: Pulling from ocaml/opam
866771c43bf5: Already exists
1e49bea09367: Already exists
e793768537e6: Already exists
ed323d3d481a: Already exists
7df34a5cd5f1: Already exists
fd712d3eb935: Already exists
4b9fb8c99118: Already exists
9d9a01948b94: Already exists
0f1514f90b32: Already exists
e1ec5a753447: Already exists
03cc323e2f71: Already exists
c09c08ea9749: Already exists
b36b619f8e6b: Already exists
195344ca5274: Already exists
228ee78582a6: Already exists
504bde1c25b3: Already exists
9d8b1356c89f: Already exists
9d8b1356c89f: Already exists
568fb6dda155: Already exists
c499c9198aea: Already exists
048e5e358118: Already exists
871ca48eb45d: Already exists
4f4fb700ef54: Already exists
a5a2568b9df9: Already exists
068cf3106ac8: Already exists
559f54ec9b29: Already exists
798ffd96fde5: Already exists
e9a891bf80d7: Already exists
d720cfe12674: Already exists
c81c932f4a91: Already exists
79f24fa3bb11: Already exists
8c1debcd8c20: Already exists
1bb2cfea7250: Already exists
2b3d3ca75e4c: Already exists
557cacaf263c: Already exists
d10483022eef: Already exists
7b62a90d8223: Already exists
28ce8ea66e72: Already exists
d975909ea717: Already exists
5c215c69c247: Already exists
e7c082452a54: Already exists
3b9954c71758: Pulling fs layer
d8b5dae1d1ae: Pulling fs layer
85a735b9b0ca: Pulling fs layer
5d8ab749e549: Pulling fs layer
8fcc72c7994e: Pulling fs layer
1da765444b13: Pulling fs layer
3f4f2211b741: Pulling fs layer
5d8ab749e549: Waiting
1da765444b13: Waiting
8fcc72c7994e: Waiting
3f4f2211b741: Waiting
d8b5dae1d1ae: Verifying Checksum
d8b5dae1d1ae: Download complete
3b9954c71758: Verifying Checksum
3b9954c71758: Download complete
85a735b9b0ca: Download complete
3b9954c71758: Pull complete
d8b5dae1d1ae: Pull complete
85a735b9b0ca: Pull complete
8fcc72c7994e: Verifying Checksum
8fcc72c7994e: Download complete
1da765444b13: Download complete
3f4f2211b741: Download complete
5d8ab749e549: Verifying Checksum
5d8ab749e549: Download complete
5d8ab749e549: Pull complete
8fcc72c7994e: Pull complete
1da765444b13: Pull complete
3f4f2211b741: Pull complete
Digest: sha256:b66290a04bc4c3d6ec52e4ba562992b5026ef27d2903d5abe04dfa6450add297
Status: Downloaded newer image for ocaml/opam@sha256:b66290a04bc4c3d6ec52e4ba562992b5026ef27d2903d5abe04dfa6450add297
2026-03-12 11:22.47 ---> using "f0b6f5aeafb1c5ceab5063fd48d5c1a1779a9a1624d098f01d4401d1d6f8f06d" 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:22.47 ---> using "a11402d2cac07e9e7930161d8fdf607b7001916af1727ada6564788ae75c6fc5" 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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-12 11:22.47 ---> using "d8fcfff2addaf8a1d70f168f64a24a666e06bcabed3a680387e3dd2ba174ecfb" 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=13
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# invariant            ["ocaml-variants" {= "5.4.0+options"}]
# compiler-packages    ocaml-compiler.5.4.0, ocaml-option-flambda.1, ocaml-options-only-flambda.1, ocaml-variants.5.4.0+options
# 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+options+flambda
2026-03-12 11:22.47 ---> using "3afc6c47a88c6b8b84278678d434f711c95db2a3904a5faa9e23391ae350be88" 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:22.47 ---> using "9146d73ad3586eeb63ce0f51d0d19a7a26965ff8c922a2750aec9737b2418a32" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-12 11:22.48 ---> using "7c5964a022c1b16d478c8b598c26a7425fcfca17660314cc840a50b823dd2a0f" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-12 11:22.48 ---> using "9c6f42fbfbe94159de8d5bdae87fb87f82f233cee4bd6d64c9e7f6d6aac57eb4" from cache

/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 amd64 Packages [109 kB]
- Fetched 199 kB in 0s (2008 kB/s)
- Reading package lists...
2026-03-12 11:22.48 ---> using "4f8211a7dedd3717a848e430299a1d7af26fce29cd26470367bff31f2ec37d64" from cache

/home/opam: (run (shell "opam pin add -k version -yn colibrilib-why3.0.5 0.5"))
colibrilib-why3 is now pinned to version 0.5
2026-03-12 11:22.48 ---> saved as "3b88dc690f2f65e6d7af5e6285a61d825c73e658f1d860e8393435c658075ea8"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall colibrilib-why3.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\" != 'colibrilib-why3.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"))
colibrilib-why3.0.5 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 24 packages
  - install colibrilib-why3   0.5 (pinned)
  - install conf-gmp          5            [required by zarith]
  - install conf-pkg-config   4            [required by zarith]
  - install csexp             1.5.2        [required by dune-private-libs]
  - install dune              3.21.1       [required by colibrilib-why3]
  - install dune-private-libs 3.21.1       [required by dune-site]
  - install dune-site         3.21.1       [required by why3find]
  - install dyn               3.21.1       [required by dune-private-libs]
  - install fs-io             3.21.1       [required by stdune]
  - install menhir            20260209     [required by why3]
  - install menhirCST         20260209     [required by menhir]
  - install menhirGLR         20260209     [required by menhir]
  - install menhirLib         20260209     [required by menhir]
  - install menhirSdk         20260209     [required by menhir]
  - install ocamlfind         1.9.8        [required by why3]
  - install ordering          3.21.1       [required by dyn, stdune]
  - install pp                2.0.0        [required by dune-private-libs]
  - install stdune            3.21.1       [required by dune-private-libs]
  - install terminal_size     0.2.0        [required by why3find]
  - install top-closure       3.21.1       [required by stdune]
  - install why3              1.8.2        [required by why3find]
  - install why3find          1.3.0        [required by colibrilib-why3]
  - install yojson            3.0.0        [required by why3find]
  - install zarith            1.14         [required by why3]

The following system packages will first need to be installed:
    libgmp-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "pkg-config"
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20654 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12+deb13u1) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved colibrilib-why3.0.5  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> installed conf-gmp.5
-> retrieved dune.3.21.1, dune-private-libs.3.21.1, dune-site.3.21.1, dyn.3.21.1, fs-io.3.21.1, ordering.3.21.1, stdune.3.21.1, top-closure.3.21.1  (cached)
-> retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved pp.2.0.0  (cached)
-> retrieved terminal_size.0.2.0  (cached)
-> retrieved why3.1.8.2  (cached)
-> retrieved why3find.1.3.0  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved zarith.1.14  (cached)
-> installed ocamlfind.1.9.8
-> installed zarith.1.14
-> installed dune.3.21.1
-> installed csexp.1.5.2
-> installed menhirCST.20260209
-> installed menhirGLR.20260209
-> installed menhirLib.20260209
-> installed menhirSdk.20260209
-> installed pp.2.0.0
-> installed terminal_size.0.2.0
-> installed ordering.3.21.1
-> installed yojson.3.0.0
-> installed fs-io.3.21.1
-> installed top-closure.3.21.1
-> installed dyn.3.21.1
-> installed stdune.3.21.1
-> installed menhir.20260209
-> installed dune-private-libs.3.21.1
-> installed dune-site.3.21.1
-> installed why3.1.8.2
-> installed why3find.1.3.0
-> installed colibrilib-why3.0.5
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-12 11:24.30 ---> saved as "6557e4e828756150526d7f6a2acdb2c7160c3f3ecfbe5fe0960cbf8a5e535d98"
Job succeeded
2026-03-12 11:24.39: Job succeeded