(not at the head of any monitored branch or PR)
2025-06-10 14:55.46: New job: build ocaml-lsp-server.1.22.1~5.4preview, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28010/head (464f8443fe27e86023cd30e6af8b9b202dc388d3)
                              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/28010/head" && git reset --hard 464f8443
git fetch origin master
git merge --no-edit 6db96b377f993aa0c7ffb5c06737929e583f3305
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:7f50d56c35ae73b8e85ca4b7a246c4d8f427e81aa274e9a3bfc942c3be584ba9
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 ocaml-lsp-server.1.22.1~5.4preview 1.22.1~5.4preview
RUN opam reinstall ocaml-lsp-server.1.22.1~5.4preview; \
    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" != 'ocaml-lsp-server.1.22.1~5.4preview' && 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-06-10 14:55.46: Using cache hint "ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:7f50d56c35ae73b8e85ca4b7a246c4d8f427e81aa274e9a3bfc942c3be584ba9-ocaml-lsp-server.1.22.1~5.4preview-464f8443fe27e86023cd30e6af8b9b202dc388d3"
2025-06-10 14:55.46: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:7f50d56c35ae73b8e85ca4b7a246c4d8f427e81aa274e9a3bfc942c3be584ba9)
 (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 ocaml-lsp-server.1.22.1~5.4preview 1.22.1~5.4preview"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ocaml-lsp-server.1.22.1~5.4preview;\
             \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\" != 'ocaml-lsp-server.1.22.1~5.4preview' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-06-10 14:55.46: Waiting for resource in pool OCluster
2025-06-10 14:55.46: Waiting for worker…
2025-06-10 14:55.47: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
Updating files:  89% (20803/23220)
Updating files:  90% (20898/23220)
Updating files:  91% (21131/23220)
Updating files:  92% (21363/23220)
Updating files:  93% (21595/23220)
Updating files:  94% (21827/23220)
Updating files:  95% (22059/23220)
Updating files:  96% (22292/23220)
Updating files:  97% (22524/23220)
Updating files:  98% (22756/23220)
Updating files:  99% (22988/23220)
Updating files: 100% (23220/23220)
Updating files: 100% (23220/23220), done.
HEAD is now at 6db96b377f Merge pull request #28003 from punchagan/opam-publish-opam-ci-check-lint.0.1
Updating 6db96b377f..464f8443fe
Fast-forward
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
warning: The last gc run reported the following. Please correct the root cause
and remove .git/gc.log
Automatic cleanup will not be performed until the file is removed.

warning: There are too many unreachable loose objects; run 'git prune' to remove them.

 packages/ocaml-lsp-server/ocaml-lsp-server.1.22.1~5.4preview/opam | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:7f50d56c35ae73b8e85ca4b7a246c4d8f427e81aa274e9a3bfc942c3be584ba9)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:7f50d56c35ae73b8e85ca4b7a246c4d8f427e81aa274e9a3bfc942c3be584ba9' locally
docker.io/ocaml/opam@sha256:7f50d56c35ae73b8e85ca4b7a246c4d8f427e81aa274e9a3bfc942c3be584ba9: Pulling from ocaml/opam
6f1a1efddb91: Already exists
2883f09462b0: Pulling fs layer
c11caebc8fe0: Pulling fs layer
4f62e06ceced: Pulling fs layer
474f3dc7a52b: Pulling fs layer
4f62e06ceced: Waiting
474f3dc7a52b: Waiting
c11caebc8fe0: Waiting
2883f09462b0: Verifying Checksum
2883f09462b0: Download complete
c11caebc8fe0: Verifying Checksum
c11caebc8fe0: Download complete
4f62e06ceced: Verifying Checksum
4f62e06ceced: Download complete
474f3dc7a52b: Download complete
2883f09462b0: Pull complete
c11caebc8fe0: Pull complete
4f62e06ceced: Pull complete
474f3dc7a52b: Pull complete
Digest: sha256:7f50d56c35ae73b8e85ca4b7a246c4d8f427e81aa274e9a3bfc942c3be584ba9
Status: Downloaded newer image for ocaml/opam@sha256:7f50d56c35ae73b8e85ca4b7a246c4d8f427e81aa274e9a3bfc942c3be584ba9
2025-06-10 14:56.09 ---> using "46350c77d1fe028b1471364a1f5e8e606e98d78b3e3853a297a3134291a6f0fb" 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-06-10 14:56.09 ---> using "320fd63987d00db654d82afe08afa1cca3b3b3b594b3032172d503c154d36388" 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-10 14:56.09 ---> using "73b7f1fd318e9fd5a34f952966347a8708a7ab87bafddf502e6fb7a7ca561f89" 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=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-06-10 14:56.09 ---> using "5cf206f7571b07c56175a82351ad1733ace17debae3b3875781b2a5ef94bb54f" 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-06-10 14:56.09 ---> using "f57faef47e774f9876a28fbcd20d129e5df846872eedbfe74c65101dfe7ec17b" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-06-10 14:56.18 ---> saved as "7fef24559a77f1116bfefe7cf649e53daa8df599409f2d7721334adcae00118e"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-10 14:56.41 ---> saved as "fa07163e1daa64eb310d022c91a607dc69106f1bc0cd05f5a9d3c95654d3eb7f"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:2 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2984 kB]
- Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:5 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1246 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3295 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1553 kB]
- Fetched 9462 kB in 1s (11.2 MB/s)
- Reading package lists...
- 
2025-06-10 14:56.43 ---> saved as "8aacdb39f862c383866a12df3c1ef6f34ffe5cf8d9293e852efff8100840a0d9"

/home/opam: (run (shell "opam pin add -k version -yn ocaml-lsp-server.1.22.1~5.4preview 1.22.1~5.4preview"))
ocaml-lsp-server is now pinned to version 1.22.1~5.4preview
2025-06-10 14:56.44 ---> saved as "f088b5e349b6ee48dfb1f79562ccb334c4f845120cad8c7e4f233092bacb99cb"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ocaml-lsp-server.1.22.1~5.4preview;\
                        \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\" != 'ocaml-lsp-server.1.22.1~5.4preview' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ocaml-lsp-server.1.22.1~5.4preview is not installed. Install it? [y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.14.2
    - ocaml-lsp-server >= 1.22.1~5.4preview -> ocaml >= 5.4 -> ocaml-variants (< 5.4.1~ | >= 5.5.0~)
    You can temporarily relax the switch invariant with `--update-invariant'
  * Missing dependency:
    - ocaml-lsp-server >= 1.22.1~5.4preview -> ocaml >= 5.4 -> ocaml-variants < 5.4.1~ -> xenbigarray
    unknown package
  * Missing dependency:
    - ocaml-lsp-server >= 1.22.1~5.4preview -> ocaml >= 5.4 -> ocaml-variants < 5.4.1~ -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - ocaml-lsp-server >= 1.22.1~5.4preview -> 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-lsp-server.1.22.1~5.4preview;
        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" != 'ocaml-lsp-server.1.22.1~5.4preview' && 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-06-10 14:57.02: Job failed: Failed: Build failed
2025-06-10 14:57.02: Log analysis:
2025-06-10 14:57.02: >>> 
No solution found, exiting
 (score = 100)
2025-06-10 14:57.02: [SKIP] Package not available