- github
- ocaml
- opam-repository
- 464f84
- distributions,debian-unstable-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-unstable-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-unstable-ocaml-5.3@sha256:d97024e2b542f53bd9863df1c429995225e5b5db2d3c937bb728bfc69ace97b9
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-unstable\""; 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-unstable-ocaml-5.3@sha256:d97024e2b542f53bd9863df1c429995225e5b5db2d3c937bb728bfc69ace97b9-ocaml-lsp-server.1.22.1~5.4preview-464f8443fe27e86023cd30e6af8b9b202dc388d3"
2025-06-10 14:55.46: Using OBuilder spec:
((from ocaml/opam:debian-unstable-ocaml-5.3@sha256:d97024e2b542f53bd9863df1c429995225e5b5db2d3c937bb728bfc69ace97b9)
(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-unstable\\\"\"; 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 laodoke.caelum.ci.dev
All commits already cached
Updating files: 97% (22739/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-unstable-ocaml-5.3@sha256:d97024e2b542f53bd9863df1c429995225e5b5db2d3c937bb728bfc69ace97b9)
Unable to find image 'ocaml/opam:debian-unstable-ocaml-5.3@sha256:d97024e2b542f53bd9863df1c429995225e5b5db2d3c937bb728bfc69ace97b9' locally
docker.io/ocaml/opam@sha256:d97024e2b542f53bd9863df1c429995225e5b5db2d3c937bb728bfc69ace97b9: Pulling from ocaml/opam
c0b952f0db00: Already exists
665b1b2ee003: Pulling fs layer
14cc22f8efa3: Pulling fs layer
665b1b2ee003: Waiting
40c7925db797: Pulling fs layer
14cc22f8efa3: Waiting
46bc95f6be8d: Pulling fs layer
cfdb2bc06596: Pulling fs layer
40c7925db797: Waiting
46bc95f6be8d: Waiting
d4c606d0bf2c: Pulling fs layer
204472a854b7: Pulling fs layer
cfdb2bc06596: Waiting
d4c606d0bf2c: Waiting
204472a854b7: Waiting
665b1b2ee003: Verifying Checksum
665b1b2ee003: Download complete
665b1b2ee003: Pull complete
14cc22f8efa3: Verifying Checksum
14cc22f8efa3: Download complete
14cc22f8efa3: Pull complete
40c7925db797: Verifying Checksum
40c7925db797: Download complete
40c7925db797: Pull complete
46bc95f6be8d: Verifying Checksum
46bc95f6be8d: Download complete
cfdb2bc06596: Verifying Checksum
cfdb2bc06596: Download complete
d4c606d0bf2c: Verifying Checksum
d4c606d0bf2c: Download complete
204472a854b7: Download complete
46bc95f6be8d: Pull complete
cfdb2bc06596: Pull complete
d4c606d0bf2c: Pull complete
204472a854b7: Pull complete
Digest: sha256:d97024e2b542f53bd9863df1c429995225e5b5db2d3c937bb728bfc69ace97b9
Status: Downloaded newer image for ocaml/opam@sha256:d97024e2b542f53bd9863df1c429995225e5b5db2d3c937bb728bfc69ace97b9
2025-06-10 14:56.21 ---> using "c74f6652a5b87159add891212511c4b583b76c9f39db9d626c0a4b7e35782c2b" 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 "e593da6e9491a8b4374c983aa1e0b68668d63c913c84185895843eae97117a36" 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
[NOTE] The 'jobs' option was reset, its value was 255 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=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-10 14:56.21 ---> using "57d8f3b13e90e851ac6aeb30fba256faa17a52d913e65793382d8393c562b448" 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 71
# 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 "e1d55dfad2f9778a9c759e03006c9d782b32cc44f820feded6f65d646315b9e3" 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 "f60f02fc4df40bf9502324c689a296e8473cf4a93f121b52dab21e3ad70ebd1e" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-06-10 14:56.31 ---> saved as "cbe435cfab0f2192e430192f543b83bd21da5862102624773a991eda4d2bb8fe"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-10 14:56.56 ---> saved as "9ebd2c273b8592e45e4e2964869ff5aeea513d301673bac1832ab46b774e08eb"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [208 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-06-10-1406.46-F-2025-06-07-1404.08.pdiff [49.7 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-06-10-1406.46-F-2025-06-07-1404.08.pdiff [49.7 kB]
- Fetched 321 kB in 3s (105 kB/s)
- Reading package lists...
2025-06-10 14:57.00 ---> saved as "5a18194f280d78dcfdb6034e748b0548bcad33fcc15080dcb7a281d77eb23e85"
/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.05 ---> saved as "0b6609f7038ef3ed2623e4431ec123301dee8b981faaa558da56abb3eb2acfc5"
/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-unstable\\\"\"; 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-unstable\""; 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.21: Job failed: Failed: Build failed
2025-06-10 14:57.21: Log analysis:
2025-06-10 14:57.21: >>>
No solution found, exiting
(score = 100)
2025-06-10 14:57.21: [SKIP] Package not available