(for PR #29196)

2026-01-07 18:57.49: New job: build bitwuzla-cxx.0.2.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29196/head (73b2f0da1939c4b0c87bfac1421800561d35c434)
                              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/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-flambda@sha256:868425d7212e6759471059c6d4fbd287e4eec4f85b49eb407a264200ed4a29d8
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 bitwuzla-cxx.0.2.0 0.2.0
RUN 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-flambda@sha256:868425d7212e6759471059c6d4fbd287e4eec4f85b49eb407a264200ed4a29d8-bitwuzla-cxx.0.2.0-73b2f0da1939c4b0c87bfac1421800561d35c434"
2026-01-07 18:57.49: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:868425d7212e6759471059c6d4fbd287e4eec4f85b49eb407a264200ed4a29d8)
 (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 bitwuzla-cxx.0.2.0 0.2.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "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 18:58.51: Got resource from pool OCluster
Building on eumache
All commits already cached
Updating files:  98% (18949/19147)
Updating files:  99% (18956/19147)
Updating files: 100% (19147/19147)
Updating files: 100% (19147/19147), done.
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-flambda@sha256:868425d7212e6759471059c6d4fbd287e4eec4f85b49eb407a264200ed4a29d8)
2026-01-07 18:59.23 ---> saved as "763f67aa863441dd86f82fb17e3e602fe23117182b08c4c487a204db84c6fb4f"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-07 18:59.23 ---> saved as "e7ef97c520e875244e8f906f7e9ca10c35e275eba2d8653406e632eee0e8519d"

/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-01-07 18:59.53 ---> saved as "64a171753255dc6eabeade3c065fc0024b516f90baec19aadf3f43cce2fc2a3f"

/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                 71
# 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-01-07 18:59.54 ---> saved as "37cfe2d31b805a5c4cb259a61e83b7d57cf3f87509bbc4abdc6d5f16c6ff59e2"

/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:00.03 ---> saved as "47a4e2d6d3a70c127cda6d14b048239eeba23cabf9b6d5b2b8c03611d003a98d"

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

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-07 19:00.40 ---> saved as "2c0a69bad7cce3cc2638c9ef8dd18b912385e86525999a50e5ca46233e8a4a64"

/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 [94.2 kB]
- Fetched 185 kB in 0s (1895 kB/s)
- Reading package lists...
2026-01-07 19:00.41 ---> saved as "7cc5b2e9af2f04bfc89172d5adb60b13393ceb393075a178d11e3d067a16bcb0"

/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:00.42 ---> saved as "3e53377821a952af81ec5be6c37f250ed155ae361a2e26fdc4b9c6c54dcd69c8"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "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"))
bitwuzla-cxx.0.2.0 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-variants = 5.4.0+options
    - bitwuzla-cxx < 0.3.0 -> ocaml < 5.0~ -> dkml-base-compiler
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-variants = 5.4.0+options
    - bitwuzla-cxx < 0.3.0 -> ocaml < 5.0~ -> ocaml-base-compiler < 4.14.3~
  * Missing dependency:
    - bitwuzla-cxx < 0.3.0 -> ocaml < 5.0~ -> ocaml-base-compiler (= 4.02.4 | = 4.03.1 | = 4.04.3 | = 4.05.1 | = 4.06.2 | = 4.07.2 | = 4.08.2 | = 4.09.2 | = 4.10.3 | = 4.11.3) | ocaml-system >= 4.02.4 | ocaml-variants < 4.11.4~
    no matching version
    unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.0" & (os != "win32" | sys-ocaml-libc = "msvc")'
    not available because the package is pinned to version 5.4.0+options

No solution found, exiting
"/usr/bin/env" "bash" "-c" "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:01.01: Job failed: Failed: Build failed
2026-01-07 19:01.01: Log analysis:
2026-01-07 19:01.01: >>> 
No solution found, exiting
 (score = 100)
2026-01-07 19:01.01: [SKIP] Package not available