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

debian-13-4.14_riscv64_opam-2.4

Link Copied
Code Copied

Logs

2025-09-16 10:09.15: 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.4)
Base: ocaml/opam:debian-13-ocaml-4.14@sha256:3e42b9c7112f8cd5d660e911bb5dcec54c8082a88cb5320d68bec72910c57d76
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:3e42b9c7112f8cd5d660e911bb5dcec54c8082a88cb5320d68bec72910c57d76
# debian-13-4.14_riscv64_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && 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.0 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --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


2025-09-16 10:09.15: Using cache hint "hannesm/mirage-crypto-ocaml/opam:debian-13-ocaml-4.14@sha256:3e42b9c7112f8cd5d660e911bb5dcec54c8082a88cb5320d68bec72910c57d76-debian-13-4.14_riscv64_opam-2.4-164a9f3b6644b8e545d9199805f7122b"
2025-09-16 10:09.15: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:3e42b9c7112f8cd5d660e911bb5dcec54c8082a88cb5320d68bec72910c57d76)
(comment debian-13-4.14_riscv64_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && 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.0 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.4 --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"))
)


2025-09-16 10:09.15: Waiting for resource in pool OCluster
2025-09-16 10:12.13: Waiting for worker…
2025-09-16 10:14.14: Got resource from pool OCluster
Building on riscv-bm-04.sw.ci.dev
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/mirage-crypto.git-ad10df91ea8c72ccff90733948fe530125f5545d/.git/
HEAD is now at f794fab [ci skip] changes 0.6.2


(from ocaml/opam:debian-13-ocaml-4.14@sha256:3e42b9c7112f8cd5d660e911bb5dcec54c8082a88cb5320d68bec72910c57d76)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:3e42b9c7112f8cd5d660e911bb5dcec54c8082a88cb5320d68bec72910c57d76' locally
docker.io/ocaml/opam@sha256:3e42b9c7112f8cd5d660e911bb5dcec54c8082a88cb5320d68bec72910c57d76: Pulling from ocaml/opam
8f913be5ecad: Already exists
ce31ce67e69b: Already exists
0cf3a7789759: Already exists
9f0c6299278d: Already exists
e94bba55929b: Already exists
fa0712264263: Already exists
2e9048a7b53d: Already exists
9902de28c3f0: Already exists
ff517c358677: Already exists
383f060cda87: Already exists
b7a964b1a83b: Already exists
02ef0fd530dd: Already exists
3cec61b290e9: Already exists
2273bd2c4d4b: Already exists
c04c67aab9ae: Already exists
b43aac5e47f2: Already exists
fa01fc863b11: Already exists
70ce8722af9c: Already exists
d62c11b367a0: Already exists
e28d1e571478: Already exists
e4619c0fdd56: Already exists
4f4fb700ef54: Already exists
2642eb02d1cf: Already exists
17410ed193a2: Already exists
ea4027cf29ff: Already exists
2d1c149b33bc: Already exists
aa1fc2e76ba7: Already exists
198f02c9d8bb: Already exists
f3c530c1395c: Already exists
b4c1f20e76b0: Already exists
dabbe871c8f1: Already exists
07bc2850efcf: Already exists
c44cd4c1c616: Already exists
9bad6d1480ef: Already exists
9139b16fda07: Already exists
ddce8e624d6f: Already exists
cdd44d9ef1e0: Already exists
9745a1b41bc7: Already exists
926c04a38725: Already exists
33c611bdffe3: Already exists
76e001bd7592: Pulling fs layer
8178b30eaed4: Pulling fs layer
d6a58bc7e6eb: Pulling fs layer
e3319bad4d65: Pulling fs layer
e3319bad4d65: Waiting
8178b30eaed4: Download complete
d6a58bc7e6eb: Verifying Checksum
d6a58bc7e6eb: Download complete
e3319bad4d65: Verifying Checksum
76e001bd7592: Verifying Checksum
76e001bd7592: Download complete
76e001bd7592: Pull complete
8178b30eaed4: Pull complete
d6a58bc7e6eb: Pull complete
e3319bad4d65: Pull complete
Digest: sha256:3e42b9c7112f8cd5d660e911bb5dcec54c8082a88cb5320d68bec72910c57d76
Status: Downloaded newer image for ocaml/opam@sha256:3e42b9c7112f8cd5d660e911bb5dcec54c8082a88cb5320d68bec72910c57d76
2025-09-16 10:14.18 ---> using "41e18d919d0b11522f47b39e88e0c9d78c1ffeea6ec60f162564375bd01b80ea" from cache


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


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-16 10:14.18 ---> using "e07d6b530ead7a31dec960643554fb0da046873e8598bf1409f025c2db405708" 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
2025-09-16 10:14.18 ---> using "9e72986e6b4a664627654c3fba814a27f8a03e51653bf35430caab8f7c5e7860" 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.4.1
2025-09-16 10:14.18 ---> using "44de67850c6875516e73867da2b24f5a432152581729b0ec29b7e316e2181069" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-16 10:14.18 ---> using "545d37e12873553aaba720a97b538ff7ecb3142de0fe24495cb597077237b3c6" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
bcac5d1731..7949ff40d8  master     -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc


<><> 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.3.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)
2025-09-16 10:15.55 ---> saved as "83a0ea519d3cbdf9143421e80161d9734cb7042dec0ec7db8f8862fb7b7f3733"


/src: (copy (src mirage-crypto.opam mirage-crypto-rng.opam mirage-crypto-pk.opam mirage-crypto-entropy.opam)
(dst ./))
2025-09-16 10:15.56 ---> saved as "a1715cacd9c105de229fe8405817add40b147fb5f2993bf38e3a7f4f27ab6717"


/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)
2025-09-16 10:16.23 ---> saved as "fd146f0e9e842b0e99a704c2afc52b611d3e62971df0d0aa6a1943d7e9d3befc"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-16 10:16.23 ---> saved as "2887e0973aa37a36fa995c4918b0f051be4c7c92c6a69ebe8662489589d77e97"


/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.0 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.4 --depext-only -y mirage-crypto.dev mirage-crypto-rng.dev mirage-crypto-pk.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- 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-security trixie-security/main riscv64 Packages [36.6 kB]
- Fetched 127 kB in 0s (288 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) ...
2025-09-16 10:17.21 ---> saved as "1a2e4db088df87421360d0bf3e004aba23e5d59a4d1c09eb2ef0fe90b1dc03c3"


/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.0
- 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 ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (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 sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved topkg.1.1.0  (cached)
-> retrieved zarith.1.14  (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.0
-> 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 sexplib0.v0.16.0
-> installed stdlib-shims.0.3.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)
2025-09-16 10:25.32 ---> saved as "b25834cfdd812fdb496d6856d9037df1fa66769d685e75967c2a74f1b6101331"


/src: (copy (src .) (dst /src))
2025-09-16 10:25.32 ---> saved as "7b0cae8f38cb3fafcf0d3b74258b16815410e688b14d014d188d2f7402d119c8"


/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
2025-09-16 10:25.51: Job failed: Failed: Build failed