Organisationshannesmmirage-crypto294c9a (cirrus-ci)windows-server-2022-amd64-5.4_opam-2.5

windows-server-2022-amd64-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-01-13 12:34.55: New job: test hannesm/mirage-crypto https://github.com/hannesm/mirage-crypto.git#refs/heads/cirrus-ci (294c9a2f1be6ae60e019ed512628ed2491468469) (windows-amd64:windows-server-2022-amd64-5.4_opam-2.5)
Base: windows-server-2022-amd64-ocaml-5.4
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/hannesm/mirage-crypto.git" -b "cirrus-ci" && cd "mirage-crypto" && git reset --hard 294c9a2f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-amd64-ocaml-5.4
# windows-server-2022-amd64-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/bin/opam-2.5 /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 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-rng-mirage.opam mirage-crypto-rng-miou-unix.opam mirage-crypto-pk.opam mirage-crypto-ec.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-rng-mirage.dev '/Users/opam/src/./' && \
opam pin add -yn mirage-crypto-rng-miou-unix.dev '/Users/opam/src/./' && \
opam pin add -yn mirage-crypto-pk.dev '/Users/opam/src/./' && \
opam pin add -yn mirage-crypto-ec.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="alcotest.1.9.1 arch-x86_64.1 asn1-combinators.0.3.2 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-gmp-x86_64.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-name.0.5.0 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 eqaf.0.10 flexdll.0.44 fmt.0.11.0 host-arch-x86_64.1 host-system-mingw.1 ipaddr.5.6.1 logs.0.10.0 lwt.5.9.2 macaddr.5.6.1 mingw-w64-shims.0.2.0 miou.0.5.1 mirage-mtime.5.2.0 mirage-runtime.4.10.4 mirage-sleep.4.1.0 mirage-unix.5.0.1 mtime.2.1.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_deriving_yojson.3.10.0 ppxlib.0.37.0 ptime.1.2.0 randomconv.0.2.0 re.1.14.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.1.1 uutf.1.0.4 yojson.3.0.0 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-rng-mirage.dev mirage-crypto-rng-miou-unix.dev mirage-crypto-pk.dev mirage-crypto-ec.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


2026-01-13 12:34.55: Using cache hint "hannesm/mirage-crypto-windows-server-2022-amd64-ocaml-5.4-windows-server-2022-amd64-5.4_opam-2.5-5c6091a7f620cb5fb466ded264de7b1e"
2026-01-13 12:34.55: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-5.4)
(comment windows-server-2022-amd64-5.4_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f /usr/bin/opam-2.5 /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 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-rng-mirage.opam mirage-crypto-rng-miou-unix.opam mirage-crypto-pk.opam mirage-crypto-ec.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-rng-mirage.dev '/Users/opam/src/./' && \
\nopam pin add -yn mirage-crypto-rng-miou-unix.dev '/Users/opam/src/./' && \
\nopam pin add -yn mirage-crypto-pk.dev '/Users/opam/src/./' && \
\nopam pin add -yn mirage-crypto-ec.dev '/Users/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
(env DEPS "alcotest.1.9.1 arch-x86_64.1 asn1-combinators.0.3.2 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-gmp-x86_64.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-name.0.5.0 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 eqaf.0.10 flexdll.0.44 fmt.0.11.0 host-arch-x86_64.1 host-system-mingw.1 ipaddr.5.6.1 logs.0.10.0 lwt.5.9.2 macaddr.5.6.1 mingw-w64-shims.0.2.0 miou.0.5.1 mirage-mtime.5.2.0 mirage-runtime.4.10.4 mirage-sleep.4.1.0 mirage-unix.5.0.1 mtime.2.1.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_deriving_yojson.3.10.0 ppxlib.0.37.0 ptime.1.2.0 randomconv.0.2.0 re.1.14.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.1.1 uutf.1.0.4 yojson.3.0.0 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.5 --depext-only -y mirage-crypto.dev mirage-crypto-rng.dev mirage-crypto-rng-mirage.dev mirage-crypto-rng-miou-unix.dev mirage-crypto-pk.dev mirage-crypto-ec.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"))
)


