(for PR #29117)

2025-12-20 10:17.06: New job: build merlin-lib.5.6.1-504, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29117/head (c3b5c54904ea4308c605e1c3272dbdeb71bfdb08)
                              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/29117/head" && git reset --hard c3b5c549
git fetch origin master
git merge --no-edit 55b1099664cdc48c71e3d01d8fdaef4b376ade70
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:c821da320921f68d603152e2769416e14ca205aa6b529ae77f15e8d1e9a6a18b
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 merlin-lib.5.6.1-504 5.6.1-504
RUN opam reinstall merlin-lib.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 "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'merlin-lib.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:debian-12-ocaml-4.14@sha256:c821da320921f68d603152e2769416e14ca205aa6b529ae77f15e8d1e9a6a18b-merlin-lib.5.6.1-504-c3b5c54904ea4308c605e1c3272dbdeb71bfdb08"
2025-12-20 10:17.06: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:c821da320921f68d603152e2769416e14ca205aa6b529ae77f15e8d1e9a6a18b)
 (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 merlin-lib.5.6.1-504 5.6.1-504"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall merlin-lib.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 \"\\\"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\" != 'merlin-lib.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.44: Waiting for worker…
2025-12-20 10:25.05: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files:  96% (18446/19082)
Updating files:  97% (18510/19082)
Updating files:  98% (18701/19082)
Updating files:  99% (18892/19082)
Updating files: 100% (19082/19082)
Updating files: 100% (19082/19082), done.
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:debian-12-ocaml-4.14@sha256:c821da320921f68d603152e2769416e14ca205aa6b529ae77f15e8d1e9a6a18b)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:c821da320921f68d603152e2769416e14ca205aa6b529ae77f15e8d1e9a6a18b' locally
docker.io/ocaml/opam@sha256:c821da320921f68d603152e2769416e14ca205aa6b529ae77f15e8d1e9a6a18b: Pulling from ocaml/opam
708274aafe49: Pulling fs layer
a73733b08b3c: Pulling fs layer
708274aafe49: Waiting
cb40d7f96117: Pulling fs layer
a73733b08b3c: Waiting
ee9c8c5de7e3: Pulling fs layer
84e80908bda7: Pulling fs layer
ee9c8c5de7e3: Waiting
4c5fd3b4cc24: Pulling fs layer
84e80908bda7: Waiting
d71c2fbac086: Pulling fs layer
4c5fd3b4cc24: Waiting
046cc1ae5c18: Pulling fs layer
d71c2fbac086: Waiting
bfa5a03ecd8a: Pulling fs layer
046cc1ae5c18: Waiting
40d4ddac16f1: Pulling fs layer
8305889da4d2: Pulling fs layer
de468797725a: Pulling fs layer
9277301f150f: Pulling fs layer
40d4ddac16f1: Waiting
8305889da4d2: Waiting
eddb7b12d436: Pulling fs layer
de468797725a: Waiting
9277301f150f: Waiting
64bb55638273: Pulling fs layer
eddb7b12d436: Waiting
16803dc303e9: Pulling fs layer
64bb55638273: Waiting
d4fa4b836a8f: Pulling fs layer
16803dc303e9: Waiting
302935314db8: Pulling fs layer
d4fa4b836a8f: Waiting
302935314db8: Waiting
62bb2e2d5438: Pulling fs layer
5338516f7da9: Pulling fs layer
62bb2e2d5438: Waiting
95d87687bac8: Pulling fs layer
5338516f7da9: Waiting
0b7298464a21: Pulling fs layer
95d87687bac8: Waiting
4f4fb700ef54: Pulling fs layer
0b7298464a21: Waiting
617bed7b7101: Pulling fs layer
4f4fb700ef54: Waiting
95a7fa87f8c6: Pulling fs layer
617bed7b7101: Waiting
f5467f70543b: Pulling fs layer
95a7fa87f8c6: Waiting
e303ef8ff120: Pulling fs layer
f5467f70543b: Waiting
baa02a77fc62: Pulling fs layer
e303ef8ff120: Waiting
a00df1b6f1fa: Pulling fs layer
7bada9614c67: Pulling fs layer
baa02a77fc62: Waiting
ba805f620b0c: Pulling fs layer
a00df1b6f1fa: Waiting
7bada9614c67: Waiting
d21b0b189228: Pulling fs layer
ba805f620b0c: Waiting
f1b7c8bb0559: Pulling fs layer
d21b0b189228: Waiting
b520aea8cba5: Pulling fs layer
f1b7c8bb0559: Waiting
b520aea8cba5: Waiting
7706c6a8f28a: Pulling fs layer
005d6943e121: Pulling fs layer
987a765b6ccd: Pulling fs layer
7706c6a8f28a: Waiting
005d6943e121: Waiting
0247fed0ecc3: Pulling fs layer
987a765b6ccd: Waiting
a108db66ef49: Pulling fs layer
0247fed0ecc3: Waiting
546e127da965: Pulling fs layer
a108db66ef49: Waiting
fae263707ddc: Pulling fs layer
28758e660af8: Pulling fs layer
546e127da965: Waiting
7e5edb1175a7: Pulling fs layer
28758e660af8: Waiting
e3176d8e0881: Pulling fs layer
68976eb196c3: Pulling fs layer
7e5edb1175a7: Waiting
e3176d8e0881: Waiting
68976eb196c3: Waiting
a73733b08b3c: Download complete
cb40d7f96117: Verifying Checksum
cb40d7f96117: Download complete
708274aafe49: Verifying Checksum
708274aafe49: Download complete
ee9c8c5de7e3: Verifying Checksum
ee9c8c5de7e3: Download complete
84e80908bda7: Verifying Checksum
84e80908bda7: Download complete
d71c2fbac086: Verifying Checksum
d71c2fbac086: Download complete
4c5fd3b4cc24: Verifying Checksum
4c5fd3b4cc24: Download complete
bfa5a03ecd8a: Download complete
046cc1ae5c18: Verifying Checksum
046cc1ae5c18: Download complete
708274aafe49: Pull complete
a73733b08b3c: Pull complete
40d4ddac16f1: Download complete
cb40d7f96117: Pull complete
8305889da4d2: Verifying Checksum
8305889da4d2: Download complete
de468797725a: Verifying Checksum
de468797725a: Download complete
9277301f150f: Verifying Checksum
9277301f150f: Download complete
64bb55638273: Verifying Checksum
64bb55638273: Download complete
ee9c8c5de7e3: Pull complete
84e80908bda7: Pull complete
eddb7b12d436: Verifying Checksum
eddb7b12d436: Download complete
16803dc303e9: Verifying Checksum
16803dc303e9: Download complete
d4fa4b836a8f: Verifying Checksum
d4fa4b836a8f: Download complete
302935314db8: Verifying Checksum
302935314db8: Download complete
62bb2e2d5438: Verifying Checksum
62bb2e2d5438: Download complete
5338516f7da9: Download complete
95d87687bac8: Verifying Checksum
95d87687bac8: Download complete
0b7298464a21: Verifying Checksum
0b7298464a21: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
95a7fa87f8c6: Verifying Checksum
95a7fa87f8c6: Download complete
617bed7b7101: Verifying Checksum
617bed7b7101: Download complete
f5467f70543b: Download complete
e303ef8ff120: Download complete
baa02a77fc62: Download complete
a00df1b6f1fa: Verifying Checksum
a00df1b6f1fa: Download complete
7bada9614c67: Download complete
ba805f620b0c: Verifying Checksum
ba805f620b0c: Download complete
d21b0b189228: Download complete
f1b7c8bb0559: Verifying Checksum
f1b7c8bb0559: Download complete
b520aea8cba5: Verifying Checksum
b520aea8cba5: Download complete
7706c6a8f28a: Verifying Checksum
7706c6a8f28a: Download complete
987a765b6ccd: Download complete
a108db66ef49: Download complete
546e127da965: Download complete
fae263707ddc: Download complete
28758e660af8: Verifying Checksum
28758e660af8: Download complete
7e5edb1175a7: Download complete
e3176d8e0881: Verifying Checksum
e3176d8e0881: Download complete
68976eb196c3: Download complete
0247fed0ecc3: Verifying Checksum
0247fed0ecc3: Download complete
005d6943e121: Verifying Checksum
005d6943e121: Download complete
4c5fd3b4cc24: Pull complete
d71c2fbac086: Pull complete
046cc1ae5c18: Pull complete
bfa5a03ecd8a: Pull complete
40d4ddac16f1: Pull complete
8305889da4d2: Pull complete
de468797725a: Pull complete
9277301f150f: Pull complete
eddb7b12d436: Pull complete
64bb55638273: Pull complete
16803dc303e9: Pull complete
d4fa4b836a8f: Pull complete
302935314db8: Pull complete
62bb2e2d5438: Pull complete
5338516f7da9: Pull complete
95d87687bac8: Pull complete
0b7298464a21: Pull complete
4f4fb700ef54: Pull complete
617bed7b7101: Pull complete
95a7fa87f8c6: Pull complete
f5467f70543b: Pull complete
e303ef8ff120: Pull complete
baa02a77fc62: Pull complete
a00df1b6f1fa: Pull complete
7bada9614c67: Pull complete
ba805f620b0c: Pull complete
d21b0b189228: Pull complete
f1b7c8bb0559: Pull complete
b520aea8cba5: Pull complete
7706c6a8f28a: Pull complete
005d6943e121: Pull complete
987a765b6ccd: Pull complete
0247fed0ecc3: Pull complete
a108db66ef49: Pull complete
546e127da965: Pull complete
fae263707ddc: Pull complete
28758e660af8: Pull complete
7e5edb1175a7: Pull complete
e3176d8e0881: Pull complete
68976eb196c3: Pull complete
Digest: sha256:c821da320921f68d603152e2769416e14ca205aa6b529ae77f15e8d1e9a6a18b
Status: Downloaded newer image for ocaml/opam@sha256:c821da320921f68d603152e2769416e14ca205aa6b529ae77f15e8d1e9a6a18b
2025-12-20 10:28.20 ---> saved as "cfe6e0faa49686956d51330359bba5cabd91d4974842dc74f6ae7b6bff435481"

