Organisationshannesmmirage-cryptof794fa (master)debian-13-4.14_riscv64_opam-2.5

debian-13-4.14_riscv64_opam-2.5

Link Copied
Code Copied

Logs

2026-01-13 21:27.28: New job: test hannesm/mirage-crypto https://github.com/hannesm/mirage-crypto.git#refs/heads/master (f794fab91bc9665844fba6d5d8229183038ac1ec) (linux-riscv64:debian-13-4.14_riscv64_opam-2.5)
Base: ocaml/opam:debian-13-ocaml-4.14@sha256:4e913c9f11762beddd6d0f2fba298f49fdc83a3885157d727a3154ae02b65a38
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/hannesm/mirage-crypto.git" -b "master" && cd "mirage-crypto" && git reset --hard f794fab9
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:4e913c9f11762beddd6d0f2fba298f49fdc83a3885157d727a3154ae02b65a38
# debian-13-4.14_riscv64_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-crypto.opam mirage-crypto-rng.opam mirage-crypto-pk.opam mirage-crypto-entropy.opam ./
RUN opam pin add -yn mirage-crypto.dev './' && \
opam pin add -yn mirage-crypto-rng.dev './' && \
opam pin add -yn mirage-crypto-pk.dev './' && \
opam pin add -yn mirage-crypto-entropy.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 cpuid.0.1.2 csexp.1.5.2 cstruct.6.2.0 dune.3.20.2 dune-configurator.3.20.2 eqaf.0.10 fmt.0.11.0 mirage-no-solo5.1 mirage-no-xen.1 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ounit.2.2.7 ounit2.2.2.7 parsexp.v0.16.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 randomconv.0.2.0 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.1 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y mirage-crypto.dev mirage-crypto-rng.dev mirage-crypto-pk.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=mirage-crypto,mirage-crypto-rng,mirage-crypto-pk @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2026-01-13 21:27.28: Using cache hint "hannesm/mirage-crypto-ocaml/opam:debian-13-ocaml-4.14@sha256:4e913c9f11762beddd6d0f2fba298f49fdc83a3885157d727a3154ae02b65a38-debian-13-4.14_riscv64_opam-2.5-f0a2d12c10503098783af899eacb13fd"
2026-01-13 21:27.28: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:4e913c9f11762beddd6d0f2fba298f49fdc83a3885157d727a3154ae02b65a38)
(comment debian-13-4.14_riscv64_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mirage-crypto.opam mirage-crypto-rng.opam mirage-crypto-pk.opam mirage-crypto-entropy.opam)
(dst ./))
(run (network host)
(shell  "opam pin add -yn mirage-crypto.dev './' && \
\nopam pin add -yn mirage-crypto-rng.dev './' && \
\nopam pin add -yn mirage-crypto-pk.dev './' && \
\nopam pin add -yn mirage-crypto-entropy.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 cpuid.0.1.2 csexp.1.5.2 cstruct.6.2.0 dune.3.20.2 dune-configurator.3.20.2 eqaf.0.10 fmt.0.11.0 mirage-no-solo5.1 mirage-no-xen.1 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ounit.2.2.7 ounit2.2.2.7 parsexp.v0.16.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 randomconv.0.2.0 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.1 zarith.1.14")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y mirage-crypto.dev mirage-crypto-rng.dev mirage-crypto-pk.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build --only-packages=mirage-crypto,mirage-crypto-rng,mirage-crypto-pk @install @check @runtest && rm -rf _build"))
)


2026-01-13 21:27.28: Waiting for resource in pool OCluster
2026-01-14 05:17.49: Waiting for worker…
2026-01-14 14:38.37: Got resource from pool OCluster
Building on riscv-bm-02.sw.ci.dev
All commits already cached
HEAD is now at f794fab [ci skip] changes 0.6.2


