- github
- ocaml
- opam-repository
- 464f84
- extras,opam-2.2-ocaml-4.14,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.2
from https://github.com/ocaml/opam-repository.git#refs/pull/28010/head (464f8443fe27e86023cd30e6af8b9b202dc388d3)
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/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-4.14@sha256:483ad21d779c01615f15084a5f82173baaa47820587729faca9fb7ad645f50be
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.2 /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.46: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:483ad21d779c01615f15084a5f82173baaa47820587729faca9fb7ad645f50be-ocaml-lsp-server.1.22.1~5.4preview-464f8443fe27e86023cd30e6af8b9b202dc388d3"
2025-06-10 14:55.46: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:483ad21d779c01615f15084a5f82173baaa47820587729faca9fb7ad645f50be)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.2 /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.46: Waiting for resource in pool OCluster
2025-06-10 14:55.46: Waiting for worker…
2025-06-10 14:55.49: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
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-4.14@sha256:483ad21d779c01615f15084a5f82173baaa47820587729faca9fb7ad645f50be)
2025-06-10 14:56.28 ---> using "d2a5d53d37f66f6f5c7aad091614b30735c874c67d8308d229ed194879752021" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2025-06-10 14:56.28 ---> saved as "4eedb6bf557c4068a9aa77045565f0c9d1a08a8e841f338e49f986b08931882a"
/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:57.00 ---> saved as "ae3f9ef8fcac090956c8f43c399850b8aa440740400ed0c9ac76db041ed1c0f6"
/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.2.1 (01e9a24a61e23e42d513b4b775d8c30c807439b2)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-0install
# install-criteria
# upgrade-criteria
# 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-06-10 14:57.01 ---> saved as "f944094ec02f81dfd3298fdf39f6ae79935578df78e60e470a6ad54a1e7a7f4e"
/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:57.08 ---> saved as "3c2ea90630fe99af584ef2d91cd15a52dcd8131a4b3b43ff2ffd7a06bae827a4"
/home/opam: (copy (src .) (dst opam-repository/))
2025-06-10 14:57.16 ---> saved as "f8777d3058e967d54b337be313e84a472510f9a0012116b2591293a92ec0adf6"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-10 14:57.37 ---> saved as "b894c9abb774d0fbab8cd17cbce786bd896b5df662ddd6409af1989513b6a979"
/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 (1180 kB/s)
- Reading package lists...
-
2025-06-10 14:57.38 ---> saved as "2f78758599144b2e11b3cba8d62ad82c732cbc30d81870121f70ef10778d63f4"
/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:57.39 ---> saved as "77519a544ef8a4cb76631c548f961d4648b9d10e6642cc2036057ae6d8389bd9"
/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 = 4.14.2
- 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-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:58.01: Job failed: Failed: Build failed
2025-06-10 14:58.01: Log analysis:
2025-06-10 14:58.01: >>>
No solution found, exiting
(score = 100)
2025-06-10 14:58.01: [SKIP] Package not available