(for PR #29117)

2025-12-20 10:17.06: New job: build merlin.5.6.1-504, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29117/head (c3b5c54904ea4308c605e1c3272dbdeb71bfdb08)
                              on ubuntu-22.04-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:ubuntu-22.04-ocaml-4.14@sha256:99db869bc9f801f87fbe4639eb14f7d9032544638920cf37d1bf636ba45b8a69
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.5.6.1-504 5.6.1-504
RUN opam reinstall merlin.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 "\"ubuntu-22.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'merlin.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:ubuntu-22.04-ocaml-4.14@sha256:99db869bc9f801f87fbe4639eb14f7d9032544638920cf37d1bf636ba45b8a69-merlin.5.6.1-504-c3b5c54904ea4308c605e1c3272dbdeb71bfdb08"
2025-12-20 10:17.06: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:99db869bc9f801f87fbe4639eb14f7d9032544638920cf37d1bf636ba45b8a69)
 (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.5.6.1-504 5.6.1-504"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall merlin.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 \"\\\"ubuntu-22.04\\\"\"; 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.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:17.11: Waiting for worker…
2025-12-20 10:22.36: Got resource from pool OCluster
Building on asteria.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:ubuntu-22.04-ocaml-4.14@sha256:99db869bc9f801f87fbe4639eb14f7d9032544638920cf37d1bf636ba45b8a69)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:99db869bc9f801f87fbe4639eb14f7d9032544638920cf37d1bf636ba45b8a69' locally
docker.io/ocaml/opam@sha256:99db869bc9f801f87fbe4639eb14f7d9032544638920cf37d1bf636ba45b8a69: Pulling from ocaml/opam
7e49dc6156b0: Pulling fs layer
277489037e33: Pulling fs layer
5536f9b95256: Pulling fs layer
2c6e079b8a8a: Pulling fs layer
16d46a509c90: Pulling fs layer
18d81e642e16: Pulling fs layer
7e49dc6156b0: Waiting
ee1d4656e61f: Pulling fs layer
277489037e33: Waiting
5536f9b95256: Waiting
2c6e079b8a8a: Waiting
8f0f8941159e: Pulling fs layer
16d46a509c90: Waiting
18d81e642e16: Waiting
3f2ff2430a7f: Pulling fs layer
8f0f8941159e: Waiting
ee1d4656e61f: Waiting
337d7dec713d: Pulling fs layer
3f2ff2430a7f: Waiting
e733f12b410c: Pulling fs layer
337d7dec713d: Waiting
617bf2ecaf35: Pulling fs layer
b8326fc41276: Pulling fs layer
e733f12b410c: Waiting
ef20ef18c9d1: Pulling fs layer
617bf2ecaf35: Waiting
b8326fc41276: Waiting
586c22805e9c: Pulling fs layer
ef20ef18c9d1: Waiting
5bba78ae83f0: Pulling fs layer
586c22805e9c: Waiting
58f27f7d4b76: Pulling fs layer
5bba78ae83f0: Waiting
58f27f7d4b76: Waiting
4f4fb700ef54: Pulling fs layer
15d203cc0fcf: Pulling fs layer
4f4fb700ef54: Waiting
15787f62e7bc: Pulling fs layer
15d203cc0fcf: Waiting
7bde8086daf3: Pulling fs layer
15787f62e7bc: Waiting
c8795f0be74f: Pulling fs layer
7bde8086daf3: Waiting
bf1686ddcf2f: Pulling fs layer
6190e5884020: Pulling fs layer
c8795f0be74f: Waiting
d3ef051d940f: Pulling fs layer
6190e5884020: Waiting
74516cbf13d5: Pulling fs layer
d3ef051d940f: Waiting
bf1686ddcf2f: Waiting
6daf3235d47b: Pulling fs layer
74516cbf13d5: Waiting
828602f5a7e1: Pulling fs layer
1c2200cbac34: Pulling fs layer
828602f5a7e1: Waiting
ddcac09cadd2: Pulling fs layer
96becae306e0: Pulling fs layer
e391052d0a0a: Pulling fs layer
96becae306e0: Waiting
092f96d7da41: Pulling fs layer
624752d22710: Pulling fs layer
e391052d0a0a: Waiting
26503a58709c: Pulling fs layer
5164467c0bfc: Pulling fs layer
624752d22710: Waiting
26503a58709c: Waiting
6daf3235d47b: Waiting
7f9d35f4e99c: Pulling fs layer
3147a6c41603: Pulling fs layer
1c2200cbac34: Waiting
7f9d35f4e99c: Waiting
ddcac09cadd2: Waiting
872643ed9c97: Pulling fs layer
a9da98d760a7: Pulling fs layer
3147a6c41603: Waiting
872643ed9c97: Waiting
092f96d7da41: Waiting
6600ddc11293: Pulling fs layer
5164467c0bfc: Waiting
74538d63ee9f: Pulling fs layer
6600ddc11293: Waiting
a9da98d760a7: Waiting
8eaf731448ce: Pulling fs layer
74538d63ee9f: Waiting
8eaf731448ce: Waiting
7e49dc6156b0: Verifying Checksum
7e49dc6156b0: Download complete
277489037e33: Download complete
5536f9b95256: Verifying Checksum
5536f9b95256: Download complete
16d46a509c90: Verifying Checksum
16d46a509c90: Download complete
2c6e079b8a8a: Verifying Checksum
2c6e079b8a8a: Download complete
7e49dc6156b0: Pull complete
277489037e33: Pull complete
5536f9b95256: Pull complete
ee1d4656e61f: Verifying Checksum
ee1d4656e61f: Download complete
18d81e642e16: Verifying Checksum
18d81e642e16: Download complete
2c6e079b8a8a: Pull complete
16d46a509c90: Pull complete
8f0f8941159e: Verifying Checksum
8f0f8941159e: Download complete
3f2ff2430a7f: Verifying Checksum
3f2ff2430a7f: Download complete
e733f12b410c: Verifying Checksum
e733f12b410c: Download complete
337d7dec713d: Verifying Checksum
337d7dec713d: Download complete
617bf2ecaf35: Verifying Checksum
617bf2ecaf35: Download complete
b8326fc41276: Verifying Checksum
b8326fc41276: Download complete
586c22805e9c: Verifying Checksum
586c22805e9c: Download complete
5bba78ae83f0: Download complete
ef20ef18c9d1: Verifying Checksum
ef20ef18c9d1: Download complete
58f27f7d4b76: Download complete
4f4fb700ef54: Download complete
15d203cc0fcf: Verifying Checksum
15d203cc0fcf: Download complete
15787f62e7bc: Download complete
7bde8086daf3: Verifying Checksum
7bde8086daf3: Download complete
c8795f0be74f: Verifying Checksum
c8795f0be74f: Download complete
bf1686ddcf2f: Verifying Checksum
6190e5884020: Download complete
d3ef051d940f: Verifying Checksum
d3ef051d940f: Download complete
74516cbf13d5: Verifying Checksum
74516cbf13d5: Download complete
6daf3235d47b: Verifying Checksum
6daf3235d47b: Download complete
828602f5a7e1: Verifying Checksum
828602f5a7e1: Download complete
1c2200cbac34: Verifying Checksum
1c2200cbac34: Download complete
ddcac09cadd2: Download complete
96becae306e0: Verifying Checksum
96becae306e0: Download complete
e391052d0a0a: Verifying Checksum
e391052d0a0a: Download complete
092f96d7da41: Verifying Checksum
092f96d7da41: Download complete
26503a58709c: Verifying Checksum
26503a58709c: Download complete
7f9d35f4e99c: Download complete
3147a6c41603: Download complete
872643ed9c97: Download complete
18d81e642e16: Pull complete
ee1d4656e61f: Pull complete
8f0f8941159e: Pull complete
3f2ff2430a7f: Pull complete
337d7dec713d: Pull complete
e733f12b410c: Pull complete
624752d22710: Verifying Checksum
624752d22710: Download complete
617bf2ecaf35: Pull complete
6600ddc11293: Verifying Checksum
6600ddc11293: Download complete
b8326fc41276: Pull complete
5164467c0bfc: Verifying Checksum
5164467c0bfc: Download complete
ef20ef18c9d1: Pull complete
586c22805e9c: Pull complete
5bba78ae83f0: Pull complete
58f27f7d4b76: Pull complete
8eaf731448ce: Verifying Checksum
8eaf731448ce: Download complete
74538d63ee9f: Verifying Checksum
74538d63ee9f: Download complete
4f4fb700ef54: Pull complete
15d203cc0fcf: Pull complete
15787f62e7bc: Pull complete
7bde8086daf3: Pull complete
c8795f0be74f: Pull complete
bf1686ddcf2f: Pull complete
6190e5884020: Pull complete
d3ef051d940f: Pull complete
74516cbf13d5: Pull complete
6daf3235d47b: Pull complete
828602f5a7e1: Pull complete
1c2200cbac34: Pull complete
ddcac09cadd2: Pull complete
96becae306e0: Pull complete
e391052d0a0a: Pull complete
092f96d7da41: Pull complete
a9da98d760a7: Verifying Checksum
a9da98d760a7: Download complete
624752d22710: Pull complete
26503a58709c: Pull complete
5164467c0bfc: Pull complete
7f9d35f4e99c: Pull complete
3147a6c41603: Pull complete
872643ed9c97: Pull complete
a9da98d760a7: Pull complete
6600ddc11293: Pull complete
74538d63ee9f: Pull complete
8eaf731448ce: Pull complete
Digest: sha256:99db869bc9f801f87fbe4639eb14f7d9032544638920cf37d1bf636ba45b8a69
Status: Downloaded newer image for ocaml/opam@sha256:99db869bc9f801f87fbe4639eb14f7d9032544638920cf37d1bf636ba45b8a69
2025-12-20 10:26.39 ---> saved as "703674da2267961e0380fdb3b1c0db952598743c13137799dd8b548414484d69"

