- github
- ocaml
- opam-repository
- 464f84
- extras,ocaml-4.14-nnp,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-12-ocaml-4.14-nnp/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-nnp@sha256:556fea128f1bfdd90209dfca413f673abad0978150fd38a3c7324071adc06634
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.46: Using cache hint "ocaml/opam:debian-12-ocaml-4.14-nnp@sha256:556fea128f1bfdd90209dfca413f673abad0978150fd38a3c7324071adc06634-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-nnp@sha256:556fea128f1bfdd90209dfca413f673abad0978150fd38a3c7324071adc06634)
(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.46: Waiting for resource in pool OCluster
2025-06-10 14:55.46: Waiting for worker…
2025-06-10 14:55.48: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files: 79% (18573/23220)
Updating files: 80% (18576/23220)
Updating files: 81% (18809/23220)
Updating files: 82% (19041/23220)
Updating files: 83% (19273/23220)
Updating files: 84% (19505/23220)
Updating files: 85% (19737/23220)
Updating files: 86% (19970/23220)
Updating files: 87% (20202/23220)
Updating files: 88% (20434/23220)
Updating files: 89% (20666/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
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-nnp@sha256:556fea128f1bfdd90209dfca413f673abad0978150fd38a3c7324071adc06634)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14-nnp@sha256:556fea128f1bfdd90209dfca413f673abad0978150fd38a3c7324071adc06634' locally
docker.io/ocaml/opam@sha256:556fea128f1bfdd90209dfca413f673abad0978150fd38a3c7324071adc06634: Pulling from ocaml/opam
2f15651b245f: Already exists
cf687589c9c8: Pulling fs layer
ef8d03c60824: Pulling fs layer
be852823e532: Pulling fs layer
9cc44030841a: Pulling fs layer
9cc44030841a: Waiting
ef8d03c60824: Verifying Checksum
ef8d03c60824: Download complete
9cc44030841a: Download complete
be852823e532: Download complete
cf687589c9c8: Verifying Checksum
cf687589c9c8: Download complete
cf687589c9c8: Pull complete
ef8d03c60824: Pull complete
be852823e532: Pull complete
9cc44030841a: Pull complete
Digest: sha256:556fea128f1bfdd90209dfca413f673abad0978150fd38a3c7324071adc06634
Status: Downloaded newer image for ocaml/opam@sha256:556fea128f1bfdd90209dfca413f673abad0978150fd38a3c7324071adc06634
2025-06-10 14:56.50 ---> using "a46915dac0e5b04b39f820bf0d1d88ecdd33c9a39b585155495294227297a2d7" 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.50 ---> using "c0ec8ee33b88b088019f7230a77eeb342cab79e50dcd7ed6c809b97e5706eab1" 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.50 ---> using "bb182ea5053ed868d39117505936d608d901aaae07ba851f68af8daf05abc72b" 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 4.14
# invariant ["ocaml-options-only-nnp"]
# compiler-packages ocaml-option-nnp.1, ocaml-options-only-nnp.1, ocaml-variants.4.14.2+options
# 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+options+nnp
2025-06-10 14:56.50 ---> using "9bb58cde38b311217c55b1d05812985a87e798f02f051786af7009afffc45329" 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.50 ---> using "0b569b950d89e160354560ec6d8b541abba41348b7124d0d3f188c95ba539067" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-06-10 14:56.59 ---> saved as "442fb4cc18aea90082a8072feeda78433bbea09e9fcfb8ad34443ea4e2cf1206"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-10 14:57.23 ---> saved as "350981d323600f744d644cba7b15a2f3f5ca257bfc3ce35954f5da1fdbc19446"
/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 (953 kB/s)
- Reading package lists...
-
2025-06-10 14:57.25 ---> saved as "5c1351aa5e9a4675166eb34fdf25fed9d58f88b0625dc670a3c6605e19605fcf"
/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.26 ---> saved as "352fa13ad612732db4da63c4692042301b4357961c0c79670ebda6363aac1e08"
/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-options-only-nnp -> ocaml-option-nnp -> ocaml-variants >= 4.12.0~
- ocaml-lsp-server >= 1.22.1~5.4preview -> ocaml >= 5.4 -> ocaml-base-compiler >= 5.4.0~
You can temporarily relax the switch invariant with `--update-invariant'
* Missing dependency:
- ocaml-lsp-server >= 1.22.1~5.4preview -> ocaml >= 5.4 -> dkml-base-compiler >= 5.5.0~ | ocaml-base-compiler >= 5.5.0 | ocaml-system >= 5.5.0~ | ocaml-variants >= 5.5.0~
no matching version
no matching version
no matching version
not available because the package is pinned to version 4.14.2+options
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.41: Job failed: Failed: Build failed
2025-06-10 14:57.41: Log analysis:
2025-06-10 14:57.41: >>>
No solution found, exiting
(score = 100)
2025-06-10 14:57.41: [SKIP] Package not available