(for PR #28172)

2025-07-14 12:49.02: New job: build hilite.0.5.0, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28172/head (0994d48d1dbc37f4e52b2f1497044d73aab96cb5)
                              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/28172/head" && git reset --hard 0994d48d
git fetch origin master
git merge --no-edit ab64da8511384eb17e33f1a279f920ed72d7d958
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-unstable-ocaml-4.14@sha256:0285eafe7be504db1e105c1584869cc7d3b77affc05d8df471672c185aa70a11
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 hilite.0.5.0 0.5.0
RUN 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-unstable\""; 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-unstable-ocaml-4.14@sha256:0285eafe7be504db1e105c1584869cc7d3b77affc05d8df471672c185aa70a11-hilite.0.5.0-0994d48d1dbc37f4e52b2f1497044d73aab96cb5"
2025-07-14 12:49.02: Using OBuilder spec:
((from ocaml/opam:debian-unstable-ocaml-4.14@sha256:0285eafe7be504db1e105c1584869cc7d3b77affc05d8df471672c185aa70a11)
 (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 hilite.0.5.0 0.5.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "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-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\" != '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.05: Waiting for worker…
2025-07-14 13:48.38: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
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-unstable-ocaml-4.14@sha256:0285eafe7be504db1e105c1584869cc7d3b77affc05d8df471672c185aa70a11)
Unable to find image 'ocaml/opam:debian-unstable-ocaml-4.14@sha256:0285eafe7be504db1e105c1584869cc7d3b77affc05d8df471672c185aa70a11' locally
docker.io/ocaml/opam@sha256:0285eafe7be504db1e105c1584869cc7d3b77affc05d8df471672c185aa70a11: Pulling from ocaml/opam
4e931dbe891d: Already exists
6d2f57bb0d58: Already exists
42ffad43ddf7: Already exists
a843a7cff5b1: Already exists
217e392d7e0f: Already exists
e804c029bdf4: Already exists
92c8311c290d: Already exists
81a695e74ea9: Already exists
ec5c083cf22b: Already exists
a21bf54f2d5b: Already exists
09ba181d4069: Already exists
7ef6323c9515: Already exists
b2e15490040e: Already exists
f987803266ba: Already exists
7a9eb25f98ab: Already exists
ed08555d0217: Already exists
cb69b9672969: Already exists
f0209392ec20: Already exists
1a2bfb83bd17: Already exists
9ce1342f625b: Already exists
4f4fb700ef54: Already exists
f4cd3cda5bd1: Already exists
a1964fa03b8e: Already exists
b0447f55c55d: Already exists
3b35795ea6f1: Already exists
54253ebfaadd: Already exists
9ff632143c65: Already exists
9b15fa33b17b: Already exists
fc621d9e49ee: Already exists
5bd7c786f6af: Already exists
a808190c9ede: Already exists
b98e772cf962: Already exists
f6034e88fa4b: Already exists
20427fd93949: Already exists
64bdf3a66474: Already exists
3a1c504ada2e: Already exists
0b128060d34b: Already exists
712e4b43f6e9: Already exists
8df215c81409: Already exists
077145acaf58: Pulling fs layer
b7c588be1e51: Pulling fs layer
e5449f5927ce: Pulling fs layer
14d8873ec3d8: Pulling fs layer
e5449f5927ce: Waiting
e5449f5927ce: Verifying Checksum
e5449f5927ce: Download complete
14d8873ec3d8: Verifying Checksum
14d8873ec3d8: Download complete
077145acaf58: Verifying Checksum
077145acaf58: Download complete
077145acaf58: Pull complete
b7c588be1e51: Pull complete
e5449f5927ce: Pull complete
14d8873ec3d8: Pull complete
Digest: sha256:0285eafe7be504db1e105c1584869cc7d3b77affc05d8df471672c185aa70a11
Status: Downloaded newer image for ocaml/opam@sha256:0285eafe7be504db1e105c1584869cc7d3b77affc05d8df471672c185aa70a11
2025-07-14 13:49.16 ---> saved as "6cebd66525e92da7ff8820aa705179bf3b0dd6636930883cccecf7be045be3af"

/: (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 13:49.17 ---> saved as "c46de6419a3eb5f4d0d08233e1820ab274f41e50099725f1e0cf12cd79cd7e76"

/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 13:49.35 ---> saved as "b4eafd85931582e3f74c27817aaa5c887c7ad3b59834fcb25c5d5a9516e3034f"

/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 13:49.36 ---> saved as "38763535109a0cae9a772fb124bc7fb7995b97cb3ee6fa231d7a7c8d1535af6a"

/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:49.44 ---> saved as "41bf592fc3fbfe0fbc8dd285f17a4ce48ff660572880c5d34009188d6ee1285a"

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

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-07-14 13:50.06 ---> saved as "a39bf93f943ec9a7012f651e0d23465862ddf0c66545a79d26762cee95a6ab45"

/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-0205.05-F-2025-07-05-0804.49.pdiff [127 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-07-14-0205.05-F-2025-07-05-0804.49.pdiff [127 kB]
- Fetched 404 kB in 1s (311 kB/s)
- Reading package lists...
2025-07-14 13:50.08 ---> saved as "316cd6a3a137ecaf57a8676161e03b6c1a7095f662de3e9d70dc68c213b9e7b8"

/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:50.09 ---> saved as "2b0b7aa5b5c3e09548918a23e7ad8a42935bc7a8c2239e7c071fafa411eb5202"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "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-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\" != '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"))
hilite.0.5.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 8 packages
  - install conf-oniguruma    1              [required by oniguruma]
  - install conf-pkg-config   4              [required by conf-oniguruma]
  - install csexp             1.5.2          [required by dune-configurator]
  - install dune              3.19.1         [required by hilite]
  - install dune-configurator 3.19.1         [required by oniguruma]
  - install hilite            0.5.0 (pinned)
  - install oniguruma         0.1.2          [required by textmate-language]
  - install textmate-language 0.4.0          [required by hilite]

The following system packages will first need to be installed:
    libonig-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libonig-dev" "pkg-config"
- 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 ... 20644 files and directories currently installed.)
- Preparing to unpack .../0-libonig5_6.9.9-1+b1_amd64.deb ...
- Unpacking libonig5:amd64 (6.9.9-1+b1) ...
- Selecting previously unselected package libonig-dev.
- Preparing to unpack .../1-libonig-dev_6.9.9-1+b1_amd64.deb ...
- Unpacking libonig-dev (6.9.9-1+b1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libonig5:amd64 (6.9.9-1+b1) ...
- Setting up libonig-dev (6.9.9-1+b1) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-9) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> installed conf-oniguruma.1
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
-> retrieved hilite.0.5.0  (cached)
-> retrieved oniguruma.0.1.2  (cached)
-> retrieved textmate-language.0.4.0  (cached)
-> 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.
# To update the current shell environment, run: eval $(opam env)
2025-07-14 13:50.36 ---> saved as "e40f9b429e5e447cd46d1305f38700afc5609e9db3789ff51782606e7ac6dcf6"
Job succeeded
2025-07-14 13:50.40: Job succeeded