(for PR #28173)

2025-07-14 22:15.55: New job: build bam-ppx.0.4, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28173/head (54238081f7cad4bf6f27faa50df6edd6de144696)
                              on debian-unstable-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/28173/head" && git reset --hard 54238081
git fetch origin master
git merge --no-edit fb593fd72351e22b3778cfd880158a3c4542aa3f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-unstable-ocaml-4.14@sha256:739a130b5485f74a653602812445e2d2065cbc6bcd6ddc0ddd7565c34337a0fc
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 bam-ppx.0.4 0.4
RUN opam reinstall bam-ppx.0.4; \
    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-unstable\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'bam-ppx.0.4' && 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 .

2025-07-14 22:15.55: Using cache hint "ocaml/opam:debian-unstable-ocaml-4.14@sha256:739a130b5485f74a653602812445e2d2065cbc6bcd6ddc0ddd7565c34337a0fc-bam-ppx.0.4-54238081f7cad4bf6f27faa50df6edd6de144696"
2025-07-14 22:15.55: Using OBuilder spec:
((from ocaml/opam:debian-unstable-ocaml-4.14@sha256:739a130b5485f74a653602812445e2d2065cbc6bcd6ddc0ddd7565c34337a0fc)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 bam-ppx.0.4 0.4"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall bam-ppx.0.4;\
             \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-unstable\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'bam-ppx.0.4' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-07-14 22:15.55: Waiting for resource in pool OCluster
2025-07-14 22:15.57: Waiting for worker…
2025-07-14 22:16.00: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at fb593fd723 Merge pull request #28170 from liyishuai/setr-z3
Updating fb593fd723..54238081f7
Fast-forward
 packages/bam-ppx/bam-ppx.0.4/opam   | 42 ++++++++++++++++++++++++++++++++++
 packages/bam/bam.0.4/opam           | 43 +++++++++++++++++++++++++++++++++++
 packages/tezt-bam/tezt-bam.0.4/opam | 45 +++++++++++++++++++++++++++++++++++++
 3 files changed, 130 insertions(+)
 create mode 100644 packages/bam-ppx/bam-ppx.0.4/opam
 create mode 100644 packages/bam/bam.0.4/opam
 create mode 100644 packages/tezt-bam/tezt-bam.0.4/opam

(from ocaml/opam:debian-unstable-ocaml-4.14@sha256:739a130b5485f74a653602812445e2d2065cbc6bcd6ddc0ddd7565c34337a0fc)
Unable to find image 'ocaml/opam:debian-unstable-ocaml-4.14@sha256:739a130b5485f74a653602812445e2d2065cbc6bcd6ddc0ddd7565c34337a0fc' locally
docker.io/ocaml/opam@sha256:739a130b5485f74a653602812445e2d2065cbc6bcd6ddc0ddd7565c34337a0fc: Pulling from ocaml/opam
4e931dbe891d: Pulling fs layer
6d2f57bb0d58: Pulling fs layer
42ffad43ddf7: Pulling fs layer
4e931dbe891d: Waiting
a843a7cff5b1: Pulling fs layer
42ffad43ddf7: Waiting
6d2f57bb0d58: Waiting
217e392d7e0f: Pulling fs layer
a843a7cff5b1: Waiting
217e392d7e0f: Waiting
e804c029bdf4: Pulling fs layer
92c8311c290d: Pulling fs layer
81a695e74ea9: Pulling fs layer
92c8311c290d: Waiting
ec5c083cf22b: Pulling fs layer
a21bf54f2d5b: Pulling fs layer
ec5c083cf22b: Waiting
09ba181d4069: Pulling fs layer
a21bf54f2d5b: Waiting
7ef6323c9515: Pulling fs layer
b2e15490040e: Pulling fs layer
09ba181d4069: Waiting
7ef6323c9515: Waiting
f987803266ba: Pulling fs layer
7a9eb25f98ab: Pulling fs layer
f987803266ba: Waiting
ed08555d0217: Pulling fs layer
cb69b9672969: Pulling fs layer
f0209392ec20: Pulling fs layer
7a9eb25f98ab: Waiting
1a2bfb83bd17: Pulling fs layer
cb69b9672969: Waiting
ed08555d0217: Waiting
9ce1342f625b: Pulling fs layer
1a2bfb83bd17: Waiting
4f4fb700ef54: Pulling fs layer
f0209392ec20: Waiting
f4cd3cda5bd1: Pulling fs layer
9ce1342f625b: Waiting
a1964fa03b8e: Pulling fs layer
4f4fb700ef54: Waiting
b0447f55c55d: Pulling fs layer
f4cd3cda5bd1: Waiting
3b35795ea6f1: Pulling fs layer
a1964fa03b8e: Waiting
54253ebfaadd: Pulling fs layer
b0447f55c55d: Waiting
9ff632143c65: Pulling fs layer
54253ebfaadd: Waiting
9b15fa33b17b: Pulling fs layer
9ff632143c65: Waiting
fc621d9e49ee: Pulling fs layer
5bd7c786f6af: Pulling fs layer
a808190c9ede: Pulling fs layer
9b15fa33b17b: Waiting
fc621d9e49ee: Waiting
5bd7c786f6af: Waiting
b98e772cf962: Pulling fs layer
f6034e88fa4b: Pulling fs layer
a808190c9ede: Waiting
b98e772cf962: Waiting
f66517ed0051: Pulling fs layer
8c6b7f369f01: Pulling fs layer
f6034e88fa4b: Waiting
f66517ed0051: Waiting
892dc158b801: Pulling fs layer
f946148a00c7: Pulling fs layer
8c6b7f369f01: Waiting
6c54e3d7f333: Pulling fs layer
93e6be0792d0: Pulling fs layer
f8970b52c105: Pulling fs layer
ead9671116c1: Pulling fs layer
892dc158b801: Waiting
6c54e3d7f333: Waiting
40f21da77154: Pulling fs layer
f946148a00c7: Waiting
9b9a07cedc9d: Pulling fs layer
ead9671116c1: Waiting
93e6be0792d0: Waiting
9b9a07cedc9d: Waiting
40f21da77154: Waiting
4e931dbe891d: Verifying Checksum
4e931dbe891d: Download complete
6d2f57bb0d58: Verifying Checksum
6d2f57bb0d58: Download complete
42ffad43ddf7: Download complete
217e392d7e0f: Verifying Checksum
217e392d7e0f: Download complete
4e931dbe891d: Pull complete
6d2f57bb0d58: Pull complete
42ffad43ddf7: Pull complete
a843a7cff5b1: Download complete
a843a7cff5b1: Pull complete
217e392d7e0f: Pull complete
92c8311c290d: Verifying Checksum
92c8311c290d: Download complete
81a695e74ea9: Verifying Checksum
81a695e74ea9: Download complete
ec5c083cf22b: Verifying Checksum
ec5c083cf22b: Download complete
a21bf54f2d5b: Verifying Checksum
a21bf54f2d5b: Download complete
09ba181d4069: Verifying Checksum
09ba181d4069: Download complete
7ef6323c9515: Verifying Checksum
7ef6323c9515: Download complete
b2e15490040e: Verifying Checksum
b2e15490040e: Download complete
f987803266ba: Verifying Checksum
f987803266ba: Download complete
7a9eb25f98ab: Download complete
ed08555d0217: Verifying Checksum
ed08555d0217: Download complete
cb69b9672969: Download complete
f0209392ec20: Verifying Checksum
f0209392ec20: Download complete
1a2bfb83bd17: Verifying Checksum
1a2bfb83bd17: Download complete
9ce1342f625b: Verifying Checksum
9ce1342f625b: Download complete
4f4fb700ef54: Download complete
f4cd3cda5bd1: Verifying Checksum
f4cd3cda5bd1: Download complete
a1964fa03b8e: Download complete
b0447f55c55d: Verifying Checksum
b0447f55c55d: Download complete
3b35795ea6f1: Verifying Checksum
3b35795ea6f1: Download complete
54253ebfaadd: Verifying Checksum
54253ebfaadd: Download complete
9ff632143c65: Verifying Checksum
9ff632143c65: Download complete
9b15fa33b17b: Download complete
fc621d9e49ee: Verifying Checksum
fc621d9e49ee: Download complete
5bd7c786f6af: Verifying Checksum
5bd7c786f6af: Download complete
a808190c9ede: Verifying Checksum
a808190c9ede: Download complete
b98e772cf962: Verifying Checksum
b98e772cf962: Download complete
f6034e88fa4b: Verifying Checksum
f6034e88fa4b: Download complete
e804c029bdf4: Verifying Checksum
e804c029bdf4: Download complete
8c6b7f369f01: Download complete
f66517ed0051: Verifying Checksum
f66517ed0051: Download complete
f946148a00c7: Verifying Checksum
f946148a00c7: Download complete
6c54e3d7f333: Verifying Checksum
6c54e3d7f333: Download complete
93e6be0792d0: Verifying Checksum
93e6be0792d0: Download complete
e804c029bdf4: Pull complete
92c8311c290d: Pull complete
81a695e74ea9: Pull complete
ec5c083cf22b: Pull complete
a21bf54f2d5b: Pull complete
09ba181d4069: Pull complete
7ef6323c9515: Pull complete
b2e15490040e: Pull complete
f987803266ba: Pull complete
7a9eb25f98ab: Pull complete
ed08555d0217: Pull complete
cb69b9672969: Pull complete
f0209392ec20: Pull complete
1a2bfb83bd17: Pull complete
9ce1342f625b: Pull complete
4f4fb700ef54: Pull complete
f4cd3cda5bd1: Pull complete
a1964fa03b8e: Pull complete
b0447f55c55d: Pull complete
3b35795ea6f1: Pull complete
54253ebfaadd: Pull complete
9ff632143c65: Pull complete
9b15fa33b17b: Pull complete
fc621d9e49ee: Pull complete
5bd7c786f6af: Pull complete
a808190c9ede: Pull complete
892dc158b801: Verifying Checksum
892dc158b801: Download complete
b98e772cf962: Pull complete
f6034e88fa4b: Pull complete
ead9671116c1: Download complete
40f21da77154: Verifying Checksum
40f21da77154: Download complete
9b9a07cedc9d: Verifying Checksum
9b9a07cedc9d: Download complete
f8970b52c105: Verifying Checksum
f8970b52c105: Download complete
f66517ed0051: Pull complete
8c6b7f369f01: Pull complete
892dc158b801: Pull complete
f946148a00c7: Pull complete
6c54e3d7f333: Pull complete
93e6be0792d0: Pull complete
f8970b52c105: Pull complete
ead9671116c1: Pull complete
40f21da77154: Pull complete
9b9a07cedc9d: Pull complete
Digest: sha256:739a130b5485f74a653602812445e2d2065cbc6bcd6ddc0ddd7565c34337a0fc
Status: Downloaded newer image for ocaml/opam@sha256:739a130b5485f74a653602812445e2d2065cbc6bcd6ddc0ddd7565c34337a0fc
2025-07-14 22:17.16 ---> using "7857556f0ee95bcc7ecca0490b934126aab8e9eb480e2c6cac89a8e872ce4e21" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-14 22:17.16 ---> using "fc7ec31b7c1b101fa86666bed9ffa5290c3d12c70779e1203d2cdb98e7c23f71" 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 development 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
2025-07-14 22:17.16 ---> using "23ba18640d814466840ca0d84830641e2aa2ec4433e2b79f9b073d6252599266" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# 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                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, 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.2
2025-07-14 22:17.16 ---> using "33483de356348049fc087508f1bf102f4c397703fd884cac168acace1b6d1cf9" 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/"))
2025-07-14 22:17.16 ---> using "47a62dadce5d4e4f34a3a9f8f602a8b31fc9cde7954fdb497caa2add5c03d2b2" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-07-14 22:17.23 ---> saved as "e401d1f88d7e5bfb7f4ad0c40f1beceea1e582b923faa704dacafd9c0e4a1cd2"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-07-14 22:17.40 ---> saved as "17f4ae0f00ebc84dde62ef6508c23d1057977be896c649bb0c7d95e5772708b0"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [213 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-07-14-2005.36-F-2025-07-05-0804.49.pdiff [186 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-07-14-2005.36-F-2025-07-05-0804.49.pdiff [186 kB]
- Fetched 462 kB in 3s (177 kB/s)
- Reading package lists...
- 
2025-07-14 22:17.44 ---> saved as "6fdaff7d37e841f06f7941163c17c15b9cc82c8dcfe15e7f5c92e15bd49075d2"

/home/opam: (run (shell "opam pin add -k version -yn bam-ppx.0.4 0.4"))
bam-ppx is now pinned to version 0.4
2025-07-14 22:17.44 ---> saved as "d25b06247eea09d068d65d3f52afd7202a322927f22453dcb4d523bee06472bd"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall bam-ppx.0.4;\
                        \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-unstable\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'bam-ppx.0.4' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
bam-ppx.0.4 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 8 packages
  - install bam-ppx             0.4 (pinned)
  - install dmap                0.5          [required by bam-ppx]
  - install dune                3.19.1       [required by bam-ppx]
  - install ocaml-compiler-libs v0.12.4      [required by ppxlib]
  - install ppx_derivers        1.2.1        [required by ppxlib]
  - install ppxlib              0.36.0       [required by bam-ppx]
  - install sexplib0            v0.17.0      [required by ppxlib]
  - install stdlib-shims        0.3.0        [required by ppxlib]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bam-ppx.0.4  (cached)
-> retrieved dmap.0.5  (cached)
-> retrieved dune.3.19.1  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppxlib.0.36.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed dune.3.19.1
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed dmap.0.5
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ppxlib.0.36.0
-> installed bam-ppx.0.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-14 22:18.23 ---> saved as "9573c3d5e2388dcfb4d2c1f1d444389f0e18779ef0832a9659d5f4ef982642ae"
Job succeeded
2025-07-14 22:18.32: Job succeeded