- github
- ocaml
- opam-repository
- 65f044
- distributions,archlinux-ocaml-4.14,lwt.5.9.1
(not at the head of any monitored branch or PR)
2025-03-07 09:42.09: New job: build lwt.5.9.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27583/head (65f0444f860f151e52fa62d523ffefb662b20944)
on archlinux-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/27583/head" && git reset --hard 65f0444f
git fetch origin master
git merge --no-edit 862a7640b194b6ef60dc2d24341920e48dd021fe
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:archlinux-ocaml-4.14@sha256:11c1c183af2b65d43cada6a2013648dd594d6aa5650eef26534e08d0f782dd96
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 lwt.5.9.1 5.9.1
RUN opam reinstall lwt.5.9.1; \
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 "\"archlinux\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'lwt.5.9.1' && 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-03-07 09:42.09: Using cache hint "ocaml/opam:archlinux-ocaml-4.14@sha256:11c1c183af2b65d43cada6a2013648dd594d6aa5650eef26534e08d0f782dd96-lwt.5.9.1-65f0444f860f151e52fa62d523ffefb662b20944"
2025-03-07 09:42.09: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-4.14@sha256:11c1c183af2b65d43cada6a2013648dd594d6aa5650eef26534e08d0f782dd96)
(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 lwt.5.9.1 5.9.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall lwt.5.9.1;\
\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 \"\\\"archlinux\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'lwt.5.9.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-03-07 09:42.09: Waiting for resource in pool OCluster
2025-03-07 09:42.10: Waiting for worker…
2025-03-07 09:45.13: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
All commits already cached
Updating files: 95% (21635/22600)
Updating files: 96% (21696/22600)
Updating files: 97% (21922/22600)
Updating files: 98% (22148/22600)
Updating files: 99% (22374/22600)
Updating files: 100% (22600/22600)
Updating files: 100% (22600/22600), done.
HEAD is now at 862a7640b1 Merge pull request #27578 from kit-ty-kate/patch-3.0-revdeps
Updating 862a7640b1..65f0444f86
Fast-forward
packages/lwt/lwt.5.9.1/opam | 63 +++++++++++++++++++++++++++++++++++++
packages/lwt_ppx/lwt_ppx.5.9.1/opam | 42 +++++++++++++++++++++++++
2 files changed, 105 insertions(+)
create mode 100644 packages/lwt/lwt.5.9.1/opam
create mode 100644 packages/lwt_ppx/lwt_ppx.5.9.1/opam
(from ocaml/opam:archlinux-ocaml-4.14@sha256:11c1c183af2b65d43cada6a2013648dd594d6aa5650eef26534e08d0f782dd96)
Unable to find image 'ocaml/opam:archlinux-ocaml-4.14@sha256:11c1c183af2b65d43cada6a2013648dd594d6aa5650eef26534e08d0f782dd96' locally
docker.io/ocaml/opam@sha256:11c1c183af2b65d43cada6a2013648dd594d6aa5650eef26534e08d0f782dd96: Pulling from ocaml/opam
5c721b676063: Pulling fs layer
5c721b676063: Verifying Checksum
5c721b676063: Download complete
5c721b676063: Pull complete
Digest: sha256:11c1c183af2b65d43cada6a2013648dd594d6aa5650eef26534e08d0f782dd96
Status: Downloaded newer image for ocaml/opam@sha256:11c1c183af2b65d43cada6a2013648dd594d6aa5650eef26534e08d0f782dd96
2025-03-07 09:46.58 ---> saved as "0dc9ddaa0b9a1348315d174f4694719d00de1eccd9cdc2634c19dde1f7fcad4b"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-03-07 09:46.58 ---> saved as "e0e7005cb4e3d411dde8dc7f52ae089cd957c23f387ad9181d3c18fc36eb37ba"
/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] no changes from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-03-07 09:48.17 ---> saved as "a342df30ac1dfb17b38600c2d1462c93995090ebdce7235ecd87241a1143ebb5"
/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.4.0~alpha1~dev (892e12616f8e383e79c0e370c6f17f9d52aa8fa1)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=arch os-version=20250223.0.312761
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 31
# repositories 1 (local), 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# 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-03-07 09:48.18 ---> saved as "e574faf335bbc67269586f190234c8e9e27ede75d1139ec7615be136e022817e"
/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-03-07 09:48.24 ---> saved as "67b85abc916a0bdf08121319bd39f93981e54d163f0c7bda8429dacd1cb62d38"
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-07 09:48.31 ---> saved as "b49293e211f2102af21b69a7ff575062978b8a5fe31057bab9edc3407aee99a3"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-07 09:49.19 ---> saved as "12b4fb4fb5b359536a856f4ce462f76a603d47eba2cd6f6e3dd0473ea481ec5d"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
- core downloading...
- extra downloading...
2025-03-07 09:49.22 ---> saved as "3d0d9a1882dbf674c7a0dea3ef1dad3ac70d4285d51f41ee4626dec7da42903e"
/home/opam: (run (shell "opam pin add -k version -yn lwt.5.9.1 5.9.1"))
lwt is now pinned to version 5.9.1
2025-03-07 09:49.23 ---> saved as "fadd76489f98a477ca288c0ac03faf7d9eeb0ca86224cd909a0d473d794f2fd5"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall lwt.5.9.1;\
\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 \"\\\"archlinux\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'lwt.5.9.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
lwt.5.9.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 8 packages
∗ base-bytes base [required by ocplib-endian]
∗ cppo 1.8.0 [required by lwt]
∗ csexp 1.5.2 [required by dune-configurator]
∗ dune 3.17.2 [required by lwt]
∗ dune-configurator 3.17.2 [required by lwt]
∗ lwt 5.9.1 (pinned)
∗ ocamlfind 1.9.8 [required by base-bytes]
∗ ocplib-endian 1.2 [required by lwt]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved cppo.1.8.0 (cached)
⬇ retrieved csexp.1.5.2 (cached)
⬇ retrieved dune.3.17.2, dune-configurator.3.17.2 (cached)
⬇ retrieved lwt.5.9.1 (cached)
⬇ retrieved ocamlfind.1.9.8 (cached)
⬇ retrieved ocplib-endian.1.2 (cached)
∗ installed ocamlfind.1.9.8
∗ installed base-bytes.base
∗ installed dune.3.17.2
∗ installed csexp.1.5.2
∗ installed cppo.1.8.0
∗ installed ocplib-endian.1.2
∗ installed dune-configurator.3.17.2
∗ installed lwt.5.9.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-07 09:50.17 ---> saved as "2c32b2ec614aacb5e04843dadd8eb79a33d2aaf09855fa1a9e9ad261f1460919"
Job succeeded
2025-03-07 09:50.21: Job succeeded