/: (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:26.39 ---> saved as "49bf4287460f0b67235aa26175fe719f6f89c1661af376a6439567fa7f0df5d2"

/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
[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-12-20 10:27.05 ---> saved as "e1b275f2d3b2ecae5e55402ad59b9f357b93badb8c29de5902babac50805b668"

/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=ubuntu os-version=22.04
# 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-12-20 10:27.06 ---> saved as "e587205583e36a21c988ea4df9e3fa553671af7e01a7ae27d9082ffcfd3d362e"

/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:27.18 ---> saved as "e764ee9af2025dddf95d0c47bea6f34731c98bec02095ca152cd0d50fa593828"

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:5 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [6205 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3966 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1598 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [69.2 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [6411 kB]
- Get:10 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3633 kB]
- Get:11 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [40.7 kB]
- Get:12 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [114 kB]
- Fetched 22.4 MB in 2s (10.7 MB/s)
- Reading package lists...
- 
2025-12-20 10:27.53 ---> saved as "319bd99146ae734ad803e8a70c17389f194ec1bd11f60c7ba882cb0d8e4c5d09"

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

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall merlin.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 \"\\\"ubuntu-22.04\\\"\"; 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.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.5.6.1-504 is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.14.2
    - merlin >= 5.6.1-504 -> dot-merlin-reader >= 5.6.1-504 -> ocaml >= 5.2 -> ocaml-variants < 5.5.1~
    You can temporarily relax the switch invariant with `--update-invariant'
  * Missing dependency:
    - merlin >= 5.6.1-504 -> dot-merlin-reader >= 5.6.1-504 -> ocaml >= 5.2 -> ocaml-variants < 5.2.1~ -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - merlin >= 5.6.1-504 -> dot-merlin-reader >= 5.6.1-504 -> ocaml >= 5.2 -> ocaml-variants < 5.2.1~ -> system-msvc
    unmet availability conditions: 'os = "win32"'

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