- github
- ocaml
- opam-repository
- 279169
- extras,arm64-ocaml-4.14,ocamlformat-rpc-lib.0.27.0
(not at the head of any monitored branch or PR)
2024-11-29 15:19.43: New job: build ocamlformat-rpc-lib.0.27.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/26998/head (27916977327321391ddd0aadb9e4d7c2d461e743)
on debian-12-ocaml-4.14/arm64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/26998/head" && git reset --hard 27916977
git fetch origin master
git merge --no-edit 0b65c91e7650d82e2c12fe1f64a466d2c6954272
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:2ab88f80e86ed2592e1bd807748a45de056041c513e9494d49f5bc9cd585bafc
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 ocamlformat-rpc-lib.0.27.0 0.27.0
RUN opam reinstall ocamlformat-rpc-lib.0.27.0; \
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" != 'ocamlformat-rpc-lib.0.27.0' && 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-29 15:19.43: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:2ab88f80e86ed2592e1bd807748a45de056041c513e9494d49f5bc9cd585bafc-ocamlformat-rpc-lib.0.27.0-27916977327321391ddd0aadb9e4d7c2d461e743"
2024-11-29 15:19.43: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:2ab88f80e86ed2592e1bd807748a45de056041c513e9494d49f5bc9cd585bafc)
(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 ocamlformat-rpc-lib.0.27.0 0.27.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlformat-rpc-lib.0.27.0;\
\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\" != 'ocamlformat-rpc-lib.0.27.0' && 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-29 15:19.43: Waiting for resource in pool OCluster
2024-11-29 15:19.43: Waiting for worker…
2024-11-29 15:28.48: Got resource from pool OCluster
Building on ocaml-2.osuosl.ci.dev
All commits already cached
Updating files: 21% (7061/32803)
Updating files: 22% (7217/32803)
Updating files: 23% (7545/32803)
Updating files: 24% (7873/32803)
Updating files: 25% (8201/32803)
Updating files: 26% (8529/32803)
Updating files: 27% (8857/32803)
Updating files: 28% (9185/32803)
Updating files: 29% (9513/32803)
Updating files: 30% (9841/32803)
Updating files: 31% (10169/32803)
Updating files: 32% (10497/32803)
Updating files: 33% (10825/32803)
Updating files: 34% (11154/32803)
Updating files: 35% (11482/32803)
Updating files: 36% (11810/32803)
Updating files: 37% (12138/32803)
Updating files: 38% (12466/32803)
Updating files: 39% (12794/32803)
Updating files: 40% (13122/32803)
Updating files: 41% (13450/32803)
Updating files: 42% (13778/32803)
Updating files: 43% (14106/32803)
Updating files: 44% (14434/32803)
Updating files: 45% (14762/32803)
Updating files: 46% (15090/32803)
Updating files: 47% (15418/32803)
Updating files: 48% (15746/32803)
Updating files: 48% (15764/32803)
Updating files: 49% (16074/32803)
Updating files: 50% (16402/32803)
Updating files: 51% (16730/32803)
Updating files: 52% (17058/32803)
Updating files: 53% (17386/32803)
Updating files: 54% (17714/32803)
Updating files: 55% (18042/32803)
Updating files: 56% (18370/32803)
Updating files: 57% (18698/32803)
Updating files: 58% (19026/32803)
Updating files: 59% (19354/32803)
Updating files: 60% (19682/32803)
Updating files: 61% (20010/32803)
Updating files: 61% (20250/32803)
Updating files: 62% (20338/32803)
Updating files: 63% (20666/32803)
Updating files: 64% (20994/32803)
Updating files: 65% (21322/32803)
Updating files: 66% (21650/32803)
Updating files: 67% (21979/32803)
Updating files: 68% (22307/32803)
Updating files: 69% (22635/32803)
Updating files: 70% (22963/32803)
Updating files: 71% (23291/32803)
Updating files: 72% (23619/32803)
Updating files: 73% (23947/32803)
Updating files: 74% (24275/32803)
Updating files: 75% (24603/32803)
Updating files: 76% (24931/32803)
Updating files: 77% (25259/32803)
Updating files: 77% (25586/32803)
Updating files: 78% (25587/32803)
Updating files: 79% (25915/32803)
Updating files: 80% (26243/32803)
Updating files: 81% (26571/32803)
Updating files: 82% (26899/32803)
Updating files: 83% (27227/32803)
Updating files: 84% (27555/32803)
Updating files: 85% (27883/32803)
Updating files: 86% (28211/32803)
Updating files: 87% (28539/32803)
Updating files: 88% (28867/32803)
Updating files: 89% (29195/32803)
Updating files: 90% (29523/32803)
Updating files: 91% (29851/32803)
Updating files: 92% (30179/32803)
Updating files: 93% (30507/32803)
Updating files: 94% (30835/32803)
Updating files: 95% (31163/32803)
Updating files: 96% (31491/32803)
Updating files: 97% (31819/32803)
Updating files: 98% (32147/32803)
Updating files: 99% (32475/32803)
Updating files: 100% (32803/32803)
Updating files: 100% (32803/32803), done.
HEAD is now at 0b65c91e76 Merge pull request #26997 from hannesm/revive-rml
Updating 0b65c91e76..2791697732
Fast-forward
.../ocamlformat-lib/ocamlformat-lib.0.27.0/opam | 68 ++++++++++++++++++++++
.../ocamlformat-rpc-lib.0.27.0/opam | 49 ++++++++++++++++
packages/ocamlformat/ocamlformat.0.27.0/opam | 59 +++++++++++++++++++
3 files changed, 176 insertions(+)
create mode 100644 packages/ocamlformat-lib/ocamlformat-lib.0.27.0/opam
create mode 100644 packages/ocamlformat-rpc-lib/ocamlformat-rpc-lib.0.27.0/opam
create mode 100644 packages/ocamlformat/ocamlformat.0.27.0/opam
(from ocaml/opam:debian-12-ocaml-4.14@sha256:2ab88f80e86ed2592e1bd807748a45de056041c513e9494d49f5bc9cd585bafc)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:2ab88f80e86ed2592e1bd807748a45de056041c513e9494d49f5bc9cd585bafc' locally
docker.io/ocaml/opam@sha256:2ab88f80e86ed2592e1bd807748a45de056041c513e9494d49f5bc9cd585bafc: Pulling from ocaml/opam
Digest: sha256:2ab88f80e86ed2592e1bd807748a45de056041c513e9494d49f5bc9cd585bafc
Status: Downloaded newer image for ocaml/opam@sha256:2ab88f80e86ed2592e1bd807748a45de056041c513e9494d49f5bc9cd585bafc
2024-11-29 15:28.55 ---> using "53a58a67943bf27ed72715c6fc83a56df9471a75d88d566f2662b9dc26d4a0bf" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-11-29 15:28.55 ---> using "71de69ddf5db3445f5652c9a1dca73accdcd7071d2a08d6303f7d88642863364" 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
[NOTE] The 'jobs' option was reset, its value was 79 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=79 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-11-29 15:28.55 ---> using "240ab625f68b6bb0f35ccf7c5899d12cbc5ae27765bdad894f9bf21cfba78eee" from cache
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-49-generic
The OCaml toplevel, version 4.14.2
2.4.0~alpha1~dev
2024-11-29 15:28.55 ---> using "07fc3e36eedeba102976d6ab0ad53bc003f61036c27f8e6e35c8d3b369e880ef" from cache
/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-29 15:28.55 ---> using "5cb0c86d7799fef4531d8379f345ce7771c9cf07082332347100ee30162369a6" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2024-11-29 15:29.40 ---> saved as "c2b976ae3262b9067a3f4896a3fa0a1197d609eeea26d9567d3c92e9e3a53ef3"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-29 15:32.01 ---> saved as "ddf7b8b7a8a8779bedbb20a012a112ebe0f93f1c6806e333984c01b21cff1df3"
/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 arm64 Packages.diff/Index [12.8 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main arm64 Packages T-2024-11-27-1405.46-F-2024-11-27-1405.46.pdiff [435 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main arm64 Packages T-2024-11-27-1405.46-F-2024-11-27-1405.46.pdiff [435 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [203 kB]
- Fetched 319 kB in 6s (53.7 kB/s)
- Reading package lists...
-
2024-11-29 15:32.45 ---> saved as "2ac918a6810112b8c7aa4750e598f355d40ebf50296a01a3fb354451e57d32b9"
/home/opam: (run (shell "opam pin add -k version -yn ocamlformat-rpc-lib.0.27.0 0.27.0"))
ocamlformat-rpc-lib is now pinned to version 0.27.0
2024-11-29 15:32.48 ---> saved as "1d5b7cc2e089b5f5bdabe13d2207ac2ff4359024bdd412f4234b62580a9db551"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlformat-rpc-lib.0.27.0;\
\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\" != 'ocamlformat-rpc-lib.0.27.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocamlformat-rpc-lib.0.27.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 3 packages
- install csexp 1.5.2 [required by ocamlformat-rpc-lib]
- install dune 3.17.0 [required by ocamlformat-rpc-lib]
- install ocamlformat-rpc-lib 0.27.0 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.17.0 (cached)
-> retrieved ocamlformat-rpc-lib.0.27.0 (https://github.com/ocaml-ppx/ocamlformat/releases/download/0.27.0/ocamlformat-0.27.0.tbz)
-> installed dune.3.17.0
-> installed csexp.1.5.2
-> installed ocamlformat-rpc-lib.0.27.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-29 15:35.37 ---> saved as "cb3a1b28d1c1166046aab3a44d713d75ebb9036c53d8fd6ae553b95957b6cddb"
Job succeeded
2024-11-29 15:36.11: Job succeeded