2024-12-12 12:28.58: New job: test hannesm/mirage-crypto https://github.com/hannesm/mirage-crypto.git#refs/heads/master (f794fab91bc9665844fba6d5d8229183038ac1ec) (linux-arm64:debian-12-4.14_arm32_opam-2.3) Base: ocaml/opam:debian-12-ocaml-4.14@sha256:96a42c958a3d821006c7b745f1e67e765a2bdf44630966283ef9e047c5331213 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-12-ocaml-4.14@sha256:96a42c958a3d821006c7b745f1e67e765a2bdf44630966283ef9e047c5331213 # debian-12-4.14_arm32_opam-2.3 USER 1000:1000 SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ] ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.3 /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 9d811310def03190e9b9b1db9c9ea19b4f954c17 || git fetch origin master) && git reset -q --hard 9d811310def03190e9b9b1db9c9ea19b4f954c17 && 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.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 conf-pkg-config.3 cppo.1.8.0 cpuid.0.1.2 csexp.1.5.2 cstruct.6.2.0 dune.3.17.0 dune-configurator.3.17.0 eqaf.0.10 fmt.0.9.0 host-arch-arm32.1 host-system-other.1 mirage-no-solo5.1 mirage-no-xen.1 num.1.5-1 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.15.0 ocamlfind.1.9.6 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.33.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.0.7 zarith.1.14" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.3 --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 2024-12-12 12:28.58: Using cache hint "hannesm/mirage-crypto-ocaml/opam:debian-12-ocaml-4.14@sha256:96a42c958a3d821006c7b745f1e67e765a2bdf44630966283ef9e047c5331213-debian-12-4.14_arm32_opam-2.3-5ecb93846c7b722ca573790151f4c4c8" 2024-12-12 12:28.58: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-4.14@sha256:96a42c958a3d821006c7b745f1e67e765a2bdf44630966283ef9e047c5331213) (comment debian-12-4.14_arm32_opam-2.3) (user (uid 1000) (gid 1000)) (shell /usr/bin/linux32 /bin/sh -c) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 9d811310def03190e9b9b1db9c9ea19b4f954c17 || git fetch origin master) && git reset -q --hard 9d811310def03190e9b9b1db9c9ea19b4f954c17 && 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.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 conf-pkg-config.3 cppo.1.8.0 cpuid.0.1.2 csexp.1.5.2 cstruct.6.2.0 dune.3.17.0 dune-configurator.3.17.0 eqaf.0.10 fmt.0.9.0 host-arch-arm32.1 host-system-other.1 mirage-no-solo5.1 mirage-no-xen.1 num.1.5-1 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.15.0 ocamlfind.1.9.6 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.33.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.0.7 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.3 --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")) ) 2024-12-12 12:28.58: Waiting for resource in pool OCluster 2024-12-12 12:28.58: Waiting for worker… 2024-12-12 13:08.37: Got resource from pool OCluster Building on molpadia.caelum.ci.dev All commits already cached HEAD is now at f794fab [ci skip] changes 0.6.2 (from ocaml/opam:debian-12-ocaml-4.14@sha256:96a42c958a3d821006c7b745f1e67e765a2bdf44630966283ef9e047c5331213) Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:96a42c958a3d821006c7b745f1e67e765a2bdf44630966283ef9e047c5331213' locally docker.io/ocaml/opam@sha256:96a42c958a3d821006c7b745f1e67e765a2bdf44630966283ef9e047c5331213: Pulling from ocaml/opam 21beb0cb5923: Already exists b9917759c6c7: Pulling fs layer b0bb89528bfb: Pulling fs layer f6cf2b56e08e: Pulling fs layer b77bec36379f: Pulling fs layer b77bec36379f: Waiting b0bb89528bfb: Download complete f6cf2b56e08e: Verifying Checksum f6cf2b56e08e: Download complete b77bec36379f: Verifying Checksum b77bec36379f: Download complete b9917759c6c7: Verifying Checksum b9917759c6c7: Download complete b9917759c6c7: Pull complete b0bb89528bfb: Pull complete f6cf2b56e08e: Pull complete b77bec36379f: Pull complete Digest: sha256:96a42c958a3d821006c7b745f1e67e765a2bdf44630966283ef9e047c5331213 Status: Downloaded newer image for ocaml/opam@sha256:96a42c958a3d821006c7b745f1e67e765a2bdf44630966283ef9e047c5331213 WARNING: The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 2024-12-12 13:08.37 ---> using "d626afda3d6e5c232263644669d8b1fc07faeec81170310b5cfe931c3c015af1" from cache /: (comment debian-12-4.14_arm32_opam-2.3) /: (user (uid 1000) (gid 1000)) /: (shell /usr/bin/linux32 /bin/sh -c) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam")) 2024-12-12 13:08.37 ---> using "8d399259273edad83af74222b9b289249719ba0c62608e6f83d9d0caf41a6f62" 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] synchronised from file:///home/opam/opam-repository 2024-12-12 13:08.37 ---> using "e7b1f9ab97ffe1443e59486ff1d942829faa48549a88c362f423bfd4f1230895" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-125-generic The OCaml toplevel, version 4.14.2 2.3.0 2024-12-12 13:08.37 ---> using "a97088d3f211d4251068bc2c1eb90dd3caaa46588e48aa66163f2bed39cab206" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2024-12-12 13:08.37 ---> using "18247667acd7706849feb0159ddab1e6aefe92f5316c66378c35d8ffa461325e" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 9d811310def03190e9b9b1db9c9ea19b4f954c17 || git fetch origin master) && git reset -q --hard 9d811310def03190e9b9b1db9c9ea19b4f954c17 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD 11bdbee611..9d811310de master -> origin/master 9d811310de Merge pull request #27077 from hannesm/mark-more-mirage-deprecated <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from 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, which will ask permission to downgrade or uninstall the conflicting packages. Nothing to do. # To update the current shell environment, run: eval $(opam env) 2024-12-12 13:08.37 ---> using "081df0069b29380d8eadd8d6f8f8dd9c9a2c77c12889b8eff13cc63cda9824db" from cache /src: (copy (src mirage-crypto.opam mirage-crypto-rng.opam mirage-crypto-pk.opam mirage-crypto-entropy.opam) (dst ./)) 2024-12-12 13:08.37 ---> saved as "0c6f85a456285dc34e634ef65f3d0d961e67e55ffeafa7aab1039cc7da1a4614" /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) [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) 2024-12-12 13:08.45 ---> saved as "db171098d5f77a2c891570838705d6d405239488b20078c56db3666683fc6eee" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2024-12-12 13:08.46 ---> saved as "3c505faca3f506dfd0be4b0893e51f124a45801d576ccbb0f6d46144e04b4838" /src: (env DEPS "base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 conf-pkg-config.3 cppo.1.8.0 cpuid.0.1.2 csexp.1.5.2 cstruct.6.2.0 dune.3.17.0 dune-configurator.3.17.0 eqaf.0.10 fmt.0.9.0 host-arch-arm32.1 host-system-other.1 mirage-no-solo5.1 mirage-no-xen.1 num.1.5-1 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.15.0 ocamlfind.1.9.6 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.33.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.0.7 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.3 --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 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 bookworm-updates/main armhf Packages.diff/Index [14.0 kB] - Get:5 http://deb.debian.org/debian bookworm-updates/main armhf Packages T-2024-12-07-2012.31-F-2024-11-27-1405.46.pdiff [6784 B] - Get:5 http://deb.debian.org/debian bookworm-updates/main armhf Packages T-2024-12-07-2012.31-F-2024-11-27-1405.46.pdiff [6784 B] - Get:6 http://deb.debian.org/debian-security bookworm-security/main armhf Packages [216 kB] - Fetched 341 kB in 1s (657 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 host-system-other is already installed (current version is 1). [NOTE] Package host-arch-arm32 is already installed (current version is 1). [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" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libgmpxx4ldbl:armhf. - (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 ... 18473 files and directories currently installed.) - Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_armhf.deb ... - Unpacking libgmpxx4ldbl:armhf (2:6.2.1+dfsg1-1.1) ... - Selecting previously unselected package libgmp-dev:armhf. - Preparing to unpack .../1-libgmp-dev_2%3a6.2.1+dfsg1-1.1_armhf.deb ... - Unpacking libgmp-dev:armhf (2:6.2.1+dfsg1-1.1) ... - Selecting previously unselected package libpkgconf3:armhf. - Preparing to unpack .../2-libpkgconf3_1.8.1-1_armhf.deb ... - Unpacking libpkgconf3:armhf (1.8.1-1) ... - Selecting previously unselected package pkgconf-bin. - Preparing to unpack .../3-pkgconf-bin_1.8.1-1_armhf.deb ... - Unpacking pkgconf-bin (1.8.1-1) ... - Selecting previously unselected package pkgconf:armhf. - Preparing to unpack .../4-pkgconf_1.8.1-1_armhf.deb ... - Unpacking pkgconf:armhf (1.8.1-1) ... - Selecting previously unselected package pkg-config:armhf. - Preparing to unpack .../5-pkg-config_1.8.1-1_armhf.deb ... - Unpacking pkg-config:armhf (1.8.1-1) ... - Setting up libpkgconf3:armhf (1.8.1-1) ... - Setting up libgmpxx4ldbl:armhf (2:6.2.1+dfsg1-1.1) ... - Setting up pkgconf-bin (1.8.1-1) ... - Setting up libgmp-dev:armhf (2:6.2.1+dfsg1-1.1) ... - Setting up pkgconf:armhf (1.8.1-1) ... - Setting up pkg-config:armhf (1.8.1-1) ... - Processing triggers for libc-bin (2.36-9+deb12u9) ... 2024-12-12 13:09.03 ---> saved as "eaf28de5379d396d59692a3019d1faf9d8cff21b9f71a49e7aab71711059dfd6" /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 host-system-other is already installed (current version is 1). [NOTE] Package host-arch-arm32 is already installed (current version is 1). [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 35 packages - install base v0.16.3 - install base-bytes base - install conf-bash 1 - install conf-gmp 4 - install conf-gmp-powm-sec 3 - install conf-pkg-config 3 - install cppo 1.8.0 - install cpuid 0.1.2 - install csexp 1.5.2 - install cstruct 6.2.0 - install dune 3.17.0 - install dune-configurator 3.17.0 - install eqaf 0.10 - install fmt 0.9.0 - install mirage-no-solo5 1 (deprecated) - install mirage-no-xen 1 (deprecated) - install num 1.5-1 - install ocaml-compiler-libs v0.12.4 - install ocamlbuild 0.15.0 - install ocamlfind 1.9.6 - 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.33.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.0.7 - install zarith 1.14 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved conf-gmp.4 (cached) -> retrieved conf-gmp-powm-sec.3 (cached) -> installed conf-pkg-config.3 -> retrieved cppo.1.8.0 (cached) -> retrieved cpuid.0.1.2 (cached) -> retrieved base.v0.16.3 (cached) -> installed conf-bash.1 -> installed conf-gmp.4 -> retrieved csexp.1.5.2 (cached) -> retrieved cstruct.6.2.0 (cached) -> installed conf-gmp-powm-sec.3 -> retrieved eqaf.0.10 (cached) -> installed mirage-no-solo5.1 -> installed mirage-no-xen.1 -> retrieved fmt.0.9.0 (cached) -> retrieved num.1.5-1 (cached) -> retrieved ocaml-compiler-libs.v0.12.4 (cached) -> retrieved ocamlbuild.0.15.0 (cached) -> retrieved ocamlfind.1.9.6 (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 dune.3.17.0, dune-configurator.3.17.0 (cached) -> installed num.1.5-1 -> installed ocamlbuild.0.15.0 -> retrieved ppx_sexp_conv.v0.16.0 (cached) -> retrieved ppxlib.0.33.0 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved randomconv.0.2.0 (cached) -> retrieved rresult.0.7.0 (cached) -> retrieved sexplib.v0.16.0 (cached) -> retrieved sexplib0.v0.16.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved zarith.1.14 (cached) -> retrieved topkg.1.0.7 (cached) -> installed ocamlfind.1.9.6 -> installed base-bytes.base -> installed zarith.1.14 -> installed topkg.1.0.7 -> installed rresult.0.7.0 -> installed fmt.0.9.0 -> installed dune.3.17.0 -> installed cpuid.0.1.2 -> installed csexp.1.5.2 -> installed cppo.1.8.0 -> installed cstruct.6.2.0 -> installed eqaf.0.10 -> installed ocaml-compiler-libs.v0.12.4 -> installed ppx_derivers.1.2.1 -> installed randomconv.0.2.0 -> installed sexplib0.v0.16.0 -> installed stdlib-shims.0.3.0 -> installed ocplib-endian.1.2 -> installed ounit2.2.2.7 -> installed ounit.2.2.7 -> installed dune-configurator.3.17.0 -> installed parsexp.v0.16.0 -> installed sexplib.v0.16.0 -> installed base.v0.16.3 -> installed ppxlib.0.33.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) 2024-12-12 13:10.22 ---> saved as "2bb9f928c09b90078f21b24369686ac43d6610e67ed4cfe1dcec6627a2c2f97d" /src: (copy (src .) (dst /src)) 2024-12-12 13:10.22 ---> saved as "9d82355d04ca4ae5fa618787bd21093be390923c2cca0f37381852cb27453bef" /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 in tests/dune:25 (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 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 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 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? File "src/dune", line 8, characters 33-46: 8 | aes_generic aes_aesni ghash_generic ghash_pclmul ^^^^^^^^^^^^^ (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 ghash_generic.o -c native/ghash_generic.c) native/ghash_generic.c:23:14: error: unknown type name '__uint128_t' 23 | static const __uint128_t r = __set_uint128_t (0xe100000000000000, 0); | ^~~~~~~~~~~ native/ghash_generic.c:21:36: error: '__uint128_t' undeclared here (not in a function); did you mean '__uint32_t'? 21 | #define __set_uint128_t(w1, w0) (((__uint128_t) w1 << 64) | w0) | ^~~~~~~~~~~ native/ghash_generic.c:23:30: note: in expansion of macro '__set_uint128_t' 23 | static const __uint128_t r = __set_uint128_t (0xe100000000000000, 0); | ^~~~~~~~~~~~~~~ native/ghash_generic.c:23:47: error: expected ')' before numeric constant 23 | static const __uint128_t r = __set_uint128_t (0xe100000000000000, 0); | ^~~~~~~~~~~~~~~~~~ native/ghash_generic.c:21:49: note: in definition of macro '__set_uint128_t' 21 | #define __set_uint128_t(w1, w0) (((__uint128_t) w1 << 64) | w0) | ^~ native/ghash_generic.c:21:34: note: to match this '(' 21 | #define __set_uint128_t(w1, w0) (((__uint128_t) w1 << 64) | w0) | ^ native/ghash_generic.c:23:30: note: in expansion of macro '__set_uint128_t' 23 | static const __uint128_t r = __set_uint128_t (0xe100000000000000, 0); | ^~~~~~~~~~~~~~~ native/ghash_generic.c:25:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__load_128_t' 25 | static inline __uint128_t __load_128_t (const uint64_t s[2]) { | ^~~~~~~~~~~~ native/ghash_generic.c:29:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__load_128_t_with_padding' 29 | static inline __uint128_t __load_128_t_with_padding (const uint8_t *src, size_t n) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ native/ghash_generic.c:35:50: error: expected declaration specifiers or '...' before '__uint128_t' 35 | static inline void __store_128_t (uint64_t s[2], __uint128_t x) { | ^~~~~~~~~~~ native/ghash_generic.c:50:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__gfmul' 50 | static inline __uint128_t __gfmul (__uint128_t a, __uint128_t b) { | ^~~~~~~ native/ghash_generic.c:63:47: error: expected declaration specifiers or '...' before '__uint128_t' 63 | static inline void __derive (uint64_t key[2], __uint128_t m[__t_size]) { | ^~~~~~~~~~~ native/ghash_generic.c:74:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__gfmul_tab' 74 | static inline __uint128_t __gfmul_tab (__uint128_t m[__t_size], __uint128_t x) { | ^~~~~~~~~~~ native/ghash_generic.c:81:29: error: expected declaration specifiers or '...' before '__uint128_t' 81 | static inline void __ghash (__uint128_t m[__t_size], uint64_t hash[2], const uint8_t *src, size_t n) { | ^~~~~~~~~~~ native/ghash_generic.c: In function 'mc_ghash_init_key': native/ghash_generic.c:95:3: warning: implicit declaration of function '__derive' [-Wimplicit-function-declaration] 95 | __derive ((uint64_t *) _ba_uint8_off (key, off), (__uint128_t *) Bp_val (m)); | ^~~~~~~~ native/ghash_generic.c:95:66: error: expected expression before ')' token 95 | __derive ((uint64_t *) _ba_uint8_off (key, off), (__uint128_t *) Bp_val (m)); | ^ native/ghash_generic.c: In function 'mc_ghash': native/ghash_generic.c:101:3: warning: implicit declaration of function '__ghash'; did you mean 'mc_ghash'? [-Wimplicit-function-declaration] 101 | __ghash ((__uint128_t *) Bp_val (m), (uint64_t *) Bp_val (hash), | ^~~~~~~ | mc_ghash native/ghash_generic.c:101:26: error: expected expression before ')' token 101 | __ghash ((__uint128_t *) Bp_val (m), (uint64_t *) Bp_val (hash), | ^ native/ghash_generic.c:100:49: warning: unused parameter 'off' [-Wunused-parameter] 100 | mc_ghash (value m, value hash, value src, value off, value len) { | ~~~~~~^~~ native/ghash_generic.c: In function 'mc_ghash_key_size': native/ghash_generic.c:92:1: warning: control reaches end of non-void function [-Wreturn-type] 92 | } | ^ native/ghash_generic.c: At top level: native/ghash_generic.c:23:26: warning: 'r' defined but not used [-Wunused-const-variable=] 23 | static const __uint128_t r = __set_uint128_t (0xe100000000000000, 0); | ^ (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/linux32" "/bin/sh" "-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 2024-12-12 13:10.25: Job failed: Failed: Build failed