2024-12-12 12:28.58: New job: test hannesm/mirage-crypto https://github.com/hannesm/mirage-crypto.git#refs/heads/master (f794fab91bc9665844fba6d5d8229183038ac1ec) (freebsd-x86_64:freebsd-14.1-4.14_opam-2.3)
Base: freebsd-14.1-ocaml-4.14
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 freebsd-14.1-ocaml-4.14
# freebsd-14.1-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.3 /usr/local/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 cmdliner.1.3.0 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 domain-name.0.4.0 dune.3.17.0 dune-configurator.3.17.0 duration.0.2.1 eqaf.0.10 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 ipaddr.5.6.0 logs.0.7.0 lwt.5.9.0 macaddr.5.6.0 mirage-no-solo5.1 mirage-no-xen.1 mirage-runtime.4.8.2 mirage-unix.5.0.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 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
2024-12-12 12:28.58: Using cache hint "hannesm/mirage-crypto-freebsd-14.1-ocaml-4.14-freebsd-14.1-4.14_opam-2.3-bb8ab6544e7e05bf12a3bbe94b72610a"
2024-12-12 12:28.58: Using OBuilder spec:
((from freebsd-14.1-ocaml-4.14)
(comment freebsd-14.1-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.3 /usr/local/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 cmdliner.1.3.0 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 domain-name.0.4.0 dune.3.17.0 dune-configurator.3.17.0 duration.0.2.1 eqaf.0.10 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 ipaddr.5.6.0 logs.0.7.0 lwt.5.9.0 macaddr.5.6.0 mirage-no-solo5.1 mirage-no-xen.1 mirage-runtime.4.8.2 mirage-unix.5.0.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 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"))
)
2024-12-12 12:28.58: Waiting for resource in pool OCluster
2024-12-12 12:28.58: Waiting for worker…
2024-12-12 12:44.52: Got resource from pool OCluster
Building on spring
All commits already cached
HEAD is now at f794fab [ci skip] changes 0.6.2
(from freebsd-14.1-ocaml-4.14)
2024-12-12 12:33.11 ---> using "ae13298952475462d6ff8423c053aa12bd6b321268da2da393f31b39d910ae06" from cache
/: (comment freebsd-14.1-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.3 /usr/local/bin/opam"))
2024-12-12 12:33.12 ---> using "a01a14b3afaf0e96198b4995f7495eb095c8d446bea3004be25da82cfecae768" from cache
/src: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=1 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2024-12-12 12:33.12 ---> using "a60b36efeb57e54e6ca4e23dae975fff8d0668822376b173ed63b66aa24444bc" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.1-RELEASE-p5
The OCaml toplevel, version 4.14.2
2.3.0
2024-12-12 12:33.13 ---> using "188549049d3e68e7a3a1a01e1161c07610550818a3f0b75ffbaafa2a77641d27" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-12-12 12:33.14 ---> using "39fdaef227d4780a13f56312f6b694c46af609f82c1eca907bb338ae047f238f" 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
c31c18de15..9d811310de master -> origin/master
9d811310de Merge pull request #27077 from hannesm/mark-more-mirage-deprecated
<><> 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).
The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.4.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2024-12-12 12:33.14 ---> using "dd8ada2c5b73e02c427fda8a2c5e7a75f0be4e9be60317608662bf45bf4843a2" from cache
/src: (copy (src mirage-crypto.opam mirage-crypto-rng.opam mirage-crypto-pk.opam mirage-crypto-entropy.opam)
(dst ./))
2024-12-12 12:33.17 ---> saved as "288a92e7902e919333978e5d9aad1bd2812c469e138502f34a7f0596b9fa108a"
/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 12:33.54 ---> saved as "40a36716fb08d374d0c836cac6169ca5a1ac1c21332696e395f6d3cb61e0fa8a"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2024-12-12 12:33.58 ---> saved as "9c434b115dd9516738205d853ec3d2876e56f3654339ad294626e463d0760de7"
/src: (env DEPS "base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 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 domain-name.0.4.0 dune.3.17.0 dune-configurator.3.17.0 duration.0.2.1 eqaf.0.10 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 ipaddr.5.6.0 logs.0.7.0 lwt.5.9.0 macaddr.5.6.0 mirage-no-solo5.1 mirage-no-xen.1 mirage-runtime.4.8.2 mirage-unix.5.0.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 mirage-crypto-entropy.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-crypto-entropy.dev] synchronised (file:///src)
[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-x86_64 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:
gmp
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/local/bin/sudo "pkg" "install" "-y" "gmp"
- Updating FreeBSD repository catalogue...
- [spring] Fetching data.pkg:
- ..
- ...
- ..... done
- Processing entries:
- .
- .
- .
- .
- .
- .
- .
- .
- .
- . done
- FreeBSD repository update completed. 35564 packages processed.
- All repositories are up to date.
- The following 1 package(s) will be affected (of 0 checked):
-
- New packages to be INSTALLED:
- gmp: 6.3.0
-
- Number of packages to be installed: 1
-
- The process will require 3 MiB more space.
- 498 KiB to be downloaded.
- [spring] [1/1] Fetching gmp-6.3.0.pkg: .........
- . done
- Checking integrity... done (0 conflicting)
- [spring] [1/1] Installing gmp-6.3.0...
- [spring] [1/1] Extracting gmp-6.3.0: .......... done
2024-12-12 12:37.54 ---> saved as "2bef97984663b3a407e1c8731d48dd37bd500d13c9a34f2dc05b4ec6545a8e9c"
/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-x86_64 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 44 packages
∗ base v0.16.3
∗ base-bytes base
∗ cmdliner 1.3.0
∗ 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
∗ domain-name 0.4.0
∗ dune 3.17.0
∗ dune-configurator 3.17.0
∗ duration 0.2.1
∗ eqaf 0.10
∗ fmt 0.9.0
∗ ipaddr 5.6.0
∗ logs 0.7.0
∗ lwt 5.9.0
∗ macaddr 5.6.0
∗ mirage-no-solo5 1 (deprecated)
∗ mirage-no-xen 1 (deprecated)
∗ mirage-runtime 4.8.2
∗ mirage-unix 5.0.1
∗ num 1.5-1
∗ ocaml-compiler-libs v0.12.4
∗ 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
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved conf-gmp.4 (cached)
⬇ retrieved conf-gmp-powm-sec.3 (cached)
⬇ retrieved cppo.1.8.0 (cached)
∗ installed conf-pkg-config.3
∗ installed conf-bash.1
⬇ retrieved cmdliner.1.3.0 (cached)
⬇ retrieved csexp.1.5.2 (cached)
⬇ retrieved cpuid.0.1.2 (cached)
⬇ retrieved base.v0.16.3 (cached)
⬇ retrieved domain-name.0.4.0 (cached)
⬇ retrieved cstruct.6.2.0 (cached)
⬇ retrieved duration.0.2.1 (cached)
⬇ retrieved eqaf.0.10 (cached)
⬇ retrieved fmt.0.9.0 (cached)
⬇ retrieved ipaddr.5.6.0, macaddr.5.6.0 (cached)
⬇ retrieved logs.0.7.0 (cached)
∗ installed mirage-no-solo5.1
∗ installed mirage-no-xen.1
⬇ retrieved lwt.5.9.0 (cached)
⬇ retrieved mirage-runtime.4.8.2 (cached)
⬇ retrieved mirage-unix.5.0.1 (cached)
⬇ retrieved num.1.5-1 (cached)
⬇ retrieved ocamlbuild.0.15.0 (cached)
⬇ retrieved ocamlfind.1.9.6 (cached)
⬇ retrieved ocplib-endian.1.2 (cached)
⬇ retrieved ocaml-compiler-libs.v0.12.4 (cached)
⬇ retrieved dune.3.17.0, dune-configurator.3.17.0 (cached)
⬇ retrieved ppx_derivers.1.2.1 (cached)
⬇ retrieved parsexp.v0.16.0 (cached)
⬇ retrieved ppx_sexp_conv.v0.16.0 (cached)
∗ installed num.1.5-1
⬇ retrieved randomconv.0.2.0 (cached)
⬇ retrieved ounit.2.2.7, ounit2.2.2.7 (cached)
⬇ retrieved seq.base (cached)
∗ installed seq.base
⬇ retrieved sexplib.v0.16.0 (cached)
⬇ retrieved rresult.0.7.0 (cached)
⬇ retrieved sexplib0.v0.16.0 (cached)
⬇ retrieved ppxlib.0.33.0 (cached)
⬇ retrieved topkg.1.0.7 (cached)
⬇ retrieved stdlib-shims.0.3.0 (cached)
⬇ retrieved zarith.1.14 (cached)
∗ installed cmdliner.1.3.0
∗ installed conf-gmp.4
∗ installed conf-gmp-powm-sec.3
∗ installed ocamlbuild.0.15.0
∗ 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 domain-name.0.4.0
∗ installed duration.0.2.1
∗ installed csexp.1.5.2
∗ installed macaddr.5.6.0
∗ installed ppx_derivers.1.2.1
∗ installed ocaml-compiler-libs.v0.12.4
∗ installed eqaf.0.10
∗ installed cstruct.6.2.0
∗ installed cpuid.0.1.2
∗ installed cppo.1.8.0
∗ installed stdlib-shims.0.3.0
∗ installed randomconv.0.2.0
∗ installed ipaddr.5.6.0
∗ installed ocplib-endian.1.2
∗ installed sexplib0.v0.16.0
∗ 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 lwt.5.9.0
∗ installed logs.0.7.0
∗ installed base.v0.16.3
∗ installed mirage-runtime.4.8.2
∗ installed mirage-unix.5.0.1
∗ 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.
2024-12-12 12:46.39 ---> saved as "d37e8a3b860c32d0646eff43f9ea25ed2280a5804a3b1f8bc239c39f5e9a069b"
/src: (copy (src .) (dst /src))
2024-12-12 12:47.24 ---> saved as "a2b70546dc805644ac56a5c83e5e823b39b9aafd7759f4b080ebdb7d74218b4b"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.14.2/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.2/lib/bytes -I /home/opam/.opam/4.14.2/lib/cstruct -I /home/opam/.opam/4.14.2/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.2/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.2/lib/bytes -I /home/opam/.opam/4.14.2/lib/cstruct -I /home/opam/.opam/4.14.2/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 in tests/dune:25
(cd _build/default && /home/opam/.opam/4.14.2/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.2/lib/bytes -I /home/opam/.opam/4.14.2/lib/cmdliner -I /home/opam/.opam/4.14.2/lib/cstruct -I /home/opam/.opam/4.14.2/lib/duration -I /home/opam/.opam/4.14.2/lib/logs -I /home/opam/.opam/4.14.2/lib/lwt -I /home/opam/.opam/4.14.2/lib/lwt/unix -I /home/opam/.opam/4.14.2/lib/mirage-runtime -I /home/opam/.opam/4.14.2/lib/mirage-runtime/functoria -I /home/opam/.opam/4.14.2/lib/mirage-unix -I /home/opam/.opam/4.14.2/lib/ocaml/threads -I /home/opam/.opam/4.14.2/lib/ocplib-endian -I /home/opam/.opam/4.14.2/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 && /home/opam/.opam/4.14.2/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.2/lib/bytes -I /home/opam/.opam/4.14.2/lib/cstruct -I /home/opam/.opam/4.14.2/lib/ocplib-endian -I /home/opam/.opam/4.14.2/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.2/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.2/lib/bytes -I /home/opam/.opam/4.14.2/lib/cstruct -I /home/opam/.opam/4.14.2/lib/oUnit -I /home/opam/.opam/4.14.2/lib/ocplib-endian -I /home/opam/.opam/4.14.2/lib/ounit2 -I /home/opam/.opam/4.14.2/lib/ounit2/advanced -I /home/opam/.opam/4.14.2/lib/seq -I /home/opam/.opam/4.14.2/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/src && /usr/bin/cc -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.2/lib/ocaml -I /home/opam/.opam/4.14.2/lib/bytes -I /home/opam/.opam/4.14.2/lib/cstruct -I /home/opam/.opam/4.14.2/lib/ocplib-endian -o entropy_cpu_stubs.o -c native/entropy_cpu_stubs.c)
native/entropy_cpu_stubs.c:64:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
64 | static void detect () {
| ^
| void
1 warning generated.
(cd _build/default/src && /usr/bin/cc -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.2/lib/ocaml -I /home/opam/.opam/4.14.2/lib/bytes -I /home/opam/.opam/4.14.2/lib/cstruct -I /home/opam/.opam/4.14.2/lib/ocplib-endian -o des_generic.o -c native/des_generic.c)
native/des_generic.c:97:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
97 | static void cookey(raw1)
| ^
native/des_generic.c:120:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
120 | void mc_cpkey(into)
| ^
native/des_generic.c:130:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
130 | void mc_usekey(from)
| ^
native/des_generic.c:140:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
140 | void mc_des(inblock, outblock)
| ^
native/des_generic.c:152:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
152 | static void scrunch(outof, into)
| ^
native/des_generic.c:168:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
168 | static void unscrun(outof, into)
| ^
native/des_generic.c:327:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
327 | static void desfunc(block, keys)
| ^
native/des_generic.c:416:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
416 | void mc_Ddes(from, into)
| ^
native/des_generic.c:429:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
429 | void mc_D2des(from, into)
| ^
native/des_generic.c:457:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
457 | void mc_makekey(aptr, kptr)
| ^
native/des_generic.c:482:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
482 | void mc_make2key(aptr, kptr)
| ^
native/des_generic.c:559:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
559 | void mc_cp3key(into)
| ^
native/des_generic.c:573:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
573 | void mc_use3key(from)
| ^
native/des_generic.c:589:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
589 | static void D3des(from, into) /* amateur theatrics */
| ^
native/des_generic.c:625:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
625 | void mc_make3key(aptr, kptr)
| ^
15 warnings generated.
jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' DEPS='base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 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 domain-name.0.4.0 dune.3.17.0 dune-configurator.3.17.0 duration.0.2.1 eqaf.0.10 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 ipaddr.5.6.0 logs.0.7.0 lwt.5.9.0 macaddr.5.6.0 mirage-no-solo5.1 mirage-no-xen.1 mirage-runtime.4.8.2 mirage-unix.5.0.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' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build': failed
"jail" "-c" "name=obuilder_48244_20781" "mount.devfs" "path=/obuilder/result/e5814edd15c879c5250e79efd16820b29021ff206864c19a7500cbb13b63d99c/rootfs" "vnet" "exec.start=/sbin/ifconfig lo0 127.0.0.1/8" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/src' && env OCAMLCI='true' CI='true' DEPS='base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.3.0 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 domain-name.0.4.0 dune.3.17.0 dune-configurator.3.17.0 duration.0.2.1 eqaf.0.10 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 ipaddr.5.6.0 logs.0.7.0 lwt.5.9.0 macaddr.5.6.0 mirage-no-solo5.1 mirage-no-xen.1 mirage-runtime.4.8.2 mirage-unix.5.0.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' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build'" failed with exit status 1
2024-12-12 12:59.31: Job failed: Failed: Build failed