(for PR #29933)

2026-05-25 05:50.18: New job: build z3.4.16.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29933/head (4834f4da5c651b5c7ad2fb98572d52cd3bfab6e3)
                              on centos-10-ocaml-4.14/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/29933/head" && git reset --hard 4834f4da
git fetch origin master
git merge --no-edit 856df280428c158a5bb0b3afce1bec956b10ae6f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-10-ocaml-4.14@sha256:2e2bd1982e0302d4c25a786a4a321827718e54aab664002a930ed0285d8ba1c9
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 z3.4.16.0 4.16.0
RUN opam reinstall z3.4.16.0; \
    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 "\"centos-10\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'z3.4.16.0' && 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-05-25 05:50.18: Using cache hint "ocaml/opam:centos-10-ocaml-4.14@sha256:2e2bd1982e0302d4c25a786a4a321827718e54aab664002a930ed0285d8ba1c9-z3.4.16.0-4834f4da5c651b5c7ad2fb98572d52cd3bfab6e3"
2026-05-25 05:50.18: Using OBuilder spec:
((from ocaml/opam:centos-10-ocaml-4.14@sha256:2e2bd1982e0302d4c25a786a4a321827718e54aab664002a930ed0285d8ba1c9)
 (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 z3.4.16.0 4.16.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall z3.4.16.0;\
             \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 \"\\\"centos-10\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'z3.4.16.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-05-25 05:50.18: Waiting for resource in pool OCluster
2026-05-25 05:50.18: Waiting for worker…
2026-05-25 05:50.18: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at 856df28042 Merge pull request #29946 from hannesm/release-mirage-net-solo5-v0.8.1
Merge made by the 'ort' strategy.
 packages/z3/z3.4.16.0/opam | 71 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 71 insertions(+)
 create mode 100644 packages/z3/z3.4.16.0/opam

(from ocaml/opam:centos-10-ocaml-4.14@sha256:2e2bd1982e0302d4c25a786a4a321827718e54aab664002a930ed0285d8ba1c9)
2026-05-25 05:50.29 ---> using "2122e11e71147d96ed433cab323d5a13dbfedddfd8d58bd5e62d965b8f898fb2" 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-05-25 05:50.29 ---> using "0d2b0eb6d07635bcfa99bfbaa96c814deeb151889cf6bfb8e835115546fded8a" 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.1 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 1 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=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-05-25 05:50.29 ---> using "b6645319da9e5d82d30fb6195c03c2f1c19106af421208acaa9a067b127a63c8" 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.1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=centos os-version=10
# 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       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.3"}]
# compiler-packages    ocaml-base-compiler.4.14.3, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.3
2026-05-25 05:50.29 ---> using "009dc25b314c4363bfc98265485369464c059235e8d766404a59dc2a2905f088" 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-05-25 05:50.29 ---> using "6b00d1306b1ac92d551bedcc1189ad08bae9716ffe8e30e095d1149cd66a04c7" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-25 05:50.38 ---> saved as "09e941236cb241aa4f0b2af301d65e4533ecc0f45bdcd9ff6443c65ab17edafa"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-25 05:50.49 ---> saved as "39a50e2a502837c680985e046da48fd34bc25db59b1dfd15f2c55d4409669814"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 10 - BaseOS                        28 kB/s |  15 kB     00:00    
- CentOS Stream 10 - BaseOS                       7.4 MB/s | 7.0 MB     00:00    
- CentOS Stream 10 - AppStream                    123 kB/s |  15 kB     00:00    
- CentOS Stream 10 - AppStream                    4.2 MB/s | 3.6 MB     00:00    
- CentOS Stream 10 - CRB                          120 kB/s |  15 kB     00:00    
- CentOS Stream 10 - CRB                          1.6 MB/s | 839 kB     00:00    
- CentOS Stream 10 - Extras packages              135 kB/s |  16 kB     00:00    
- Metadata cache created.
2026-05-25 05:50.56 ---> saved as "24954716783815eb48dc7448af663960c6bc55a50a249b7432103b7ed45208dd"

/home/opam: (run (shell "opam pin add -k version -yn z3.4.16.0 4.16.0"))
z3 is now pinned to version 4.16.0
2026-05-25 05:50.57 ---> saved as "442dbb2f52a334d93c4bcbd82a5ad3fe657695530da574265085ba86a5c1f43b"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall z3.4.16.0;\
                        \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 \"\\\"centos-10\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'z3.4.16.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
z3.4.16.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 7 packages
  - install conf-c++        1.0             [required by z3]
  - install conf-gmp        5               [required by zarith]
  - install conf-pkg-config 4               [required by zarith]
  - install conf-python-3   9.0.0           [required by z3]
  - install ocamlfind       1.9.8           [required by z3]
  - install z3              4.16.0 (pinned)
  - install zarith          1.14            [required by z3]

The following system packages will first need to be installed:
    gmp-devel

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

opam believes some required external dependencies are missing. opam can:
> 1. Run yum to install them (may need root/sudo access)
  2. Display the recommended yum 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 "yum" "install" "-y" "gmp-devel"
- Last metadata expiration check: 0:00:05 ago on Mon May 25 05:50:56 2026.
- Dependencies resolved.
- ================================================================================
-  Package          Architecture  Version                  Repository        Size
- ================================================================================
- Installing:
-  gmp-devel        x86_64        1:6.2.1-12.el10          appstream        174 k
- Installing dependencies:
-  gmp-c++          x86_64        1:6.2.1-12.el10          appstream         20 k
- 
- Transaction Summary
- ================================================================================
- Install  2 Packages
- 
- Total download size: 194 k
- Installed size: 382 k
- Downloading Packages:
- (1/2): gmp-c++-6.2.1-12.el10.x86_64.rpm          62 kB/s |  20 kB     00:00    
- (2/2): gmp-devel-6.2.1-12.el10.x86_64.rpm       486 kB/s | 174 kB     00:00    
- --------------------------------------------------------------------------------
- Total                                            64 kB/s | 194 kB     00:03     
- Running transaction check
- Transaction check succeeded.
- Running transaction test
- Transaction test succeeded.
- Running transaction
-   Preparing        :                                                        1/1 
-   Installing       : gmp-c++-1:6.2.1-12.el10.x86_64                         1/2 
-   Installing       : gmp-devel-1:6.2.1-12.el10.x86_64                       2/2 
-   Running scriptlet: gmp-devel-1:6.2.1-12.el10.x86_64                       2/2 
- 
- Installed:
-   gmp-c++-1:6.2.1-12.el10.x86_64        gmp-devel-1:6.2.1-12.el10.x86_64       
- 
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "gmp-devel"
- gmp-devel-6.2.1-12.el10.x86_64

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-python-3.9.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> installed conf-c++.1.0
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> installed conf-python-3.9.0.0
-> retrieved z3.4.16.0  (cached)
-> retrieved zarith.1.14  (cached)
-> installed ocamlfind.1.9.8
-> installed zarith.1.14
2026-05-25 07:50.19: Cancelling: Timeout (120.0 minutes)
Job cancelled
2026-05-25 07:52.33: Timeout (120.0 minutes)