2025-09-16 10:09.14: New job: test hannesm/mirage-crypto https://github.com/hannesm/mirage-crypto.git#refs/heads/master (f794fab91bc9665844fba6d5d8229183038ac1ec) (linux-x86_64:ubuntu-25.04-4.14_opam-2.4)
Base: ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:0807508722c605aedaf57603c3d976134858d73e8acd59d0459848bcd6a52a2d
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:ubuntu-25.04-ocaml-4.14@sha256:0807508722c605aedaf57603c3d976134858d73e8acd59d0459848bcd6a52a2d
# ubuntu-25.04-4.14_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 cmdliner.1.3.0 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 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 eqaf.0.10 fmt.0.11.0 ipaddr.5.6.1 logs.0.9.0 lwt.5.9.2 macaddr.5.6.1 mirage-no-solo5.1 mirage-no-xen.1 mirage-runtime.4.10.1 mirage-unix.5.0.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 mirage-crypto-entropy.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-09-16 10:09.14: Using cache hint "hannesm/mirage-crypto-ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:0807508722c605aedaf57603c3d976134858d73e8acd59d0459848bcd6a52a2d-ubuntu-25.04-4.14_opam-2.4-c9b3504449ec4820c56955a817cb72aa"
2025-09-16 10:09.14: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:0807508722c605aedaf57603c3d976134858d73e8acd59d0459848bcd6a52a2d)
(comment ubuntu-25.04-4.14_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 cmdliner.1.3.0 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 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 eqaf.0.10 fmt.0.11.0 ipaddr.5.6.1 logs.0.9.0 lwt.5.9.2 macaddr.5.6.1 mirage-no-solo5.1 mirage-no-xen.1 mirage-runtime.4.10.1 mirage-unix.5.0.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 mirage-crypto-entropy.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 @install @check @runtest && rm -rf _build"))
)
2025-09-16 10:09.14: Waiting for resource in pool OCluster
2025-09-16 10:09.15: Waiting for worker…
2025-09-16 10:09.15: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at f794fab [ci skip] changes 0.6.2
(from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:0807508722c605aedaf57603c3d976134858d73e8acd59d0459848bcd6a52a2d)
Unable to find image 'ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:0807508722c605aedaf57603c3d976134858d73e8acd59d0459848bcd6a52a2d' locally
docker.io/ocaml/opam@sha256:0807508722c605aedaf57603c3d976134858d73e8acd59d0459848bcd6a52a2d: Pulling from ocaml/opam
60fb2420030a: Already exists
30a5b9bffc59: Already exists
e76e7b0fd035: Already exists
87fd98c989d0: Already exists
fc31fa993861: Already exists
c75b71d41442: Already exists
9f08a6d6f6f5: Already exists
3dfc106a9c15: Already exists
1c3a6d2a01a7: Already exists
2d648021ecec: Already exists
ffcf097292c2: Already exists
e1bcef442ada: Already exists
61993b76460e: Already exists
929a57e31854: Already exists
826e2c54b1a9: Already exists
eec17caf12a0: Already exists
eec17caf12a0: Already exists
9259e842febf: Already exists
ae77b4e577af: Already exists
61c1d61eb8ba: Already exists
d7a0435c7be4: Already exists
4f4fb700ef54: Already exists
67b39cdc1121: Already exists
217bd9b7b99f: Already exists
1c96670814d1: Already exists
ccd441a4e677: Already exists
9e7324b47fd8: Already exists
0ec34067023b: Already exists
33125ff80400: Already exists
b383373ace10: Already exists
447883287ba9: Already exists
cb78f5b619b6: Already exists
d52ede671661: Already exists
fa458c0e5391: Already exists
eef4f5a958fd: Already exists
450c30b71c71: Already exists
2d3751651883: Already exists
6d7ce401ccd8: Already exists
31c1aa1ff3db: Already exists
a1655bb63c33: Already exists
8d725d821777: Already exists
91c567e53ac8: Already exists
3c95a1616c24: Already exists
bd55d20213f1: Already exists
Digest: sha256:0807508722c605aedaf57603c3d976134858d73e8acd59d0459848bcd6a52a2d
Status: Downloaded newer image for ocaml/opam@sha256:0807508722c605aedaf57603c3d976134858d73e8acd59d0459848bcd6a52a2d
2025-09-16 10:09.29 ---> saved as "6445603d95b4d6f8a0cc4b067867ad8502c05bb39a118c7268888ef8cc2c4e36"
/: (comment ubuntu-25.04-4.14_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:09.30 ---> saved as "7ad150f251741d606ac6503f344d72dcc5bd5f313a2335d5eee3c014aa99bfe6"
/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:09.56 ---> saved as "55855347ad7177e52ea1253facff35ea156ea33e15ee3e13029c016c8647e07c"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-16 10:09.57 ---> saved as "dbe66741533320c831c671504bf8635a0466b82af65054bfe9bd11ea91bdcafc"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-09-16 10:09.57 ---> saved as "5ce0f42df606e17f242ff81fc5c610c3e8f7106af10cefe63952863c569c99c4"
/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
854fc71d55..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:10.27 ---> saved as "f33beb23ce7b10e2ecfb161fa5775eaadc7ecce13cf6479b3a8bb7c84e28da80"
/src: (copy (src mirage-crypto.opam mirage-crypto-rng.opam mirage-crypto-pk.opam mirage-crypto-entropy.opam)
(dst ./))
2025-09-16 10:10.27 ---> saved as "a3fc1487a5e5b0e4c3b84b1fd5cdd1fd0304aac92cb8662281e7071afc166e2c"
/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:10.37 ---> saved as "dbd0f54e7923a3c6dd8fb03c18dc84ce744d097d380067b58ce58a0284e2c7f6"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-16 10:10.37 ---> saved as "6644b61979391e5ead82631c63f1f75564ce4cab175a3f205afbb5ee497500f0"
/src: (env DEPS "base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 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 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 eqaf.0.10 fmt.0.11.0 ipaddr.5.6.1 logs.0.9.0 lwt.5.9.2 macaddr.5.6.1 mirage-no-solo5.1 mirage-no-xen.1 mirage-runtime.4.10.1 mirage-unix.5.0.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 mirage-crypto-entropy.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu plucky InRelease
- Get:2 http://archive.ubuntu.com/ubuntu plucky-updates InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu plucky-updates/restricted amd64 Packages [240 kB]
- Get:5 http://security.ubuntu.com/ubuntu plucky-security InRelease [126 kB]
- Get:6 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Packages [404 kB]
- Get:7 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Packages [260 kB]
- Get:8 http://archive.ubuntu.com/ubuntu plucky-updates/multiverse amd64 Packages [49.2 kB]
- Get:9 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Packages [267 kB]
- Get:10 http://security.ubuntu.com/ubuntu plucky-security/restricted amd64 Packages [230 kB]
- Get:11 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Packages [150 kB]
- Get:12 http://security.ubuntu.com/ubuntu plucky-security/multiverse amd64 Packages [49.0 kB]
- Fetched 2028 kB in 1s (2568 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-crypto.dev] synchronised (file:///src)
[mirage-crypto-entropy.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:amd64.
- (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 ... 16503 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.3.0+dfsg-3ubuntu1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3ubuntu1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.3.0+dfsg-3ubuntu1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3ubuntu1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3ubuntu1) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3ubuntu1) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-6ubuntu1.1) ...
2025-09-16 10:11.00 ---> saved as "846c0b5294dc0bdfc1bdc89343bd5703e430887f563b3381e45c56863e4c3dc5"
/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 43 packages
- install base v0.16.4
- install base-bytes base
- install cmdliner 1.3.0
- 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 domain-name 0.4.1
- install dune 3.20.2
- install dune-configurator 3.20.2
- install duration 0.2.1
- install eqaf 0.10
- install fmt 0.11.0
- install ipaddr 5.6.1
- install logs 0.9.0
- install lwt 5.9.2
- install macaddr 5.6.1
- install mirage-no-solo5 1 (deprecated)
- install mirage-no-xen 1 (deprecated)
- install mirage-runtime 4.10.1
- install mirage-unix 5.0.1
- 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 cmdliner.1.3.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> retrieved cpuid.0.1.2 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0 (cached)
-> installed conf-gmp-powm-sec.4
-> retrieved domain-name.0.4.1 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved eqaf.0.10 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved logs.0.9.0 (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1 (cached)
-> installed mirage-no-solo5.1
-> installed mirage-no-xen.1
-> retrieved lwt.5.9.2 (cached)
-> retrieved mirage-unix.5.0.1 (cached)
-> retrieved num.1.6 (cached)
-> retrieved mirage-runtime.4.10.1 (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)
-> installed seq.base
-> retrieved sexplib.v0.16.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.1.0 (cached)
-> retrieved zarith.1.14 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> installed cmdliner.1.3.0
-> installed num.1.6
-> installed ocamlbuild.0.16.1
-> 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 ppx_derivers.1.2.1
-> installed duration.0.2.1
-> installed randomconv.0.2.0
-> installed cpuid.0.1.2
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed domain-name.0.4.1
-> installed eqaf.0.10
-> installed macaddr.5.6.1
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.1
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed parsexp.v0.16.0
-> installed dune-configurator.3.20.2
-> installed sexplib.v0.16.0
-> installed lwt.5.9.2
-> installed logs.0.9.0
-> installed mirage-runtime.4.10.1
-> installed mirage-unix.5.0.1
-> 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:12.46 ---> saved as "e04b09411c5990a2cc4bf833ec1add3cd8e204336f951db11e8284533b7ebadc"
/src: (copy (src .) (dst /src))
2025-09-16 10:12.46 ---> saved as "ffeb1a631bec09bf6703c68e27fb64299ffabe5cb6df1c14e13fedb867e739ce"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(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?
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 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?
(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_entropy.eobjs/byte -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/duration -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/mirage-runtime -I /home/opam/.opam/4.14/lib/mirage-runtime/functoria -I /home/opam/.opam/4.14/lib/mirage-unix -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I entropy/.mirage_crypto_entropy.objs/byte -I rng/.mirage_crypto_rng.objs/public_cmi -I src/.mirage_crypto.objs/public_cmi -no-alias-deps -opaque -o tests/.test_entropy.eobjs/byte/test_entropy.cmo -c -impl tests/test_entropy.ml)
File "tests/test_entropy.ml", line 34, characters 2-4:
34 | OS.(Main.run (with_entropy (fun () -> Time.sleep_ns 1_000L)))
^^
Error: Unbound module OS
(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 -mrdrnd -mrdseed -DACCELERATE -mssse3 -maes -mpclmul -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 @install @check @runtest && rm -rf _build" failed with exit status 1
2025-09-16 10:12.49: Job failed: Failed: Build failed