(for PR #29484)

2026-03-12 11:12.26: New job: build colibrilib-why3.0.5, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29484/head (1b330fadfbca45ff79eea30cec2cd15a1b2a42b9)
                              on archlinux-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:archlinux-ocaml-5.4@sha256:016d39bea6aa61ab2a80784d38d91d47199e3e3dc0fe1e007733bad430587151
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 "\"archlinux\""; 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.26: Using cache hint "ocaml/opam:archlinux-ocaml-5.4@sha256:016d39bea6aa61ab2a80784d38d91d47199e3e3dc0fe1e007733bad430587151-colibrilib-why3.0.5-1b330fadfbca45ff79eea30cec2cd15a1b2a42b9"
2026-03-12 11:12.26: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.4@sha256:016d39bea6aa61ab2a80784d38d91d47199e3e3dc0fe1e007733bad430587151)
 (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 \"\\\"archlinux\\\"\"; 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.26: 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 odawa.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:archlinux-ocaml-5.4@sha256:016d39bea6aa61ab2a80784d38d91d47199e3e3dc0fe1e007733bad430587151)
2026-03-12 11:14.25 ---> saved as "983fb8fa27cec9a4a5d43f665c1205c6ea6e68ba17ec6c9143d76637febb22cc"

/: (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:14.26 ---> saved as "25752ddc5975f6e8996b264e3a3ca1fa7f145be5805ebd9514e16cb6aedde127"

/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:14.45 ---> saved as "d478ddf269bcf3535bded5e1daaace87d3f4b9d7de5f55a5b08e209b0fdca5d6"

/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=arch os-version=20260301.0.494762
# 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-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:14.46 ---> saved as "80b77dd44a92f7fb0130b934f34e0452f08989f0d0aa28c9d38f7ed342b7e091"

/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:14.57 ---> saved as "1a9b8ae6fcd1519c9165b7da2355952b637f11a47032131c1c34a8be2f2d6ad5"

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
-  core downloading...
-  extra downloading...
2026-03-12 11:15.24 ---> saved as "8783aeac13d3c2aaec78a884e693281c54ce866c3abc3d1b24c1bc6ea5f85460"

/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:15.24 ---> saved as "40b2099b04754543d0fc76ef91b3ee96597ca2c0edfd832da41ce097957ed1a1"

/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 \"\\\"archlinux\\\"\"; 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
  ∗ colibrilib-why3   0.5 (pinned)
  ∗ conf-gmp          5            [required by zarith]
  ∗ conf-pkg-config   4            [required by zarith]
  ∗ csexp             1.5.2        [required by dune-private-libs]
  ∗ dune              3.21.1       [required by colibrilib-why3]
  ∗ dune-private-libs 3.21.1       [required by dune-site]
  ∗ dune-site         3.21.1       [required by why3find]
  ∗ dyn               3.21.1       [required by dune-private-libs]
  ∗ fs-io             3.21.1       [required by stdune]
  ∗ menhir            20260209     [required by why3]
  ∗ menhirCST         20260209     [required by menhir]
  ∗ menhirGLR         20260209     [required by menhir]
  ∗ menhirLib         20260209     [required by menhir]
  ∗ menhirSdk         20260209     [required by menhir]
  ∗ ocamlfind         1.9.8        [required by why3]
  ∗ ordering          3.21.1       [required by dyn, stdune]
  ∗ pp                2.0.0        [required by dune-private-libs]
  ∗ stdune            3.21.1       [required by dune-private-libs]
  ∗ terminal_size     0.2.0        [required by why3find]
  ∗ top-closure       3.21.1       [required by stdune]
  ∗ why3              1.8.2        [required by why3find]
  ∗ why3find          1.3.0        [required by colibrilib-why3]
  ∗ yojson            3.0.0        [required by why3find]
  ∗ zarith            1.14         [required by why3]

The following system packages will first need to be installed:
    pkgconf

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

opam believes some required external dependencies are missing. opam can:
> 1. Run pacman to install them (may need root/sudo access)
  2. Display the recommended pacman 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/sbin/sudo "pacman" "-Su" "--noconfirm" "pkgconf"
- :: Starting full system upgrade...
- resolving dependencies...
- looking for conflicting packages...
- 
- Package (10)     Old Version  New Version  Net Change  Download Size
- 
- core/curl        8.18.0-3     8.19.0-1       0.00 MiB       1.23 MiB
- core/e2fsprogs   1.47.3-2     1.47.4-1       0.00 MiB       1.24 MiB
- core/iana-etc    20260225-2   20260306-1     0.00 MiB       0.39 MiB
- core/libarchive  3.8.5-1      3.8.6-1        0.00 MiB       0.55 MiB
- core/libcap-ng   0.9-1        0.9.1-1       -0.01 MiB       0.04 MiB
- core/libldap     2.6.12-1     2.6.13-1       0.00 MiB       0.28 MiB
- extra/lmdb       0.9.34-1     0.9.35-1       0.00 MiB       0.11 MiB
- core/sqlite      3.51.2-1     3.52.0-1       0.17 MiB       2.29 MiB
- core/zlib        1:1.3.2-2    1:1.3.2-3      0.00 MiB       0.08 MiB
- core/pkgconf                  2.5.1-1        0.20 MiB       0.07 MiB
- 
- Total Download Size:    6.28 MiB
- Total Installed Size:  31.80 MiB
- Net Upgrade Size:       0.37 MiB
- 
- :: Proceed with installation? [Y/n] 
- :: Retrieving packages...
-  sqlite-3.52.0-1-x86_64 downloading...
-  e2fsprogs-1.47.4-1-x86_64 downloading...
-  curl-8.19.0-1-x86_64 downloading...
-  libarchive-3.8.6-1-x86_64 downloading...
-  iana-etc-20260306-1-any downloading...
-  libldap-2.6.13-1-x86_64 downloading...
-  lmdb-0.9.35-1-x86_64 downloading...
-  zlib-1:1.3.2-3-x86_64 downloading...
-  pkgconf-2.5.1-1-x86_64 downloading...
-  libcap-ng-0.9.1-1-x86_64 downloading...
- checking keyring...
- checking package integrity...
- loading package files...
- checking for file conflicts...
- :: Processing package changes...
- upgrading iana-etc...
- installing pkgconf...
- upgrading zlib...
- upgrading libcap-ng...
- upgrading sqlite...
- upgrading e2fsprogs...
- upgrading libldap...
- upgrading lmdb...
- upgrading curl...
- upgrading libarchive...
- :: Running post-transaction hooks...
- (1/4) Reloading system manager configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- (2/4) Restarting marked services...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- (3/4) Reloading device manager configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- (4/4) Arming ConditionNeedsUpdate...

<><> 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 menhir.20260209
∗ installed stdune.3.21.1
∗ 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:16.38 ---> saved as "3afaab60cb7b893f3606779852e4534dd86989f2526a6704d35ccf032ce0dec1"
Job succeeded
2026-03-12 11:16.47: Job succeeded