- github
- ocaml
- opam-repository
- 769cad
- extras,opam-2.1-ocaml-4.14,starred_ml.0.0.6
(not at the head of any monitored branch or PR)
2025-01-06 12:57.38: New job: build starred_ml.0.0.6, using opam 2.1
from https://github.com/ocaml/opam-repository.git#refs/pull/27218/head (769cad3b416aaa2c44bf59fec140089db575abc1)
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/27218/head" && git reset --hard 769cad3b
git fetch origin master
git merge --no-edit cd5853b9a4dc5dfdb5f53cee126a86701c2b2d12
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:e460950bd19b4f82c7a34191512f11f51e06c1dacac6e4b4f10b68b4aae67c02
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.1 /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 starred_ml.0.0.6 0.0.6
RUN opam reinstall starred_ml.0.0.6; \
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" != 'starred_ml.0.0.6' && 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-01-06 12:57.38: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:e460950bd19b4f82c7a34191512f11f51e06c1dacac6e4b4f10b68b4aae67c02-starred_ml.0.0.6-769cad3b416aaa2c44bf59fec140089db575abc1"
2025-01-06 12:57.38: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:e460950bd19b4f82c7a34191512f11f51e06c1dacac6e4b4f10b68b4aae67c02)
(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 "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 starred_ml.0.0.6 0.0.6"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall starred_ml.0.0.6;\
\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\" != 'starred_ml.0.0.6' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-01-06 12:57.38: Waiting for resource in pool OCluster
2025-01-06 17:54.04: Waiting for worker…
2025-01-06 17:56.55: Got resource from pool OCluster
Building on x86-bm-c5.sw.ocaml.org
All commits already cached
Updating files: 73% (21153/28877)
Updating files: 74% (21369/28877)
Updating files: 75% (21658/28877)
Updating files: 76% (21947/28877)
Updating files: 77% (22236/28877)
Updating files: 78% (22525/28877)
Updating files: 79% (22813/28877)
Updating files: 80% (23102/28877)
Updating files: 81% (23391/28877)
Updating files: 82% (23680/28877)
Updating files: 83% (23968/28877)
Updating files: 84% (24257/28877)
Updating files: 85% (24546/28877)
Updating files: 86% (24835/28877)
Updating files: 87% (25123/28877)
Updating files: 88% (25412/28877)
Updating files: 89% (25701/28877)
Updating files: 90% (25990/28877)
Updating files: 91% (26279/28877)
Updating files: 92% (26567/28877)
Updating files: 93% (26856/28877)
Updating files: 94% (27145/28877)
Updating files: 95% (27434/28877)
Updating files: 96% (27722/28877)
Updating files: 97% (28011/28877)
Updating files: 98% (28300/28877)
Updating files: 99% (28589/28877)
Updating files: 100% (28877/28877)
Updating files: 100% (28877/28877), done.
HEAD is now at cd5853b9a4 Merge pull request #27203 from lukstafi/master
Updating cd5853b9a4..769cad3b41
Fast-forward
packages/starred_ml/starred_ml.0.0.6/opam | 52 +++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
create mode 100644 packages/starred_ml/starred_ml.0.0.6/opam
(from ocaml/opam:debian-12-ocaml-4.14@sha256:e460950bd19b4f82c7a34191512f11f51e06c1dacac6e4b4f10b68b4aae67c02)
2025-01-06 17:56.59 ---> using "4018ae90a8482565020ff2ee9a05d62ac38e5f30de2c24c7c5965beafacde6f8" 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"))
2025-01-06 17:56.59 ---> saved as "1ebc2639dba153a78de5478a662822360f71f5d7b99d7ee7c6260d6c9d07b853"
/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.
Continue? [Y/n] y
This development 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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-01-06 17:58.12 ---> saved as "ee9cd0ca052451a91108a99bf15642db1b713c8bb0a4586dd1b6ea991839aea3"
/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.1.6 (263921263e1f745613e2882745114b7b08f3608b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-0install
# install-criteria
# upgrade-criteria
# jobs 39
# repositories 1 (local)
# pinned 1 (version)
# current-switch 4.14
# 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-01-06 17:58.16 ---> saved as "f316cb72dc5029c05b0fba2ce1181cc72827e6b22b378e4782d523943eda7edc"
/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-01-06 17:58.26 ---> saved as "5c20c232114f97ed47f21184c65b65424395e124f26634aad70f147d0c6ca51f"
/home/opam: (copy (src .) (dst opam-repository/))
2025-01-06 17:58.37 ---> saved as "5d89988d8bb8c0c880b979a2133d161ff21309c089eee12ee0e7edaccb355922"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-01-06 17:58.55 ---> saved as "d8f557a8e0557e27b57231d89cc58c70edc1454da56e7b503c201a050030ee2b"
/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 [240 kB]
- Fetched 343 kB in 0s (1322 kB/s)
- Reading package lists...
-
2025-01-06 17:58.56 ---> saved as "75b51bd60d0dd813cba6607d04d1c32e7b05e2106094dd746bdd956393547379"
/home/opam: (run (shell "opam pin add -k version -yn starred_ml.0.0.6 0.0.6"))
starred_ml is now pinned to version 0.0.6
2025-01-06 17:58.57 ---> saved as "65298d77ee6f519ef579b55a15602af87aa7b140b5522000170ec0b1a51c3ffb"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall starred_ml.0.0.6;\
\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\" != 'starred_ml.0.0.6' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
starred_ml.0.0.6 is not installed. Install it? [Y/n] y
* No agreement on the version of ocaml:
- (invariant) -> ocaml-base-compiler = 4.14.2 -> ocaml = 4.14.2
- starred_ml >= 0.0.6 -> tls-eio >= 1.0.4 -> ocaml >= 5.0.0
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 4.14.2
- starred_ml >= 0.0.6 -> tls-eio >= 1.0.4 -> ocaml >= 5.0.0 -> ocaml-variants >= 5.0.1~
* Missing dependency:
- starred_ml >= 0.0.6 -> tls-eio >= 1.0.4 -> ocaml >= 5.0.0 -> ocaml-variants >= 5.0.1~ -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall starred_ml.0.0.6;
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" != 'starred_ml.0.0.6' && 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-01-06 17:59.15: Job failed: Failed: Build failed
2025-01-06 17:59.15: Log analysis:
2025-01-06 17:59.15: >>>
No solution found, exiting
(score = 100)
2025-01-06 17:59.15: [SKIP] Package not available