- github
- ocaml
- opam-repository
- 464f84
- compilers,5.1,ocaml-lsp-server.1.22.1~5.4preview
(not at the head of any monitored branch or PR)
2025-06-10 14:55.45: 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-12-ocaml-5.1/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-12-ocaml-5.1@sha256:b175e333a5efc05edfda5c42f5f3d0718839a8d790cb401eff2d610b79dcf27d
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-12\""; 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.45: Using cache hint "ocaml/opam:debian-12-ocaml-5.1@sha256:b175e333a5efc05edfda5c42f5f3d0718839a8d790cb401eff2d610b79dcf27d-ocaml-lsp-server.1.22.1~5.4preview-464f8443fe27e86023cd30e6af8b9b202dc388d3"
2025-06-10 14:55.45: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:b175e333a5efc05edfda5c42f5f3d0718839a8d790cb401eff2d610b79dcf27d)
(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-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\" != '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.45: Waiting for resource in pool OCluster
2025-06-10 14:55.46: Waiting for worker…
2025-06-10 14:55.46: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files: 93% (21611/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
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-12-ocaml-5.1@sha256:b175e333a5efc05edfda5c42f5f3d0718839a8d790cb401eff2d610b79dcf27d)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.1@sha256:b175e333a5efc05edfda5c42f5f3d0718839a8d790cb401eff2d610b79dcf27d' locally
docker.io/ocaml/opam@sha256:b175e333a5efc05edfda5c42f5f3d0718839a8d790cb401eff2d610b79dcf27d: Pulling from ocaml/opam
2f15651b245f: Already exists
525b5edeb8fc: Pulling fs layer
4b6c7e77ee22: Pulling fs layer
b23e7efc1b14: Pulling fs layer
58c85733b146: Pulling fs layer
4bccfb550cec: Pulling fs layer
6cb7e741655d: Pulling fs layer
ad12dbd0d36f: Pulling fs layer
4bccfb550cec: Waiting
58c85733b146: Waiting
6cb7e741655d: Waiting
ad12dbd0d36f: Waiting
4b6c7e77ee22: Verifying Checksum
4b6c7e77ee22: Download complete
525b5edeb8fc: Verifying Checksum
525b5edeb8fc: Download complete
525b5edeb8fc: Pull complete
4b6c7e77ee22: Pull complete
b23e7efc1b14: Verifying Checksum
b23e7efc1b14: Download complete
b23e7efc1b14: Pull complete
4bccfb550cec: Download complete
6cb7e741655d: Verifying Checksum
6cb7e741655d: Download complete
ad12dbd0d36f: Download complete
58c85733b146: Verifying Checksum
58c85733b146: Download complete
58c85733b146: Pull complete
4bccfb550cec: Pull complete
6cb7e741655d: Pull complete
ad12dbd0d36f: Pull complete
Digest: sha256:b175e333a5efc05edfda5c42f5f3d0718839a8d790cb401eff2d610b79dcf27d
Status: Downloaded newer image for ocaml/opam@sha256:b175e333a5efc05edfda5c42f5f3d0718839a8d790cb401eff2d610b79dcf27d
2025-06-10 14:55.57 ---> using "a842e93b09816be3311d690f513bfcd510416b7c08a4c55a760c59e201535283" 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:55.57 ---> using "dea4b7b8064503c067d9076ac2c2415a1ed39937f0a3674385c8bcc12c486218" 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:55.57 ---> using "8f5aa2e9985e6f9c441f1a8966279ad1ea8f513a104bbcd1871096f576ec3707" 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=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 5.1
# invariant ["ocaml-base-compiler" {= "5.1.1"}]
# compiler-packages ocaml-base-compiler.5.1.1, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.1/lib/ocaml/stublibs:/home/opam/.opam/5.1/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.1.1
2025-06-10 14:55.57 ---> using "6849f0994b82870946b6789b279f5f52efe9c05b867d45403d41777ca3829be9" 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:55.57 ---> using "502172a84501cc98c97b1493c179ae5b9428f03239e05ad88966cc203a6860cd" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-06-10 14:56.09 ---> saved as "ce5393a46c5e2f27c1ed591d44273b6c37b1c5a504503b41c45367a8cfd06581"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-10 14:56.32 ---> saved as "9b44a9d2788f06d1091597763e2e889e478dd3a3010b6a83d1c19f4063a0ed94"
/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 [266 kB]
- Fetched 369 kB in 0s (841 kB/s)
- Reading package lists...
-
2025-06-10 14:56.34 ---> saved as "786485401cbbb4f8dbda3c38d4c16eed8dfa39c9a5787c22bb19574d25fc7894"
/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.35 ---> saved as "4837d8089c1ea1a8e58375234220ab06a1ff05cd9e32cbcede1f7749bc022c3a"
/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-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\" != '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.1.1
- ocaml-lsp-server >= 1.22.1~5.4preview -> ocaml >= 5.4 -> ocaml-variants < 5.5.1~
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.5.1~ -> xenbigarray
unknown package
* Missing dependency:
- ocaml-lsp-server >= 1.22.1~5.4preview -> ocaml >= 5.4 -> ocaml-variants < 5.5.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.5.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 "\"debian-12\""; 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.09: Job failed: Failed: Build failed
2025-06-10 14:57.09: Log analysis:
2025-06-10 14:57.09: >>>
No solution found, exiting
(score = 100)
2025-06-10 14:57.09: [SKIP] Package not available