- github
- ocaml
- opam-repository
- f6ea57
- compilers,5.3~beta1,dates_calc.0.0.7,lower-bounds
(not at the head of any monitored branch or PR)
2024-11-05 11:32.18: New job: build dates_calc.0.0.7, lower-bounds, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/26738/head (f6ea578b505d61e1e6d77f06345b4a505d933e6c)
on debian-12-ocaml-5.3-beta1/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/26738/head" && git reset --hard f6ea578b
git fetch origin master
git merge --no-edit 2dff29abd6cda0706f80503db11dd4af4e7db559
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3-beta1@sha256:2866837121b116e72f8371aa27d15d268739ff553289f2572f8c4aa3b0d1732b
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /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="1000"
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 dates_calc.0.0.7 0.0.7
RUN opam reinstall dates_calc.0.0.7; \
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" != 'dates_calc.0.0.7' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
ENV OPAMCRITERIA="+removed,+count[version-lag,solution]"
ENV OPAMFIXUPCRITERIA="+removed,+count[version-lag,solution]"
ENV OPAMUPGRADECRITERIA="+removed,+count[version-lag,solution]"
RUN opam option solver=builtin-0install
RUN opam reinstall dates_calc.0.0.7; \
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" != 'dates_calc.0.0.7' && 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-11-05 11:32.18: Using cache hint "ocaml/opam:debian-12-ocaml-5.3-beta1@sha256:2866837121b116e72f8371aa27d15d268739ff553289f2572f8c4aa3b0d1732b-dates_calc.0.0.7-f6ea578b505d61e1e6d77f06345b4a505d933e6c"
2024-11-05 11:32.18: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3-beta1@sha256:2866837121b116e72f8371aa27d15d268739ff553289f2572f8c4aa3b0d1732b)
(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 "uname -rs && opam exec -- ocaml -version && opam --version"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMSOLVERTIMEOUT 1000)
(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 dates_calc.0.0.7 0.0.7"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dates_calc.0.0.7;\
\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\" != 'dates_calc.0.0.7' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(env OPAMCRITERIA +removed,+count[version-lag,solution])
(env OPAMFIXUPCRITERIA +removed,+count[version-lag,solution])
(env OPAMUPGRADECRITERIA +removed,+count[version-lag,solution])
(run (shell "opam option solver=builtin-0install"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dates_calc.0.0.7;\
\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\" != 'dates_calc.0.0.7' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2024-11-05 11:32.18: Waiting for resource in pool OCluster
2024-11-05 11:32.19: Waiting for worker…
2024-11-05 11:32.19: Got resource from pool OCluster
Building on x86-bm-c10.sw.ocaml.org
All commits already cached
Updating files: 38% (12688/32621)
Updating files: 39% (12723/32621)
Updating files: 40% (13049/32621)
Updating files: 41% (13375/32621)
Updating files: 42% (13701/32621)
Updating files: 43% (14028/32621)
Updating files: 44% (14354/32621)
Updating files: 45% (14680/32621)
Updating files: 46% (15006/32621)
Updating files: 47% (15332/32621)
Updating files: 48% (15659/32621)
Updating files: 49% (15985/32621)
Updating files: 50% (16311/32621)
Updating files: 51% (16637/32621)
Updating files: 52% (16963/32621)
Updating files: 53% (17290/32621)
Updating files: 54% (17616/32621)
Updating files: 55% (17942/32621)
Updating files: 56% (18268/32621)
Updating files: 57% (18594/32621)
Updating files: 58% (18921/32621)
Updating files: 59% (19247/32621)
Updating files: 60% (19573/32621)
Updating files: 61% (19899/32621)
Updating files: 62% (20226/32621)
Updating files: 63% (20552/32621)
Updating files: 64% (20878/32621)
Updating files: 65% (21204/32621)
Updating files: 66% (21530/32621)
Updating files: 67% (21857/32621)
Updating files: 68% (22183/32621)
Updating files: 69% (22509/32621)
Updating files: 70% (22835/32621)
Updating files: 71% (23161/32621)
Updating files: 72% (23488/32621)
Updating files: 73% (23814/32621)
Updating files: 74% (24140/32621)
Updating files: 75% (24466/32621)
Updating files: 76% (24792/32621)
Updating files: 77% (25119/32621)
Updating files: 78% (25445/32621)
Updating files: 79% (25771/32621)
Updating files: 80% (26097/32621)
Updating files: 81% (26424/32621)
Updating files: 82% (26750/32621)
Updating files: 83% (27076/32621)
Updating files: 84% (27402/32621)
Updating files: 85% (27728/32621)
Updating files: 86% (28055/32621)
Updating files: 87% (28381/32621)
Updating files: 88% (28707/32621)
Updating files: 89% (29033/32621)
Updating files: 90% (29359/32621)
Updating files: 91% (29686/32621)
Updating files: 92% (30012/32621)
Updating files: 93% (30338/32621)
Updating files: 94% (30664/32621)
Updating files: 95% (30990/32621)
Updating files: 95% (31257/32621)
Updating files: 96% (31317/32621)
Updating files: 97% (31643/32621)
Updating files: 98% (31969/32621)
Updating files: 99% (32295/32621)
Updating files: 100% (32621/32621)
Updating files: 100% (32621/32621), done.
HEAD is now at 2dff29abd6 Merge pull request #26837 from dboris/camlkit-0.3.0
Merge made by the 'ort' strategy.
packages/dates_calc/dates_calc.0.0.7/opam | 42 +++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
create mode 100644 packages/dates_calc/dates_calc.0.0.7/opam
(from ocaml/opam:debian-12-ocaml-5.3-beta1@sha256:2866837121b116e72f8371aa27d15d268739ff553289f2572f8c4aa3b0d1732b)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3-beta1@sha256:2866837121b116e72f8371aa27d15d268739ff553289f2572f8c4aa3b0d1732b' locally
docker.io/ocaml/opam@sha256:2866837121b116e72f8371aa27d15d268739ff553289f2572f8c4aa3b0d1732b: Pulling from ocaml/opam
2c23c3f0208d: Pulling fs layer
2c23c3f0208d: Verifying Checksum
2c23c3f0208d: Download complete
2c23c3f0208d: Pull complete
Digest: sha256:2866837121b116e72f8371aa27d15d268739ff553289f2572f8c4aa3b0d1732b
Status: Downloaded newer image for ocaml/opam@sha256:2866837121b116e72f8371aa27d15d268739ff553289f2572f8c4aa3b0d1732b
2024-11-05 11:34.00 ---> saved as "7851787cfd13ad119af2b8c1fac3ac044669b2a6dd2c53f378823e5a5974c63c"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-11-05 11:34.00 ---> saved as "40fd66746d7a16fef49549b6d92f6babaa8961c7254c58d32376bfa266db0e09"
/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[beta] no changes from git+https://github.com/ocaml/ocaml-beta-repository
[default] synchronised from file:///home/opam/opam-repository
2024-11-05 11:35.27 ---> saved as "29ce68977aa4b2aa5c34a22ab129a758b6eb9dba701034aee6663f02993621d6"
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 5.3.0~beta1
2.4.0~alpha1~dev
2024-11-05 11:35.27 ---> saved as "71b549bd331ca3a801abed7ed1caeb36b83170c716c627bdc1537bf5387bb719"
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMSOLVERTIMEOUT 1000)
/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-11-05 11:35.34 ---> saved as "0bf890efbf07c9a5fe18300d96b9fc0e29a63d7c0b568f5de3456587ca7e6faa"
/home/opam: (copy (src .) (dst opam-repository/))
2024-11-05 11:36.02 ---> saved as "4748aad695cb853abd6181bb9aa6e37c168df76c29eb333782bfc7a4d42dfd20"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-05 11:36.58 ---> saved as "6e7753c29a07dba93cfeef743fa397689366835602ec4aeb81ed99e157947edc"
/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]
- Fetched 103 kB in 0s (479 kB/s)
- Reading package lists...
-
2024-11-05 11:36.59 ---> saved as "7be156afb9077fcb6ba4e429a88cbec183863a2a36bfd433c55884e82cb85b18"
/home/opam: (run (shell "opam pin add -k version -yn dates_calc.0.0.7 0.0.7"))
dates_calc is now pinned to version 0.0.7
2024-11-05 11:37.00 ---> saved as "73228e4f45b7accdae6c91ce1a378106771459e60edcee3c0b75c8bee7c3d5a4"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dates_calc.0.0.7;\
\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\" != 'dates_calc.0.0.7' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dates_calc.0.0.7 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 2 packages
- install dates_calc 0.0.7 (pinned)
- install dune 3.16.1 [required by dates_calc]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dates_calc.0.0.7 (cached)
-> retrieved dune.3.16.1 (cached)
-> installed dune.3.16.1
-> installed dates_calc.0.0.7
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-05 11:37.44 ---> saved as "eba97e154e68459126833ed74a1f0f618cbc42e345ed5a07d5a9a47fac05201d"
/home/opam: (env OPAMCRITERIA +removed,+count[version-lag,solution])
/home/opam: (env OPAMFIXUPCRITERIA +removed,+count[version-lag,solution])
/home/opam: (env OPAMUPGRADECRITERIA +removed,+count[version-lag,solution])
/home/opam: (run (shell "opam option solver=builtin-0install"))
Set to 'builtin-0install' the field solver in global configuration
2024-11-05 11:37.44 ---> saved as "7511fca07804cef0a0b46e3687adbdb929b23ab2fff857fc357fc8f292aeed28"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dates_calc.0.0.7;\
\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\" != 'dates_calc.0.0.7' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
The following actions will be performed:
=== downgrade 1 package
- downgrade dune 3.16.1 to 3.11.0 [required by dates_calc]
=== recompile 1 package
- recompile dates_calc 0.0.7 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dates_calc.0.0.7 (cached)
-> retrieved dune.3.11.0 (cached)
-> removed dates_calc.0.0.7
-> removed dune.3.16.1
-> installed dune.3.11.0
-> installed dates_calc.0.0.7
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-05 11:38.21 ---> saved as "b861190bc3d0b72862d3aacb8e95e3d3dc7434157a4ea23655fde26ed6b4b036"
Job succeeded
2024-11-05 11:38.28: Job succeeded