(for PR #28172)

2025-07-14 12:49.02: New job: build hilite.0.5.0, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28172/head (0994d48d1dbc37f4e52b2f1497044d73aab96cb5)
                              on debian-12-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/28172/head" && git reset --hard 0994d48d
git fetch origin master
git merge --no-edit ab64da8511384eb17e33f1a279f920ed72d7d958
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:143576507f5c7de2dab1a2bc4748de0e63d8dc0c9524de1e8ea0b273ddd270ab
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 hilite.0.5.0 0.5.0
RUN opam depext hilite.0.5.0 && opam reinstall hilite.0.5.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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'hilite.0.5.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 .

2025-07-14 12:49.02: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:143576507f5c7de2dab1a2bc4748de0e63d8dc0c9524de1e8ea0b273ddd270ab-hilite.0.5.0-0994d48d1dbc37f4e52b2f1497044d73aab96cb5"
2025-07-14 12:49.02: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:143576507f5c7de2dab1a2bc4748de0e63d8dc0c9524de1e8ea0b273ddd270ab)
 (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 hilite.0.5.0 0.5.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext hilite.0.5.0 && opam reinstall hilite.0.5.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-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\" != 'hilite.0.5.0' && 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 12:49.02: Waiting for resource in pool OCluster
2025-07-14 13:45.28: Waiting for worker…
2025-07-14 13:49.29: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
Updating files:  83% (14965/17845)
Updating files:  84% (14990/17845)
Updating files:  85% (15169/17845)
Updating files:  86% (15347/17845)
Updating files:  87% (15526/17845)
Updating files:  88% (15704/17845)
Updating files:  89% (15883/17845)
Updating files:  90% (16061/17845)
Updating files:  91% (16239/17845)
Updating files:  92% (16418/17845)
Updating files:  93% (16596/17845)
Updating files:  94% (16775/17845)
Updating files:  95% (16953/17845)
Updating files:  96% (17132/17845)
Updating files:  97% (17310/17845)
Updating files:  98% (17489/17845)
Updating files:  99% (17667/17845)
Updating files: 100% (17845/17845)
Updating files: 100% (17845/17845), done.
HEAD is now at ab64da8511 Merge pull request #28162 from vbmithr/release-logs-async-1.4
Updating ab64da8511..0994d48d1d
Fast-forward
 packages/hilite/hilite.0.5.0/opam | 41 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 packages/hilite/hilite.0.5.0/opam

(from ocaml/opam:debian-12-ocaml-4.14@sha256:143576507f5c7de2dab1a2bc4748de0e63d8dc0c9524de1e8ea0b273ddd270ab)
2025-07-14 13:49.32 ---> using "cbce109115830ce8e290fcb66720c8f15adbd56f7256c117251ab82bc5715165" 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-07-14 13:49.33 ---> saved as "40cb61ab71ce014645013fffdfc8ed6b643b3ffa491e7cfa839ff813a30c8681"

/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-07-14 13:51.29 ---> saved as "b07534a6cdaea012c1d6acde467db56c87a15c26f5b1724d95e8b8818ba2940f"

/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    4.14
2025-07-14 13:51.31 ---> saved as "6b9cc4b1ac5ce51332c73161b632c7442979ec1a2150af8db39fbe837c84e76c"

/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 13:51.44 ---> saved as "9b5474653bb487066f96c39ae16d757679c8c0deeb51defc6e28168bcba7e41f"

/home/opam: (copy (src .) (dst opam-repository/))
2025-07-14 13:52.44 ---> saved as "4c4cc3b1928389a61569289efca45b09dc7eb4b1d6344d570d6a216d15f5fa34"

/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-07-14 13:52.59 ---> saved as "99f976eaf2c17c92c8cfd0f8677f8bc52f57d5a8e9581e77f85cf54358d571cf"

/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 [272 kB]
Fetched 375 kB in 0s (865 kB/s)
Reading package lists...
# OS package update successful
2025-07-14 13:53.02 ---> saved as "adb8d9fb989dc9a7aeb0276a7e6ffabf4facd6d3c5dabe3641d2ecc556653b7d"

/home/opam: (run (shell "opam pin add -k version -yn hilite.0.5.0 0.5.0"))
hilite is now pinned to version 0.5.0
2025-07-14 13:53.03 ---> saved as "4817811fd9f0c9ab2011db407ce5914223181577684a1bbecd34df7ed53b2529"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext hilite.0.5.0 && opam reinstall hilite.0.5.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-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\" != 'hilite.0.5.0' && 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
# The following system packages are needed:
libonig-dev
pkg-config
The following command needs to be run through "sudo":
    apt-get install -qq -yy libonig-dev pkg-config
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libonig5: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 ... 18747 files and directories currently installed.)
Preparing to unpack .../0-libonig5_6.9.8-1_amd64.deb ...
Unpacking libonig5:amd64 (6.9.8-1) ...
Selecting previously unselected package libonig-dev.
Preparing to unpack .../1-libonig-dev_6.9.8-1_amd64.deb ...
Unpacking libonig-dev (6.9.8-1) ...
Selecting previously unselected package libpkgconf3:amd64.
Preparing to unpack .../2-libpkgconf3_1.8.1-1_amd64.deb ...
Unpacking libpkgconf3:amd64 (1.8.1-1) ...
Selecting previously unselected package pkgconf-bin.
Preparing to unpack .../3-pkgconf-bin_1.8.1-1_amd64.deb ...
Unpacking pkgconf-bin (1.8.1-1) ...
Selecting previously unselected package pkgconf:amd64.
Preparing to unpack .../4-pkgconf_1.8.1-1_amd64.deb ...
Unpacking pkgconf:amd64 (1.8.1-1) ...
Selecting previously unselected package pkg-config:amd64.
Preparing to unpack .../5-pkg-config_1.8.1-1_amd64.deb ...
Unpacking pkg-config:amd64 (1.8.1-1) ...
Setting up libpkgconf3:amd64 (1.8.1-1) ...
Setting up pkgconf-bin (1.8.1-1) ...
Setting up libonig5:amd64 (6.9.8-1) ...
Setting up libonig-dev (6.9.8-1) ...
Setting up pkgconf:amd64 (1.8.1-1) ...
Setting up pkg-config:amd64 (1.8.1-1) ...
Processing triggers for libc-bin (2.36-9+deb12u10) ...
# OS packages installation successful
hilite.0.5.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install dune              3.19.1 [required by hilite]
  - install conf-pkg-config   4      [required by conf-oniguruma]
  - install csexp             1.5.2  [required by dune-configurator]
  - install conf-oniguruma    1      [required by oniguruma]
  - install dune-configurator 3.19.1 [required by oniguruma]
  - install oniguruma         0.1.2  [required by textmate-language]
  - install textmate-language 0.4.0  [required by hilite]
  - install hilite            0.5.0*
===== 8 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[csexp.1.5.2] found in cache
[dune.3.19.1] found in cache
[dune-configurator.3.19.1] found in cache
[hilite.0.5.0] found in cache
[oniguruma.0.1.2] found in cache
[textmate-language.0.4.0] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
-> installed conf-oniguruma.1
-> installed dune.3.19.1
-> installed csexp.1.5.2
-> installed dune-configurator.3.19.1
-> installed oniguruma.0.1.2
-> installed textmate-language.0.4.0
-> installed hilite.0.5.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-07-14 13:54.06 ---> saved as "de78f7969d10dd39c309e9985a01f2b0a0610e4921f19922a289ad6f8d014e41"
Job succeeded
2025-07-14 13:54.23: Job succeeded