2026-01-13 12:34.46: New job: test hannesm/mirage-crypto https://github.com/hannesm/mirage-crypto.git#refs/heads/master (f794fab91bc9665844fba6d5d8229183038ac1ec) (macos-arm64:macos-homebrew-4.14_arm64_opam-2.5) Base: macos-homebrew-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 macos-homebrew-ocaml-4.14 # macos-homebrew-4.14_arm64_opam-2.5 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" RUN ln -f ~/local/bin/opam-2.5 ~/local/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version RUN cd ~/opam-repository && (git cat-file -e 7d1fb286296d718144483329f5f6765c4633b465 || git fetch origin master) && git reset -q --hard 7d1fb286296d718144483329f5f6765c4633b465 && 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 ./src/./ RUN opam pin add -yn mirage-crypto.dev './src/./' && \ opam pin add -yn mirage-crypto-rng.dev './src/./' && \ opam pin add -yn mirage-crypto-pk.dev './src/./' && \ opam pin add -yn mirage-crypto-entropy.dev './src/./' RUN echo '(lang dune 3.0)' > './src/./dune-project' ENV DEPS="base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.2.1.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.5.0 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.10.0 lwt.5.9.2 macaddr.5.6.1 mirage-no-solo5.1 mirage-no-xen.1 mirage-runtime.4.10.4 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.1 zarith.1.14" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.5 --depext-only -y mirage-crypto.dev mirage-crypto-rng.dev mirage-crypto-pk.dev mirage-crypto-entropy.dev $DEPS RUN opam install $DEPS COPY --chown=1000:1000 . ./src RUN cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build END-OF-DOCKERFILE docker build . END-REPRO-BLOCK 2026-01-13 12:34.46: Using cache hint "hannesm/mirage-crypto-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_arm64_opam-2.5-20fee88a495fdf4695cf56f10fa9846e" 2026-01-13 12:34.46: Using OBuilder spec: ((from macos-homebrew-ocaml-4.14) (comment macos-homebrew-4.14_arm64_opam-2.5) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam")) (run (shell "opam init --reinit -ni")) (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 7d1fb286296d718144483329f5f6765c4633b465 || git fetch origin master) && git reset -q --hard 7d1fb286296d718144483329f5f6765c4633b465 && 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 ./src/./)) (run (network host) (shell "opam pin add -yn mirage-crypto.dev './src/./' && \ \nopam pin add -yn mirage-crypto-rng.dev './src/./' && \ \nopam pin add -yn mirage-crypto-pk.dev './src/./' && \ \nopam pin add -yn mirage-crypto-entropy.dev './src/./'")) (run (network host) (shell "echo '(lang dune 3.0)' > './src/./dune-project'")) (env DEPS "base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.2.1.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.5.0 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.10.0 lwt.5.9.2 macaddr.5.6.1 mirage-no-solo5.1 mirage-no-xen.1 mirage-runtime.4.10.4 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.1 zarith.1.14") (env CI true) (env OCAMLCI true) (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (network host) (shell "opam update --depexts && opam install --cli=2.5 --depext-only -y mirage-crypto.dev mirage-crypto-rng.dev mirage-crypto-pk.dev mirage-crypto-entropy.dev $DEPS")) (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (network host) (shell "opam install $DEPS")) (copy (src .) (dst ./src)) (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build")) ) 2026-01-13 12:34.46: Waiting for resource in pool OCluster 2026-01-13 12:34.47: Waiting for worker… 2026-01-13 13:48.14: Got resource from pool OCluster Building on m1-worker-01 All commits already cached HEAD is now at f794fab [ci skip] changes 0.6.2 (from macos-homebrew-ocaml-4.14) 2026-01-13 13:48.15 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache /: (comment macos-homebrew-4.14_arm64_opam-2.5) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam")) 2026-01-13 13:48.15 ---> using "75b1629629d7f21c50a7e1e39b2ef83e2edb8ace81aab34254c0c8782b814749" from cache /: (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 /Users/mac1000/.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:///Users/mac1000/opam-repository 2026-01-13 13:48.15 ---> using "a61e945ab7671a6fff400f946e3fe88df4d67a783ea1f56fa59dc21595ef1b19" from cache /: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Darwin 24.5.0 The OCaml toplevel, version 4.14.2 2.5.0 2026-01-13 13:48.15 ---> using "11a9923a4c4f0ab256d15330129e4c4938459d2e6239eb4f7bdf0f2620300e09" from cache /: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 7d1fb286296d718144483329f5f6765c4633b465 || git fetch origin master) && git reset -q --hard 7d1fb286296d718144483329f5f6765c4633b465 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD 043b6ea343..7d1fb28629 master -> origin/master 7d1fb28629 Merge pull request #29219 from hannesm/mirage-runtime-not-lwt-6 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from git+file:///Users/mac1000/opam-repository Everything as up-to-date as possible 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 at these versions (e.g. "opam upgrade ocaml.5.4.0"), which will ask permission to downgrade or uninstall the conflicting packages. Nothing to do. # To update the current shell environment, run: eval $(opam env) 2026-01-13 13:48.15 ---> using "a7746cefad4672f12e9ad31f257ef5a2dc5cc86156e12067b824982b2d17fd22" from cache /: (copy (src mirage-crypto.opam mirage-crypto-rng.opam mirage-crypto-pk.opam mirage-crypto-entropy.opam) (dst ./src/./)) 2026-01-13 13:48.16 ---> saved as "811d26362e465550c6de36407163581fd37553d644aa5d2a9646287b1e5dff9b" /: (run (network host) (shell "opam pin add -yn mirage-crypto.dev './src/./' && \ \nopam pin add -yn mirage-crypto-rng.dev './src/./' && \ \nopam pin add -yn mirage-crypto-pk.dev './src/./' && \ \nopam pin add -yn mirage-crypto-entropy.dev './src/./'")) [mirage-crypto.dev] synchronised (file:///Users/mac1000/src) mirage-crypto is now pinned to file:///Users/mac1000/src (version dev) [mirage-crypto-rng.dev] synchronised (file:///Users/mac1000/src) mirage-crypto-rng is now pinned to file:///Users/mac1000/src (version dev) [mirage-crypto-pk.dev] synchronised (file:///Users/mac1000/src) mirage-crypto-pk is now pinned to file:///Users/mac1000/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:///Users/mac1000/src) [WARNING] Failed checks on mirage-crypto-entropy package definition from source at file:///Users/mac1000/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:///Users/mac1000/src (version dev) 2026-01-13 13:48.45 ---> saved as "24cff12e04db9daff136e253e123900a909248d6a549c623b09d6c8e183c58aa" /: (run (network host) (shell "echo '(lang dune 3.0)' > './src/./dune-project'")) 2026-01-13 13:48.46 ---> saved as "68e8876a5af0a288a536ba3ff136cccd949394d407639cc1977c28fd0068d6aa" /: (env DEPS "base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.2.1.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.5.0 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.10.0 lwt.5.9.2 macaddr.5.6.1 mirage-no-solo5.1 mirage-no-xen.1 mirage-runtime.4.10.4 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.1 zarith.1.14") /: (env CI true) /: (env OCAMLCI true) /: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (network host) (shell "opam update --depexts && opam install --cli=2.5 --depext-only -y mirage-crypto.dev mirage-crypto-rng.dev mirage-crypto-pk.dev mirage-crypto-entropy.dev $DEPS")) + /opt/homebrew/bin/brew "update" - ==> Updating Homebrew... - Already up-to-date. <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [mirage-crypto-pk.dev] synchronised (file:///Users/mac1000/src) [mirage-crypto-entropy.dev] synchronised (file:///Users/mac1000/src) [mirage-crypto.dev] synchronised (file:///Users/mac1000/src) [mirage-crypto-rng.dev] synchronised (file:///Users/mac1000/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: gmp pkgconf <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /opt/homebrew/bin/brew "install" "gmp" "pkgconf" - ==> Fetching downloads for: gmp and pkgconf - ✔︎ Bottle Manifest gmp (6.3.0) - ✔︎ Bottle Manifest pkgconf (2.5.1) - ✔︎ Bottle Manifest pkgconf (2.5.1) - ✔︎ Bottle gmp (6.3.0) - ✔︎ Bottle pkgconf (2.5.1) - ==> Pouring gmp--6.3.0.arm64_sequoia.bottle.tar.gz - 🍺 /opt/homebrew/Cellar/gmp/6.3.0: 22 files, 3.4MB - ==> Running `brew cleanup gmp`... - Disable this behaviour by setting `HOMEBREW_NO_INSTALL_CLEANUP=1`. - Hide these hints with `HOMEBREW_NO_ENV_HINTS=1` (see `man brew`). - ==> Pouring pkgconf--2.5.1.arm64_sequoia.bottle.tar.gz - 🍺 /opt/homebrew/Cellar/pkgconf/2.5.1: 28 files, 531.1KB - ==> Running `brew cleanup pkgconf`... # To update the current shell environment, run: eval $(opam env) 2026-01-13 13:49.15 ---> saved as "b2f37cb250b524aeb17c26a564632ab05deab2fa37beee43fc08e3d3695b99ca" /: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (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 2.1.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.5.0 - 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.10.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.4 - 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.1 - install zarith 1.14 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved conf-gmp.5 (cached) -> retrieved conf-gmp-powm-sec.4 (cached) -> installed conf-pkg-config.4 -> retrieved cppo.1.8.0 (cached) -> retrieved cmdliner.2.1.0 (cached) -> retrieved csexp.1.5.2 (cached) -> installed conf-gmp.5 -> retrieved cpuid.0.1.2 (cached) -> retrieved base.v0.16.4 (cached) -> installed conf-gmp-powm-sec.4 -> retrieved domain-name.0.5.0 (cached) -> retrieved cstruct.6.2.0 (cached) -> retrieved duration.0.2.1 (cached) -> retrieved fmt.0.11.0 (cached) -> retrieved eqaf.0.10 (cached) -> retrieved ipaddr.5.6.1, macaddr.5.6.1 (cached) -> retrieved logs.0.10.0 (cached) -> installed mirage-no-solo5.1 -> installed mirage-no-xen.1 -> retrieved lwt.5.9.2 (cached) -> retrieved mirage-runtime.4.10.4 (cached) -> retrieved mirage-unix.5.0.1 (cached) -> retrieved num.1.6 (cached) -> retrieved ocaml-compiler-libs.v0.12.4 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved ocplib-endian.1.2 (cached) -> retrieved ocamlbuild.0.16.1 (cached) -> retrieved parsexp.v0.16.0 (cached) -> retrieved ounit.2.2.7, ounit2.2.2.7 (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 ppxlib.0.35.0 (cached) -> retrieved sexplib0.v0.16.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved zarith.1.14 (cached) -> retrieved topkg.1.1.1 (cached) -> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached) -> installed ocamlbuild.0.16.1 -> installed num.1.6 -> installed cmdliner.2.1.0 -> installed ocamlfind.1.9.8 -> installed base-bytes.base -> installed zarith.1.14 -> installed topkg.1.1.1 -> installed rresult.0.7.0 -> installed fmt.0.11.0 -> installed dune.3.20.2 -> installed duration.0.2.1 -> installed cpuid.0.1.2 -> installed domain-name.0.5.0 -> installed csexp.1.5.2 -> installed cstruct.6.2.0 -> installed randomconv.0.2.0 -> installed ppx_derivers.1.2.1 -> installed ocaml-compiler-libs.v0.12.4 -> installed macaddr.5.6.1 -> installed eqaf.0.10 -> installed cppo.1.8.0 -> installed stdlib-shims.0.3.0 -> installed ocplib-endian.1.2 -> installed sexplib0.v0.16.0 -> installed ipaddr.5.6.1 -> installed dune-configurator.3.20.2 -> installed ounit2.2.2.7 -> installed ounit.2.2.7 -> installed parsexp.v0.16.0 -> installed sexplib.v0.16.0 -> installed lwt.5.9.2 -> installed logs.0.10.0 -> installed mirage-runtime.4.10.4 -> 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) 2026-01-13 13:50.14 ---> saved as "5f57a0c7bb19eb48f61ffde20027f89af622bbee7cb99128345ac9874fc6d462" /: (copy (src .) (dst ./src)) 2026-01-13 13:50.15 ---> saved as "3e302b85dc858710fe459bf122e8a5d0e1b0c9e80bbe4ed7e849485100dae583" /: (run (shell "cd ./src && opam exec -- dune build @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 && /Users/mac1000/.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 /Users/mac1000/.opam/4.14.2/lib/bytes -I /Users/mac1000/.opam/4.14.2/lib/cstruct -I /Users/mac1000/.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? (cd _build/default && /Users/mac1000/.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 /Users/mac1000/.opam/4.14.2/lib/bytes -I /Users/mac1000/.opam/4.14.2/lib/cstruct -I /Users/mac1000/.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 && /Users/mac1000/.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 /Users/mac1000/.opam/4.14.2/lib/bytes -I /Users/mac1000/.opam/4.14.2/lib/cstruct -I /Users/mac1000/.opam/4.14.2/lib/ocplib-endian -I /Users/mac1000/.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 && /Users/mac1000/.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 /Users/mac1000/.opam/4.14.2/lib/bytes -I /Users/mac1000/.opam/4.14.2/lib/cmdliner -I /Users/mac1000/.opam/4.14.2/lib/cstruct -I /Users/mac1000/.opam/4.14.2/lib/duration -I /Users/mac1000/.opam/4.14.2/lib/logs -I /Users/mac1000/.opam/4.14.2/lib/lwt -I /Users/mac1000/.opam/4.14.2/lib/lwt/unix -I /Users/mac1000/.opam/4.14.2/lib/mirage-runtime -I /Users/mac1000/.opam/4.14.2/lib/mirage-runtime/functoria -I /Users/mac1000/.opam/4.14.2/lib/mirage-unix -I /Users/mac1000/.opam/4.14.2/lib/ocaml/threads -I /Users/mac1000/.opam/4.14.2/lib/ocplib-endian -I /Users/mac1000/.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 && /Users/mac1000/.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 /Users/mac1000/.opam/4.14.2/lib/bytes -I /Users/mac1000/.opam/4.14.2/lib/cstruct -I /Users/mac1000/.opam/4.14.2/lib/oUnit -I /Users/mac1000/.opam/4.14.2/lib/ocplib-endian -I /Users/mac1000/.opam/4.14.2/lib/ounit2 -I /Users/mac1000/.opam/4.14.2/lib/ounit2/advanced -I /Users/mac1000/.opam/4.14.2/lib/seq -I /Users/mac1000/.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 -D_FILE_OFFSET_BITS=64 --std=c99 -Wall -Wextra -Wpedantic -O3 -g -I /Users/mac1000/.opam/4.14.2/lib/ocaml -I /Users/mac1000/.opam/4.14.2/lib/bytes -I /Users/mac1000/.opam/4.14.2/lib/cstruct -I /Users/mac1000/.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 -D_FILE_OFFSET_BITS=64 --std=c99 -Wall -Wextra -Wpedantic -O3 -g -I /Users/mac1000/.opam/4.14.2/lib/ocaml -I /Users/mac1000/.opam/4.14.2/lib/bytes -I /Users/mac1000/.opam/4.14.2/lib/cstruct -I /Users/mac1000/.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. "/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2026-01-13 13:50.21: Job failed: Failed: Build failed