- github
- ocaml
- opam-repository
- 894535
- extras,opam-2.0-ocaml-4.14,mirage-crypto-rng-miou-unix.2.0.2
(not at the head of any monitored branch or PR)
2025-08-22 08:35.55: New job: build mirage-crypto-rng-miou-unix.2.0.2, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/28382/head (8945350a625968bb53e2ea5eb75fb5fc600556eb)
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/28382/head" && git reset --hard 8945350a
git fetch origin master
git merge --no-edit 4bae7ec4df49df4454ea492c8d7a1196aeae04e0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:30169b3ce5a84172c049cfc64621b66e9a02a7b0431076f872278354c85107fe
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn mirage-crypto-rng-miou-unix.2.0.2 2.0.2
RUN opam depext mirage-crypto-rng-miou-unix.2.0.2 && opam reinstall mirage-crypto-rng-miou-unix.2.0.2; \
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" != 'mirage-crypto-rng-miou-unix.2.0.2' && 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-08-22 08:35.55: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:30169b3ce5a84172c049cfc64621b66e9a02a7b0431076f872278354c85107fe-mirage-crypto-rng-miou-unix.2.0.2-8945350a625968bb53e2ea5eb75fb5fc600556eb"
2025-08-22 08:35.55: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:30169b3ce5a84172c049cfc64621b66e9a02a7b0431076f872278354c85107fe)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "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 depext -u || true"))
(run (shell "opam pin add -k version -yn mirage-crypto-rng-miou-unix.2.0.2 2.0.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext mirage-crypto-rng-miou-unix.2.0.2 && opam reinstall mirage-crypto-rng-miou-unix.2.0.2;\
\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\" != 'mirage-crypto-rng-miou-unix.2.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-08-22 08:35.55: Waiting for resource in pool OCluster
2025-08-22 08:37.58: Waiting for worker…
2025-08-22 08:41.05: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at 4bae7ec4df Merge pull request #28375 from jmid/opam-compiler-re-bounds
Updating 4bae7ec4df..8945350a62
Fast-forward
.../mirage-crypto-ec/mirage-crypto-ec.2.0.2/opam | 62 ++++++++++++++++++++++
.../mirage-crypto-pk/mirage-crypto-pk.2.0.2/opam | 43 +++++++++++++++
.../mirage-crypto-rng-miou-unix.2.0.2/opam | 39 ++++++++++++++
.../mirage-crypto-rng-mirage.2.0.2/opam | 40 ++++++++++++++
.../mirage-crypto-rng/mirage-crypto-rng.2.0.2/opam | 42 +++++++++++++++
packages/mirage-crypto/mirage-crypto.2.0.2/opam | 39 ++++++++++++++
6 files changed, 265 insertions(+)
create mode 100644 packages/mirage-crypto-ec/mirage-crypto-ec.2.0.2/opam
create mode 100644 packages/mirage-crypto-pk/mirage-crypto-pk.2.0.2/opam
create mode 100644 packages/mirage-crypto-rng-miou-unix/mirage-crypto-rng-miou-unix.2.0.2/opam
create mode 100644 packages/mirage-crypto-rng-mirage/mirage-crypto-rng-mirage.2.0.2/opam
create mode 100644 packages/mirage-crypto-rng/mirage-crypto-rng.2.0.2/opam
create mode 100644 packages/mirage-crypto/mirage-crypto.2.0.2/opam
(from ocaml/opam:debian-12-ocaml-4.14@sha256:30169b3ce5a84172c049cfc64621b66e9a02a7b0431076f872278354c85107fe)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:30169b3ce5a84172c049cfc64621b66e9a02a7b0431076f872278354c85107fe' locally
docker.io/ocaml/opam@sha256:30169b3ce5a84172c049cfc64621b66e9a02a7b0431076f872278354c85107fe: Pulling from ocaml/opam
631b88a6c0d8: Already exists
Digest: sha256:30169b3ce5a84172c049cfc64621b66e9a02a7b0431076f872278354c85107fe
Status: Downloaded newer image for ocaml/opam@sha256:30169b3ce5a84172c049cfc64621b66e9a02a7b0431076f872278354c85107fe
2025-08-22 08:41.07 ---> using "537aca729d05de45d9ac09e3b93ccdc5b8c76937ce3b719ce3df0f2d2da0c7bf" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-08-22 08:41.07 ---> saved as "bf4d5fcee75be4f52a20c8aa5d3f2b5106a93893f62a370444abc07184465d9c"
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.
[WARNING] Recommended dependencies -- most packages rely on these:
- m4
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-08-22 08:42.12 ---> saved as "d3770548133774911aafa1061417520c3b1c405686165b021640f0c066429294"
/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version 2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-mccs+glpk
# install-criteria -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria -removed,-count[version-lag,solution],-new
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
2025-08-22 08:42.13 ---> saved as "74c973fb535d757630971e173d6207dd936c213fecae07a816a48efc7358c15a"
/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-08-22 08:42.20 ---> saved as "17e4308f1b3ec43693e4bdf2c646221a480a5d0906637a04b3cf4d62f94274be"
/home/opam: (copy (src .) (dst opam-repository/))
2025-08-22 08:42.32 ---> saved as "5482a409fa7fd796a46a795d43509cf3c026945a814e304cb2b9cd4faebe3870"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-08-22 08:42.45 ---> saved as "a6211c3bd9e977474413cfd1c6c412dd9282ac31330c4beb22e93bb56b65cc64"
/home/opam: (run (network host)
(shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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 [274 kB]
Fetched 378 kB in 0s (1194 kB/s)
Reading package lists...
# OS package update successful
2025-08-22 08:42.47 ---> saved as "f6e1c137ade73b4a877c48df7cd033e112c0624fd64d71bbc5076a6c620066e6"
/home/opam: (run (shell "opam pin add -k version -yn mirage-crypto-rng-miou-unix.2.0.2 2.0.2"))
mirage-crypto-rng-miou-unix is now pinned to version 2.0.2
2025-08-22 08:42.48 ---> saved as "33ea4e79d95ae5f8c32ef6bb7d3fe9889a6717e9ec2913e639e464964d5b651e"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext mirage-crypto-rng-miou-unix.2.0.2 && opam reinstall mirage-crypto-rng-miou-unix.2.0.2;\
\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\" != 'mirage-crypto-rng-miou-unix.2.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
[ERROR] No solution for mirage-crypto-rng-miou-unix.2.0.2: The following dependencies couldn't be met:
- mirage-crypto-rng-miou-unix -> ocaml >= 5.0.0
base of this switch (use `--unlock-base' to force)
Command failed: opam list --readonly --external '--resolve=mirage-crypto-rng-miou-unix.2.0.2' --color=never returned 20
"/usr/bin/env" "bash" "-c" "opam depext mirage-crypto-rng-miou-unix.2.0.2 && opam reinstall mirage-crypto-rng-miou-unix.2.0.2;
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" != 'mirage-crypto-rng-miou-unix.2.0.2' && 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-08-22 08:42.57: Job failed: Failed: Build failed
2025-08-22 08:42.57: Log analysis:
2025-08-22 08:42.57: >>>
[ERROR] No solution for mirage-crypto-rng-miou-unix.2.0.2: The following dependencies couldn't be met:
(score = 100)
2025-08-22 08:42.57: [SKIP] Package not available