2026-01-13 12:34.55: Waiting for resource in pool OCluster
2026-01-13 12:34.55: Waiting for worker…
2026-01-13 13:17.51: Got resource from pool OCluster
Building on thyme
All commits already cached
HEAD is now at 294c9a2 use freebsd-14-3 on cirrus


(from windows-server-2022-amd64-ocaml-5.4)
2026-01-13 13:17.52 ---> using "dc0473c210cbdaa785843aceeb4b20f70de275b54f2f11b3cd1945755e26c295" from cache


/: (comment windows-server-2022-amd64-5.4_opam-2.5)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-01-13 13:17.52 ---> using "458612386af86cf817dbe29d01dc6efb3c2620df43160b102405910eab684d9d" 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
2026-01-13 13:17.52 ---> using "3bceda86eced6c80594b1121f6cd17638cfd192928e335ef4b5c0e6a8a370c40" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.6.5-1.x86_64
The OCaml toplevel, version 5.4.0
2.5.0
2026-01-13 13:17.52 ---> using "bbfe8c5871361a1180a9d803bce7b93263c018d1d780fe6d2ac0f7a771421cb9" 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 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
a6b2f19780..7d1fb28629  master     -> origin/master
7d1fb28629 Merge pull request #29219 from hannesm/mirage-runtime-not-lwt-6


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file://C:/Users/opam/opam-repository


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-01-13 13:17.52 ---> using "0c6cdd4b0bbff925c04b96122a455bb7cffefd224f83d251af35fe273f858144" from cache


/: (copy (src mirage-crypto.opam mirage-crypto-rng.opam mirage-crypto-rng-mirage.opam mirage-crypto-rng-miou-unix.opam mirage-crypto-pk.opam mirage-crypto-ec.opam)
(dst /Users/opam/src/./))
2026-01-13 13:18.40 ---> saved as "d84bb691a903da7b5c5c0639a75e2fbdccf02e25a051464095438d0953df984f"


