2024-12-12 12:28.58: New job: test hannesm/mirage-crypto https://github.com/hannesm/mirage-crypto.git#refs/heads/master (f794fab91bc9665844fba6d5d8229183038ac1ec) (openbsd-amd64:openbsd-76-amd64-5.2_opam-2.3) Base: openbsd-76-amd64-ocaml-5.2 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 openbsd-76-amd64-ocaml-5.2 # openbsd-76-amd64-5.2_opam-2.3 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" RUN doas ln -f /usr/bin/opam-2.3 /usr/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version 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 /home/opam/src/./ RUN opam pin add -yn mirage-crypto.dev '/home/opam/src/./' && \ opam pin add -yn mirage-crypto-rng.dev '/home/opam/src/./' && \ opam pin add -yn mirage-crypto-pk.dev '/home/opam/src/./' && \ opam pin add -yn mirage-crypto-entropy.dev '/home/opam/src/./' RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project' ENV DEPS="base.v0.17.1 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 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.5.2.1 ocaml-base-compiler.5.2.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ounit.2.2.7 ounit2.2.2.7 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.0 ppxlib.0.33.0 ppxlib_jane.v0.17.0 randomconv.0.2.0 rresult.0.7.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.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 . /home/opam/src RUN cd /home/opam/src && 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-openbsd-76-amd64-ocaml-5.2-openbsd-76-amd64-5.2_opam-2.3-0b1107c63c978529e63ae0da2b249b10" 2024-12-12 12:28.58: Using OBuilder spec: ((from openbsd-76-amd64-ocaml-5.2) (comment openbsd-76-amd64-5.2_opam-2.3) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (run (shell "doas 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")) (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 /home/opam/src/./)) (run (network host) (shell "opam pin add -yn mirage-crypto.dev '/home/opam/src/./' && \ \nopam pin add -yn mirage-crypto-rng.dev '/home/opam/src/./' && \ \nopam pin add -yn mirage-crypto-pk.dev '/home/opam/src/./' && \ \nopam pin add -yn mirage-crypto-entropy.dev '/home/opam/src/./'")) (run (network host) (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'")) (env DEPS "base.v0.17.1 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 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.5.2.1 ocaml-base-compiler.5.2.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ounit.2.2.7 ounit2.2.2.7 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.0 ppxlib.0.33.0 ppxlib_jane.v0.17.0 randomconv.0.2.0 rresult.0.7.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.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 /home/opam/src)) (run (shell "cd /home/opam/src && 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:31.46: Got resource from pool OCluster Building on bremusa All commits already cached HEAD is now at f794fab [ci skip] changes 0.6.2 (from openbsd-76-amd64-ocaml-5.2) 2024-12-12 12:31.46 ---> using "4320665f99976787f90a9e18174d2737909e8978c44b8f3d46fb0aff097b06a4" from cache /: (comment openbsd-76-amd64-5.2_opam-2.3) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam")) 2024-12-12 12:31.46 ---> using "22e2929b9a366c809ec816349aa6cb9a45b4649cad05d8c280efed2bc66c5069" 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. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository 2024-12-12 12:31.46 ---> using "8ee85108de9d3aac6d892ef0faaf024ea14d13d761a327e4e4cd8f43a209bafa" from cache /: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) OpenBSD 7.6 The OCaml toplevel, version 5.2.1 2.3.0 2024-12-12 12:31.46 ---> using "52e1b1eb38389daf27ec5bb41e48ee2005bdbd80371e88d39094e253864006cb" from cache /: (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 727427c1e7..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 12:31.46 ---> using "69188f2ccce18c498d7fef98c9b76933d0b3e2cad52e331fcffc3c3fe2a185de" from cache /: (copy (src mirage-crypto.opam mirage-crypto-rng.opam mirage-crypto-pk.opam mirage-crypto-entropy.opam) (dst /home/opam/src/./)) 2024-12-12 12:32.44 ---> saved as "a81176cb618816da69b2984b8a67c12e2ebb3499b6e3c42e2e021947d1099f84" /: (run (network host) (shell "opam pin add -yn mirage-crypto.dev '/home/opam/src/./' && \ \nopam pin add -yn mirage-crypto-rng.dev '/home/opam/src/./' && \ \nopam pin add -yn mirage-crypto-pk.dev '/home/opam/src/./' && \ \nopam pin add -yn mirage-crypto-entropy.dev '/home/opam/src/./'")) [mirage-crypto.dev] synchronised (file:///home/opam/src) mirage-crypto is now pinned to file:///home/opam/src (version dev) [mirage-crypto-rng.dev] synchronised (file:///home/opam/src) mirage-crypto-rng is now pinned to file:///home/opam/src (version dev) [mirage-crypto-pk.dev] synchronised (file:///home/opam/src) mirage-crypto-pk is now pinned to file:///home/opam/src (version dev) [mirage-crypto-entropy.dev] synchronised (file:///home/opam/src) [WARNING] Failed checks on mirage-crypto-entropy package definition from source at file:///home/opam/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:///home/opam/src (version dev) 2024-12-12 12:33.45 ---> saved as "000a0d9672483a5d5f65eb126afed0e8acdd5d8b48726f1c58acdb89ecd305f5" /: (run (network host) (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'")) 2024-12-12 12:34.42 ---> saved as "64db81ff7791b80afc3132ce8ebbd156b8ed46b327b8b69c3a95a1418626b6ab" /: (env DEPS "base.v0.17.1 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.3.0 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.5.2.1 ocaml-base-compiler.5.2.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ounit.2.2.7 ounit2.2.2.7 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.0 ppxlib.0.33.0 ppxlib_jane.v0.17.0 randomconv.0.2.0 rresult.0.7.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.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")) [WARNING] Unknown update command for bsd, skipping system update <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [mirage-crypto-entropy.dev] synchronised (file:///home/opam/src) [mirage-crypto-pk.dev] synchronised (file:///home/opam/src) [mirage-crypto.dev] synchronised (file:///home/opam/src) [mirage-crypto-rng.dev] synchronised (file:///home/opam/src) [NOTE] Package ocaml-options-vanilla is already installed (current version is 1). [NOTE] Package ocaml-config is already installed (current version is 3). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.1). [NOTE] Package ocaml is already installed (current version is 5.2.1). [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-nnp is already installed (current version is base). [NOTE] Package base-domains 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/bin/doas "pkg_add" "-I" "gmp" - quirks-7.50 signed on 2024-12-11T21:55:07Z 2024-12-12 12:35.57 ---> saved as "783d1b8b4a45f58a8136d1ed0c59b111aeca2b601e9024f8e1cdedff6d363bba" /: (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 3). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.2.1). [NOTE] Package ocaml is already installed (current version is 5.2.1). [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-nnp is already installed (current version is base). [NOTE] Package base-domains 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 45 packages - install base v0.17.1 - install base-bytes base - install cmdliner 1.3.0 - 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 domain-name 0.4.0 - install dune 3.17.0 - install dune-configurator 3.17.0 - install duration 0.2.1 - install eqaf 0.10 - install fmt 0.9.0 - install ipaddr 5.6.0 - install logs 0.7.0 - install lwt 5.9.0 - install macaddr 5.6.0 - install mirage-no-solo5 1 (deprecated) - install mirage-no-xen 1 (deprecated) - install mirage-runtime 4.8.2 - install mirage-unix 5.0.1 - install num 1.5-1 - install ocaml-compiler-libs v0.17.0 - install ocaml_intrinsics_kernel v0.17.1 - 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.17.0 - install ppx_derivers 1.2.1 - install ppx_sexp_conv v0.17.0 - install ppxlib 0.33.0 - install ppxlib_jane v0.17.0 - install randomconv 0.2.0 - install rresult 0.7.0 - install seq base - install sexplib v0.17.0 - install sexplib0 v0.17.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) -> retrieved cmdliner.1.3.0 (cached) -> retrieved cppo.1.8.0 (cached) -> retrieved cpuid.0.1.2 (cached) -> retrieved csexp.1.5.2 (cached) -> installed conf-gmp.4 -> retrieved domain-name.0.4.0 (cached) -> retrieved cstruct.6.2.0 (cached) -> retrieved base.v0.17.1 (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) -> 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 ocaml-compiler-libs.v0.17.0 (cached) -> retrieved ocaml_intrinsics_kernel.v0.17.1 (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.17.0 (cached) -> retrieved ppx_derivers.1.2.1 (cached) -> retrieved dune.3.17.0, dune-configurator.3.17.0 (cached) -> retrieved ppxlib.0.33.0 (cached) -> retrieved ppxlib_jane.v0.17.0 (cached) -> retrieved randomconv.0.2.0 (cached) -> retrieved seq.base (cached) -> retrieved rresult.0.7.0 (cached) -> retrieved ppx_sexp_conv.v0.17.0 (cached) -> retrieved sexplib0.v0.17.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved sexplib.v0.17.0 (cached) -> retrieved zarith.1.14 (cached) -> retrieved topkg.1.0.7 (cached) -> installed cmdliner.1.3.0 -> installed conf-gmp-powm-sec.3 -> installed conf-pkg-config.3 -> installed dune.3.17.0 -> installed mirage-no-solo5.1 -> installed mirage-no-xen.1 -> installed num.1.5-1 -> installed cppo.1.8.0 -> installed cpuid.0.1.2 -> installed csexp.1.5.2 -> installed domain-name.0.4.0 -> installed dune-configurator.3.17.0 -> installed duration.0.2.1 -> installed eqaf.0.10 -> installed macaddr.5.6.0 -> installed ocaml-compiler-libs.v0.17.0 -> installed ipaddr.5.6.0 -> installed ocaml_intrinsics_kernel.v0.17.1 -> installed ocamlbuild.0.15.0 -> installed ocamlfind.1.9.6 -> installed base-bytes.base -> installed ppx_derivers.1.2.1 -> installed randomconv.0.2.0 -> installed ocplib-endian.1.2 -> installed seq.base -> installed sexplib0.v0.17.0 -> installed lwt.5.9.0 -> installed base.v0.17.1 -> installed parsexp.v0.17.0 -> installed stdlib-shims.0.3.0 -> installed sexplib.v0.17.0 -> installed ounit2.2.2.7 -> installed ounit.2.2.7 -> installed ppxlib.0.33.0 -> installed topkg.1.0.7 -> installed ppxlib_jane.v0.17.0 -> installed fmt.0.9.0 -> installed ppx_sexp_conv.v0.17.0 -> installed cstruct.6.2.0 -> installed logs.0.7.0 -> installed rresult.0.7.0 -> installed mirage-runtime.4.8.2 -> installed zarith.1.14 -> installed mirage-unix.5.0.1 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 12:51.24 ---> saved as "6d78fd424b6b46b8cec6b3f0347d620e2540bb7909210eaa7b238b723f9ce76c" /: (copy (src .) (dst /home/opam/src)) 2024-12-12 12:52.06 ---> saved as "c23aa0c838a39d6064c6dcb4c020c5212db403d4101aa00cd8bdca2b72dad0e1" /: (run (shell "cd /home/opam/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 in tests/dune:25 (cd _build/default && /home/opam/.opam/5.2.1/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 -bin-annot-occurrences -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/5.2.1/lib/bytes -I /home/opam/.opam/5.2.1/lib/cstruct -I /home/opam/.opam/5.2.1/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/5.2.1/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 -bin-annot-occurrences -I rng/.mirage_crypto_rng.objs/byte -I rng/.mirage_crypto_rng.objs/public_cmi -I /home/opam/.opam/5.2.1/lib/bytes -I /home/opam/.opam/5.2.1/lib/cstruct -I /home/opam/.opam/5.2.1/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/5.2.1/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 -bin-annot-occurrences -I tests/.test_common_random.objs/byte -I /home/opam/.opam/5.2.1/lib/bytes -I /home/opam/.opam/5.2.1/lib/cstruct -I /home/opam/.opam/5.2.1/lib/ocplib-endian -I /home/opam/.opam/5.2.1/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/5.2.1/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 -bin-annot-occurrences -I tests/.test_entropy.eobjs/byte -I /home/opam/.opam/5.2.1/lib/bytes -I /home/opam/.opam/5.2.1/lib/cmdliner -I /home/opam/.opam/5.2.1/lib/cstruct -I /home/opam/.opam/5.2.1/lib/duration -I /home/opam/.opam/5.2.1/lib/logs -I /home/opam/.opam/5.2.1/lib/lwt -I /home/opam/.opam/5.2.1/lib/lwt/unix -I /home/opam/.opam/5.2.1/lib/mirage-runtime -I /home/opam/.opam/5.2.1/lib/mirage-runtime/functoria -I /home/opam/.opam/5.2.1/lib/mirage-unix -I /home/opam/.opam/5.2.1/lib/ocaml/threads -I /home/opam/.opam/5.2.1/lib/ocaml/unix -I /home/opam/.opam/5.2.1/lib/ocplib-endian -I /home/opam/.opam/5.2.1/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/5.2.1/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 -bin-annot-occurrences -I tests/.test_common.objs/byte -I /home/opam/.opam/5.2.1/lib/bytes -I /home/opam/.opam/5.2.1/lib/cstruct -I /home/opam/.opam/5.2.1/lib/oUnit -I /home/opam/.opam/5.2.1/lib/ocaml/unix -I /home/opam/.opam/5.2.1/lib/ocplib-endian -I /home/opam/.opam/5.2.1/lib/ounit2 -I /home/opam/.opam/5.2.1/lib/ounit2/advanced -I /home/opam/.opam/5.2.1/lib/seq -I /home/opam/.opam/5.2.1/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 -pthread -D_FILE_OFFSET_BITS=64 --std=c99 -Wall -Wextra -Wpedantic -O3 -mrdrnd -mrdseed -DACCELERATE -mssse3 -maes -mpclmul -g -I /home/opam/.opam/5.2.1/lib/ocaml -I /home/opam/.opam/5.2.1/lib/bytes -I /home/opam/.opam/5.2.1/lib/cstruct -I /home/opam/.opam/5.2.1/lib/ocplib-endian -o aes_generic.o -c native/aes_generic.c) In file included from native/aes_generic.c:7: In file included from native/mirage_crypto.h:7: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:20: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:30: /home/opam/.opam/5.2.1/lib/ocaml/caml/camlatomic.h:45:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] typedef _Atomic uintnat atomic_uintnat; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/camlatomic.h:46:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] typedef _Atomic intnat atomic_intnat; ^ In file included from native/aes_generic.c:7: In file included from native/mirage_crypto.h:7: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:20: /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:203:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_major_slice_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:204:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_major_slice_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:205:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_minor_gc_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:206:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_minor_gc_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:207:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_finalise_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:208:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_finalise_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:209:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_domain_terminated_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:301:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic fatal_error_hook caml_fatal_error_hook; ^ In file included from native/aes_generic.c:7: In file included from native/mirage_crypto.h:7: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:70: /home/opam/.opam/5.2.1/lib/ocaml/caml/domain_state.h:46:14: warning: '_Thread_local' is a C11 extension [-Wc11-extensions] CAMLextern CAMLthread_local caml_domain_state* caml_state; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:161:26: note: expanded from macro 'CAMLthread_local' #define CAMLthread_local _Thread_local ^ 11 warnings generated. (cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 --std=c99 -Wall -Wextra -Wpedantic -O3 -mrdrnd -mrdseed -DACCELERATE -mssse3 -maes -mpclmul -g -I /home/opam/.opam/5.2.1/lib/ocaml -I /home/opam/.opam/5.2.1/lib/bytes -I /home/opam/.opam/5.2.1/lib/cstruct -I /home/opam/.opam/5.2.1/lib/ocplib-endian -o entropy_cpu_stubs.o -c native/entropy_cpu_stubs.c) In file included from native/entropy_cpu_stubs.c:5: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:20: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:30: /home/opam/.opam/5.2.1/lib/ocaml/caml/camlatomic.h:45:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] typedef _Atomic uintnat atomic_uintnat; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/camlatomic.h:46:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] typedef _Atomic intnat atomic_intnat; ^ In file included from native/entropy_cpu_stubs.c:5: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:20: /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:203:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_major_slice_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:204:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_major_slice_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:205:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_minor_gc_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:206:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_minor_gc_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:207:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_finalise_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:208:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_finalise_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:209:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_domain_terminated_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:301:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic fatal_error_hook caml_fatal_error_hook; ^ In file included from native/entropy_cpu_stubs.c:5: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:70: /home/opam/.opam/5.2.1/lib/ocaml/caml/domain_state.h:46:14: warning: '_Thread_local' is a C11 extension [-Wc11-extensions] CAMLextern CAMLthread_local caml_domain_state* caml_state; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:161:26: note: expanded from macro 'CAMLthread_local' #define CAMLthread_local _Thread_local ^ native/entropy_cpu_stubs.c:64:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] static void detect () { ^ void 12 warnings generated. (cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 --std=c99 -Wall -Wextra -Wpedantic -O3 -mrdrnd -mrdseed -DACCELERATE -mssse3 -maes -mpclmul -g -I /home/opam/.opam/5.2.1/lib/ocaml -I /home/opam/.opam/5.2.1/lib/bytes -I /home/opam/.opam/5.2.1/lib/cstruct -I /home/opam/.opam/5.2.1/lib/ocplib-endian -o aes_aesni.o -c native/aes_aesni.c) In file included from native/aes_aesni.c:11: In file included from native/mirage_crypto.h:7: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:20: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:30: /home/opam/.opam/5.2.1/lib/ocaml/caml/camlatomic.h:45:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] typedef _Atomic uintnat atomic_uintnat; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/camlatomic.h:46:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] typedef _Atomic intnat atomic_intnat; ^ In file included from native/aes_aesni.c:11: In file included from native/mirage_crypto.h:7: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:20: /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:203:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_major_slice_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:204:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_major_slice_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:205:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_minor_gc_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:206:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_minor_gc_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:207:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_finalise_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:208:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_finalise_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:209:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_domain_terminated_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:301:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic fatal_error_hook caml_fatal_error_hook; ^ In file included from native/aes_aesni.c:11: In file included from native/mirage_crypto.h:7: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:70: /home/opam/.opam/5.2.1/lib/ocaml/caml/domain_state.h:46:14: warning: '_Thread_local' is a C11 extension [-Wc11-extensions] CAMLextern CAMLthread_local caml_domain_state* caml_state; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:161:26: note: expanded from macro 'CAMLthread_local' #define CAMLthread_local _Thread_local ^ 11 warnings generated. (cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 --std=c99 -Wall -Wextra -Wpedantic -O3 -mrdrnd -mrdseed -DACCELERATE -mssse3 -maes -mpclmul -g -I /home/opam/.opam/5.2.1/lib/ocaml -I /home/opam/.opam/5.2.1/lib/bytes -I /home/opam/.opam/5.2.1/lib/cstruct -I /home/opam/.opam/5.2.1/lib/ocplib-endian -o ghash_generic.o -c native/ghash_generic.c) In file included from native/ghash_generic.c:16: In file included from native/mirage_crypto.h:7: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:20: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:30: /home/opam/.opam/5.2.1/lib/ocaml/caml/camlatomic.h:45:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] typedef _Atomic uintnat atomic_uintnat; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/camlatomic.h:46:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] typedef _Atomic intnat atomic_intnat; ^ In file included from native/ghash_generic.c:16: In file included from native/mirage_crypto.h:7: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:20: /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:203:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_major_slice_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:204:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_major_slice_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:205:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_minor_gc_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:206:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_minor_gc_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:207:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_finalise_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:208:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_finalise_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:209:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_domain_terminated_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:301:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic fatal_error_hook caml_fatal_error_hook; ^ In file included from native/ghash_generic.c:16: In file included from native/mirage_crypto.h:7: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:70: /home/opam/.opam/5.2.1/lib/ocaml/caml/domain_state.h:46:14: warning: '_Thread_local' is a C11 extension [-Wc11-extensions] CAMLextern CAMLthread_local caml_domain_state* caml_state; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:161:26: note: expanded from macro 'CAMLthread_local' #define CAMLthread_local _Thread_local ^ 11 warnings generated. (cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 --std=c99 -Wall -Wextra -Wpedantic -O3 -mrdrnd -mrdseed -DACCELERATE -mssse3 -maes -mpclmul -g -I /home/opam/.opam/5.2.1/lib/ocaml -I /home/opam/.opam/5.2.1/lib/bytes -I /home/opam/.opam/5.2.1/lib/cstruct -I /home/opam/.opam/5.2.1/lib/ocplib-endian -o des_generic.o -c native/des_generic.c) In file included from native/des_generic.c:18: In file included from native/mirage_crypto.h:7: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:20: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:30: /home/opam/.opam/5.2.1/lib/ocaml/caml/camlatomic.h:45:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] typedef _Atomic uintnat atomic_uintnat; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/camlatomic.h:46:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] typedef _Atomic intnat atomic_intnat; ^ In file included from native/des_generic.c:18: In file included from native/mirage_crypto.h:7: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:20: /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:203:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_major_slice_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:204:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_major_slice_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:205:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_minor_gc_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:206:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_minor_gc_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:207:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_finalise_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:208:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_finalise_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:209:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_domain_terminated_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:301:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic fatal_error_hook caml_fatal_error_hook; ^ In file included from native/des_generic.c:18: In file included from native/mirage_crypto.h:7: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:70: /home/opam/.opam/5.2.1/lib/ocaml/caml/domain_state.h:46:14: warning: '_Thread_local' is a C11 extension [-Wc11-extensions] CAMLextern CAMLthread_local caml_domain_state* caml_state; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:161:26: note: expanded from macro 'CAMLthread_local' #define CAMLthread_local _Thread_local ^ 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] void mc_make3key(aptr, kptr) ^ 26 warnings generated. (cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 --std=c99 -Wall -Wextra -Wpedantic -O3 -mrdrnd -mrdseed -DACCELERATE -mssse3 -maes -mpclmul -g -I /home/opam/.opam/5.2.1/lib/ocaml -I /home/opam/.opam/5.2.1/lib/bytes -I /home/opam/.opam/5.2.1/lib/cstruct -I /home/opam/.opam/5.2.1/lib/ocplib-endian -o ghash_pclmul.o -c native/ghash_pclmul.c) In file included from native/ghash_pclmul.c:23: In file included from native/mirage_crypto.h:7: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:20: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:30: /home/opam/.opam/5.2.1/lib/ocaml/caml/camlatomic.h:45:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] typedef _Atomic uintnat atomic_uintnat; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/camlatomic.h:46:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] typedef _Atomic intnat atomic_intnat; ^ In file included from native/ghash_pclmul.c:23: In file included from native/mirage_crypto.h:7: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:20: /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:203:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_major_slice_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:204:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_major_slice_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:205:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_minor_gc_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:206:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_minor_gc_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:207:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_finalise_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:208:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_finalise_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:209:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_domain_terminated_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:301:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic fatal_error_hook caml_fatal_error_hook; ^ In file included from native/ghash_pclmul.c:23: In file included from native/mirage_crypto.h:7: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:70: /home/opam/.opam/5.2.1/lib/ocaml/caml/domain_state.h:46:14: warning: '_Thread_local' is a C11 extension [-Wc11-extensions] CAMLextern CAMLthread_local caml_domain_state* caml_state; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:161:26: note: expanded from macro 'CAMLthread_local' #define CAMLthread_local _Thread_local ^ 11 warnings generated. (cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 --std=c99 -Wall -Wextra -Wpedantic -O3 -mrdrnd -mrdseed -DACCELERATE -mssse3 -maes -mpclmul -g -I /home/opam/.opam/5.2.1/lib/ocaml -I /home/opam/.opam/5.2.1/lib/bytes -I /home/opam/.opam/5.2.1/lib/cstruct -I /home/opam/.opam/5.2.1/lib/ocplib-endian -o hash_stubs.o -c native/hash_stubs.c) In file included from native/hash_stubs.c:1: In file included from native/mirage_crypto.h:7: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:20: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:30: /home/opam/.opam/5.2.1/lib/ocaml/caml/camlatomic.h:45:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] typedef _Atomic uintnat atomic_uintnat; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/camlatomic.h:46:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] typedef _Atomic intnat atomic_intnat; ^ In file included from native/hash_stubs.c:1: In file included from native/mirage_crypto.h:7: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:20: /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:203:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_major_slice_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:204:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_major_slice_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:205:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_minor_gc_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:206:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_minor_gc_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:207:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_finalise_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:208:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_finalise_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:209:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_domain_terminated_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:301:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic fatal_error_hook caml_fatal_error_hook; ^ In file included from native/hash_stubs.c:1: In file included from native/mirage_crypto.h:7: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:70: /home/opam/.opam/5.2.1/lib/ocaml/caml/domain_state.h:46:14: warning: '_Thread_local' is a C11 extension [-Wc11-extensions] CAMLextern CAMLthread_local caml_domain_state* caml_state; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:161:26: note: expanded from macro 'CAMLthread_local' #define CAMLthread_local _Thread_local ^ 11 warnings generated. (cd _build/default/src && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 --std=c99 -Wall -Wextra -Wpedantic -O3 -mrdrnd -mrdseed -DACCELERATE -mssse3 -maes -mpclmul -g -I /home/opam/.opam/5.2.1/lib/ocaml -I /home/opam/.opam/5.2.1/lib/bytes -I /home/opam/.opam/5.2.1/lib/cstruct -I /home/opam/.opam/5.2.1/lib/ocplib-endian -o misc.o -c native/misc.c) In file included from native/misc.c:1: In file included from native/mirage_crypto.h:7: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:20: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:30: /home/opam/.opam/5.2.1/lib/ocaml/caml/camlatomic.h:45:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] typedef _Atomic uintnat atomic_uintnat; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/camlatomic.h:46:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] typedef _Atomic intnat atomic_intnat; ^ In file included from native/misc.c:1: In file included from native/mirage_crypto.h:7: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:20: /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:203:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_major_slice_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:204:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_major_slice_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:205:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_minor_gc_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:206:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_minor_gc_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:207:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_finalise_begin_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:208:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_finalise_end_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:209:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic caml_timing_hook caml_domain_terminated_hook; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:301:8: warning: '_Atomic' is a C11 extension [-Wc11-extensions] extern _Atomic fatal_error_hook caml_fatal_error_hook; ^ In file included from native/misc.c:1: In file included from native/mirage_crypto.h:7: In file included from /home/opam/.opam/5.2.1/lib/ocaml/caml/mlvalues.h:70: /home/opam/.opam/5.2.1/lib/ocaml/caml/domain_state.h:46:14: warning: '_Thread_local' is a C11 extension [-Wc11-extensions] CAMLextern CAMLthread_local caml_domain_state* caml_state; ^ /home/opam/.opam/5.2.1/lib/ocaml/caml/misc.h:161:26: note: expanded from macro 'CAMLthread_local' #define CAMLthread_local _Thread_local ^ 11 warnings generated. "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2024-12-12 12:53.01: Job failed: Failed: Build failed