- github
- ocaml
- opam-repository
- db50ce
- distributions,ubuntu-24.04-ocaml-5.4,lwt_direct.6.0.0~beta00
(not at the head of any monitored branch or PR)
2025-11-10 11:00.33: New job: build lwt_direct.6.0.0~beta00, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28558/head (db50ce02bd0238ef1431a20de40a98e9f360a8c0)
on ubuntu-24.04-ocaml-5.4/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/28558/head" && git reset --hard db50ce02
git fetch origin master
git merge --no-edit 21f97b2e6d7c617fc0a79cc8e59b2e10690960e1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:56682c3c5912cf2d84f3184292407e82fc235880b2922ba5661e4db967070c2e
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_direct.6.0.0~beta00 6.0.0~beta00
RUN opam reinstall lwt_direct.6.0.0~beta00; \
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 "\"ubuntu-24.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'lwt_direct.6.0.0~beta00' && 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-11-10 11:00.33: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:56682c3c5912cf2d84f3184292407e82fc235880b2922ba5661e4db967070c2e-lwt_direct.6.0.0~beta00-db50ce02bd0238ef1431a20de40a98e9f360a8c0"
2025-11-10 11:00.33: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:56682c3c5912cf2d84f3184292407e82fc235880b2922ba5661e4db967070c2e)
(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_direct.6.0.0~beta00 6.0.0~beta00"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall lwt_direct.6.0.0~beta00;\
\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 \"\\\"ubuntu-24.04\\\"\"; 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_direct.6.0.0~beta00' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-11-10 11:00.33: Waiting for resource in pool OCluster
2025-11-10 11:24.07: Waiting for worker…
2025-11-10 11:29.21: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 21f97b2e6d Merge pull request #28836 from dbuenzli/b0-publish-bytesrw.0.3.0
Merge made by the 'ort' strategy.
packages/lwt/lwt.6.0.0~beta00/opam | 67 ++++++++++++++++++++++++
packages/lwt_direct/lwt_direct.6.0.0~beta00/opam | 42 +++++++++++++++
2 files changed, 109 insertions(+)
create mode 100644 packages/lwt/lwt.6.0.0~beta00/opam
create mode 100644 packages/lwt_direct/lwt_direct.6.0.0~beta00/opam
(from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:56682c3c5912cf2d84f3184292407e82fc235880b2922ba5661e4db967070c2e)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:56682c3c5912cf2d84f3184292407e82fc235880b2922ba5661e4db967070c2e' locally
docker.io/ocaml/opam@sha256:56682c3c5912cf2d84f3184292407e82fc235880b2922ba5661e4db967070c2e: Pulling from ocaml/opam
946c53f269af: Pulling fs layer
fd8935a79a2b: Pulling fs layer
8f2328199b75: Pulling fs layer
d22608d8fad3: Pulling fs layer
605887ba4e9a: Pulling fs layer
923ecc3585ca: Pulling fs layer
9ae994361455: Pulling fs layer
9192b8392654: Pulling fs layer
923ecc3585ca: Waiting
d22608d8fad3: Waiting
9ae994361455: Waiting
605887ba4e9a: Waiting
9192b8392654: Waiting
946c53f269af: Waiting
8f2328199b75: Waiting
946c53f269af: Verifying Checksum
946c53f269af: Download complete
fd8935a79a2b: Download complete
8f2328199b75: Download complete
d22608d8fad3: Verifying Checksum
d22608d8fad3: Download complete
923ecc3585ca: Download complete
9ae994361455: Download complete
9192b8392654: Verifying Checksum
9192b8392654: Download complete
605887ba4e9a: Verifying Checksum
605887ba4e9a: Download complete
946c53f269af: Pull complete
fd8935a79a2b: Pull complete
8f2328199b75: Pull complete
d22608d8fad3: Pull complete
605887ba4e9a: Pull complete
923ecc3585ca: Pull complete
9ae994361455: Pull complete
9192b8392654: Pull complete
Digest: sha256:56682c3c5912cf2d84f3184292407e82fc235880b2922ba5661e4db967070c2e
Status: Downloaded newer image for ocaml/opam@sha256:56682c3c5912cf2d84f3184292407e82fc235880b2922ba5661e4db967070c2e
2025-11-10 11:44.54 ---> using "ee6f1d6ce22ee93aca4f99ca18dac31fa4897330e669f647678dc620eb9153fe" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-11-10 11:44.54 ---> using "3145206f25b32b28b55daff96d533e131aba04fbfe555d6d4e48b3ab82193a7d" 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 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-11-10 11:44.54 ---> using "12b0632391968fc23a0de54149e6f73c4618a28adba7764c78fa20bfa19fe9ae" from cache
/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.5.0~alpha1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=ubuntu os-version=24.04
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2025-11-10 11:44.54 ---> using "4fcf076d92613d46c943404a34511580a0ce9afc9372faacd1e6a14e87ab96d6" from cache
/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-11-10 11:44.54 ---> using "81ddb6a28796ca835f964e9735cf56df0542a672c886c7d0a4aa8c73690fc387" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-10 11:44.55 ---> using "50b212cf18c03e95b9ad2c6718a047e656d907587ab3947c3239777f6875e8c0" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-10 11:44.55 ---> using "3e08ce133e30c5295596b1d7b82af8f08b84218d30813397dd8bd3b67378902e" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Fetched 378 kB in 21s (17.9 kB/s)
- Reading package lists...
-
2025-11-10 11:44.55 ---> using "982215ded569417c5b002b0e2779aa620ae889f82883ea293c7e1c107d587b70" from cache
/home/opam: (run (shell "opam pin add -k version -yn lwt_direct.6.0.0~beta00 6.0.0~beta00"))
lwt_direct is now pinned to version 6.0.0~beta00
2025-11-10 11:44.58 ---> saved as "2947d0bdae60831012a0c486b9432012a983728ed841a46f59873e9f082c0ca0"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall lwt_direct.6.0.0~beta00;\
\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 \"\\\"ubuntu-24.04\\\"\"; 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_direct.6.0.0~beta00' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
lwt_direct.6.0.0~beta00 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 10 packages
- install base-bytes base [required by ocplib-endian]
- install cppo 1.8.0 [required by lwt]
- install csexp 1.5.2 [required by dune-configurator]
- install domain_shims 0.1.0 [required by lwt]
- install dune 3.20.2 [required by lwt_direct]
- install dune-configurator 3.20.2 [required by lwt]
- install lwt 6.0.0~beta00 [required by lwt_direct]
- install lwt_direct 6.0.0~beta00 (pinned)
- install ocamlfind 1.9.8 [required by base-bytes]
- install ocplib-endian 1.2 [required by lwt]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved domain_shims.0.1.0 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> retrieved lwt.6.0.0~beta00, lwt_direct.6.0.0~beta00 (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.20.2
-> installed domain_shims.0.1.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.20.2
-> installed lwt.6.0.0~beta00
-> installed lwt_direct.6.0.0~beta00
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-10 11:45.31 ---> saved as "8055cc041e6c5fd743dd851f5bac9e6b8d37a5d0d1fe4b6611c666b76d85e8a6"
Job succeeded
2025-11-10 11:45.38: Job succeeded