(for PR #28410)

2025-08-28 15:42.28: New job: build volgo-hg-backend.0.0.21, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28410/head (7c55ff983df5d54fa7f951afc3269cad97244848)
                              on debian-12-ocaml-4.14-nnpchecker/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/28410/head" && git reset --hard 7c55ff98
git fetch origin master
git merge --no-edit f2cd184cfc6f3b25d3bda0873beb3e8b254806ec
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14-nnpchecker@sha256:786fc7a36e71a145971b9aabc9a2a7003dc8803c86383a96d9ba67a5a86b9e58
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 volgo-hg-backend.0.0.21 0.0.21
RUN opam reinstall volgo-hg-backend.0.0.21; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'volgo-hg-backend.0.0.21' && 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-08-28 15:42.28: Using cache hint "ocaml/opam:debian-12-ocaml-4.14-nnpchecker@sha256:786fc7a36e71a145971b9aabc9a2a7003dc8803c86383a96d9ba67a5a86b9e58-volgo-hg-backend.0.0.21-7c55ff983df5d54fa7f951afc3269cad97244848"
2025-08-28 15:42.28: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14-nnpchecker@sha256:786fc7a36e71a145971b9aabc9a2a7003dc8803c86383a96d9ba67a5a86b9e58)
 (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 volgo-hg-backend.0.0.21 0.0.21"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall volgo-hg-backend.0.0.21;\
             \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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'volgo-hg-backend.0.0.21' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-08-28 15:42.28: Waiting for resource in pool OCluster
2025-08-28 15:50.10: Waiting for worker…
2025-08-28 15:52.08: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at f2cd184cfc Merge pull request #28399 from filipeom/opam-publish-smtml.0.10.0
Updating f2cd184cfc..7c55ff983d
Fast-forward
 packages/volgo-base/volgo-base.0.0.21/opam         | 73 ++++++++++++++++++++++
 .../volgo-git-backend.0.0.21/opam                  | 61 ++++++++++++++++++
 packages/volgo-git-eio/volgo-git-eio.0.0.21/opam   | 62 ++++++++++++++++++
 packages/volgo-git-unix/volgo-git-unix.0.0.21/opam | 62 ++++++++++++++++++
 .../volgo-hg-backend/volgo-hg-backend.0.0.21/opam  | 61 ++++++++++++++++++
 packages/volgo-hg-eio/volgo-hg-eio.0.0.21/opam     | 63 +++++++++++++++++++
 packages/volgo-hg-unix/volgo-hg-unix.0.0.21/opam   | 62 ++++++++++++++++++
 packages/volgo-vcs/volgo-vcs.0.0.21/opam           | 68 ++++++++++++++++++++
 packages/volgo/volgo.0.0.21/opam                   | 58 +++++++++++++++++
 9 files changed, 570 insertions(+)
 create mode 100644 packages/volgo-base/volgo-base.0.0.21/opam
 create mode 100644 packages/volgo-git-backend/volgo-git-backend.0.0.21/opam
 create mode 100644 packages/volgo-git-eio/volgo-git-eio.0.0.21/opam
 create mode 100644 packages/volgo-git-unix/volgo-git-unix.0.0.21/opam
 create mode 100644 packages/volgo-hg-backend/volgo-hg-backend.0.0.21/opam
 create mode 100644 packages/volgo-hg-eio/volgo-hg-eio.0.0.21/opam
 create mode 100644 packages/volgo-hg-unix/volgo-hg-unix.0.0.21/opam
 create mode 100644 packages/volgo-vcs/volgo-vcs.0.0.21/opam
 create mode 100644 packages/volgo/volgo.0.0.21/opam

(from ocaml/opam:debian-12-ocaml-4.14-nnpchecker@sha256:786fc7a36e71a145971b9aabc9a2a7003dc8803c86383a96d9ba67a5a86b9e58)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14-nnpchecker@sha256:786fc7a36e71a145971b9aabc9a2a7003dc8803c86383a96d9ba67a5a86b9e58' locally
docker.io/ocaml/opam@sha256:786fc7a36e71a145971b9aabc9a2a7003dc8803c86383a96d9ba67a5a86b9e58: Pulling from ocaml/opam
aa21b7521b00: Already exists
d682087ad53b: Already exists
bbe9b46eca3e: Already exists
5b5cad9953cd: Already exists
7dd0af99e714: Already exists
Digest: sha256:786fc7a36e71a145971b9aabc9a2a7003dc8803c86383a96d9ba67a5a86b9e58
Status: Downloaded newer image for ocaml/opam@sha256:786fc7a36e71a145971b9aabc9a2a7003dc8803c86383a96d9ba67a5a86b9e58
2025-08-28 15:52.32 ---> saved as "d07f31ae54f6c1f7258ff370c33051cd9f9954d19c5d273c18a72abffbc870a1"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-08-28 15:52.32 ---> saved as "4a83d88819c5f3fb2c4897ab76e2f9b5e8ff4f33a69def4a6e4030ba94c83563"

/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-08-28 15:53.06 ---> saved as "da21d4a76550e141f4737216e8d92c67fc961f2e24bdc97b835aa2f8f59910ee"

/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=12
# 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       4.14
# invariant            ["ocaml-options-only-nnpchecker"]
# compiler-packages    ocaml-option-nnpchecker.1, ocaml-options-only-nnpchecker.1, ocaml-variants.4.14.2+options
# 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+options
2025-08-28 15:53.07 ---> saved as "d00b93f35056fb91d00fda00427800d685a8b60e8f33996d4e2f173c054e2cb7"

/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-08-28 15:53.14 ---> saved as "4c39b5daba056c6652ff6214d96f6d9803e2f1ef7cf3ea331c06ac73c015669c"

/home/opam: (copy (src .) (dst opam-repository/))
2025-08-28 15:53.22 ---> saved as "422b1fdd2753fa4acc2179cb37062fb7e42fe4f7470427574d0495065bee0ad3"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-28 15:53.42 ---> saved as "442889903263340985ce2d748ded2e5f3bfa7e7787192d02b68c0566ef995e77"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [277 kB]
- Fetched 380 kB in 0s (1341 kB/s)
- Reading package lists...
- 
2025-08-28 15:53.43 ---> saved as "c7222dd3a6510d8d32be8e3ebd40fc9bfbaa5e641f6a58eccdc7138a58c089fe"

/home/opam: (run (shell "opam pin add -k version -yn volgo-hg-backend.0.0.21 0.0.21"))
volgo-hg-backend is now pinned to version 0.0.21
2025-08-28 15:53.44 ---> saved as "e69eb15a0b05465f0801881cbab0d9fe4f602c8498c62b195f61451d6ceb67ba"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall volgo-hg-backend.0.0.21;\
                        \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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'volgo-hg-backend.0.0.21' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
volgo-hg-backend.0.0.21 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 24 packages
  - install astring             0.8.5           [required by volgo-hg-backend]
  - install bitv                2.1             [required by volgo]
  - install cmdlang             0.0.9           [required by pplumbing]
  - install cmdlang-to-cmdliner 0.0.9           [required by pplumbing]
  - install cmdliner            1.3.0           [required by pplumbing]
  - install csexp               1.5.2           [required by stdune]
  - install dune                3.20.1          [required by volgo-hg-backend]
  - install dyn                 3.20.1          [required by pplumbing]
  - install fmt                 0.11.0          [required by pplumbing]
  - install fpath               0.7.3           [required by volgo-hg-backend]
  - install fpath-sexp0         0.3.1           [required by volgo-hg-backend]
  - install loc                 0.2.2           [required by pplumbing]
  - install logs                0.9.0           [required by pplumbing]
  - install ocamlbuild          0.16.1          [required by astring, fpath]
  - install ocamlfind           1.9.8           [required by astring, fpath]
  - install ordering            3.20.1          [required by pplumbing]
  - install parsexp             v0.16.0         [required by pplumbing]
  - install pp                  2.0.0           [required by volgo-hg-backend]
  - install pplumbing           0.0.14          [required by volgo-hg-backend]
  - install sexplib0            v0.16.0         [required by volgo-hg-backend]
  - install stdune              3.20.1          [required by pplumbing]
  - install topkg               1.1.0           [required by astring, fpath]
  - install volgo               0.0.21          [required by volgo-hg-backend]
  - install volgo-hg-backend    0.0.21 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved bitv.2.1  (cached)
-> retrieved cmdlang.0.0.9, cmdlang-to-cmdliner.0.0.9  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.20.1, dyn.3.20.1, ordering.3.20.1, stdune.3.20.1  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved fpath-sexp0.0.3.1  (cached)
-> retrieved loc.0.2.2  (cached)
-> retrieved logs.0.9.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> installed cmdliner.1.3.0
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved parsexp.v0.16.0  (cached)
-> retrieved pp.2.0.0  (cached)
-> retrieved pplumbing.0.0.14  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved volgo.0.0.21, volgo-hg-backend.0.0.21  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed logs.0.9.0
-> installed dune.3.20.1
-> installed bitv.2.1
-> installed cmdlang.0.0.9
-> installed csexp.1.5.2
-> installed pp.2.0.0
-> installed cmdlang-to-cmdliner.0.0.9
-> installed sexplib0.v0.16.0
-> installed fpath-sexp0.0.3.1
-> installed ordering.3.20.1
-> installed parsexp.v0.16.0
-> installed dyn.3.20.1
-> installed stdune.3.20.1
-> installed loc.0.2.2
-> installed pplumbing.0.0.14
-> installed volgo.0.0.21
-> installed volgo-hg-backend.0.0.21
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-28 15:54.28 ---> saved as "4ca08d1b3d0246f36dc056c92f627cc126e2cbbeddaecc05684332bc80b5a024"
Job succeeded
2025-08-28 15:54.33: Job succeeded