- github
- ocaml
- opam-repository
- a540e3
- distributions,fedora-42-ocaml-5.4,ocaml-lsp-server.1.26.0-5.5~preview
(not at the head of any monitored branch or PR)
2026-03-19 16:28.51: New job: build ocaml-lsp-server.1.26.0-5.5~preview, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29565/head (a540e38baa7b2d1d7e6218b3bc3eb48112a04ff2)
on fedora-42-ocaml-5.4/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/29565/head" && git reset --hard a540e38b
git fetch origin master
git merge --no-edit 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-5.4@sha256:c287a6cac8e4b448fa9f2b93ac4a934082d2a93e9f1aa679945a6ddda7769b83
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /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.26.0-5.5~preview 1.26.0-5.5~preview
RUN opam reinstall ocaml-lsp-server.1.26.0-5.5~preview; \
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 "\"fedora-42\""; 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.26.0-5.5~preview' && 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 .
2026-03-19 16:28.51: Using cache hint "ocaml/opam:fedora-42-ocaml-5.4@sha256:c287a6cac8e4b448fa9f2b93ac4a934082d2a93e9f1aa679945a6ddda7769b83-ocaml-lsp-server.1.26.0-5.5~preview-a540e38baa7b2d1d7e6218b3bc3eb48112a04ff2"
2026-03-19 16:28.51: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.4@sha256:c287a6cac8e4b448fa9f2b93ac4a934082d2a93e9f1aa679945a6ddda7769b83)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-dev /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.26.0-5.5~preview 1.26.0-5.5~preview"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-lsp-server.1.26.0-5.5~preview;\
\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 \"\\\"fedora-42\\\"\"; 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.26.0-5.5~preview' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-03-19 16:28.51: Waiting for resource in pool OCluster
2026-03-19 16:28.52: Waiting for worker…
2026-03-19 16:32.12: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 9f189ca4f9 Merge pull request #29562 from shonfeder/release-dune-3.22.0
Updating 9f189ca4f9..a540e38baa
Fast-forward
packages/jsonrpc/jsonrpc.1.26.0-5.5~preview/opam | 51 +++++++++++++++
packages/lsp/lsp.1.26.0-5.5~preview/opam | 61 +++++++++++++++++
.../ocaml-lsp-server.1.26.0-5.5~preview/opam | 76 ++++++++++++++++++++++
3 files changed, 188 insertions(+)
create mode 100644 packages/jsonrpc/jsonrpc.1.26.0-5.5~preview/opam
create mode 100644 packages/lsp/lsp.1.26.0-5.5~preview/opam
create mode 100644 packages/ocaml-lsp-server/ocaml-lsp-server.1.26.0-5.5~preview/opam
(from ocaml/opam:fedora-42-ocaml-5.4@sha256:c287a6cac8e4b448fa9f2b93ac4a934082d2a93e9f1aa679945a6ddda7769b83)
2026-03-19 16:32.55 ---> saved as "4d79fbdf2ac48d7f561a98bf25fadf6c8f597d05d986e3bd539f574b23af4155"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-19 16:32.55 ---> saved as "203fa3331ccf86e90239d907527371978922c246d91682f12a126a118540e613"
/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 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
2026-03-19 16:33.23 ---> saved as "8e6a7c63799158d04ee2d7c331cfea118c6b06eb0edfe171b02033e6655a1bf3"
/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.5.0
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=fedora os-version=42
# 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.4
# invariant ["ocaml-base-compiler" {= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2026-03-19 16:33.24 ---> saved as "c7be0bfac80767517621d9e5a99c996ff430dfcafd9ddc4ee79a92b2d3986687"
/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/"))
2026-03-19 16:33.33 ---> saved as "c63c02aae5462dca5061d81ef87ca26f1c55af3ae6c1c693dd322b00dffc33fc"
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-19 16:34.09 ---> saved as "4cfcfff9889126614f79e79384481b321f47284839d6200c3a70c62b342d2918"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-19 16:34.34 ---> saved as "65e187ca083f57243a5887b28354338bc13943f8a2afd60c7c7204c40fdbbdd0"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 42 - x86_64 - Updates 100% | 129.1 KiB/s | 17.3 KiB | 00m00s
- Repositories loaded.
- Metadata cache created.
2026-03-19 16:34.41 ---> saved as "8d18ab085b80f4afa8c4b2385ae1d5daa0f45ac36ef44980b07e0203096c337a"
/home/opam: (run (shell "opam pin add -k version -yn ocaml-lsp-server.1.26.0-5.5~preview 1.26.0-5.5~preview"))
ocaml-lsp-server is now pinned to version 1.26.0-5.5~preview
2026-03-19 16:34.42 ---> saved as "36081ba3f2d209a8ff2717a2d3f442926b13baca933ff17879c2e2d6469573a3"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-lsp-server.1.26.0-5.5~preview;\
\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 \"\\\"fedora-42\\\"\"; 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.26.0-5.5~preview' && 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.26.0-5.5~preview is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 5.4.0
- ocaml-lsp-server >= 1.26.0-5.5~preview -> ocaml >= 5.5 -> ocaml-variants < 5.6.1~
You can temporarily relax the switch invariant with `--update-invariant'
* Missing dependency:
- ocaml-lsp-server >= 1.26.0-5.5~preview -> ocaml >= 5.5 -> ocaml-variants < 5.5.1~ -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- ocaml-lsp-server >= 1.26.0-5.5~preview -> ocaml >= 5.5 -> 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.26.0-5.5~preview;
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 "\"fedora-42\""; 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.26.0-5.5~preview' && 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
2026-03-19 16:35.02: Job failed: Failed: Build failed
2026-03-19 16:35.02: Log analysis:
2026-03-19 16:35.02: >>>
No solution found, exiting
(score = 100)
2026-03-19 16:35.02: [SKIP] Package not available