- github
- ocaml
- opam-repository
- 9be890
- extras,opam-2.1-ocaml-5.1,dot-merlin-reader.4.14-502~preview
(not at the head of any monitored branch or PR)
2024-04-26 20:10.49: New job: build dot-merlin-reader.4.14-502~preview, using opam 2.1
from https://github.com/ocaml/opam-repository.git#refs/pull/25744/head (9be890d6fb6f087f8c7dc524c7e6ec1a99845dfa)
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/25744/head" && git reset --hard 9be890d6
git fetch origin master
git merge --no-edit fe363a90136800f6fbd6e618f7cdb0ccfa213296
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.1@sha256:38f84308178aed1201d28fe57eb8682794c2b5f9d040709a2077f190c66b19ce
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="500"
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
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam pin add -k version -yn dot-merlin-reader.4.14-502~preview 4.14-502~preview
RUN opam reinstall dot-merlin-reader.4.14-502~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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'dot-merlin-reader.4.14-502~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 .
2024-04-26 20:10.49: Using cache hint "ocaml/opam:debian-12-ocaml-5.1@sha256:38f84308178aed1201d28fe57eb8682794c2b5f9d040709a2077f190c66b19ce-dot-merlin-reader.4.14-502~preview-9be890d6fb6f087f8c7dc524c7e6ec1a99845dfa"
2024-04-26 20:10.49: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:38f84308178aed1201d28fe57eb8682794c2b5f9d040709a2077f190c66b19ce)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMSOLVERTIMEOUT 500)
(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"))
(env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
(env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
(env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
(run (shell "opam pin add -k version -yn dot-merlin-reader.4.14-502~preview 4.14-502~preview"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dot-merlin-reader.4.14-502~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 \"\\\"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\" != 'dot-merlin-reader.4.14-502~preview' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2024-04-26 20:10.49: Waiting for resource in pool OCluster
2024-04-26 20:10.51: Waiting for worker…
2024-04-26 20:14.48: Got resource from pool OCluster
Building on x86-bm-c17.sw.ocaml.org
All commits already cached
Updating files: 91% (30769/33565)
Updating files: 92% (30880/33565)
Updating files: 93% (31216/33565)
Updating files: 94% (31552/33565)
Updating files: 95% (31887/33565)
Updating files: 96% (32223/33565)
Updating files: 97% (32559/33565)
Updating files: 98% (32894/33565)
Updating files: 99% (33230/33565)
Updating files: 100% (33565/33565)
Updating files: 100% (33565/33565), done.
HEAD is now at fe363a9013 Merge pull request #25751 from ocaml/mseri-patch-5
Merge made by the 'ort' strategy.
.../dot-merlin-reader/dot-merlin-reader.4.14-502~preview/opam | 6 +++---
packages/merlin-lib/merlin-lib.4.14-502~preview/opam | 6 +++---
packages/merlin/merlin.4.14-502~preview/opam | 8 ++++----
3 files changed, 10 insertions(+), 10 deletions(-)
(from ocaml/opam:debian-12-ocaml-5.1@sha256:38f84308178aed1201d28fe57eb8682794c2b5f9d040709a2077f190c66b19ce)
2024-04-26 20:14.50 ---> using "77b9ba30cf71111f1c981ad9e321456c3dda39afc3d2128ca1b6e01fdcf27acc" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-04-26 20:14.51 ---> saved as "072242e0ca046e30c9580a6217f3f58507148dceee60efb02347f364c8100e3f"
/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.1, 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] synchronised from file:///home/opam/opam-repository
2024-04-26 20:16.04 ---> saved as "713ba06d534640046f40731ab326a3d82370872881e2d35e4a3a56cdb5cc7cf2"
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 5.1.1
2.1.5
2024-04-26 20:16.04 ---> saved as "a5148a88122423cb0b6a278ec5a496302a869c7730c77ee1691c00262b8988c6"
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMSOLVERTIMEOUT 500)
/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/"))
2024-04-26 20:16.11 ---> saved as "673524e99f8c96dcd98e66024175a3a5b56855b7e963546113507a4723b7b670"
/home/opam: (copy (src .) (dst opam-repository/))
2024-04-26 20:16.36 ---> saved as "8cdeaf0c2f5d0ad25a9035100c10d78cdfcc759be35fe8ee6fd74f9f80832567"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-04-26 20:16.57 ---> saved as "38cfa87275ebca2c435b6794f3961ee07f255d1fdb6bc3148b3b8449cc422052"
/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 bookworm-updates/main amd64 Packages.diff/Index [10.6 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1595 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1595 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [155 kB]
- Fetched 270 kB in 0s (1098 kB/s)
- Reading package lists...
-
2024-04-26 20:16.59 ---> saved as "985b3bfd4b9ad17c56bff58578fde64462a447a7f0276e9f3df8a3623b6205cb"
/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
/home/opam: (run (shell "opam pin add -k version -yn dot-merlin-reader.4.14-502~preview 4.14-502~preview"))
dot-merlin-reader is now pinned to version 4.14-502~preview
2024-04-26 20:17.00 ---> saved as "d2ff6d8f8f2cb71f41c638fb2556ac4747784ce9074d23781c8a8288c2d5b9e7"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dot-merlin-reader.4.14-502~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 \"\\\"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\" != 'dot-merlin-reader.4.14-502~preview' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dot-merlin-reader.4.14-502~preview is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 5.1.1
- dot-merlin-reader >= 4.14-502~preview -> ocaml >= 5.2 -> ocaml-variants < 5.2.1~
You can temporarily relax the switch invariant with `--update-invariant'
* Missing dependency:
- dot-merlin-reader >= 4.14-502~preview -> ocaml >= 5.2 -> ocaml-variants < 5.2.1~ -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall dot-merlin-reader.4.14-502~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 "\"debian-12\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'dot-merlin-reader.4.14-502~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
2024-04-26 20:17.26: Job failed: Failed: Build failed
2024-04-26 20:17.26: Log analysis:
2024-04-26 20:17.26: >>>
No solution found, exiting
(score = 100)
2024-04-26 20:17.26: [SKIP] Package not available