2024-12-12 12:28.58: New job: test hannesm/mirage-crypto https://github.com/hannesm/mirage-crypto.git#refs/heads/master (f794fab91bc9665844fba6d5d8229183038ac1ec) (windows-amd64:windows-server-2022-amd64-4.14_opam-2.3)
Base: windows-server-2022-amd64-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 windows-server-2022-amd64-ocaml-4.14
# windows-server-2022-amd64-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN 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 /Users/opam/src/./
RUN opam pin add -yn mirage-crypto.dev '/Users/opam/src/./' && \
opam pin add -yn mirage-crypto-rng.dev '/Users/opam/src/./' && \
opam pin add -yn mirage-crypto-pk.dev '/Users/opam/src/./' && \
opam pin add -yn mirage-crypto-entropy.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="arch-x86_64.1 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-mingw-w64-gcc-x86_64.1 conf-mingw-w64-gmp-x86_64.1 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 flexdll.0.43 fmt.0.9.0 host-arch-x86_64.1 host-system-mingw.1 ipaddr.5.6.0 logs.0.7.0 lwt.5.9.0 macaddr.5.6.0 mingw-w64-shims.0.2.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.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.5 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 system-mingw.1 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 . /Users/opam/src
RUN cd /cygdrive/c/Users/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-windows-server-2022-amd64-ocaml-4.14-windows-server-2022-amd64-4.14_opam-2.3-e32e8372daaa24de5ba40f99d096818a"
2024-12-12 12:28.58: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-4.14)
(comment windows-server-2022-amd64-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "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 "c:\\Users\\opam\\AppData\\local\\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 /Users/opam/src/./))
(run (network host)
(shell "opam pin add -yn mirage-crypto.dev '/Users/opam/src/./' && \
\nopam pin add -yn mirage-crypto-rng.dev '/Users/opam/src/./' && \
\nopam pin add -yn mirage-crypto-pk.dev '/Users/opam/src/./' && \
\nopam pin add -yn mirage-crypto-entropy.dev '/Users/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
(env DEPS "arch-x86_64.1 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-mingw-w64-gcc-x86_64.1 conf-mingw-w64-gmp-x86_64.1 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 flexdll.0.43 fmt.0.9.0 host-arch-x86_64.1 host-system-mingw.1 ipaddr.5.6.0 logs.0.7.0 lwt.5.9.0 macaddr.5.6.0 mingw-w64-shims.0.2.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.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.5 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 system-mingw.1 topkg.1.0.7 zarith.1.14")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\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 "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /Users/opam/src))
(run (shell "cd /cygdrive/c/Users/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:56.16: Got resource from pool OCluster
Building on odawa
All commits already cached
HEAD is now at f794fab [ci skip] changes 0.6.2
(from windows-server-2022-amd64-ocaml-4.14)
2024-12-12 12:56.16 ---> using "55c9cbebb0e098c78ccc09b1cc6e84ec9f0bd2275b7cebf331cc913575946dc0" from cache
/: (comment windows-server-2022-amd64-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2024-12-12 12:56.16 ---> using "fe3978d598c814685c6ee8922c3ae17147a3127f83af70ca6588d6b26847cd93" from cache
/: (run (shell "opam init --reinit -ni"))
No configuration file found, using built-in defaults.
<><> Unix support infrastructure ><><><><><><><><><><><><><><><><><><><><><><><>
opam and the OCaml ecosystem in general require various Unix tools in order to operate correctly. At present, this requires the installation of Cygwin to provide these tools.
How should opam obtain Unix tools?
> 1. Use tools found in PATH (Cygwin installation at C:\cygwin64)
2. Automatically create an internal Cygwin installation that will be managed by opam (recommended)
3. Use Cygwin installation found in C:\cygwin64
4. Use another existing Cygwin/MSYS2 installation
5. Abort initialisation
[1/2/3/4/5] 1
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] no changes from file://C:/Users/opam/opam-repository
2024-12-12 12:56.16 ---> using "0caf41f56a7e1f8a9ba062ae44d7d1f50471f3874e543c30c0d1c2b229f1e062" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.5.4-1.x86_64
The OCaml toplevel, version 4.14.2
2.3.0
2024-12-12 12:56.16 ---> using "6a7802e4db8e302e8ba8d87ff4e9376ae777099db0cd03bdab21ff27a442740c" from cache
/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 9d811310def03190e9b9b1db9c9ea19b4f954c17 || git fetch origin master) && git reset -q --hard 9d811310def03190e9b9b1db9c9ea19b4f954c17 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
11bdbee611..9d811310de master -> origin/master
9d811310de Merge pull request #27077 from hannesm/mark-more-mirage-deprecated
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file://C:/Users/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:56.16 ---> using "8a57c0070424a0abc7c2c22a5bc03ac3c2c775d0acfc393b2960ad28a7ac72d9" from cache
/: (copy (src mirage-crypto.opam mirage-crypto-rng.opam mirage-crypto-pk.opam mirage-crypto-entropy.opam)
(dst /Users/opam/src/./))
2024-12-12 12:56.36 ---> saved as "d8a7d38de8634953f8cd9590c5613b500a2b5e7a542eb1fcbc9dda4480288a27"
/: (run (network host)
(shell "opam pin add -yn mirage-crypto.dev '/Users/opam/src/./' && \
\nopam pin add -yn mirage-crypto-rng.dev '/Users/opam/src/./' && \
\nopam pin add -yn mirage-crypto-pk.dev '/Users/opam/src/./' && \
\nopam pin add -yn mirage-crypto-entropy.dev '/Users/opam/src/./'"))
[mirage-crypto.dev] synchronised (file://C:/Users/opam/src/.)
mirage-crypto is now pinned to file://C:/Users/opam/src/. (version dev)
[mirage-crypto-rng.dev] synchronised (file://C:/Users/opam/src/.)
mirage-crypto-rng is now pinned to file://C:/Users/opam/src/. (version dev)
[mirage-crypto-pk.dev] synchronised (file://C:/Users/opam/src/.)
mirage-crypto-pk is now pinned to file://C:/Users/opam/src/. (version dev)
[mirage-crypto-entropy.dev] synchronised (file://C:/Users/opam/src/.)
[WARNING] Failed checks on mirage-crypto-entropy package definition from source at file://C:/Users/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://C:/Users/opam/src/. (version dev)
2024-12-12 12:57.13 ---> saved as "f5dc108ca380a09898f015948d90fe1cd161d9427bab714e40e835b9aedd9bb4"
/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2024-12-12 12:57.45 ---> saved as "824edfc7688e0930134c7311006d921be78e999ddc8f63fd38f5692ba7b8867a"
/: (env DEPS "arch-x86_64.1 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-mingw-w64-gcc-x86_64.1 conf-mingw-w64-gmp-x86_64.1 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 flexdll.0.43 fmt.0.9.0 host-arch-x86_64.1 host-system-mingw.1 ipaddr.5.6.0 logs.0.7.0 lwt.5.9.0 macaddr.5.6.0 mingw-w64-shims.0.2.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.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.5 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 system-mingw.1 topkg.1.0.7 zarith.1.14")
/: (env CI true)
/: (env OCAMLCI true)
/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\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"))
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-crypto.dev] synchronised (file://C:/Users/opam/src/.)
[mirage-crypto-entropy.dev] synchronised (file://C:/Users/opam/src/.)
[mirage-crypto-pk.dev] synchronised (file://C:/Users/opam/src/.)
[mirage-crypto-rng.dev] synchronised (file://C:/Users/opam/src/.)
[NOTE] Package system-mingw is already installed (current version is 1).
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-env-mingw64 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 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.43).
[NOTE] Package conf-mingw-w64-gcc-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).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
The following system packages will first need to be installed:
mingw64-x86_64-gmp
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ C:\Users\opam\AppData\Local\opam\.cygwin\setup-x86_64.exe "--root" "C:\\cygwin64" "--quiet-mode" "unattended" "--no-shortcuts" "--no-startmenu" "--no-desktop" "--no-admin" "--no-version-check" "--no-write-registry" "--packages" "mingw64-x86_64-gmp"
- Starting cygwin install, version 2.932
- User has backup/restore rights
- User has symlink creation right
- Current Directory: C:\Windows\system32
- root: C:\cygwin64 system
- Changing gid to Administrators
- Selected local directory: C:\Windows\system32
- net: Preconfig
- site: https://cygwin.mirror.constant.com/
- solving: 1 tasks, update: no, use test packages: no
- solving: 2 tasks, update: no, use test packages: no
- Augmented Transaction List:
- 0 install mingw64-x86_64-gcc-g++ 12.4.0-1
- 1 install mingw64-x86_64-gmp 6.3.0-1
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/mingw64-x86_64-gcc/mingw64-x86_64-gcc-g++/mingw64-x86_64-gcc-g++-12.4.0-1.tar.zst
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-gmp/mingw64-x86_64-gmp-6.3.0-1.tar.zst
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/mingw64-x86_64-gcc/mingw64-x86_64-gcc-g++/mingw64-x86_64-gcc-g++-12.4.0-1.tar.zst
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-gmp/mingw64-x86_64-gmp-6.3.0-1.tar.zst
- running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash"
- running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash"
- running: C:\cygwin64\bin\dash.exe "/etc/postinstall/zp_man-db-update-index.dash"
- Ending cygwin install
- NOTE: you should run 'diskperf -y' to enable the disk statistics
- NOTE: you should run 'diskperf -y' to enable the disk statistics
2024-12-12 12:58.56 ---> saved as "ce05453b112479fff844698157b680310b0c28c2c5c88a6a4dc1b6db8edce14a"
/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package system-mingw is already installed (current version is 1).
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-env-mingw64 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 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.43).
[NOTE] Package conf-mingw-w64-gcc-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).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
The following actions will be performed:
=== recompile 1 package
- recompile mingw-w64-shims 0.2.0
=== install 45 packages
- install base v0.16.3
- install base-bytes base
- install cmdliner 1.3.0
- install conf-bash 1
- install conf-gmp 4
- install conf-gmp-powm-sec 3
- install conf-mingw-w64-gmp-x86_64 1
- 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.12.4
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.5
- install ocplib-endian 1.2
- install ounit 2.2.7
- install ounit2 2.2.7
- install parsexp v0.16.0
- install ppx_derivers 1.2.1
- install ppx_sexp_conv v0.16.0
- install ppxlib 0.33.0
- install randomconv 0.2.0
- install rresult 0.7.0
- install seq base
- install sexplib v0.16.0
- install sexplib0 v0.16.0
- install stdlib-shims 0.3.0
- install topkg 1.0.7
- install zarith 1.14
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-gmp.4 (cached)
-> retrieved conf-gmp-powm-sec.3 (cached)
-> retrieved base.v0.16.3 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cpuid.0.1.2 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0 (cached)
-> retrieved cppo.1.8.0 (https://github.com/ocaml-community/cppo/archive/v1.8.0.tar.gz)
-> retrieved domain-name.0.4.0 (cached)
-> retrieved duration.0.2.1 (cached)
-> installed conf-bash.1
-> 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 mingw-w64-shims.0.2.0 (cached)
-> installed mirage-no-solo5.1
-> installed mirage-no-xen.1
-> removed mingw-w64-shims.0.2.0
-> installed conf-pkg-config.3
-> installed conf-mingw-w64-gmp-x86_64.1
-> installed mingw-w64-shims.0.2.0
-> retrieved lwt.5.9.0 (https://github.com/ocsigen/lwt/archive/refs/tags/5.9.0.tar.gz)
-> retrieved mirage-unix.5.0.1 (cached)
-> installed conf-gmp.4
-> retrieved num.1.5-1 (cached)
-> retrieved mirage-runtime.4.8.2 (https://github.com/mirage/mirage/releases/download/v4.8.2/mirage-4.8.2.tbz)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> installed conf-gmp-powm-sec.3
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.5 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved ounit.2.2.7, ounit2.2.2.7 (cached)
-> retrieved parsexp.v0.16.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_sexp_conv.v0.16.0 (cached)
-> retrieved randomconv.0.2.0 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved ppxlib.0.33.0 (cached)
-> retrieved dune.3.17.0, dune-configurator.3.17.0 (https://github.com/ocaml/dune/releases/download/3.17.0/dune-3.17.0.tbz)
-> retrieved sexplib.v0.16.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved zarith.1.14 (cached)
-> installed cmdliner.1.3.0
-> installed num.1.5-1
-> installed ocamlbuild.0.15.0
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind_opt
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\4.14.2\.opam-switch\build\ocamlfind.1.9.5\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\4.14.2\.opam-switch\build\ocamlfind.1.9.5\src\findlib\ocamlfind_opt.exe
[WARNING] C:\Users\opam\AppData\Local\opam\4.14.2\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.5
-> 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 csexp.1.5.2
-> installed cppo.1.8.0
-> installed cpuid.0.1.2
-> installed cstruct.6.2.0
-> installed domain-name.0.4.0
-> installed duration.0.2.1
-> installed eqaf.0.10
-> installed macaddr.5.6.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocplib-endian.1.2
-> installed ppx_derivers.1.2.1
-> installed randomconv.0.2.0
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed ipaddr.5.6.0
-> installed dune-configurator.3.17.0
-> installed parsexp.v0.16.0
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed sexplib.v0.16.0
-> installed lwt.5.9.0
-> installed base.v0.16.3
-> installed ppxlib.0.33.0
-> installed logs.0.7.0
-> installed mirage-runtime.4.8.2
-> installed mirage-unix.5.0.1
-> installed ppx_sexp_conv.v0.16.0
Done.
<><> mirage-no-xen.1 installed successfully <><><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
<><> mirage-no-solo5.1 installed successfully <><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2024-12-12 13:00.56 ---> saved as "830e25a8ef6d8725db9f80040b12bc94c8e98d56c22cf233f3fe422dc73c250f"
/: (copy (src .) (dst /Users/opam/src))
2024-12-12 13:01.14 ---> saved as "82b4928c76cd8fc4c4fb50cd2b48f8ea7a53a66377b267f69c4e6073dc94cf24"
/: (run (shell "cd /cygdrive/c/Users/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 && C:\Users\opam\AppData\Local\opam\4.14.2\bin\ocamlc.opt.exe -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 C:\Users\opam\AppData\Local\opam\4.14.2\lib\bytes -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\cstruct -I C:\Users\opam\AppData\Local\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 && C:\Users\opam\AppData\Local\opam\4.14.2\bin\ocamlc.opt.exe -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 C:\Users\opam\AppData\Local\opam\4.14.2\lib\bytes -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\cstruct -I C:\Users\opam\AppData\Local\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 && C:\Users\opam\AppData\Local\opam\4.14.2\bin\ocamlc.opt.exe -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 C:/Users/opam/AppData/Local/opam/4.14.2/lib/ocaml\threads -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\bytes -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\cmdliner -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\cstruct -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\duration -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\logs -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\lwt -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\lwt\unix -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\mirage-runtime -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\mirage-runtime\functoria -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\mirage-unix -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\ocplib-endian -I C:\Users\opam\AppData\Local\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 && C:\Users\opam\AppData\Local\opam\4.14.2\bin\ocamlc.opt.exe -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 C:\Users\opam\AppData\Local\opam\4.14.2\lib\bytes -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\cstruct -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\ocplib-endian -I C:\Users\opam\AppData\Local\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 && C:\Users\opam\AppData\Local\opam\4.14.2\bin\ocamlc.opt.exe -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 C:\Users\opam\AppData\Local\opam\4.14.2\lib\bytes -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\cstruct -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\oUnit -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\ocplib-endian -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\ounit2 -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\ounit2\advanced -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\seq -I C:\Users\opam\AppData\Local\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 && C:\cygwin64\bin\x86_64-w64-mingw32-gcc.exe -O2 -fno-strict-aliasing -fwrapv -mms-bitfields --std=c99 -Wall -Wextra -Wpedantic -O3 -mrdrnd -mrdseed -DACCELERATE -mssse3 -maes -mpclmul -g -I C:/Users/opam/AppData/Local/opam/4.14.2/lib/ocaml -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\bytes -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\cstruct -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\ocplib-endian -o des_generic.o -c native/des_generic.c)
native/des_generic.c:404:31: warning: argument 1 of type 'unsigned char[16]' with mismatched bound [-Warray-parameter=]
404 | void mc_des2key(unsigned char hexkey[16], short mode) /* stomps on Kn3 too */
| ~~~~~~~~~~~~~~^~~~~~~~~~
In file included from native/des_generic.c:19:
native/des_generic.h:67:24: note: previously declared as 'unsigned char *'
67 | extern void mc_des2key(unsigned char *, short);
| ^~~~~~~~~~~~~~~
native/des_generic.c:536:31: warning: argument 1 of type 'unsigned char[24]' with mismatched bound [-Warray-parameter=]
536 | void mc_des3key(unsigned char hexkey[24], short mode)
| ~~~~~~~~~~~~~~^~~~~~~~~~
native/des_generic.h:126:24: note: previously declared as 'unsigned char *'
126 | extern void mc_des3key(unsigned char *, short);
| ^~~~~~~~~~~~~~~
"cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-12-12 13:01.37: Job failed: Failed: Build failed