(for PR #28172)

2025-07-14 12:49.01: 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 archlinux-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/28172/head" && git reset --hard 0994d48d
git fetch origin master
git merge --no-edit ab64da8511384eb17e33f1a279f920ed72d7d958
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:archlinux-ocaml-5.3@sha256:427fc081561367df0515a6a2367bce20007c3047d6383b9b62388416a7636e2a
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 "\"archlinux\""; 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.01: Using cache hint "ocaml/opam:archlinux-ocaml-5.3@sha256:427fc081561367df0515a6a2367bce20007c3047d6383b9b62388416a7636e2a-hilite.0.5.0-0994d48d1dbc37f4e52b2f1497044d73aab96cb5"
2025-07-14 12:49.01: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.3@sha256:427fc081561367df0515a6a2367bce20007c3047d6383b9b62388416a7636e2a)
 (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 \"\\\"archlinux\\\"\"; 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.01: Waiting for resource in pool OCluster
2025-07-14 13:44.51: Waiting for worker…
2025-07-14 13:48.13: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
Updating files:  79% (14121/17847)
Updating files:  80% (14278/17847)
Updating files:  81% (14457/17847)
Updating files:  82% (14635/17847)
Updating files:  83% (14814/17847)
Updating files:  84% (14992/17847)
Updating files:  85% (15170/17847)
Updating files:  86% (15349/17847)
Updating files:  87% (15527/17847)
Updating files:  88% (15706/17847)
Updating files:  89% (15884/17847)
Updating files:  90% (16063/17847)
Updating files:  91% (16241/17847)
Updating files:  92% (16420/17847)
Updating files:  93% (16598/17847)
Updating files:  94% (16777/17847)
Updating files:  95% (16955/17847)
Updating files:  96% (17134/17847)
Updating files:  97% (17312/17847)
Updating files:  98% (17491/17847)
Updating files:  99% (17669/17847)
Updating files: 100% (17847/17847)
Updating files: 100% (17847/17847), done.
HEAD is now at 34f44074f6 Merge commit '4deebea6099dbe492b2820180da0b1e729bdf5c6'
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:archlinux-ocaml-5.3@sha256:427fc081561367df0515a6a2367bce20007c3047d6383b9b62388416a7636e2a)
2025-07-14 13:48.53 ---> saved as "2732cec1f9d2c12fbf1fd073730eb9f6ccde086b56de1ed276eb144f896c9ea3"

/: (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:48.54 ---> saved as "a93a125bde67ce4726865703213cfc787908be8d78e7841262e961b09c7054c5"

/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
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=255 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-14 13:49.27 ---> saved as "b27e9225f4492ed065122d93e25f689da0b1626efdad7c9a67ac52eb4e44ab64"

/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=arch os-version=20250629.0.373469
# 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       5.3
# invariant            ["ocaml-base-compiler" {= "5.3.0"}]
# compiler-packages    ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.3.0
2025-07-14 13:49.28 ---> saved as "81197c1ade32253cc45a28743692c0f67b7c5cc95ce581a8522e29163c489f48"

/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.36 ---> saved as "d1c7e5ba49b72a384db8cf47a5bed2c54f59f123ac75100b004f831c25c07112"

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
-  core downloading...
-  extra downloading...
2025-07-14 13:50.07 ---> saved as "6bc7c40730e8ae2c50f2a3e664f05f320e387e951b1dfa17d84195015bf42695"

/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.08 ---> saved as "854453c425bdd0695d0f55aa95cd132070503bfd79a70735b9c4dc219805ac87"

/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 \"\\\"archlinux\\\"\"; 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
  ∗ conf-oniguruma    1              [required by oniguruma]
  ∗ conf-pkg-config   4              [required by conf-oniguruma]
  ∗ csexp             1.5.2          [required by dune-configurator]
  ∗ dune              3.19.1         [required by hilite]
  ∗ dune-configurator 3.19.1         [required by oniguruma]
  ∗ hilite            0.5.0 (pinned)
  ∗ oniguruma         0.1.2          [required by textmate-language]
  ∗ textmate-language 0.4.0          [required by hilite]

The following system packages will first need to be installed:
    oniguruma pkgconf

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

opam believes some required external dependencies are missing. opam can:
> 1. Run pacman to install them (may need root/sudo access)
  2. Display the recommended pacman 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/sbin/sudo "pacman" "-Su" "--noconfirm" "oniguruma" "pkgconf"
- :: Starting full system upgrade...
- resolving dependencies...
- looking for conflicting packages...
- 
- Package (9)             Old Version   New Version  Net Change  Download Size
- 
- core/archlinux-keyring  20250430.1-1  20250707-1     0.00 MiB       1.18 MiB
- core/bash               5.2.037-5     5.3.0-1        0.37 MiB       1.89 MiB
- core/e2fsprogs          1.47.2-2      1.47.3-1       0.06 MiB       1.24 MiB
- core/gettext            0.25-1        0.25.1-1       0.00 MiB       2.78 MiB
- extra/git               2.50.0-1      2.50.1-3       0.00 MiB       6.71 MiB
- core/gnutls             3.8.9-1       3.8.10-1       0.03 MiB       1.76 MiB
- core/readline           8.2.013-2     8.3.001-1      0.76 MiB       0.40 MiB
- extra/oniguruma                       6.9.10-1       0.88 MiB       0.22 MiB
- core/pkgconf                          2.5.1-1        0.20 MiB       0.07 MiB
- 
- Total Download Size:   16.25 MiB
- Total Installed Size:  72.21 MiB
- Net Upgrade Size:       2.30 MiB
- 
- :: Proceed with installation? [Y/n] 
- :: Retrieving packages...
-  git-2.50.1-3-x86_64 downloading...
-  gettext-0.25.1-1-x86_64 downloading...
-  bash-5.3.0-1-x86_64 downloading...
-  gnutls-3.8.10-1-x86_64 downloading...
-  e2fsprogs-1.47.3-1-x86_64 downloading...
-  archlinux-keyring-20250707-1-any downloading...
-  readline-8.3.001-1-x86_64 downloading...
-  oniguruma-6.9.10-1-x86_64 downloading...
-  pkgconf-2.5.1-1-x86_64 downloading...
- checking keyring...
- checking package integrity...
- loading package files...
- checking for file conflicts...
- :: Processing package changes...
- installing oniguruma...
- installing pkgconf...
- upgrading readline...
- upgrading bash...
- upgrading gettext...
- upgrading e2fsprogs...
- upgrading gnutls...
- upgrading archlinux-keyring...
- ==> ERROR: There is no secret key available to sign with.
- ==> Use 'pacman-key --init' to generate a default secret key.
- error: command failed to execute correctly
- upgrading git...
- New optional dependencies for git
-     less: the default pager for git
- :: Running post-transaction hooks...
- (1/5) Creating system user accounts...
- (2/5) Reloading system manager configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- (3/5) Restarting marked services...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- (4/5) Reloading device manager configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Device manager is not running.
- (5/5) Arming ConditionNeedsUpdate...

<><> 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  (https://github.com/patricoferris/hilite/releases/download/v0.5.0/hilite-0.5.0.tbz)
⬇ 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:51.03 ---> saved as "89db6b7892a635fcf63883005db17bf5519306aefc03be4dc52e7ddcd9b6f811"
Job succeeded
2025-07-14 13:51.08: Job succeeded