(for PR #29582)

2026-03-25 23:09.44: New job: test bitwuzla-cxx.0.4.0 with ocaml-compiler.5.4.0~beta1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29582/head (fa5fb3a6a806e832e4c7791145889a6bbe8b64ef)
                              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/29582/head" && git reset --hard fa5fb3a6
git fetch origin master
git merge --no-edit 40ee9f8d41e293fa1327d03c279f5e61e22157f8
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6
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 ocaml-compiler.5.4.0~beta1 5.4.0~beta1
RUN opam reinstall --update-invariant ocaml-compiler.5.4.0~beta1; \
    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" != 'ocaml-compiler.5.4.0~beta1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall bitwuzla-cxx.0.4.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.4.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test bitwuzla-cxx.0.4.0) || true
RUN opam reinstall --with-test --verbose bitwuzla-cxx.0.4.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.4.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-03-25 23:09.44: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6-ocaml-compiler.5.4.0~beta1-bitwuzla-cxx.0.4.0-fa5fb3a6a806e832e4c7791145889a6bbe8b64ef"
2026-03-25 23:09.44: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6)
 (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 ocaml-compiler.5.4.0~beta1 5.4.0~beta1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall --update-invariant ocaml-compiler.5.4.0~beta1;\
             \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\" != 'ocaml-compiler.5.4.0~beta1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall bitwuzla-cxx.0.4.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.4.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test bitwuzla-cxx.0.4.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose bitwuzla-cxx.0.4.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.4.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-03-25 23:09.44: Waiting for resource in pool OCluster
2026-03-26 00:09.48: Waiting for worker…
2026-03-26 00:12.12: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
Updating files:  67% (12540/18536)
Updating files:  68% (12605/18536)
Updating files:  69% (12790/18536)
Updating files:  70% (12976/18536)
Updating files:  71% (13161/18536)
Updating files:  72% (13346/18536)
Updating files:  73% (13532/18536)
Updating files:  74% (13717/18536)
Updating files:  75% (13902/18536)
Updating files:  76% (14088/18536)
Updating files:  77% (14273/18536)
Updating files:  78% (14459/18536)
Updating files:  79% (14644/18536)
Updating files:  80% (14829/18536)
Updating files:  81% (15015/18536)
Updating files:  82% (15200/18536)
Updating files:  83% (15385/18536)
Updating files:  84% (15571/18536)
Updating files:  85% (15756/18536)
Updating files:  86% (15941/18536)
Updating files:  87% (16127/18536)
Updating files:  88% (16312/18536)
Updating files:  89% (16498/18536)
Updating files:  90% (16683/18536)
Updating files:  91% (16868/18536)
Updating files:  92% (17054/18536)
Updating files:  93% (17239/18536)
Updating files:  94% (17424/18536)
Updating files:  95% (17610/18536)
Updating files:  96% (17795/18536)
Updating files:  97% (17980/18536)
Updating files:  98% (18166/18536)
Updating files:  99% (18351/18536)
Updating files: 100% (18536/18536)
Updating files: 100% (18536/18536), done.
HEAD is now at 40ee9f8d41 Merge pull request #29587 from astrada/gdfuse08
Merge made by the 'ort' strategy.
 packages/ocaml-compiler/ocaml-compiler.5.3.0/opam      |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.3/opam        |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.4.0/opam      |  5 ++++-
 .../ocaml-compiler/ocaml-compiler.5.4.0~alpha1/opam    |  5 ++++-
 .../ocaml-compiler/ocaml-compiler.5.4.0~beta1/opam     |  5 ++++-
 .../ocaml-compiler/ocaml-compiler.5.4.0~beta2/opam     |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.4.0~rc1/opam  |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.4.1/opam      |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.4/opam        |  5 ++++-
 .../ocaml-compiler/ocaml-compiler.5.5.0~alpha1/opam    |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.5/opam        |  5 ++++-
 packages/ocaml-compiler/ocaml-compiler.5.6/opam        |  5 ++++-
 packages/ocaml-option-llvm/ocaml-option-llvm.1/opam    | 18 ++++++++++++++++++
 .../ocaml-options-vanilla/ocaml-options-vanilla.1/opam |  1 +
 packages/ocaml-variants/ocaml-variants.5.2.0+msvc/opam |  2 ++
 15 files changed, 69 insertions(+), 12 deletions(-)
 create mode 100644 packages/ocaml-option-llvm/ocaml-option-llvm.1/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6)
