(for PR #29196)

2026-01-07 18:57.49: New job: build bitwuzla-cxx.0.2.0, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29196/head (73b2f0da1939c4b0c87bfac1421800561d35c434)
                              on debian-13-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/29196/head" && git reset --hard 73b2f0da
git fetch origin master
git merge --no-edit 2dee2fe30df966714e056f8af164fe0ed7648a63
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:fc4475154a81e45c7a4fe10ae1ce9017b16705b50ae99ec37ca5504484b8ff17
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn bitwuzla-cxx.0.2.0 0.2.0
RUN opam depext bitwuzla-cxx.0.2.0 && opam reinstall bitwuzla-cxx.0.2.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 "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'bitwuzla-cxx.0.2.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-01-07 18:57.49: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:fc4475154a81e45c7a4fe10ae1ce9017b16705b50ae99ec37ca5504484b8ff17-bitwuzla-cxx.0.2.0-73b2f0da1939c4b0c87bfac1421800561d35c434"
2026-01-07 18:57.49: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:fc4475154a81e45c7a4fe10ae1ce9017b16705b50ae99ec37ca5504484b8ff17)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "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 depext -u || true"))
 (run (shell "opam pin add -k version -yn bitwuzla-cxx.0.2.0 0.2.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext bitwuzla-cxx.0.2.0 && opam reinstall bitwuzla-cxx.0.2.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 \"\\\"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\" != 'bitwuzla-cxx.0.2.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-01-07 18:57.49: Connecting to build cluster…
2026-01-07 18:57.49: Waiting for resource in pool OCluster
2026-01-07 18:57.49: Waiting for worker…
2026-01-07 19:01.01: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at 2dee2fe30d Merge pull request #29195 from raphael-proust/lwt-fix-ocamlfind-dep-constraint
Updating 2dee2fe30d..73b2f0da19
Fast-forward
 packages/bitwuzla-cxx/bitwuzla-cxx.0.2.0/opam | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(from ocaml/opam:debian-13-ocaml-5.4@sha256:fc4475154a81e45c7a4fe10ae1ce9017b16705b50ae99ec37ca5504484b8ff17)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:fc4475154a81e45c7a4fe10ae1ce9017b16705b50ae99ec37ca5504484b8ff17' locally
docker.io/ocaml/opam@sha256:fc4475154a81e45c7a4fe10ae1ce9017b16705b50ae99ec37ca5504484b8ff17: Pulling from ocaml/opam
281b80c799de: Already exists
ce76feb86791: Already exists
7984eb0e5b45: Already exists
56c452a960b1: Already exists
b85825bef00a: Already exists
d6ff43dfb85c: Already exists
4197ec645389: Already exists
37cac33e41ff: Already exists
4cb993fb248e: Already exists
ca442870f91f: Already exists
b1d1a2fb5f4a: Already exists
0dea577b2801: Already exists
cc10daaea4fd: Already exists
5f878cb1723a: Already exists
8968959fa983: Already exists
5bdd9b9ed0e3: Already exists
55661c5b388f: Already exists
55661c5b388f: Already exists
92d1dc6907bd: Already exists
7100b414728b: Already exists
a6a54ddc9818: Already exists
a920ad627810: Already exists
4f4fb700ef54: Already exists
f7df7b6e19c0: Already exists
cd713d66718c: Already exists
6ed45ab2af86: Already exists
40598b80a8fe: Already exists
983f7969ff00: Already exists
40ec09ee09bd: Already exists
76a0afa38cd9: Already exists
1d5a564d139a: Already exists
82883b85a4f0: Already exists
1d8458efd73b: Already exists
2d80a9fac9ac: Already exists
4d69ee6ae94b: Already exists
ce8d28b713f1: Already exists
97580d938033: Already exists
da5fa40e04f8: Already exists
d7a499968f64: Already exists
28e5932c7c69: Already exists
81389c423fc3: Already exists
4d539b35ca4b: Already exists
174d636e7732: Already exists
97c418526f61: Already exists
0a7ee22cbe15: Already exists
40e4e2a7b8bc: Already exists
bfc8b6eb5ca6: Already exists
ce3a21d0b442: Already exists
Digest: sha256:fc4475154a81e45c7a4fe10ae1ce9017b16705b50ae99ec37ca5504484b8ff17
Status: Downloaded newer image for ocaml/opam@sha256:fc4475154a81e45c7a4fe10ae1ce9017b16705b50ae99ec37ca5504484b8ff17
2026-01-07 19:01.10 ---> using "03f0951594c938350775771f8c8fede6d107f2d2eee244220b7b8b4b1567de6e" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2026-01-07 19:01.10 ---> using "d0a102f0ee5719f017d525660f804b5bd50657b9e3bf47bb77f614a94ec4d58b" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.

[WARNING] Recommended dependencies -- most packages rely on these:
  - m4

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2026-01-07 19:02.34 ---> saved as "b30c55f483aea5e3be102714cfe9d437ae5c9dfdc868e1517d48d086e497cd6e"

/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version      2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b) 
# self-upgrade      no
# system            arch=x86_64 os=linux os-distribution=debian os-version=13
# solver            builtin-mccs+glpk
# install-criteria  -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria  -removed,-count[version-lag,solution],-new
# jobs              71
# repositories      1 (version-controlled)
# pinned            1 (version)
# current-switch    5.4
2026-01-07 19:02.35 ---> saved as "01664fcb3b8e7d95bae2fb39b5d41044c8f1a71e513ab9bfd064ade40a8fbbf9"

/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-01-07 19:02.43 ---> saved as "7ea3c6207b841ea54b304c816b9f3c4bb8fc5cb638ea4cae95e83003ea62e4b1"

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-07 19:02.51 ---> saved as "f9896081feebff9ee063edf752efe251a5c48d493dab4077feba3dc20b910544"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2026-01-07 19:03.03 ---> saved as "4bcc11f97f28b6ea5b88c27163b98102b32a773fd76d948ca3f5046930327e7f"

/home/opam: (run (network host)
                 (shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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 [94.2 kB]
Fetched 185 kB in 0s (1057 kB/s)
Reading package lists...
# OS package update successful
2026-01-07 19:03.08 ---> saved as "feb88f44a414ee3d4bde77c9d1b03f0e8c4fcf6fb8eba098de8f1a78d11c5693"

/home/opam: (run (shell "opam pin add -k version -yn bitwuzla-cxx.0.2.0 0.2.0"))
bitwuzla-cxx is now pinned to version 0.2.0
2026-01-07 19:03.08 ---> saved as "85ebd1a15540b0a296c61f3706b5b44cd9d45fd27ea472c216382d4e01617363"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext bitwuzla-cxx.0.2.0 && opam reinstall bitwuzla-cxx.0.2.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 \"\\\"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\" != 'bitwuzla-cxx.0.2.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
[ERROR] No solution for bitwuzla-cxx.0.2.0: The following dependencies couldn't be met:
          - bitwuzla-cxx -> ocaml < 5.0~
              base of this switch (use `--unlock-base' to force)


Command failed: opam list --readonly --external '--resolve=bitwuzla-cxx.0.2.0' --color=never returned 20
"/usr/bin/env" "bash" "-c" "opam depext bitwuzla-cxx.0.2.0 && opam reinstall bitwuzla-cxx.0.2.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 "\"debian-13\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'bitwuzla-cxx.0.2.0' && 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-01-07 19:03.28: Job failed: Failed: Build failed
2026-01-07 19:03.28: Log analysis:
2026-01-07 19:03.28: >>> 
[ERROR] No solution for bitwuzla-cxx.0.2.0: The following dependencies couldn't be met:
 (score = 100)
2026-01-07 19:03.28: [SKIP] Package not available