(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 fedora-41-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:fedora-41-ocaml-4.14@sha256:af741e2d143d42c38241d59ac954f858eb665bf596a8e6824766d7eb33cba67b
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 "\"fedora-41\""; 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:fedora-41-ocaml-4.14@sha256:af741e2d143d42c38241d59ac954f858eb665bf596a8e6824766d7eb33cba67b-hilite.0.5.0-0994d48d1dbc37f4e52b2f1497044d73aab96cb5"
2025-07-14 12:49.02: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-4.14@sha256:af741e2d143d42c38241d59ac954f858eb665bf596a8e6824766d7eb33cba67b)
 (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 \"\\\"fedora-41\\\"\"; 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.02: Waiting for worker…
2025-07-14 13:48.36: Got resource from pool OCluster
Building on doris.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:fedora-41-ocaml-4.14@sha256:af741e2d143d42c38241d59ac954f858eb665bf596a8e6824766d7eb33cba67b)
2025-07-14 13:48.42 ---> using "f97e4b2e51b827bbae188c5de9efe8e0367cfab73d7142348cfc78fe70437714" from cache

/: (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.42 ---> using "bc26253c0fb0d4c0a36034ab708c04235bd677addcdffb517f53fc643fe88c2b" from cache

/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 71 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=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-14 13:48.43 ---> using "dd107dd8bf5798d1b5058b0effb04c0d68f968daff672c195b3134b917609d57" from cache

/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=fedora os-version=41
# 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:48.43 ---> using "8194c2f291f32a129048ceced97bf806e436180785c2830822eeb82d8c9e5a85" 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-07-14 13:48.43 ---> using "9195d0678dd141d62912cc984a1545796dd742806c62a190893049c9bfc76e83" from cache

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 41 - x86_64                     100% | 207.0 KiB/s |  26.7 KiB |  00m00s
-  Fedora 41 - x86_64 - Updates           100% | 208.9 KiB/s |  26.1 KiB |  00m00s
-  Fedora 41 - x86_64 - Updates           100% |   7.6 MiB/s |   4.5 MiB |  00m01s
- Repositories loaded.
- Metadata cache created.
2025-07-14 13:49.10 ---> saved as "2bdbd322122a24a6eaece87e8c1fca0ab9fb631dfcd42beacc0f590b133e1474"

/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:49.11 ---> saved as "4bee7cd7e051d8a00ace8ddd05e5df453b2635f494f71b94aeeea745f3284a83"

/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 \"\\\"fedora-41\\\"\"; 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:
    oniguruma-devel

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

opam believes some required external dependencies are missing. opam can:
> 1. Run yum to install them (may need root/sudo access)
  2. Display the recommended yum 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 "yum" "install" "-y" "oniguruma-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package          Arch   Version       Repository      Size
- Installing:
-  oniguruma-devel x86_64 6.9.10-1.fc41 updates    266.9 KiB
- Installing dependencies:
-  oniguruma       x86_64 6.9.10-1.fc41 updates    762.5 KiB
- 
- Transaction Summary:
-  Installing:         2 packages
- 
- Total size of inbound packages is 273 KiB. Need to download 273 KiB.
- After this operation, 1 MiB extra will be used (install 1 MiB, remove 0 B).
- [1/2] oniguruma-devel-0:6.9.10-1.fc41.x 100% |   1.3 MiB/s |  61.6 KiB |  00m00s
- [2/2] oniguruma-0:6.9.10-1.fc41.x86_64  100% |   3.0 MiB/s | 211.6 KiB |  00m00s
- --------------------------------------------------------------------------------
- [2/2] Total                             100% |   1.3 MiB/s | 273.2 KiB |  00m00s
- Running transaction
- [1/4] Verify package files              100% |   2.0 KiB/s |   2.0   B |  00m00s
- [2/4] Prepare transaction               100% |  50.0   B/s |   2.0   B |  00m00s
- [3/4] Installing oniguruma-0:6.9.10-1.f 100% | 248.9 MiB/s | 764.6 KiB |  00m00s
- [4/4] Installing oniguruma-devel-0:6.9. 100% |   5.6 MiB/s | 269.8 KiB |  00m00s
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "oniguruma-devel"
- oniguruma-devel-6.9.10-1.fc41.x86_64

<><> 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:49.43 ---> saved as "a5ac39e5fab999b05ad09b6fb3737ae04fcb9f0d8406aa262bb384efc9879c4f"
Job succeeded
2025-07-14 13:49.49: Job succeeded