/: (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:28.20 ---> saved as "57a28c1d686680a4af8f73fe4d850f369934bb00f8af4f98ad45f72b09e71203"

/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:28.45 ---> saved as "bd1c82a7f6844686b6a0ccd318914a7be8b9cbe94aff23a46e119ff51c15c3cf"

/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=debian os-version=12
# 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:28.46 ---> saved as "d02d032b6a5e23eddcd94daf75eef2590e63f6d628719f1d0147322c04f00734"

/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:28.58 ---> saved as "6a6fc367d91dce8098e22986ebfd2965d84b25269d9681bfe0dc1bc76e8c8c80"

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/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 [290 kB]
- Fetched 393 kB in 0s (1136 kB/s)
- Reading package lists...
- 
2025-12-20 10:29.32 ---> saved as "2e89010b93eabebdd52e22fbca3564c2cb6b58d05cbefaee1a6f4ca67e355a68"

/home/opam: (run (shell "opam pin add -k version -yn merlin-lib.5.6.1-504 5.6.1-504"))
merlin-lib is now pinned to version 5.6.1-504
2025-12-20 10:29.33 ---> saved as "a0c4f8c3c370a62e8d1fee98014fb521cb89c6e7df600726ccc285ebfc2066e1"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall merlin-lib.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 \"\\\"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\" != 'merlin-lib.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"))
merlin-lib.5.6.1-504 is not installed. Install it? [Y/n] y
  * No agreement on the version of ocaml:
    - (invariant) -> ocaml-base-compiler = 4.14.2 -> ocaml = 4.14.2
    - merlin-lib >= 5.6.1-504 -> ocaml >= 5.4
    You can temporarily relax the switch invariant with `--update-invariant'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall merlin-lib.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 "\"debian-12\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'merlin-lib.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:30.17: Job failed: Failed: Build failed
2025-12-20 10:30.17: Log analysis:
2025-12-20 10:30.17: >>> 
No solution found, exiting
 (score = 100)
2025-12-20 10:30.17: [SKIP] Package not available