2026-03-26 00:12.15 ---> using "41eea30e3f639c18d8cf57c309ec76919ec7b2398036f7e41744cbce59a133d3" 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-03-26 00:12.15 ---> using "4ad7f430d684c40cedc651267e0edf890c044fe4e624255de377c471b4526bac" 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.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-26 00:12.15 ---> using "71fa58e52457bf6a7eac317c6a6ef1e2bdf53e533a1e4fd04b90c9349347e038" 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.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-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-26 00:12.15 ---> using "ed86081cb38ca125a920162bfe6a4bb7b1c27c6973c917551687c83cf44dbfdf" 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-03-26 00:12.15 ---> using "04a48515eea40c32b96da0c71328b4bba0edb66eed83d4f78554b39097cf1f25" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-26 00:12.17 ---> using "07a68ecb21bed61e4f94fa4dcb50d9c7e84f81448f8ae7e9e9983c91027df4a2" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-26 00:12.17 ---> using "b26a47ea5c8289d9e604d194e0a5dfeb524275bd8a7c64613ecd9c7e1857f13a" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- 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 trixie/main amd64 Packages [9671 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [114 kB]
- Fetched 10.0 MB in 1s (9074 kB/s)
- Reading package lists...
2026-03-26 00:12.17 ---> using "0b343335ec438165d35b471bbf0eb838e16886a027b79662715b77b328e1271c" from cache

/home/opam: (run (shell "opam pin add -k version -yn ocaml-compiler.5.4.0~beta1 5.4.0~beta1"))
ocaml-compiler is now pinned to version 5.4.0~beta1
2026-03-26 00:12.17 ---> using "e1c05b46f28d7574e116a5b10ba98f694969006f7796f6a98c361e246ff746c8" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall --update-invariant ocaml-compiler.5.4.0~beta1;\
                        \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\" != 'ocaml-compiler.5.4.0~beta1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ocaml-compiler.5.4.0~beta1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== remove 1 package
  - remove    ocaml-base-compiler 5.4.0 (pinned)                [conflicts with ocaml-compiler]
=== downgrade 1 package
  - downgrade ocaml-compiler      5.4.0 to 5.4.0~beta1 (pinned)
=== recompile 6 packages
  - recompile base-domains        base                          [uses ocaml]
  - recompile base-effects        base                          [uses ocaml]
  - recompile base-nnp            base                          [uses base-domains]
  - recompile ocaml               5.4.0                         [uses ocaml-base-compiler]
  - recompile ocaml-config        3                             [uses ocaml-base-compiler]
  - recompile opam-depext         1.2.3                         [uses ocaml]
=== install 1 package
  - install   ocaml-variants      5.4.0~beta1+options           [required by ocaml]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-compiler.5.4.0~beta1  (cached)
-> retrieved ocaml-config.3  (cached)
-> retrieved opam-depext.1.2.3  (cached)
-> removed   base-effects.base
-> removed   base-nnp.base
-> removed   base-domains.base
-> removed   opam-depext.1.2.3
-> removed   ocaml.5.4.0
-> removed   ocaml-config.3
-> removed   ocaml-base-compiler.5.4.0
-> removed   ocaml-compiler.5.4.0
-> installed ocaml-compiler.5.4.0~beta1
-> installed ocaml-variants.5.4.0~beta1+options
-> installed ocaml-config.3
-> installed ocaml.5.4.0
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
-> installed opam-depext.1.2.3
[NOTE] Switch invariant was updated to ["ocaml-variants" {= "5.4.0~beta1+options"}]
       Use `opam switch set-invariant' to change it.
Done.

<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# To update the current shell environment, run: eval $(opam env)
2026-03-26 00:12.17 ---> using "3817a208ed5f7baeb43f88e56244319516f39faddd782fe35a9ef1c9797c14d8" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall bitwuzla-cxx.0.4.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.4.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.4.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 9 packages
  - install bitwuzla-cxx    0.4.0
  - install conf-g++        1.0    [required by bitwuzla-cxx]
  - install conf-gcc        1.0    [required by bitwuzla-cxx]
  - install conf-git        1.1    [required by bitwuzla-cxx]
  - install conf-gmp        5      [required by zarith]
  - install conf-pkg-config 4      [required by zarith]
  - install dune            3.22.0 [required by bitwuzla-cxx]
  - install ocamlfind       1.9.8  [required by zarith]
  - install zarith          1.14   [required by bitwuzla-cxx]

The following system packages will first need to be installed:
    libgmp-dev pkg-config

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

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get 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 "apt-get" "install" "-qq" "-yy" "libgmp-dev" "pkg-config"
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20654 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12+deb13u1) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bitwuzla-cxx.0.4.0  (cached)
-> retrieved conf-gmp.5  (cached)
-> installed conf-git.1.1
-> installed conf-g++.1.0
-> installed conf-gcc.1.0
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> retrieved dune.3.22.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved zarith.1.14  (cached)
-> installed ocamlfind.1.9.8
-> installed zarith.1.14
-> installed dune.3.22.0
[ERROR] The compilation of bitwuzla-cxx.0.4.0 failed at "dune build -p bitwuzla-cxx -j 71 @install".

#=== ERROR while compiling bitwuzla-cxx.0.4.0 =================================#
# context              2.5.0 | linux/x86_64 | ocaml-variants.5.4.0~beta1+options | file:///home/opam/opam-repository
# path                 ~/.opam/5.4/.opam-switch/build/bitwuzla-cxx.0.4.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p bitwuzla-cxx -j 71 @install
# exit-code            1
# env-file             ~/.opam/log/bitwuzla-cxx-7-bb7496.env
# output-file          ~/.opam/log/bitwuzla-cxx-7-bb7496.out
### output ###
# (cd _build/default/vendor && /usr/bin/patch -p1 --directory bitwuzla) < _build/default/vendor/patch/0001-api-Add-hook-for-ocaml-z-value.patch
# File include/bitwuzla/cpp/bitwuzla.h is read-only; trying to patch anyway
# patching file include/bitwuzla/cpp/bitwuzla.h
# Hunk #1 succeeded at 767 (offset 51 lines).
# File src/lib/bv/bitvector.h is read-only; trying to patch anyway
# patching file src/lib/bv/bitvector.h
# Hunk #1 succeeded at 287 (offset 9 lines).
# File "api/dune", line 15, characters 9-26:
# 15 |   (names build_enum_option)
#               ^^^^^^^^^^^^^^^^^
# (cd _build/default/api && /usr/bin/gcc -x c++ -std=gnu++11 -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -Wall -fdiagnostics-color=always -std=c++17 -I/opt/homebrew/include -g -I /home/opam/.opam/5.4/lib/ocaml -I ../vendor/bitwuzla/include -o build_enum_option.o -c build_enum_option.cpp)
# build_enum_option.cpp: In function 'std::string lng_to_vn(std::string)':
# build_enum_option.cpp:24:8: error: 'replace' is not a member of 'std'
#    24 |   std::replace(vn.begin(), vn.end(), '-', '_');
#       |        ^~~~~~~
# build_enum_option.cpp: In function 'void build_enum_option()':
# build_enum_option.cpp:105:14: error: 'sort' is not a member of 'std'; did you mean 'qsort'?
#   105 |         std::sort(modes.begin(), modes.end());
#       |              ^~~~
#       |              qsort
# File "vendor/dune", line 20, characters 4-15:
# 20 |     aig_manager
#          ^^^^^^^^^^^
# (cd _build/default/vendor/bitwuzla/src/lib && /usr/bin/gcc -x c++ -std=gnu++11 -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -Wall -fdiagnostics-color=always -I/opt/homebrew/include -std=c++17 -I. -DNDEBUG -g -I /home/opam/.opam/5.4/lib/ocaml -I bitblast -I bv -I ls -I rng -I util -o aig_manager.o -c bitblast/aig/aig_manager.cpp)
# bitblast/aig/aig_manager.cpp: In member function 'size_t bzla::bitblast::AigNodeUniqueTable::hash(const bzla::bitblast::AigNode&, const bzla::bitblast::AigNode&)':
# bitblast/aig/aig_manager.cpp:93:41: error: 'abs' is not a member of 'std'
#    93 |   size_t lhs = static_cast<size_t>(std::abs(left.get_id()));
#       |                                         ^~~
# bitblast/aig/aig_manager.cpp:94:41: error: 'abs' is not a member of 'std'
#    94 |   size_t rhs = static_cast<size_t>(std::abs(right.get_id()));
#       |                                         ^~~
# bitblast/aig/aig_manager.cpp: In member function 'bzla::bitblast::AigNode bzla::bitblast::AigManager::rewrite_and(const bzla::bitblast::AigNode&, const bzla::bitblast::AigNode&)':
# bitblast/aig/aig_manager.cpp:395:12: error: 'abs' is not a member of 'std'
#   395 |   if (std::abs(left) > std::abs(right))
#       |            ^~~
# bitblast/aig/aig_manager.cpp:395:29: error: 'abs' is not a member of 'std'
#   395 |   if (std::abs(left) > std::abs(right))
#       |                             ^~~
# bitblast/aig/aig_manager.cpp: In member function 'bzla::bitblast::AigNode bzla::bitblast::AigManager::get_node(int64_t)':
# bitblast/aig/aig_manager.cpp:409:35: error: 'abs' is not a member of 'std'
#   409 |   return AigNode(d_node_data[std::abs(id) - 1].get(), id < 0);
#       |                                   ^~~
# bitblast/aig/aig_manager.cpp: In member function 'std::pair<long int, long int> bzla::bitblast::AigManager::get_children(int64_t) const':
# bitblast/aig/aig_manager.cpp:416:36: error: 'abs' is not a member of 'std'
#   416 |   const auto& d = d_node_data[std::abs(id) - 1];
#       |                                    ^~~
# bitblast/aig/aig_manager.cpp:417:50: error: could not convert '{<expression error>, <expression error>}' from '<brace-enclosed initializer list>' to 'std::pair<long int, long int>'
#   417 |   return {d->d_left.get_id(), d->d_right.get_id()};
#       |                                                  ^
#       |                                                  |
#       |                                                  <brace-enclosed initializer list>
# (cd _build/default/api && /usr/bin/gcc -x c++ -std=gnu++11 -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -Wall -fdiagnostics-color=always -std=c++17 -I/opt/homebrew/include -g -I /home/opam/.opam/5.4/lib/ocaml -I ../vendor/bitwuzla/include -o build_enum_rounding_mode.o -c build_enum_rounding_mode.cpp)
# build_enum_rounding_mode.cpp: In function 'void build_enum_rounding_mode()':
# build_enum_rounding_mode.cpp:34:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
#    34 |     for (int j = 1; j < name.length(); j += 1)
#       |                     ~~^~~~~~~~~~~~~~~
# (cd _build/default/api && /usr/bin/gcc -x c++ -std=gnu++11 -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -Wall -fdiagnostics-color=always -std=c++17 -I/opt/homebrew/include -g -I /home/opam/.opam/5.4/lib/ocaml -I ../vendor/bitwuzla/include -o build_enum_kind.o -c build_enum_kind.cpp)
# build_enum_kind.cpp: In function 'void build_enum_kind()':
# build_enum_kind.cpp:31:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
#    31 |     for (int j = 1; j < name.length(); j += 1)
#       |                     ~~^~~~~~~~~~~~~~~
# File "vendor/dune", line 19, characters 4-11:
# 19 |     aig_cnf
#          ^^^^^^^
# (cd _build/default/vendor/bitwuzla/src/lib && /usr/bin/gcc -x c++ -std=gnu++11 -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -Wall -fdiagnostics-color=always -I/opt/homebrew/include -std=c++17 -I. -DNDEBUG -g -I /home/opam/.opam/5.4/lib/ocaml -I bitblast -I bv -I ls -I rng -I util -o aig_cnf.o -c bitblast/aig/aig_cnf.cpp)
# bitblast/aig/aig_cnf.cpp: In member function 'int32_t bzla::bitblast::AigCnfEncoder::value(const bzla::bitblast::AigNode&)':
# bitblast/aig/aig_cnf.cpp:78:35: error: 'abs' is not a member of 'std'
#    78 |     val = d_sat_solver.value(std::abs(aig.get_id())) ? 1 : -1;
#       |                                   ^~~
# bitblast/aig/aig_cnf.cpp: In member function 'void bzla::bitblast::AigCnfEncoder::_encode(const bzla::bitblast::AigNode&)':
# bitblast/aig/aig_cnf.cpp:202:39: error: 'abs' is not a member of 'std'
#   202 |         d_sat_solver.add_clause({std::abs(cur->get_id())});
#       |                                       ^~~
# bitblast/aig/aig_cnf.cpp:202:32: error: cannot convert '<brace-enclosed initializer list>' to 'const std::initializer_list<long int>&'
#   202 |         d_sat_solver.add_clause({std::abs(cur->get_id())});
#       |         ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
# In file included from bitblast/aig/aig_cnf.cpp:11:
# ./bitblast/aig/aig_cnf.h:33:65: note:   initializing argument 1 of 'virtual void bzla::bitblast::SatInterface::add_clause(const std::initializer_list<long int>&)'
#    33 |   virtual void add_clause(const std::initializer_list<int64_t>& literals) = 0;
#       |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
# bitblast/aig/aig_cnf.cpp:239:25: error: 'abs' is not a member of 'std'
#   239 |           auto x = std::abs(cur->get_id());
#       |                         ^~~
# bitblast/aig/aig_cnf.cpp:244:34: error: cannot convert '<brace-enclosed initializer list>' to 'const std::initializer_list<long int>&'
#   244 |           d_sat_solver.add_clause({-x, -c, a});
#       |           ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
# ./bitblast/aig/aig_cnf.h:33:65: note:   initializing argument 1 of 'virtual void bzla::bitblast::SatInterface::add_clause(const std::initializer_list<long int>&)'
#    33 |   virtual void add_clause(const std::initializer_list<int64_t>& literals) = 0;
#       |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
# bitblast/aig/aig_cnf.cpp:245:34: error: cannot convert '<brace-enclosed initializer list>' to 'const std::initializer_list<long int>&'
#   245 |           d_sat_solver.add_clause({-x, c, b});
#       |           ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
# ./bitblast/aig/aig_cnf.h:33:65: note:   initializing argument 1 of 'virtual void bzla::bitblast::SatInterface::add_clause(const std::initializer_list<long int>&)'
#    33 |   virtual void add_clause(const std::initializer_list<int64_t>& literals) = 0;
#       |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
# bitblast/aig/aig_cnf.cpp:246:34: error: cannot convert '<brace-enclosed initializer list>' to 'const std::initializer_list<long int>&'
#   246 |           d_sat_solver.add_clause({x, -c, -a});
#       |           ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
# ./bitblast/aig/aig_cnf.h:33:65: note:   initializing argument 1 of 'virtual void bzla::bitblast::SatInterface::add_clause(const std::initializer_list<long int>&)'
#    33 |   virtual void add_clause(const std::initializer_list<int64_t>& literals) = 0;
#       |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
# bitblast/aig/aig_cnf.cpp:247:34: error: cannot convert '<brace-enclosed initializer list>' to 'const std::initializer_list<long int>&'
#   247 |           d_sat_solver.add_clause({x, c, -b});
#       |           ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
# ./bitblast/aig/aig_cnf.h:33:65: note:   initializing argument 1 of 'virtual void bzla::bitblast::SatInterface::add_clause(const std::initializer_list<long int>&)'
#    33 |   virtual void add_clause(const std::initializer_list<int64_t>& literals) = 0;
#       |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
# bitblast/aig/aig_cnf.cpp:257:25: error: 'abs' is not a member of 'std'
#   257 |           auto x = std::abs(cur->get_id());
#       |                         ^~~
# bitblast/aig/aig_cnf.cpp:261:34: error: cannot convert '<brace-enclosed initializer list>' to 'const std::initializer_list<long int>&'
#   261 |           d_sat_solver.add_clause({-x, a});
#       |           ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
# ./bitblast/aig/aig_cnf.h:33:65: note:   initializing argument 1 of 'virtual void bzla::bitblast::SatInterface::add_clause(const std::initializer_list<long int>&)'
#    33 |   virtual void add_clause(const std::initializer_list<int64_t>& literals) = 0;
#       |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
# bitblast/aig/aig_cnf.cpp:262:34: error: cannot convert '<brace-enclosed initializer list>' to 'const std::initializer_list<long int>&'
#   262 |           d_sat_solver.add_clause({-x, b});
#       |           ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
# ./bitblast/aig/aig_cnf.h:33:65: note:   initializing argument 1 of 'virtual void bzla::bitblast::SatInterface::add_clause(const std::initializer_list<long int>&)'
#    33 |   virtual void add_clause(const std::initializer_list<int64_t>& literals) = 0;
#       |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
# bitblast/aig/aig_cnf.cpp:263:34: error: cannot convert '<brace-enclosed initializer list>' to 'const std::initializer_list<long int>&'
#   263 |           d_sat_solver.add_clause({x, -a, -b});
#       |           ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
# ./bitblast/aig/aig_cnf.h:33:65: note:   initializing argument 1 of 'virtual void bzla::bitblast::SatInterface::add_clause(const std::initializer_list<long int>&)'
#    33 |   virtual void add_clause(const std::initializer_list<int64_t>& literals) = 0;
#       |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
# bitblast/aig/aig_cnf.cpp: In member function 'void bzla::bitblast::AigCnfEncoder::resize(const bzla::bitblast::AigNode&)':
# bitblast/aig/aig_cnf.cpp:275:41: error: 'abs' is not a member of 'std'
#   275 |   size_t pos = static_cast<size_t>(std::abs(aig.get_id()) - 1);
#       |                                         ^~~
# bitblast/aig/aig_cnf.cpp: In member function 'bool bzla::bitblast::AigCnfEncoder::is_encoded(const bzla::bitblast::AigNode&) const':
# bitblast/aig/aig_cnf.cpp:286:41: error: 'abs' is not a member of 'std'
#   286 |   size_t pos = static_cast<size_t>(std::abs(aig.get_id()) - 1);
#       |                                         ^~~
# bitblast/aig/aig_cnf.cpp: In member function 'void bzla::bitblast::AigCnfEncoder::set_encoded(const bzla::bitblast::AigNode&)':
# bitblast/aig/aig_cnf.cpp:297:41: error: 'abs' is not a member of 'std'
#   297 |   size_t pos = static_cast<size_t>(std::abs(aig.get_id()) - 1);
#       |                                         ^~~
# (cd _build/default/vendor/cadical && /usr/bin/gcc -x c++ -std=gnu++11 -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -Wall -fdiagnostics-color=always -I/opt/homebrew/include -std=c++11 -DNDEBUG -DNBUILD -g -I /home/opam/.opam/5.4/lib/ocaml -I src -o decompose.o -c src/decompose.cpp)
# src/decompose.cpp: In member function 'bool CaDiCaL::Internal::decompose_round()':
# src/decompose.cpp:573:22: warning: array subscript 2 is above array bounds of 'int [2]' [-Warray-bounds=]
#   573 |         c->literals[l] = clause[l];
#       |         ~~~~~~~~~~~~~^
# In file included from src/internal.hpp:54,
#                  from src/decompose.cpp:1:
# src/clause.hpp:86:9: note: while referencing 'CaDiCaL::Clause::<unnamed union>::literals'
#    86 |     int literals[2]; // Of variadic 'size' (shrunken if strengthened).
#       |         ^~~~~~~~



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build bitwuzla-cxx 0.4.0
+- 
+- The following changes have been performed
| - install conf-g++        1.0
| - install conf-gcc        1.0
| - install conf-git        1.1
| - install conf-gmp        5
| - install conf-pkg-config 4
| - install dune            3.22.0
| - install ocamlfind       1.9.8
| - install zarith          1.14
+- 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.4/.opam-switch/backup/state-20260326001218.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall bitwuzla-cxx.0.4.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.4.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 1
2026-03-26 00:15.36: Job failed: Failed: Build failed
2026-03-26 00:15.36: Log analysis:
2026-03-26 00:15.36: >>> 
[ERROR] The compilation of bitwuzla-cxx.0.4.0 failed at "dune build -p bitwuzla-cxx -j 71 @install".
 (score = 20)
2026-03-26 00:15.36: >>> 
# build_enum_option.cpp:24:8: error: 'replace' is not a member of 'std'
 (score = 30)
2026-03-26 00:15.36: >>> 
# build_enum_option.cpp:105:14: error: 'sort' is not a member of 'std'; did you mean 'qsort'?
 (score = 30)
2026-03-26 00:15.36: >>> 
# bitblast/aig/aig_manager.cpp:93:41: error: 'abs' is not a member of 'std'
 (score = 30)
2026-03-26 00:15.36: >>> 
# bitblast/aig/aig_manager.cpp:94:41: error: 'abs' is not a member of 'std'
 (score = 30)
2026-03-26 00:15.36: >>> 
# bitblast/aig/aig_manager.cpp:395:12: error: 'abs' is not a member of 'std'
 (score = 30)
2026-03-26 00:15.36: >>> 
# bitblast/aig/aig_manager.cpp:395:29: error: 'abs' is not a member of 'std'
 (score = 30)
2026-03-26 00:15.36: >>> 
# bitblast/aig/aig_manager.cpp:409:35: error: 'abs' is not a member of 'std'
 (score = 30)
2026-03-26 00:15.36: >>> 
# bitblast/aig/aig_manager.cpp:416:36: error: 'abs' is not a member of 'std'
 (score = 30)
2026-03-26 00:15.36: >>> 
# bitblast/aig/aig_manager.cpp:417:50: error: could not convert '{<expression error>, <expression error>}' from '<brace-enclosed initializer list>' to 'std::pair<long int, long int>'
 (score = 30)
2026-03-26 00:15.36: >>> 
# bitblast/aig/aig_cnf.cpp:78:35: error: 'abs' is not a member of 'std'
 (score = 30)
2026-03-26 00:15.36: >>> 
# bitblast/aig/aig_cnf.cpp:202:39: error: 'abs' is not a member of 'std'
 (score = 30)
2026-03-26 00:15.36: >>> 
# bitblast/aig/aig_cnf.cpp:202:32: error: cannot convert '<brace-enclosed initializer list>' to 'const std::initializer_list<long int>&'
 (score = 30)
2026-03-26 00:15.36: >>> 
# bitblast/aig/aig_cnf.cpp:239:25: error: 'abs' is not a member of 'std'
 (score = 30)
2026-03-26 00:15.36: >>> 
# bitblast/aig/aig_cnf.cpp:244:34: error: cannot convert '<brace-enclosed initializer list>' to 'const std::initializer_list<long int>&'
 (score = 30)
2026-03-26 00:15.36: >>> 
# bitblast/aig/aig_cnf.cpp:245:34: error: cannot convert '<brace-enclosed initializer list>' to 'const std::initializer_list<long int>&'
 (score = 30)
2026-03-26 00:15.36: >>> 
# bitblast/aig/aig_cnf.cpp:246:34: error: cannot convert '<brace-enclosed initializer list>' to 'const std::initializer_list<long int>&'
 (score = 30)
2026-03-26 00:15.36: >>> 
# bitblast/aig/aig_cnf.cpp:247:34: error: cannot convert '<brace-enclosed initializer list>' to 'const std::initializer_list<long int>&'
 (score = 30)
2026-03-26 00:15.36: >>> 
# bitblast/aig/aig_cnf.cpp:257:25: error: 'abs' is not a member of 'std'
 (score = 30)
2026-03-26 00:15.36: >>> 
# bitblast/aig/aig_cnf.cpp:261:34: error: cannot convert '<brace-enclosed initializer list>' to 'const std::initializer_list<long int>&'
 (score = 30)
2026-03-26 00:15.36: >>> 
# bitblast/aig/aig_cnf.cpp:262:34: error: cannot convert '<brace-enclosed initializer list>' to 'const std::initializer_list<long int>&'
 (score = 30)
2026-03-26 00:15.36: >>> 
# bitblast/aig/aig_cnf.cpp:263:34: error: cannot convert '<brace-enclosed initializer list>' to 'const std::initializer_list<long int>&'
 (score = 30)
2026-03-26 00:15.36: >>> 
# bitblast/aig/aig_cnf.cpp:275:41: error: 'abs' is not a member of 'std'
 (score = 30)
2026-03-26 00:15.36: >>> 
# bitblast/aig/aig_cnf.cpp:286:41: error: 'abs' is not a member of 'std'
 (score = 30)
2026-03-26 00:15.36: >>> 
# bitblast/aig/aig_cnf.cpp:297:41: error: 'abs' is not a member of 'std'
 (score = 30)
2026-03-26 00:15.36: 'replace' is not a member of 'std'