(from ocaml/opam:debian-13-ocaml-4.14@sha256:4e913c9f11762beddd6d0f2fba298f49fdc83a3885157d727a3154ae02b65a38)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:4e913c9f11762beddd6d0f2fba298f49fdc83a3885157d727a3154ae02b65a38' locally
docker.io/ocaml/opam@sha256:4e913c9f11762beddd6d0f2fba298f49fdc83a3885157d727a3154ae02b65a38: Pulling from ocaml/opam
aaf3ef12aa0c: Already exists
96d22f83ba6b: Pulling fs layer
c75a1c01218a: Pulling fs layer
6aeff9a681bc: Pulling fs layer
7bdcb6a78337: Pulling fs layer
06e94a6ac0b4: Pulling fs layer
91ab344090f9: Pulling fs layer
e06eb7428592: Pulling fs layer
bc41201c53e8: Pulling fs layer
8c2720823a27: Pulling fs layer
7e57be28bdc0: Pulling fs layer
e64d76dc6d04: Pulling fs layer
9fb91169a7c5: Pulling fs layer
0b3abd6cbe07: Pulling fs layer
d6374a1a7529: Pulling fs layer
ca9b145f9f1a: Pulling fs layer
9dc4e5474f8a: Pulling fs layer
51d56586575a: Pulling fs layer
280a1ccd20fe: Pulling fs layer
0edc9564d893: Pulling fs layer
7729db7c00a0: Pulling fs layer
4f4fb700ef54: Pulling fs layer
70944c4805e2: Pulling fs layer
e9609dd36ad2: Pulling fs layer
b0461a8a3dca: Pulling fs layer
b889fb726722: Pulling fs layer
a4fab0d74c01: Pulling fs layer
ca9b145f9f1a: Waiting
9dc4e5474f8a: Waiting
51d56586575a: Waiting
280a1ccd20fe: Waiting
0edc9564d893: Waiting
7729db7c00a0: Waiting
4f4fb700ef54: Waiting
70944c4805e2: Waiting
e9609dd36ad2: Waiting
003899a7cfec: Pulling fs layer
4ab6237982aa: Pulling fs layer
9cd05a0f1186: Pulling fs layer
c77c5bdae8ea: Pulling fs layer
2fc2ca27c0f4: Pulling fs layer
1854d7b664c0: Pulling fs layer
e190b3dab5e0: Pulling fs layer
c87e25bde380: Pulling fs layer
8a9f2b8b68ca: Pulling fs layer
6330494316a1: Pulling fs layer
3242f5256156: Pulling fs layer
aa2e02fcae7f: Pulling fs layer
573f1094743d: Pulling fs layer
705a0f6448ba: Pulling fs layer
b781684cad65: Pulling fs layer
a5cde32980ff: Pulling fs layer
c89e414e923e: Pulling fs layer
b0461a8a3dca: Waiting
b889fb726722: Waiting
7bdcb6a78337: Waiting
06e94a6ac0b4: Waiting
91ab344090f9: Waiting
e06eb7428592: Waiting
bc41201c53e8: Waiting
8c2720823a27: Waiting
7e57be28bdc0: Waiting
e64d76dc6d04: Waiting
9fb91169a7c5: Waiting
0b3abd6cbe07: Waiting
d6374a1a7529: Waiting
a4fab0d74c01: Waiting
003899a7cfec: Waiting
4ab6237982aa: Waiting
9cd05a0f1186: Waiting
c77c5bdae8ea: Waiting
2fc2ca27c0f4: Waiting
1854d7b664c0: Waiting
e190b3dab5e0: Waiting
c87e25bde380: Waiting
8a9f2b8b68ca: Waiting
6330494316a1: Waiting
3242f5256156: Waiting
aa2e02fcae7f: Waiting
573f1094743d: Waiting
705a0f6448ba: Waiting
b781684cad65: Waiting
a5cde32980ff: Waiting
c89e414e923e: Waiting
96d22f83ba6b: Download complete
c75a1c01218a: Verifying Checksum
c75a1c01218a: Download complete
96d22f83ba6b: Pull complete
c75a1c01218a: Pull complete
7bdcb6a78337: Download complete
6aeff9a681bc: Verifying Checksum
6aeff9a681bc: Download complete
6aeff9a681bc: Pull complete
7bdcb6a78337: Pull complete
e06eb7428592: Verifying Checksum
e06eb7428592: Download complete
91ab344090f9: Verifying Checksum
91ab344090f9: Download complete
bc41201c53e8: Verifying Checksum
bc41201c53e8: Download complete
8c2720823a27: Verifying Checksum
8c2720823a27: Download complete
7e57be28bdc0: Verifying Checksum
7e57be28bdc0: Download complete
e64d76dc6d04: Verifying Checksum
e64d76dc6d04: Download complete
9fb91169a7c5: Verifying Checksum
9fb91169a7c5: Download complete
0b3abd6cbe07: Verifying Checksum
0b3abd6cbe07: Download complete
d6374a1a7529: Verifying Checksum
d6374a1a7529: Download complete
ca9b145f9f1a: Verifying Checksum
ca9b145f9f1a: Download complete
9dc4e5474f8a: Verifying Checksum
9dc4e5474f8a: Download complete
51d56586575a: Verifying Checksum
51d56586575a: Download complete
280a1ccd20fe: Verifying Checksum
280a1ccd20fe: Download complete
7729db7c00a0: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
0edc9564d893: Verifying Checksum
0edc9564d893: Download complete
70944c4805e2: Verifying Checksum
70944c4805e2: Download complete
e9609dd36ad2: Download complete
b889fb726722: Verifying Checksum
b889fb726722: Download complete
06e94a6ac0b4: Verifying Checksum
06e94a6ac0b4: Download complete
a4fab0d74c01: Verifying Checksum
a4fab0d74c01: Download complete
003899a7cfec: Verifying Checksum
003899a7cfec: Download complete
4ab6237982aa: Verifying Checksum
4ab6237982aa: Download complete
9cd05a0f1186: Verifying Checksum
9cd05a0f1186: Download complete
b0461a8a3dca: Verifying Checksum
b0461a8a3dca: Download complete
c77c5bdae8ea: Verifying Checksum
c77c5bdae8ea: Download complete
2fc2ca27c0f4: Verifying Checksum
2fc2ca27c0f4: Download complete
1854d7b664c0: Verifying Checksum
1854d7b664c0: Download complete
e190b3dab5e0: Verifying Checksum
e190b3dab5e0: Download complete
8a9f2b8b68ca: Download complete
3242f5256156: Verifying Checksum
aa2e02fcae7f: Verifying Checksum
aa2e02fcae7f: Download complete
573f1094743d: Download complete
6330494316a1: Verifying Checksum
6330494316a1: Download complete
b781684cad65: Verifying Checksum
b781684cad65: Download complete
a5cde32980ff: Verifying Checksum
a5cde32980ff: Download complete
c89e414e923e: Verifying Checksum
c89e414e923e: Download complete
705a0f6448ba: Verifying Checksum
705a0f6448ba: Download complete
c87e25bde380: Verifying Checksum
c87e25bde380: Download complete
06e94a6ac0b4: Pull complete
91ab344090f9: Pull complete
e06eb7428592: Pull complete
bc41201c53e8: Pull complete
8c2720823a27: Pull complete
7e57be28bdc0: Pull complete
e64d76dc6d04: Pull complete
9fb91169a7c5: Pull complete
0b3abd6cbe07: Pull complete
d6374a1a7529: Pull complete
ca9b145f9f1a: Pull complete
9dc4e5474f8a: Pull complete
51d56586575a: Pull complete
280a1ccd20fe: Pull complete
0edc9564d893: Pull complete
7729db7c00a0: Pull complete
4f4fb700ef54: Pull complete
70944c4805e2: Pull complete
e9609dd36ad2: Pull complete
b0461a8a3dca: Pull complete
b889fb726722: Pull complete
a4fab0d74c01: Pull complete
003899a7cfec: Pull complete
4ab6237982aa: Pull complete
9cd05a0f1186: Pull complete
c77c5bdae8ea: Pull complete
2fc2ca27c0f4: Pull complete
1854d7b664c0: Pull complete
e190b3dab5e0: Pull complete
c87e25bde380: Pull complete
8a9f2b8b68ca: Pull complete
6330494316a1: Pull complete
3242f5256156: Pull complete
aa2e02fcae7f: Pull complete
573f1094743d: Pull complete
705a0f6448ba: Pull complete
b781684cad65: Pull complete
a5cde32980ff: Pull complete
c89e414e923e: Pull complete
Digest: sha256:4e913c9f11762beddd6d0f2fba298f49fdc83a3885157d727a3154ae02b65a38
Status: Downloaded newer image for ocaml/opam@sha256:4e913c9f11762beddd6d0f2fba298f49fdc83a3885157d727a3154ae02b65a38
2026-01-14 14:38.37 ---> using "f1a00875660a94745f9138aa43f7660587c0e6aaae220b636433064dbda2332d" from cache


