- github
- ocaml
- opam-repository
- 464f84
- distributions,debian-testing-ocaml-5.3,ocaml-lsp-server.1.22.1~5.4preview
(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 debian-testing-ocaml-5.3/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:debian-testing-ocaml-5.3@sha256:204e92afacfe5a94f406247cc69a26c9c2f41ca9aa36af224614a7c5048b3125
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 "\"debian-testing\""; 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:debian-testing-ocaml-5.3@sha256:204e92afacfe5a94f406247cc69a26c9c2f41ca9aa36af224614a7c5048b3125-ocaml-lsp-server.1.22.1~5.4preview-464f8443fe27e86023cd30e6af8b9b202dc388d3"
2025-06-10 14:55.46: Using OBuilder spec:
((from ocaml/opam:debian-testing-ocaml-5.3@sha256:204e92afacfe5a94f406247cc69a26c9c2f41ca9aa36af224614a7c5048b3125)
(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 \"\\\"debian-testing\\\"\"; 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 odawa.caelum.ci.dev
All commits already cached
Updating files: 99% (23154/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
packages/ocaml-lsp-server/ocaml-lsp-server.1.22.1~5.4preview/opam | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(from ocaml/opam:debian-testing-ocaml-5.3@sha256:204e92afacfe5a94f406247cc69a26c9c2f41ca9aa36af224614a7c5048b3125)
Unable to find image 'ocaml/opam:debian-testing-ocaml-5.3@sha256:204e92afacfe5a94f406247cc69a26c9c2f41ca9aa36af224614a7c5048b3125' locally
docker.io/ocaml/opam@sha256:204e92afacfe5a94f406247cc69a26c9c2f41ca9aa36af224614a7c5048b3125: Pulling from ocaml/opam
48aff46c16a3: Pulling fs layer
48aff46c16a3: Verifying Checksum
48aff46c16a3: Download complete
48aff46c16a3: Pull complete
Digest: sha256:204e92afacfe5a94f406247cc69a26c9c2f41ca9aa36af224614a7c5048b3125
Status: Downloaded newer image for ocaml/opam@sha256:204e92afacfe5a94f406247cc69a26c9c2f41ca9aa36af224614a7c5048b3125
2025-06-10 14:56.21 ---> using "9f7eca0b32c6bf29822f6f3e7438b1ccb651e158d700e0794b53e06ac7e9f9ab" 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.21 ---> using "ddfaa91f533b93c34a18d14b3cce89c80c9bb3d4ca5ab865b7cf27bdf5572f04" 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.21 ---> using "b61848307636c16d47a2b4be67c6759a322b4dbcec8691135af9256de57dbe0e" 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=debian os-version=13
# 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 5.3
# invariant ["ocaml-base-compiler" {= "5.3.0"}]
# compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0
2025-06-10 14:56.21 ---> using "2fb4f3bac5fc759930d17d01f4781985cec80d12ae6b096a7ab32324372f2433" 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.21 ---> using "33cc5e7bade8fd5ddf769f6b4cebc33f9b2ead53e15999852b0cd88a31edcc66" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-06-10 14:56.26 ---> saved as "647b5d6126376834e225dc36850f226879c1a0ad12677eef1c7138fc19169192"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-10 14:56.48 ---> saved as "64afe6394ce3127e168a9f09df93ccf63c77d77074a383a5c272d863a1cbbcf8"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian testing InRelease [166 kB]
- Get:2 http://deb.debian.org/debian testing-updates InRelease [45.1 kB]
- Get:3 http://deb.debian.org/debian-security testing-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian testing/main amd64 Packages.diff/Index [27.9 kB]
- Get:5 http://deb.debian.org/debian testing/main amd64 Packages 2025-06-07-1404.08.pdiff [3222 B]
- Get:6 http://deb.debian.org/debian testing/main amd64 Packages 2025-06-07-2004.41.pdiff [993 B]
- Get:7 http://deb.debian.org/debian testing/main amd64 Packages 2025-06-08-0205.02.pdiff [15.8 kB]
- Get:8 http://deb.debian.org/debian testing/main amd64 Packages 2025-06-08-1404.20.pdiff [2026 B]
- Get:9 http://deb.debian.org/debian testing/main amd64 Packages 2025-06-08-2004.10.pdiff [2167 B]
- Get:10 http://deb.debian.org/debian testing/main amd64 Packages 2025-06-09-0204.00.pdiff [9446 B]
- Get:11 http://deb.debian.org/debian testing/main amd64 Packages 2025-06-09-0804.04.pdiff [1103 B]
- Get:12 http://deb.debian.org/debian testing/main amd64 Packages 2025-06-09-1404.36.pdiff [773 B]
- Get:13 http://deb.debian.org/debian testing/main amd64 Packages 2025-06-09-2004.06.pdiff [1161 B]
- Get:14 http://deb.debian.org/debian testing/main amd64 Packages 2025-06-10-0217.55.pdiff [4110 B]
- Get:14 http://deb.debian.org/debian testing/main amd64 Packages 2025-06-10-0217.55.pdiff [4110 B]
- Fetched 327 kB in 0s (660 kB/s)
- Reading package lists...
2025-06-10 14:56.49 ---> saved as "5825d1c9dd327eae52aff6c82431986a5024245be5dcfef2ab6a886afd1b96d6"
/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.50 ---> saved as "012e0c6095b237e488d49f2af535076d22eebae6e6759f507f7b2716d70f8cde"
/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 \"\\\"debian-testing\\\"\"; 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 = 5.3.0
- ocaml-lsp-server >= 1.22.1~5.4preview -> ocaml >= 5.4 -> ocaml-variants >= 5.4.0~
You can temporarily relax the switch invariant with `--update-invariant'
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 "\"debian-testing\""; 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.03: Job failed: Failed: Build failed
2025-06-10 14:57.03: Log analysis:
2025-06-10 14:57.03: >>>
No solution found, exiting
(score = 100)
2025-06-10 14:57.03: [SKIP] Package not available