(for PR #28621)

2025-09-30 18:48.49: New job: build handlebars-ml.0.1.2, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28621/head (1e4cbaf8008aa5e4d13e76475487eb802bc2b185)
                              on debian-13-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/28621/head" && git reset --hard 1e4cbaf8
git fetch origin master
git merge --no-edit 4f9a23ad7559801de52ddc1916c3fb30ab18c401
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.3@sha256:d96959611c273d7e1726ccd221b4f5e95a02676bef62ee9cd5d6f638aaaa573f
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 handlebars-ml.0.1.2 0.1.2
RUN opam depext handlebars-ml.0.1.2 && opam reinstall handlebars-ml.0.1.2; \
    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" != 'handlebars-ml.0.1.2' && 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-09-30 18:48.49: Using cache hint "ocaml/opam:debian-13-ocaml-5.3@sha256:d96959611c273d7e1726ccd221b4f5e95a02676bef62ee9cd5d6f638aaaa573f-handlebars-ml.0.1.2-1e4cbaf8008aa5e4d13e76475487eb802bc2b185"
2025-09-30 18:48.49: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.3@sha256:d96959611c273d7e1726ccd221b4f5e95a02676bef62ee9cd5d6f638aaaa573f)
 (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 handlebars-ml.0.1.2 0.1.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext handlebars-ml.0.1.2 && opam reinstall handlebars-ml.0.1.2;\
             \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\" != 'handlebars-ml.0.1.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-09-30 18:48.49: Waiting for resource in pool OCluster
2025-09-30 18:48.49: Waiting for worker…
2025-09-30 18:48.50: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at 4f9a23ad75 Merge pull request #28622 from Octachron/OCaml_5.4.0_rc1
Updating 4f9a23ad75..1e4cbaf800
Fast-forward
 packages/handlebars-ml/handlebars-ml.0.1.2/opam | 43 +++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 packages/handlebars-ml/handlebars-ml.0.1.2/opam

(from ocaml/opam:debian-13-ocaml-5.3@sha256:d96959611c273d7e1726ccd221b4f5e95a02676bef62ee9cd5d6f638aaaa573f)
2025-09-30 18:49.24 ---> using "e5ce46144b4e25b3e363c3d09bd5c434fad1097e903303a843a6f78001c9b5bd" 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-09-30 18:49.24 ---> using "a572331404cd1dd4d00f21fa44662315310144367c8b3444905d127f19b724da" 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-09-30 18:49.24 ---> using "5fb116da61bcfcc9b7007fcbf12be0f518067e0383b7c2e23ad9341e7d314675" 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=13
# 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-09-30 18:49.24 ---> using "351436958f92f78a88e06fe38470767537ad17251d2926563985d8c31bc97ed7" 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-09-30 18:49.24 ---> using "46d945b90ad5ff5bc26d93d873d4300de075e44872c9b346d663c0b39c5c2fd7" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-09-30 18:49.35 ---> saved as "ebd6ce74b8cf694fb652ef294abe0637f3b43c30558df1a5fb2a75b9ec3301cc"

/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-09-30 18:49.46 ---> saved as "bb63c865e0c02159c7ae876ba12e95e8f719603cc2f173bb49de6810ffaffcbe"

/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 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 [47.7 kB]
Fetched 138 kB in 0s (1275 kB/s)
Reading package lists...
# OS package update successful
2025-09-30 18:49.49 ---> saved as "6fa1e18ef394d093a855066b8ed2156436218678a10dacb452384cc0c4b4b63d"

/home/opam: (run (shell "opam pin add -k version -yn handlebars-ml.0.1.2 0.1.2"))
handlebars-ml is now pinned to version 0.1.2
2025-09-30 18:49.49 ---> saved as "5f63a5cdad96a6b97e12022b8a7bc4222f8d869fef53dad22adeeb4b0ba1c58d"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext handlebars-ml.0.1.2 && opam reinstall handlebars-ml.0.1.2;\
                        \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\" != 'handlebars-ml.0.1.2' && 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.
handlebars-ml.0.1.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install ocamlfind           1.9.8   [required by ppx_deriving]
  - install dune                3.20.2  [required by handlebars-ml]
  - install yojson              3.0.0   [required by handlebars-ml]
  - install stdlib-shims        0.3.0   [required by ppxlib]
  - install sexplib0            v0.17.0 [required by ppxlib]
  - install ppx_derivers        1.2.1   [required by ppx_deriving]
  - install ocaml-compiler-libs v0.17.0 [required by ppxlib]
  - install cppo                1.8.0   [required by ppx_deriving]
  - install ppxlib              0.36.0  [required by ppx_deriving]
  - install ppx_deriving        6.1.1   [required by handlebars-ml]
  - install handlebars-ml       0.1.2*
===== 11 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[cppo.1.8.0] found in cache
[dune.3.20.2] found in cache
[handlebars-ml.0.1.2] downloaded from https://github.com/nikochiko/handlebars-ml/archive/refs/tags/0.1.2.tar.gz
[ocaml-compiler-libs.v0.17.0] found in cache
[ocamlfind.1.9.8] found in cache
[ppx_derivers.1.2.1] found in cache
[ppx_deriving.6.1.1] found in cache
[ppxlib.0.36.0] found in cache
[sexplib0.v0.17.0] found in cache
[stdlib-shims.0.3.0] found in cache
[yojson.3.0.0] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed ocamlfind.1.9.8
-> installed dune.3.20.2
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed yojson.3.0.0
-> installed ppxlib.0.36.0
-> installed ppx_deriving.6.1.1
-> installed handlebars-ml.0.1.2
Done.
# Run eval $(opam env) to update the current shell environment
2025-09-30 18:50.53 ---> saved as "cf5b7e3da5ad0b6a749752c3243419b9406186a9fd7b6206ffc9957edf47b0dc"
Job succeeded
2025-09-30 18:51.00: Job succeeded