(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 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/29933/head" && git reset --hard 4834f4da
git fetch origin master
git merge --no-edit 856df280428c158a5bb0b3afce1bec956b10ae6f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:archlinux-ocaml-5.4@sha256:ea3dc7f3cb3869562d18347ec23a40ff3cfad80b25e4f3e6c12a3c05311668e8
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 "\"archlinux\""; 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:archlinux-ocaml-5.4@sha256:ea3dc7f3cb3869562d18347ec23a40ff3cfad80b25e4f3e6c12a3c05311668e8-z3.4.16.0-4834f4da5c651b5c7ad2fb98572d52cd3bfab6e3"
2026-05-25 05:50.18: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.4@sha256:ea3dc7f3cb3869562d18347ec23a40ff3cfad80b25e4f3e6c12a3c05311668e8)
 (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 \"\\\"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\" != '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:archlinux-ocaml-5.4@sha256:ea3dc7f3cb3869562d18347ec23a40ff3cfad80b25e4f3e6c12a3c05311668e8)
2026-05-25 05:50.26 ---> using "187a599918fdf1ee631781288dcafefa31ed189965e0184153f46ac9e150db24" 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.26 ---> using "34e2a7c756657c540996fbe6710a25298046528ba11ffa11e5d7d86a13da8142" 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.26 ---> using "189c86e3ba476dd88acdddd3a5af1ad90111c2bb4bcbb76bb7787c72f3da9232" 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=arch os-version=20260510.0.525573
# 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.1"}]
# compiler-packages    ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, 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.1
2026-05-25 05:50.26 ---> using "36f112a458c6b801af3d128ce34e5aac9eac35b983c89d4e57cf97559c906789" 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.26 ---> using "c46e737996fa62283d167b02f237137afc5ad84e80ab935e04ddaae60be96078" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-25 05:50.34 ---> saved as "2b2c5fda278dd82f60c5bd4045fdf5b510f8e199cbdc4bc6e73dda92126a7ebc"

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
-  core downloading...
-  extra downloading...
2026-05-25 05:50.47 ---> saved as "f893459cb200aa0db10bf56a75be91f60e350a8affb53fb678b6a1a33fbc0638"

/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.48 ---> saved as "d7e0d839f53d6162e49ef53b1fd3583ed5ab2952daa4c5e7e9d1faac5e8a75f2"

/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 \"\\\"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\" != '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
  ∗ conf-c++        1.0             [required by z3]
  ∗ conf-gmp        5               [required by zarith]
  ∗ conf-pkg-config 4               [required by zarith]
  ∗ conf-python-3   9.0.0           [required by z3]
  ∗ ocamlfind       1.9.8           [required by z3]
  ∗ z3              4.16.0 (pinned)
  ∗ zarith          1.14            [required by z3]

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

<><> 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" "python"
- :: Starting full system upgrade...
- resolving dependencies...
- looking for conflicting packages...
- 
- Package (11)          Old Version  New Version  Net Change  Download Size
- 
- core/device-mapper    2.03.40-1    2.03.41-1      0.01 MiB       0.30 MiB
- core/gpgme            2.0.1-3      2.1.0-1        0.02 MiB       0.32 MiB
- core/iana-etc         20260425-1   20260511-1     0.00 MiB       0.39 MiB
- core/krb5             1.21.3-2     1.22.2-1       0.17 MiB       1.34 MiB
- core/libusb           1.0.29-1     1.0.30-1       0.01 MiB       0.08 MiB
- core/mpdecimal                     4.0.1-3        0.32 MiB       0.10 MiB
- extra/rsync           3.4.2-1      3.4.3-1        0.02 MiB       0.37 MiB
- core/util-linux       2.42-1       2.42.1-1       1.11 MiB       6.16 MiB
- core/util-linux-libs  2.42-1       2.42.1-1       0.04 MiB       0.51 MiB
- core/pkgconf                       2.5.1-1        0.20 MiB       0.07 MiB
- core/python                        3.14.5-1      73.34 MiB      13.50 MiB
- 
- Total Download Size:    23.15 MiB
- Total Installed Size:  106.20 MiB
- Net Upgrade Size:       75.25 MiB
- 
- :: Proceed with installation? [Y/n] 
- :: Retrieving packages...
-  python-3.14.5-1-x86_64 downloading...
-  util-linux-2.42.1-1-x86_64 downloading...
-  krb5-1.22.2-1-x86_64 downloading...
-  util-linux-libs-2.42.1-1-x86_64 downloading...
-  iana-etc-20260511-1-any downloading...
-  rsync-3.4.3-1-x86_64 downloading...
-  gpgme-2.1.0-1-x86_64 downloading...
-  device-mapper-2.03.41-1-x86_64 downloading...
-  mpdecimal-4.0.1-3-x86_64 downloading...
-  libusb-1.0.30-1-x86_64 downloading...
-  pkgconf-2.5.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...
- installing mpdecimal...
- upgrading util-linux-libs...
- upgrading krb5...
- installing python...
- Optional dependencies for python
-     python-setuptools: for building Python packages using tooling that is usually bundled with Python
-     python-pip: for installing Python packages using tooling that is usually bundled with Python
-     python-pipx: for installing Python software not packaged on Arch Linux
-     sqlite: for a default database integration [installed]
-     xz: for lzma [installed]
-     tk: for tkinter
- upgrading device-mapper...
- upgrading libusb...
- upgrading gpgme...
- upgrading rsync...
- upgrading util-linux...
- :: Running post-transaction hooks...
- (1/6) Creating system user accounts...
- (2/6) Creating temporary files...
- /usr/lib/tmpfiles.d/journal-nocow.conf:26: Failed to resolve specifier: uninitialized /etc/ detected, skipping.
- All rules containing unresolvable specifiers will be skipped.
- (3/6) Reloading system manager configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- (4/6) Enqueuing marked services...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- (5/6) Reloading device manager configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- (6/6) Arming ConditionNeedsUpdate...

<><> 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)