(for PR #28410)

2025-08-28 15:42.28: New job: build volgo-hg-backend.0.0.21, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28410/head (7c55ff983df5d54fa7f951afc3269cad97244848)
                              on debian-12-ocaml-5.3/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-5.3@sha256:ce109ed7a40b6b1bb0ad44021720e8dfea08fdd83f1f42dd0dbcf019bc7bf746
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 volgo-hg-backend.0.0.21 0.0.21
RUN opam depext volgo-hg-backend.0.0.21 && 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-5.3@sha256:ce109ed7a40b6b1bb0ad44021720e8dfea08fdd83f1f42dd0dbcf019bc7bf746-volgo-hg-backend.0.0.21-7c55ff983df5d54fa7f951afc3269cad97244848"
2025-08-28 15:42.28: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:ce109ed7a40b6b1bb0ad44021720e8dfea08fdd83f1f42dd0dbcf019bc7bf746)
 (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 volgo-hg-backend.0.0.21 0.0.21"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext volgo-hg-backend.0.0.21 && 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:46.41: Waiting for worker…
2025-08-28 15:48.38: Got resource from pool OCluster
Building on doris.caelum.ci.dev
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-5.3@sha256:ce109ed7a40b6b1bb0ad44021720e8dfea08fdd83f1f42dd0dbcf019bc7bf746)
2025-08-28 15:48.41 ---> using "15aa1cf9b6eab837810155e26b0481282547cd1c9774850777b777a01817a556" 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"))
2025-08-28 15:48.41 ---> using "9ed7bc2da9ea6d32af34f742a00bc6c2b9bf662b6bc53771019b4f4c0df57d78" 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)

2025-08-28 15:48.41 ---> using "a489bbeae282f819aa3df80b761a6663f0942c783370577ba4c475db3427a9a9" from cache

/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=12
# 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.3
2025-08-28 15:48.41 ---> using "ac0ad020c2dfa15a2dc7a72ae1a8ec1a000ad1b309df5ddf5c7e309eb0f5d389" 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-08-28 15:48.41 ---> using "557ab8e652fddc6097daaae4685d7c846ea4d2e99934b55d2440df9cc930faaf" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-08-28 15:48.48 ---> saved as "2b8b530c924b14d2baeb25337ae0dec5dec202e8ccfdaaec827066f6e8037aa5"

/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)

2025-08-28 15:49.00 ---> saved as "c8c832c351ca510c1d5905a10b58666307fe1a16ce84069a12e73cc69815623f"

/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 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 (940 kB/s)
Reading package lists...
# OS package update successful
2025-08-28 15:49.01 ---> saved as "fcf5fe3ec2e631bde78492fc42e81bdba35b9b8ff26344df28ea69ddf9955934"

/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:49.02 ---> saved as "bc68a147ecc9495b06872d79da99c9cb1dffec844fb7493cc2e83b41ba67540b"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext volgo-hg-backend.0.0.21 && 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"))
# 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.
volgo-hg-backend.0.0.21 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install ocamlbuild          0.16.1  [required by astring, fpath]
  - install cmdliner            1.3.0   [required by pplumbing]
  - install dune                3.20.1  [required by volgo-hg-backend]
  - install ocamlfind           1.9.8   [required by astring, fpath]
  - install sexplib0            v0.17.0 [required by volgo-hg-backend]
  - install pp                  2.0.0   [required by volgo-hg-backend]
  - install ordering            3.20.1  [required by pplumbing]
  - install csexp               1.5.2   [required by stdune]
  - install cmdlang             0.0.9   [required by pplumbing]
  - install bitv                2.1     [required by volgo]
  - install topkg               1.1.0   [required by astring, fpath]
  - install parsexp             v0.17.0 [required by pplumbing]
  - install dyn                 3.20.1  [required by pplumbing]
  - install cmdlang-to-cmdliner 0.0.9   [required by pplumbing]
  - install fmt                 0.11.0  [required by pplumbing]
  - install astring             0.8.5   [required by volgo-hg-backend]
  - install stdune              3.20.1  [required by pplumbing]
  - install logs                0.9.0   [required by pplumbing]
  - install fpath               0.7.3   [required by volgo-hg-backend]
  - install loc                 0.2.2   [required by pplumbing]
  - install fpath-sexp0         0.3.1   [required by volgo-hg-backend]
  - install pplumbing           0.0.14  [required by volgo-hg-backend]
  - install volgo               0.0.21  [required by volgo-hg-backend]
  - install volgo-hg-backend    0.0.21*
===== 24 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[astring.0.8.5] found in cache
[bitv.2.1] found in cache
[cmdlang.0.0.9] found in cache
[cmdlang-to-cmdliner.0.0.9] found in cache
[cmdliner.1.3.0] found in cache
[csexp.1.5.2] found in cache
[dune.3.20.1] found in cache
[dyn.3.20.1] found in cache
[fmt.0.11.0] found in cache
[fpath.0.7.3] found in cache
[fpath-sexp0.0.3.1] found in cache
[loc.0.2.2] found in cache
[logs.0.9.0] found in cache
[ocamlbuild.0.16.1] found in cache
[ocamlfind.1.9.8] found in cache
[ordering.3.20.1] found in cache
[parsexp.v0.17.0] found in cache
[pp.2.0.0] found in cache
[pplumbing.0.0.14] found in cache
[sexplib0.v0.17.0] found in cache
[stdune.3.20.1] found in cache
[topkg.1.1.0] found in cache
[volgo.0.0.21] found in cache
[volgo-hg-backend.0.0.21] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed cmdliner.1.3.0
-> 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 sexplib0.v0.17.0
-> installed cmdlang-to-cmdliner.0.0.9
-> installed fpath-sexp0.0.3.1
-> installed ordering.3.20.1
-> installed parsexp.v0.17.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.
# Run eval $(opam env) to update the current shell environment
2025-08-28 15:49.48 ---> saved as "76bb22ab0782ca27c03ace9afbdf3cd127d91d95695d4596166102332728cc80"
Job succeeded
2025-08-28 15:49.59: Job succeeded