/: (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-rng-mirage.dev '/Users/opam/src/./' && \
\nopam pin add -yn mirage-crypto-rng-miou-unix.dev '/Users/opam/src/./' && \
\nopam pin add -yn mirage-crypto-pk.dev '/Users/opam/src/./' && \
\nopam pin add -yn mirage-crypto-ec.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-rng-mirage.dev] synchronised (file://C:/Users/opam/src/.)
mirage-crypto-rng-mirage is now pinned to file://C:/Users/opam/src/. (version dev)
[mirage-crypto-rng-miou-unix.dev] synchronised (file://C:/Users/opam/src/.)
mirage-crypto-rng-miou-unix 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-ec.dev] synchronised (file://C:/Users/opam/src/.)
mirage-crypto-ec is now pinned to file://C:/Users/opam/src/. (version dev)
2026-01-13 13:19.17 ---> saved as "160d9fc86bc5eee7286b90176cc500a1c100f4cd745e379545ae9ed5fa6f4cdd"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2026-01-13 13:19.38 ---> saved as "f51194caaf7bf5844a2af9253cd32d9f43ff3d8b37a06d249c70d41fdfac3b35"


/: (env DEPS "alcotest.1.9.1 arch-x86_64.1 asn1-combinators.0.3.2 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-gmp-x86_64.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-name.0.5.0 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 eqaf.0.10 flexdll.0.44 fmt.0.11.0 host-arch-x86_64.1 host-system-mingw.1 ipaddr.5.6.1 logs.0.10.0 lwt.5.9.2 macaddr.5.6.1 mingw-w64-shims.0.2.0 miou.0.5.1 mirage-mtime.5.2.0 mirage-runtime.4.10.4 mirage-sleep.4.1.0 mirage-unix.5.0.1 mtime.2.1.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_deriving_yojson.3.10.0 ppxlib.0.37.0 ptime.1.2.0 randomconv.0.2.0 re.1.14.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.1.1 uutf.1.0.4 yojson.3.0.0 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.5 --depext-only -y mirage-crypto.dev mirage-crypto-rng.dev mirage-crypto-rng-mirage.dev mirage-crypto-rng-miou-unix.dev mirage-crypto-pk.dev mirage-crypto-ec.dev $DEPS"))


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-crypto.dev] synchronised (file://C:/Users/opam/src/.)
[mirage-crypto-ec.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/.)
[mirage-crypto-rng-miou-unix.dev] synchronised (file://C:/Users/opam/src/.)
[mirage-crypto-rng-mirage.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-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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.44).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects 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).
[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.934
- 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: 2 tasks, update: no, use test packages: no
- solving: 3 tasks, update: no, use test packages: no
- Augmented Transaction List:
-    0 install gettext-locale-alias   0.26-1
-    1 install mingw64-x86_64-gcc-g++ 13.4.0-1
-    2 install mingw64-x86_64-gmp     6.3.0-1
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/x86_64/release/gettext/gettext-locale-alias/gettext-locale-alias-0.26-1-x86_64.tar.xz
- 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++-13.4.0-1-x86_64.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/gettext/gettext-locale-alias/gettext-locale-alias-0.26-1-x86_64.tar.xz
- 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++-13.4.0-1-x86_64.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
# To update the current shell environment, run: eval $(opam env)
2026-01-13 13:22.22 ---> saved as "cd80f4660b6b65364142095e432ba79dafe134ad7cd706082bfd1165c2e161a6"


/: (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-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[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.44).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects 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).
[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 49 packages
- install   alcotest                  1.9.1
- install   asn1-combinators          0.3.2
- install   astring                   0.8.5
- install   base-bytes                base
- install   cmdliner                  2.1.0
- install   conf-gmp                  5
- install   conf-gmp-powm-sec         4
- install   conf-mingw-w64-gmp-x86_64 1
- install   conf-pkg-config           4
- install   cppo                      1.8.0
- install   csexp                     1.5.2
- install   digestif                  1.3.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   miou                      0.5.1
- install   mirage-mtime              5.2.0
- install   mirage-runtime            4.10.4
- install   mirage-sleep              4.1.0
- install   mirage-unix               5.0.1
- install   mtime                     2.1.0
- install   ocaml-compiler-libs       v0.17.0
- install   ocaml-syntax-shims        1.0.0
- install   ocamlbuild                0.16.1
- install   ocamlfind                 1.9.8
- install   ocplib-endian             1.2
- install   ohex                      0.2.0
- install   ounit2                    2.2.7
- install   ppx_derivers              1.2.1
- install   ppx_deriving              6.1.1
- install   ppx_deriving_yojson       3.10.0
- install   ppxlib                    0.37.0
- install   ptime                     1.2.0
- install   randomconv                0.2.0
- install   re                        1.14.0
- install   seq                       base
- install   sexplib0                  v0.17.0
- install   stdlib-shims              0.3.0
- install   topkg                     1.1.1
- install   uutf                      1.0.4
- install   yojson                    3.0.0
- install   zarith                    1.14


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved asn1-combinators.0.3.2  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved alcotest.1.9.1  (https://github.com/mirage/alcotest/releases/download/1.9.1/alcotest-1.9.1.tbz)
-> retrieved cmdliner.2.1.0  (https://erratique.ch/software/cmdliner/releases/cmdliner-2.1.0.tbz)
-> retrieved csexp.1.5.2  (cached)
-> retrieved digestif.1.3.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved domain-name.0.5.0  (https://github.com/hannesm/domain-name/releases/download/v0.5.0/domain-name-0.5.0.tbz)
-> retrieved eqaf.0.10  (cached)
-> retrieved fmt.0.11.0  (https://erratique.ch/software/fmt/releases/fmt-0.11.0.tbz)
-> installed conf-pkg-config.4
-> retrieved ipaddr.5.6.1, macaddr.5.6.1  (https://github.com/mirage/ocaml-ipaddr/releases/download/v5.6.1/ipaddr-5.6.1.tbz)
-> retrieved logs.0.10.0  (https://erratique.ch/software/logs/releases/logs-0.10.0.tbz)
-> retrieved mingw-w64-shims.0.2.0  (cached)
-> removed   mingw-w64-shims.0.2.0
-> installed conf-mingw-w64-gmp-x86_64.1
-> installed conf-gmp.5
-> installed mingw-w64-shims.0.2.0
-> retrieved lwt.5.9.2  (https://github.com/ocsigen/lwt/archive/refs/tags/5.9.2.tar.gz)
-> retrieved miou.0.5.1  (https://github.com/robur-coop/miou/releases/download/v0.5.1/miou-0.5.1.tbz)
-> retrieved mirage-mtime.5.2.0  (https://github.com/mirage/mirage-mtime/releases/download/v5.2.0/mirage-mtime-5.2.0.tbz)
-> installed conf-gmp-powm-sec.4
-> retrieved mirage-sleep.4.1.0  (https://github.com/mirage/mirage-sleep/releases/download/v4.1.0/mirage-sleep-4.1.0.tbz)
-> retrieved mirage-runtime.4.10.4  (https://github.com/mirage/mirage/releases/download/v4.10.4/mirage-4.10.4.tbz)
-> retrieved mirage-unix.5.0.1  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved ppx_deriving_yojson.3.10.0  (cached)
-> retrieved ppx_deriving.6.1.1  (https://github.com/ocaml-ppx/ppx_deriving/releases/download/v6.1.1/ppx_deriving-6.1.1.tar.gz)
-> retrieved ptime.1.2.0  (cached)
-> retrieved randomconv.0.2.0  (cached)
-> retrieved ppxlib.0.37.0  (https://github.com/ocaml-ppx/ppxlib/releases/download/0.37.0/ppxlib-0.37.0.tbz)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.14.0  (https://github.com/ocaml/ocaml-re/archive/refs/tags/1.14.0.tar.gz)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (https://github.com/ocaml/dune/releases/download/3.20.2/dune-3.20.2.tbz)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.1.1  (https://erratique.ch/software/topkg/releases/topkg-1.1.1.tbz)
-> retrieved yojson.3.0.0  (https://github.com/ocaml-community/yojson/releases/download/3.0.0/yojson-3.0.0.tbz)
-> retrieved zarith.1.14  (cached)
-> installed cmdliner.2.1.0
-> installed ocamlbuild.0.16.1
[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\5.4.0\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\5.4.0\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind_opt.exe
[WARNING] C:\Users\opam\AppData\Local\opam\5.4.0\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed zarith.1.14
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed mtime.2.1.0
-> installed ptime.1.2.0
-> installed dune.3.20.2
-> installed domain-name.0.5.0
-> installed csexp.1.5.2
-> installed duration.0.2.1
-> installed asn1-combinators.0.3.2
-> installed cppo.1.8.0
-> installed eqaf.0.10
-> installed macaddr.5.6.1
-> installed mirage-mtime.5.2.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.1
-> installed ohex.0.2.0
-> installed ppx_derivers.1.2.1
-> installed randomconv.0.2.0
-> installed stdlib-shims.0.3.0
-> installed digestif.1.3.0
-> installed dune-configurator.3.20.2
-> installed sexplib0.v0.17.0
-> installed re.1.14.0
-> installed yojson.3.0.0
[ERROR] The compilation of miou.0.5.1 failed at "dune build -p miou -j 7".
-> installed ounit2.2.2.7
-> installed alcotest.1.9.1
-> installed lwt.5.9.2
-> installed mirage-sleep.4.1.0
-> installed logs.0.10.0
-> installed mirage-runtime.4.10.4
-> installed mirage-unix.5.0.1
-> installed ppxlib.0.37.0
-> installed ppx_deriving.6.1.1
-> installed ppx_deriving_yojson.3.10.0


#=== ERROR while compiling miou.0.5.1 =========================================#
# context     2.5.0 | win32/x86_64 | ocaml-base-compiler.5.4.0 | file://C:/Users/opam/opam-repository
# path        ~\AppData\Local\opam\5.4.0\.opam-switch\build\miou.0.5.1
# command     ~\AppData\Local\opam\5.4.0\bin\dune.exe build -p miou -j 7
# exit-code   1
# env-file    ~\AppData\Local\opam\log\miou-2912-374e2f.env
# output-file ~\AppData\Local\opam\log\miou-2912-374e2f.out
### output ###
# compiling c program:
# [...]
#  | };
#  |
# run: x86_64-w64-mingw32-gcc -O2 -fno-strict-aliasing -fwrapv -mms-bitfields     -I C:/Users/opam/AppData/Local/opam/5.4.0/lib/ocaml -o C:\Users\opam\AppData\Local\Temp\ocaml-configuratorff38bf\c-test-2\test.o -c C:\Users\opam\AppData\Local\Temp\ocaml-configuratorff38bf\c-test-2\test.c -lws2_32 -lole32 -luuid -lversion -lshlwapi -lsynchronization -l:libpthread.a -lgcc_eh
# -> process exited with code 1
# -> stdout:
# -> stderr:
#  | C:\Users\opam\AppData\Local\Temp\ocaml-configuratorff38bf\c-test-2\test.c:2:10: fatal error: poll.h: No such file or directory
#  |     2 | #include <poll.h>
#  |       |          ^~~~~~~~
#  | compilation terminated.
# Error: failed to compile program


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build miou 0.5.1
+- 
+- The following changes have been performed
| - recompile mingw-w64-shims           0.2.0
| - install   alcotest                  1.9.1
| - install   asn1-combinators          0.3.2
| - install   astring                   0.8.5
| - install   base-bytes                base
| - install   cmdliner                  2.1.0
| - install   conf-gmp                  5
| - install   conf-gmp-powm-sec         4
| - install   conf-mingw-w64-gmp-x86_64 1
| - install   conf-pkg-config           4
| - install   cppo                      1.8.0
| - install   csexp                     1.5.2
| - install   digestif                  1.3.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-mtime              5.2.0
| - install   mirage-runtime            4.10.4
| - install   mirage-sleep              4.1.0
| - install   mirage-unix               5.0.1
| - install   mtime                     2.1.0
| - install   ocaml-compiler-libs       v0.17.0
| - install   ocaml-syntax-shims        1.0.0
| - install   ocamlbuild                0.16.1
| - install   ocamlfind                 1.9.8
| - install   ocplib-endian             1.2
| - install   ohex                      0.2.0
| - install   ounit2                    2.2.7
| - install   ppx_derivers              1.2.1
| - install   ppx_deriving              6.1.1
| - install   ppx_deriving_yojson       3.10.0
| - install   ppxlib                    0.37.0
| - install   ptime                     1.2.0
| - install   randomconv                0.2.0
| - install   re                        1.14.0
| - install   seq                       base
| - install   sexplib0                  v0.17.0
| - install   stdlib-shims              0.3.0
| - install   topkg                     1.1.1
| - install   uutf                      1.0.4
| - install   yojson                    3.0.0
| - install   zarith                    1.14
+- 
# To update the current shell environment, run: eval $(opam env)


The former state can be restored with:
C:\cygwin64\bin\opam.exe switch import "C:\\Users\\opam\\AppData\\Local\\opam\\5.4.0\\.opam-switch\\backup\\state-20260113132345.export"
"opam install $DEPS" failed with exit status 31
2026-01-13 13:36.11: Job failed: Failed: Build failed