/: (comment debian-13-4.14_riscv64_opam-2.5)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-01-14 14:38.37 ---> using "25bdb2d61a9b2af2ac1a18220313e901131257e552bd23940b1fd4b151ae1011" from cache


/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then 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
2026-01-14 14:38.37 ---> using "97ca85866698c8f3fd2797f2aff991e0dd9be607bf2a65dc42755bb4cd4a78c1" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.10.113-scw1
The OCaml toplevel, version 4.14.2
2.5.0
2026-01-14 14:38.37 ---> using "09ffd6711c0396e96988415eabfab38e156be4082324d52d6afca1094d258014" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-01-14 14:38.37 ---> using "b9ef6b1b47c669a34389b9339cd59c9857f6e0962588b76f2699af2568d1f660" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c65fcb116531ae66ad3316b265e233443ef25044 || git fetch origin master) && git reset -q --hard c65fcb116531ae66ad3316b265e233443ef25044 && git log --no-decorate -n1 --oneline && opam update -u"))
c65fcb1165 Merge pull request #29080 from dra27/ocaml-config-urls


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.4.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-01-14 14:38.37 ---> using "77d601085e5f6ee682a6ce87b43e8a97c62f1b027b0a0754d3908847bb96a76f" from cache


/src: (copy (src mirage-crypto.opam mirage-crypto-rng.opam mirage-crypto-pk.opam mirage-crypto-entropy.opam)
(dst ./))
2026-01-14 14:38.38 ---> saved as "7b5f68b4df0873bfe9bbd95de44ebe4e51a56096d0e97860b51e9db57c548441"


