(for PR #29117)

2025-12-20 10:17.06: New job: build ocaml-index.5.6.1-504, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29117/head (c3b5c54904ea4308c605e1c3272dbdeb71bfdb08)
                              on centos-10-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/29117/head" && git reset --hard c3b5c549
git fetch origin master
git merge --no-edit 55b1099664cdc48c71e3d01d8fdaef4b376ade70
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-10-ocaml-4.14@sha256:a080355b01d8376597d309981b90f70301ec8030f3cf61d86f8bdadaa552f90e
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /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 ocaml-index.5.6.1-504 5.6.1-504
RUN opam reinstall ocaml-index.5.6.1-504; \
    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 "\"centos-10\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ocaml-index.5.6.1-504' && 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-12-20 10:17.06: Using cache hint "ocaml/opam:centos-10-ocaml-4.14@sha256:a080355b01d8376597d309981b90f70301ec8030f3cf61d86f8bdadaa552f90e-ocaml-index.5.6.1-504-c3b5c54904ea4308c605e1c3272dbdeb71bfdb08"
2025-12-20 10:17.06: Using OBuilder spec:
((from ocaml/opam:centos-10-ocaml-4.14@sha256:a080355b01d8376597d309981b90f70301ec8030f3cf61d86f8bdadaa552f90e)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /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 ocaml-index.5.6.1-504 5.6.1-504"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ocaml-index.5.6.1-504;\
             \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 \"\\\"centos-10\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'ocaml-index.5.6.1-504' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-12-20 10:17.06: Waiting for resource in pool OCluster
2025-12-20 10:19.55: Waiting for worker…
2025-12-20 10:25.25: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 55b1099664 Merge pull request #29100 from samoht/release-cohttp-v6.2.1
Updating 55b1099664..c3b5c54904
Fast-forward
 .../dot-merlin-reader.5.6.1-504/opam               | 31 +++++++++
 packages/merlin-lib/merlin-lib.5.6.1-504/opam      | 36 ++++++++++
 packages/merlin/merlin.5.6.1-504/opam              | 81 ++++++++++++++++++++++
 packages/ocaml-index/ocaml-index.5.6.1-504/opam    | 42 +++++++++++
 4 files changed, 190 insertions(+)
 create mode 100644 packages/dot-merlin-reader/dot-merlin-reader.5.6.1-504/opam
 create mode 100644 packages/merlin-lib/merlin-lib.5.6.1-504/opam
 create mode 100644 packages/merlin/merlin.5.6.1-504/opam
 create mode 100644 packages/ocaml-index/ocaml-index.5.6.1-504/opam

(from ocaml/opam:centos-10-ocaml-4.14@sha256:a080355b01d8376597d309981b90f70301ec8030f3cf61d86f8bdadaa552f90e)
Unable to find image 'ocaml/opam:centos-10-ocaml-4.14@sha256:a080355b01d8376597d309981b90f70301ec8030f3cf61d86f8bdadaa552f90e' locally
docker.io/ocaml/opam@sha256:a080355b01d8376597d309981b90f70301ec8030f3cf61d86f8bdadaa552f90e: Pulling from ocaml/opam
cd575c44cfd5: Pulling fs layer
9d01d3f86c52: Pulling fs layer
bf2dc7d4af1f: Pulling fs layer
c64d5e294ad9: Pulling fs layer
1380f5e09e21: Pulling fs layer
d67a0142fa64: Pulling fs layer
397b7356d350: Pulling fs layer
dbd27d7f260a: Pulling fs layer
c8dbc302c075: Pulling fs layer
1b2cd9dd774c: Pulling fs layer
8c13d86ee863: Pulling fs layer
232336fa8ba7: Pulling fs layer
08ffeec804bc: Pulling fs layer
cd575c44cfd5: Waiting
1e747be5d125: Pulling fs layer
9d01d3f86c52: Waiting
43b121141145: Pulling fs layer
1380f5e09e21: Waiting
3fea2701074e: Pulling fs layer
d67a0142fa64: Waiting
7721332d9fbf: Pulling fs layer
397b7356d350: Waiting
dbd27d7f260a: Waiting
3d9985695157: Pulling fs layer
c8dbc302c075: Waiting
c40479f7c8e8: Pulling fs layer
bf2dc7d4af1f: Waiting
2edae795a9da: Pulling fs layer
89d806fa0d0b: Pulling fs layer
8a23f7b52435: Pulling fs layer
4f4fb700ef54: Pulling fs layer
7d641156de61: Pulling fs layer
d13f88dff687: Pulling fs layer
9511d6a257c3: Pulling fs layer
656ae55cdb47: Pulling fs layer
641ae880946c: Pulling fs layer
124f2a8c47c8: Pulling fs layer
d8c2794b5f00: Pulling fs layer
ad1b60a1dd5a: Pulling fs layer
711d86079487: Pulling fs layer
1dc3fc1913a8: Pulling fs layer
f8f4ca23bda3: Pulling fs layer
77a75550e141: Pulling fs layer
fb55ef1e36da: Pulling fs layer
26393ec3d112: Pulling fs layer
1aa26ef25357: Pulling fs layer
ce54c1a3d896: Pulling fs layer
9243a28aeb89: Pulling fs layer
13cb5039528b: Pulling fs layer
111389d62b5e: Pulling fs layer
f73da0895ddd: Pulling fs layer
246d60e5bd16: Pulling fs layer
9be6de6de9c6: Pulling fs layer
641ae880946c: Waiting
1b2cd9dd774c: Waiting
124f2a8c47c8: Waiting
8c13d86ee863: Waiting
232336fa8ba7: Waiting
d8c2794b5f00: Waiting
08ffeec804bc: Waiting
ad1b60a1dd5a: Waiting
1e747be5d125: Waiting
711d86079487: Waiting
1dc3fc1913a8: Waiting
43b121141145: Waiting
f8f4ca23bda3: Waiting
3fea2701074e: Waiting
77a75550e141: Waiting
7721332d9fbf: Waiting
fb55ef1e36da: Waiting
26393ec3d112: Waiting
3d9985695157: Waiting
c40479f7c8e8: Waiting
1aa26ef25357: Waiting
2edae795a9da: Waiting
ce54c1a3d896: Waiting
89d806fa0d0b: Waiting
9243a28aeb89: Waiting
8a23f7b52435: Waiting
13cb5039528b: Waiting
4f4fb700ef54: Waiting
111389d62b5e: Waiting
7d641156de61: Waiting
f73da0895ddd: Waiting
d13f88dff687: Waiting
246d60e5bd16: Waiting
9511d6a257c3: Waiting
9be6de6de9c6: Waiting
656ae55cdb47: Waiting
c64d5e294ad9: Waiting
9d01d3f86c52: Download complete
bf2dc7d4af1f: Verifying Checksum
bf2dc7d4af1f: Download complete
cd575c44cfd5: Verifying Checksum
cd575c44cfd5: Download complete
1380f5e09e21: Verifying Checksum
1380f5e09e21: Download complete
d67a0142fa64: Verifying Checksum
d67a0142fa64: Download complete
dbd27d7f260a: Verifying Checksum
dbd27d7f260a: Download complete
397b7356d350: Verifying Checksum
397b7356d350: Download complete
c8dbc302c075: Verifying Checksum
c8dbc302c075: Download complete
1b2cd9dd774c: Verifying Checksum
1b2cd9dd774c: Download complete
c64d5e294ad9: Verifying Checksum
c64d5e294ad9: Download complete
8c13d86ee863: Download complete
232336fa8ba7: Verifying Checksum
232336fa8ba7: Download complete
1e747be5d125: Verifying Checksum
1e747be5d125: Download complete
08ffeec804bc: Verifying Checksum
08ffeec804bc: Download complete
43b121141145: Verifying Checksum
43b121141145: Download complete
7721332d9fbf: Verifying Checksum
7721332d9fbf: Download complete
3fea2701074e: Download complete
3d9985695157: Download complete
c40479f7c8e8: Verifying Checksum
c40479f7c8e8: Download complete
2edae795a9da: Verifying Checksum
2edae795a9da: Download complete
89d806fa0d0b: Download complete
8a23f7b52435: Verifying Checksum
8a23f7b52435: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
7d641156de61: Verifying Checksum
7d641156de61: Download complete
d13f88dff687: Download complete
9511d6a257c3: Download complete
656ae55cdb47: Verifying Checksum
656ae55cdb47: Download complete
641ae880946c: Download complete
124f2a8c47c8: Verifying Checksum
124f2a8c47c8: Download complete
d8c2794b5f00: Verifying Checksum
d8c2794b5f00: Download complete
711d86079487: Verifying Checksum
711d86079487: Download complete
ad1b60a1dd5a: Verifying Checksum
ad1b60a1dd5a: Download complete
1dc3fc1913a8: Download complete
f8f4ca23bda3: Download complete
77a75550e141: Download complete
26393ec3d112: Download complete
ce54c1a3d896: Verifying Checksum
9243a28aeb89: Download complete
13cb5039528b: Verifying Checksum
13cb5039528b: Download complete
cd575c44cfd5: Pull complete
9d01d3f86c52: Pull complete
bf2dc7d4af1f: Pull complete
1aa26ef25357: Verifying Checksum
1aa26ef25357: Download complete
f73da0895ddd: Download complete
246d60e5bd16: Download complete
fb55ef1e36da: Download complete
9be6de6de9c6: Download complete
111389d62b5e: Verifying Checksum
111389d62b5e: Download complete
c64d5e294ad9: Pull complete
1380f5e09e21: Pull complete
d67a0142fa64: Pull complete
397b7356d350: Pull complete
dbd27d7f260a: Pull complete
c8dbc302c075: Pull complete
1b2cd9dd774c: Pull complete
8c13d86ee863: Pull complete
232336fa8ba7: Pull complete
08ffeec804bc: Pull complete
1e747be5d125: Pull complete
43b121141145: Pull complete
3fea2701074e: Pull complete
7721332d9fbf: Pull complete
3d9985695157: Pull complete
c40479f7c8e8: Pull complete
2edae795a9da: Pull complete
89d806fa0d0b: Pull complete
8a23f7b52435: Pull complete
4f4fb700ef54: Pull complete
7d641156de61: Pull complete
d13f88dff687: Pull complete
9511d6a257c3: Pull complete
656ae55cdb47: Pull complete
641ae880946c: Pull complete
124f2a8c47c8: Pull complete
d8c2794b5f00: Pull complete
ad1b60a1dd5a: Pull complete
711d86079487: Pull complete
1dc3fc1913a8: Pull complete
f8f4ca23bda3: Pull complete
77a75550e141: Pull complete
fb55ef1e36da: Pull complete
26393ec3d112: Pull complete
1aa26ef25357: Pull complete
ce54c1a3d896: Pull complete
9243a28aeb89: Pull complete
13cb5039528b: Pull complete
111389d62b5e: Pull complete
f73da0895ddd: Pull complete
246d60e5bd16: Pull complete
9be6de6de9c6: Pull complete
Digest: sha256:a080355b01d8376597d309981b90f70301ec8030f3cf61d86f8bdadaa552f90e
Status: Downloaded newer image for ocaml/opam@sha256:a080355b01d8376597d309981b90f70301ec8030f3cf61d86f8bdadaa552f90e
2025-12-20 10:29.00 ---> saved as "95e03b6ad7859cba29545414cf24b6d026d0926a5d89ff7ee87560c48eeea53b"

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-20 10:29.00 ---> saved as "4d485a43dc1254c898a66bc4a6c01d732cfc586dd584d7196d9097c75cfea395"

/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 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-12-20 10:29.29 ---> saved as "14cc617b9be9d1989d150bcd9166c888a2e80653787c616485b77f6e6037ed38"

/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.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=centos os-version=10
# 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       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-12-20 10:29.30 ---> saved as "a413acbcc700a2b29c55b90e3646e80da711330107b3146d352c5f13182fbd6e"

/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-12-20 10:29.42 ---> saved as "1d46449076f9dd8af201c0e2651bcb7f6b4acbf09626c54566c5d61a365e1f50"

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-20 10:30.13 ---> saved as "d5678c9fda4d3b4bceb9ea60cc1b7e913c314b62165b101bf2e824fe4b6cfe14"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-20 10:30.33 ---> saved as "00996063d92a1e985822ed0aa7fdaf97188b05656377096c77ca2eec654a8fcb"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 10 - BaseOS                        21 kB/s |  15 kB     00:00    
- CentOS Stream 10 - BaseOS                        11 MB/s | 6.8 MB     00:00    
- CentOS Stream 10 - AppStream                     21 kB/s |  15 kB     00:00    
- CentOS Stream 10 - AppStream                    5.6 MB/s | 3.5 MB     00:00    
- CentOS Stream 10 - CRB                           81 kB/s |  14 kB     00:00    
- CentOS Stream 10 - CRB                          2.5 MB/s | 777 kB     00:00    
- CentOS Stream 10 - Extras packages               23 kB/s |  16 kB     00:00    
- Metadata cache created.
2025-12-20 10:30.41 ---> saved as "e908edd1d25a3a660bc5b8e8d7f22001d765719058f126f5aa9f63421bde4753"

/home/opam: (run (shell "opam pin add -k version -yn ocaml-index.5.6.1-504 5.6.1-504"))
ocaml-index is now pinned to version 5.6.1-504
2025-12-20 10:30.42 ---> saved as "349e0c652563ba336599b05af062cabf433896f565721100098bb3cdecb69c69"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ocaml-index.5.6.1-504;\
                        \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 \"\\\"centos-10\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'ocaml-index.5.6.1-504' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ocaml-index.5.6.1-504 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.14.2
    - ocaml-index >= 5.6.1-504 -> ocaml >= 5.4 -> ocaml-variants (< 5.4.2~ | >= 5.5.0~)
    You can temporarily relax the switch invariant with `--update-invariant'
  * Missing dependency:
    - ocaml-index >= 5.6.1-504 -> ocaml >= 5.4 -> ocaml-variants < 5.4.1~ -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - ocaml-index >= 5.6.1-504 -> ocaml >= 5.4 -> ocaml-variants < 5.4.1~ -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall ocaml-index.5.6.1-504;
        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 "\"centos-10\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'ocaml-index.5.6.1-504' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 20
2025-12-20 10:31.05: Job failed: Failed: Build failed
2025-12-20 10:31.05: Log analysis:
2025-12-20 10:31.05: >>> 
No solution found, exiting
 (score = 100)
2025-12-20 10:31.05: [SKIP] Package not available