/src: (run (network host)
(shell  "opam pin add -yn mirage-crypto.dev './' && \
\nopam pin add -yn mirage-crypto-rng.dev './' && \
\nopam pin add -yn mirage-crypto-pk.dev './' && \
\nopam pin add -yn mirage-crypto-entropy.dev './'"))
[mirage-crypto.dev] synchronised (file:///src)
mirage-crypto is now pinned to file:///src (version dev)
[mirage-crypto-rng.dev] synchronised (file:///src)
mirage-crypto-rng is now pinned to file:///src (version dev)
[mirage-crypto-pk.dev] synchronised (file:///src)
mirage-crypto-pk is now pinned to file:///src (version dev)
[NOTE] Package mirage-crypto-entropy does not exist in opam repositories registered in the current switch.
[mirage-crypto-entropy.dev] synchronised (file:///src)
[WARNING] Failed checks on mirage-crypto-entropy package definition from source at file:///src:
warning 62: License doesn't adhere to the SPDX standard, see https://spdx.org/licenses/ : "BSD2"
mirage-crypto-entropy is now pinned to file:///src (version dev)
2026-01-14 14:39.06 ---> saved as "ecdc3d82b87f207cca46da3cfb558a927bdcc2f31a44cf7b7ea4cef033f013e4"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-14 14:39.07 ---> saved as "c2a9de94f76b5b7d489c60c6b5d29d0b7b627b1f5758543c296f46833ba3b139"


/src: (env DEPS "base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 cpuid.0.1.2 csexp.1.5.2 cstruct.6.2.0 dune.3.20.2 dune-configurator.3.20.2 eqaf.0.10 fmt.0.11.0 mirage-no-solo5.1 mirage-no-xen.1 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ounit.2.2.7 ounit2.2.2.7 parsexp.v0.16.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 randomconv.0.2.0 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.1.1 zarith.1.14")


/src: (env CI true)


/src: (env OCAMLCI true)


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y mirage-crypto.dev mirage-crypto-rng.dev mirage-crypto-pk.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian trixie/main riscv64 Packages [9379 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main riscv64 Packages [88.3 kB]
- Fetched 9698 kB in 5s (1922 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-crypto.dev] synchronised (file:///src)
[mirage-crypto-pk.dev] synchronised (file:///src)
[mirage-crypto-rng.dev] synchronised (file:///src)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).


The following system packages will first need to be installed:
libgmp-dev pkg-config


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "pkg-config"
- Selecting previously unselected package libgmpxx4ldbl:riscv64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20700 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.3.0+dfsg-3_riscv64.deb ...
- Unpacking libgmpxx4ldbl:riscv64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libgmp-dev:riscv64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.3.0+dfsg-3_riscv64.deb ...
- Unpacking libgmp-dev:riscv64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libpkgconf3:riscv64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4_riscv64.deb ...
- Unpacking libpkgconf3:riscv64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-4_riscv64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:riscv64.
- Preparing to unpack .../4-pkgconf_1.8.1-4_riscv64.deb ...
- Unpacking pkgconf:riscv64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:riscv64.
- Preparing to unpack .../5-pkg-config_1.8.1-4_riscv64.deb ...
- Unpacking pkg-config:riscv64 (1.8.1-4) ...
- Setting up libpkgconf3:riscv64 (1.8.1-4) ...
- Setting up libgmpxx4ldbl:riscv64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libgmp-dev:riscv64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf:riscv64 (1.8.1-4) ...
- Setting up pkg-config:riscv64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12) ...
# To update the current shell environment, run: eval $(opam env)
2026-01-14 14:40.11 ---> saved as "65e799ebdf18e7217c8eaca5a1fbc17d572228e205e8be00f2f9da11d06b1b5e"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 34 packages
- install base                v0.16.4
- install base-bytes          base
- install conf-gmp            5
- install conf-gmp-powm-sec   4
- install conf-pkg-config     4
- install cppo                1.8.0
- install cpuid               0.1.2
- install csexp               1.5.2
- install cstruct             6.2.0
- install dune                3.20.2
- install dune-configurator   3.20.2
- install eqaf                0.10
- install fmt                 0.11.0
- install mirage-no-solo5     1 (deprecated)
- install mirage-no-xen       1 (deprecated)
- install num                 1.6
- install ocaml-compiler-libs v0.12.4
- install ocamlbuild          0.16.1
- install ocamlfind           1.9.8
- install ocplib-endian       1.2
- install ounit               2.2.7
- install ounit2              2.2.7
- install parsexp             v0.16.0
- install ppx_derivers        1.2.1
- install ppx_sexp_conv       v0.16.0
- install ppxlib              0.35.0
- install randomconv          0.2.0
- install rresult             0.7.0
- install seq                 base
- install sexplib             v0.16.0
- install sexplib0            v0.16.0
- install stdlib-shims        0.3.0
- install topkg               1.1.1
- install zarith              1.14


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> retrieved base.v0.16.4  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved cpuid.0.1.2  (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> installed conf-gmp-powm-sec.4
-> retrieved eqaf.0.10  (cached)
-> installed mirage-no-solo5.1
-> installed mirage-no-xen.1
-> retrieved fmt.0.11.0  (cached)
-> retrieved num.1.6  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ounit.2.2.7, ounit2.2.2.7  (cached)
-> retrieved parsexp.v0.16.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.16.0  (cached)
-> retrieved randomconv.0.2.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved seq.base  (cached)
-> retrieved sexplib.v0.16.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved zarith.1.14  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed num.1.6
-> installed ocamlbuild.0.16.1
-> installed seq.base
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed zarith.1.14
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed fmt.0.11.0
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed cpuid.0.1.2
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed eqaf.0.10
-> installed ocplib-endian.1.2
-> installed ppx_derivers.1.2.1
-> installed randomconv.0.2.0
-> installed dune-configurator.3.20.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.16.0
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed parsexp.v0.16.0
-> installed sexplib.v0.16.0
-> installed base.v0.16.4
-> installed ppxlib.0.35.0
-> installed ppx_sexp_conv.v0.16.0
Done.


<><> mirage-no-xen.1 installed successfully <><><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.


<><> mirage-no-solo5.1 installed successfully <><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2026-01-14 14:48.21 ---> saved as "25af15df50a9960e22a46da60edbf4cecdea5ca3b83c96c570f58bc7bed93953"


/src: (copy (src .) (dst /src))
2026-01-14 14:48.22 ---> saved as "7dcc3c4d19a01baf4970f5764e5a2b813ee798df7b6a2db4b511d7dce858ebbc"


/src: (run (shell "opam exec -- dune build --only-packages=mirage-crypto,mirage-crypto-rng,mirage-crypto-pk @install @check @runtest && rm -rf _build"))
File "pk/dune", line 4, characters 68-80:
4 |   (libraries cstruct zarith mirage-crypto mirage-crypto-rng sexplib eqaf.cstruct rresult)
^^^^^^^^^^^^
Error: Library "eqaf.cstruct" not found.
-> required by library "mirage-crypto-pk" in _build/default/pk
-> required by executable test_pk_runner in tests/dune:25
-> required by _build/default/tests/test_pk_runner.exe
-> required by alias tests/runtest-test_pk_runner in tests/dune:25
-> required by alias tests/runtest
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ocplib-endian -no-alias-deps -opaque -open Mirage_crypto__ -o src/.mirage_crypto.objs/byte/mirage_crypto__Uncommon.cmo -c -impl src/uncommon.ml)
File "src/uncommon.ml", line 59, characters 17-20:
59 |     go None off (len cs - off)
^^^
Error: Unbound value len
Hint: Did you mean lenv?
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I rng/.mirage_crypto_rng.objs/byte -I rng/.mirage_crypto_rng.objs/public_cmi -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ocplib-endian -I src/.mirage_crypto.objs/public_cmi -no-alias-deps -opaque -open Mirage_crypto_rng__ -o rng/.mirage_crypto_rng.objs/byte/mirage_crypto_rng__Fortuna.cmo -c -impl rng/fortuna.ml)
File "rng/fortuna.ml", line 99, characters 40-51:
99 |     let header = Cs.of_bytes [ source ; Cstruct.len data ] in
^^^^^^^^^^^
Error: Unbound value Cstruct.len
Hint: Did you mean lenv?
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I tests/.test_common_random.objs/byte -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/randomconv -I rng/.mirage_crypto_rng.objs/public_cmi -I src/.mirage_crypto.objs/public_cmi -no-alias-deps -opaque -o tests/.test_common_random.objs/byte/test_common_random.cmo -c -impl tests/test_common_random.ml)
File "tests/test_common_random.ml", line 2, characters 52-78:
2 |   let ix = Randomconv.int ~bound:(Array.length arr) Mirage_crypto_rng.generate in
^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: This expression has type int -> Cstruct.t
but an expression was expected of type int -> string
Type Cstruct.t is not compatible with type string
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I tests/.test_common.objs/byte -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/oUnit -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ounit2 -I /home/opam/.opam/4.14/lib/ounit2/advanced -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/.mirage_crypto.objs/public_cmi -no-alias-deps -opaque -o tests/.test_common.objs/byte/test_common.cmo -c -impl tests/test_common.ml)
File "tests/test_common.ml", line 9, characters 5-8:
9 |   if len cs <= n then [ cs ]
^^^
Error: Unbound value len
Hint: Did you mean lenv?
File "src/dune", line 10, characters 11-28:
10 |            entropy_cpu_stubs)
^^^^^^^^^^^^^^^^^
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 --std=c99 -Wall -Wextra -Wpedantic -O3 -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ocplib-endian -o entropy_cpu_stubs.o -c native/entropy_cpu_stubs.c)
native/entropy_cpu_stubs.c: In function 'caml_cycle_counter':
native/entropy_cpu_stubs.c:104:2: error: #error ("No known cycle-counting instruction.")
104 | #error ("No known cycle-counting instruction.")
|  ^~~~~
native/entropy_cpu_stubs.c:106:1: warning: control reaches end of non-void function [-Wreturn-type]
106 | }
| ^
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 --std=c99 -Wall -Wextra -Wpedantic -O3 -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ocplib-endian -o des_generic.o -c native/des_generic.c)
native/des_generic.c:404:31: warning: argument 1 of type 'unsigned char[16]' with mismatched bound [-Warray-parameter=]
404 | void mc_des2key(unsigned char hexkey[16], short mode) /* stomps on Kn3 too */
|                 ~~~~~~~~~~~~~~^~~~~~~~~~
In file included from native/des_generic.c:19:
native/des_generic.h:67:24: note: previously declared as 'unsigned char *'
67 | extern void mc_des2key(unsigned char *, short);
|                        ^~~~~~~~~~~~~~~
native/des_generic.c:536:31: warning: argument 1 of type 'unsigned char[24]' with mismatched bound [-Warray-parameter=]
536 | void mc_des3key(unsigned char hexkey[24], short mode)
|                 ~~~~~~~~~~~~~~^~~~~~~~~~
native/des_generic.h:126:24: note: previously declared as 'unsigned char *'
126 | extern void mc_des3key(unsigned char *, short);
|                        ^~~~~~~~~~~~~~~
"/usr/bin/env" "bash" "-c" "opam exec -- dune build --only-packages=mirage-crypto,mirage-crypto-rng,mirage-crypto-pk @install @check @runtest && rm -rf _build" failed with exit status 1
2026-01-14 14:48.41: Job failed: Failed: Build failed