Organisationsrobur-coopmiragevpn440768 ()windows-server-2022-amd64-5.3_opam-2.4

windows-server-2022-amd64-5.3_opam-2.4

Link Copied
Code Copied

Logs

2025-09-10 00:51.22: New job: test robur-coop/miragevpn https://github.com/robur-coop/miragevpn.git#refs/heads/main (440768ae2fefc9da57e4a9f15bcbe6d217550d6c) (windows-amd64:windows-server-2022-amd64-5.3_opam-2.4)
Base: windows-server-2022-amd64-ocaml-5.3
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/robur-coop/miragevpn.git" -b "main" && cd "miragevpn" && git reset --hard 440768ae
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-amd64-ocaml-5.3
# windows-server-2022-amd64-5.3_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/bin/opam-2.4 /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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 miragevpn.opam /Users/opam/src/./
RUN opam pin add -yn miragevpn.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="afl-persistent.1.4 alcotest.1.9.0 angstrom.0.16.1 arch-x86_64.1 arp.4.0.0 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 base64.3.5.1 bechamel.0.5.0 bechamel-notty.0.5.0 bigstringaf.0.10.0 bisect_ppx.2.8.3 bos.0.2.1 ca-certs.1.0.1 ca-certs-nss.3.115 checkseum.0.5.2 cmdliner.1.3.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 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 digestif.1.3.0 dns.10.2.0 dns-client.10.2.0 dns-client-lwt.10.2.0 dns-client-mirage.10.2.0 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 happy-eyeballs.2.0.1 happy-eyeballs-lwt.2.0.1 happy-eyeballs-mirage.2.0.1 host-arch-x86_64.1 host-system-mingw.1 hxd.0.3.4 ipaddr.5.6.1 ipaddr-cstruct.5.6.1 kdf.1.0.0 logs.0.9.0 lru.0.3.1 lwt.5.9.2 lwt-dllist.1.1.0 macaddr.5.6.1 macaddr-cstruct.5.6.1 metrics.0.5.0 mingw-w64-shims.0.2.0 mirage-crypto.2.0.2 mirage-crypto-ec.2.0.2 mirage-crypto-pk.2.0.2 mirage-crypto-rng.2.0.2 mirage-flow.5.0.0 mirage-kv.6.1.1 mirage-mtime.5.2.0 mirage-net.4.0.0 mirage-ptime.5.1.0 mirage-sleep.4.1.0 mtime.2.1.0 notty.0.2.3 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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 optint.0.3.0 ppx_derivers.1.2.1 ppxlib.0.35.0 psq.0.2.1 ptime.1.2.0 randomconv.0.2.0 re.1.13.2 rresult.0.7.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 tcpip.9.0.1 tls.2.0.2 tls-lwt.2.0.2 tls-mirage.2.0.2 topkg.1.1.0 tuntap.2.0.1 uutf.1.0.4 x509.1.0.6 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y miragevpn.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


2025-09-10 00:51.22: Using cache hint "robur-coop/miragevpn-windows-server-2022-amd64-ocaml-5.3-windows-server-2022-amd64-5.3_opam-2.4-90a15d2de766c3d686ad1333ed616716"
2025-09-10 00:51.22: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-5.3)
(comment windows-server-2022-amd64-5.3_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f /usr/bin/opam-2.4 /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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src miragevpn.opam) (dst /Users/opam/src/./))
(run (network host)
(shell "opam pin add -yn miragevpn.dev '/Users/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
(env DEPS "afl-persistent.1.4 alcotest.1.9.0 angstrom.0.16.1 arch-x86_64.1 arp.4.0.0 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 base64.3.5.1 bechamel.0.5.0 bechamel-notty.0.5.0 bigstringaf.0.10.0 bisect_ppx.2.8.3 bos.0.2.1 ca-certs.1.0.1 ca-certs-nss.3.115 checkseum.0.5.2 cmdliner.1.3.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 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 digestif.1.3.0 dns.10.2.0 dns-client.10.2.0 dns-client-lwt.10.2.0 dns-client-mirage.10.2.0 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 happy-eyeballs.2.0.1 happy-eyeballs-lwt.2.0.1 happy-eyeballs-mirage.2.0.1 host-arch-x86_64.1 host-system-mingw.1 hxd.0.3.4 ipaddr.5.6.1 ipaddr-cstruct.5.6.1 kdf.1.0.0 logs.0.9.0 lru.0.3.1 lwt.5.9.2 lwt-dllist.1.1.0 macaddr.5.6.1 macaddr-cstruct.5.6.1 metrics.0.5.0 mingw-w64-shims.0.2.0 mirage-crypto.2.0.2 mirage-crypto-ec.2.0.2 mirage-crypto-pk.2.0.2 mirage-crypto-rng.2.0.2 mirage-flow.5.0.0 mirage-kv.6.1.1 mirage-mtime.5.2.0 mirage-net.4.0.0 mirage-ptime.5.1.0 mirage-sleep.4.1.0 mtime.2.1.0 notty.0.2.3 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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 optint.0.3.0 ppx_derivers.1.2.1 ppxlib.0.35.0 psq.0.2.1 ptime.1.2.0 randomconv.0.2.0 re.1.13.2 rresult.0.7.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 tcpip.9.0.1 tls.2.0.2 tls-lwt.2.0.2 tls-mirage.2.0.2 topkg.1.1.0 tuntap.2.0.1 uutf.1.0.4 x509.1.0.6 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.4 --depext-only -y miragevpn.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"))
)


2025-09-10 00:51.22: Waiting for resource in pool OCluster
2025-09-10 21:12.06: Waiting for worker…
2025-09-11 02:31.57: Got resource from pool OCluster
Building on thyme
All commits already cached
Updating files:  55% (75/134)
Updating files:  56% (76/134)
Updating files:  57% (77/134)
Updating files:  58% (78/134)
Updating files:  59% (80/134)
Updating files:  60% (81/134)
Updating files:  61% (82/134)
Updating files:  62% (84/134)
Updating files:  63% (85/134)
Updating files:  64% (86/134)
Updating files:  65% (88/134)
Updating files:  66% (89/134)
Updating files:  67% (90/134)
Updating files:  68% (92/134)
Updating files:  69% (93/134)
Updating files:  70% (94/134)
Updating files:  71% (96/134)
Updating files:  72% (97/134)
Updating files:  73% (98/134)
Updating files:  74% (100/134)
Updating files:  75% (101/134)
Updating files:  76% (102/134)
Updating files:  77% (104/134)
Updating files:  78% (105/134)
Updating files:  79% (106/134)
Updating files:  80% (108/134)
Updating files:  81% (109/134)
Updating files:  82% (110/134)
Updating files:  83% (112/134)
Updating files:  84% (113/134)
Updating files:  85% (114/134)
Updating files:  86% (116/134)
Updating files:  87% (117/134)
Updating files:  88% (118/134)
Updating files:  89% (120/134)
Updating files:  90% (121/134)
Updating files:  91% (122/134)
Updating files:  92% (124/134)
Updating files:  93% (125/134)
Updating files:  94% (126/134)
Updating files:  95% (128/134)
Updating files:  96% (129/134)
Updating files:  97% (130/134)
Updating files:  98% (132/134)
Updating files:  99% (133/134)
Updating files: 100% (134/134)
Updating files: 100% (134/134), done.
HEAD is now at 440768a Merge pull request #286 from robur-coop/update-to-less-functors


(from windows-server-2022-amd64-ocaml-5.3)
2025-09-11 02:32.01 ---> using "1d6ffeb5a52124df73b2e951323e99615c52ca4f9bdf0f65039be6146fabdaab" from cache


/: (comment windows-server-2022-amd64-5.3_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-11 02:32.01 ---> using "1e2d14b3062f84a7d6f6f169887d274097a3ceefc9654f3a38ec7d8793bb5864" 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
2025-09-11 02:32.01 ---> using "6dbdca3e6c2df003f6cebaa139aa227252a76195aef4f258913cc7da8ee795b2" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.6.4-1.x86_64
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-11 02:32.01 ---> using "dd7e0e07f915e027f7b9342b70fd32de99a0178469368b94a3f981825bdf3d42" 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 109398e2fd61803126becd398df0f1eabc9f3ca2 || git fetch origin master) && git reset -q --hard 109398e2fd61803126becd398df0f1eabc9f3ca2 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
f1d3c77350..ea994caae6  master     -> origin/master
109398e2fd Merge pull request #28437 from maiste/release-dune-3.20.2


<><> 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)
2025-09-11 02:32.01 ---> using "a2cb9346f94872979a3ed4d8e94dbe4fd2872294e32cd848ede8605fb81f4a86" from cache


/: (copy (src miragevpn.opam) (dst /Users/opam/src/./))
2025-09-11 02:33.15 ---> saved as "4f38f39e9dd4c87acba2cc61d4c936002ef26c016583f431db2be68dea7c21c6"


/: (run (network host)
(shell "opam pin add -yn miragevpn.dev '/Users/opam/src/./'"))
[NOTE] Package miragevpn does not exist in opam repositories registered in the current switch.
[miragevpn.dev] synchronised (file://C:/Users/opam/src/.)
miragevpn is now pinned to file://C:/Users/opam/src/. (version dev)
2025-09-11 02:33.49 ---> saved as "d6281457604659ca44e458d3f17ee5c335423a637a5ae572336808505af54bea"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-09-11 02:34.19 ---> saved as "562f21183a7c7476250ed988b724879ae0e2886bb86f99e5c72315e14b7d8983"


/: (env DEPS "afl-persistent.1.4 alcotest.1.9.0 angstrom.0.16.1 arch-x86_64.1 arp.4.0.0 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 base64.3.5.1 bechamel.0.5.0 bechamel-notty.0.5.0 bigstringaf.0.10.0 bisect_ppx.2.8.3 bos.0.2.1 ca-certs.1.0.1 ca-certs-nss.3.115 checkseum.0.5.2 cmdliner.1.3.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 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 decompress.1.5.3 digestif.1.3.0 dns.10.2.0 dns-client.10.2.0 dns-client-lwt.10.2.0 dns-client-mirage.10.2.0 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 happy-eyeballs.2.0.1 happy-eyeballs-lwt.2.0.1 happy-eyeballs-mirage.2.0.1 host-arch-x86_64.1 host-system-mingw.1 hxd.0.3.4 ipaddr.5.6.1 ipaddr-cstruct.5.6.1 kdf.1.0.0 logs.0.9.0 lru.0.3.1 lwt.5.9.2 lwt-dllist.1.1.0 macaddr.5.6.1 macaddr-cstruct.5.6.1 metrics.0.5.0 mingw-w64-shims.0.2.0 mirage-crypto.2.0.2 mirage-crypto-ec.2.0.2 mirage-crypto-pk.2.0.2 mirage-crypto-rng.2.0.2 mirage-flow.5.0.0 mirage-kv.6.1.1 mirage-mtime.5.2.0 mirage-net.4.0.0 mirage-ptime.5.1.0 mirage-sleep.4.1.0 mtime.2.1.0 notty.0.2.3 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.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 optint.0.3.0 ppx_derivers.1.2.1 ppxlib.0.35.0 psq.0.2.1 ptime.1.2.0 randomconv.0.2.0 re.1.13.2 rresult.0.7.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 tcpip.9.0.1 tls.2.0.2 tls-lwt.2.0.2 tls-mirage.2.0.2 topkg.1.1.0 tuntap.2.0.1 uutf.1.0.4 x509.1.0.6 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.4 --depext-only -y miragevpn.dev $DEPS"))


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[miragevpn.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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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: 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++ 13.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++-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/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
2025-09-11 02:37.00 ---> saved as "28c1486b32c5c18b588b09575e5dcfd4153b57068cb55b2a0ec5b08d51a7fb29"


/: (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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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 93 packages
- install   afl-persistent            1.4
- install   alcotest                  1.9.0
- install   angstrom                  0.16.1
- install   arp                       4.0.0
- install   asn1-combinators          0.3.2
- install   astring                   0.8.5
- install   base-bytes                base
- install   base64                    3.5.1
- install   bechamel                  0.5.0
- install   bechamel-notty            0.5.0
- install   bigstringaf               0.10.0
- install   bisect_ppx                2.8.3
- install   bos                       0.2.1
- install   ca-certs                  1.0.1
- install   ca-certs-nss              3.115
- install   checkseum                 0.5.2
- install   cmdliner                  1.3.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   crowbar                   0.2.1
- install   csexp                     1.5.2
- install   cstruct                   6.2.0
- install   cstruct-lwt               6.2.0
- install   decompress                1.5.3
- install   digestif                  1.3.0
- install   dns                       10.2.0
- install   dns-client                10.2.0
- install   dns-client-lwt            10.2.0
- install   dns-client-mirage         10.2.0
- install   domain-name               0.4.1
- install   dune                      3.20.2
- install   dune-configurator         3.20.2
- install   duration                  0.2.1
- install   eqaf                      0.10
- install   ethernet                  3.2.0
- install   fmt                       0.11.0
- install   fpath                     0.7.3
- install   gmap                      0.3.0
- install   happy-eyeballs            2.0.1
- install   happy-eyeballs-lwt        2.0.1
- install   happy-eyeballs-mirage     2.0.1
- install   hxd                       0.3.4
- install   ipaddr                    5.6.1
- install   ipaddr-cstruct            5.6.1
- install   kdf                       1.0.0
- install   logs                      0.9.0
- install   lru                       0.3.1
- install   lwt                       5.9.2
- install   lwt-dllist                1.1.0
- install   macaddr                   5.6.1
- install   macaddr-cstruct           5.6.1
- install   metrics                   0.5.0
- install   mirage-crypto             2.0.2
- install   mirage-crypto-ec          2.0.2
- install   mirage-crypto-pk          2.0.2
- install   mirage-crypto-rng         2.0.2
- install   mirage-flow               5.0.0
- install   mirage-kv                 6.1.1
- install   mirage-mtime              5.2.0
- install   mirage-net                4.0.0
- install   mirage-ptime              5.1.0
- install   mirage-sleep              4.1.0
- install   mtime                     2.1.0
- install   notty                     0.2.3
- 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   optint                    0.3.0
- install   ppx_derivers              1.2.1
- install   ppxlib                    0.35.0
- install   psq                       0.2.1
- install   ptime                     1.2.0
- install   randomconv                0.2.0
- install   re                        1.13.2
- install   rresult                   0.7.0
- install   seq                       base
- install   sexplib0                  v0.17.0
- install   stdlib-shims              0.3.0
- install   tcpip                     9.0.1
- install   tls                       2.0.2
- install   tls-lwt                   2.0.2
- install   tls-mirage                2.0.2
- install   topkg                     1.1.0
- install   tuntap                    2.0.1
- install   uutf                      1.0.4
- install   x509                      1.0.6
- install   zarith                    1.14


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.4  (cached)
-> retrieved alcotest.1.9.0  (cached)
-> retrieved angstrom.0.16.1  (cached)
-> retrieved arp.4.0.0  (cached)
-> retrieved asn1-combinators.0.3.2  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved bechamel.0.5.0, bechamel-notty.0.5.0  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bisect_ppx.2.8.3  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved ca-certs.1.0.1  (cached)
-> retrieved checkseum.0.5.2  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved ca-certs-nss.3.115  (https://github.com/mirage/ca-certs-nss/releases/download/v3.115/ca-certs-nss-3.115.tbz)
-> retrieved crowbar.0.2.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0, cstruct-lwt.6.2.0  (cached)
-> retrieved decompress.1.5.3  (cached)
-> retrieved digestif.1.3.0  (cached)
-> retrieved domain-name.0.4.1  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved dns.10.2.0, dns-client.10.2.0, dns-client-lwt.10.2.0, dns-client-mirage.10.2.0  (https://github.com/mirage/ocaml-dns/releases/download/v10.2.0/dns-10.2.0.tbz)
-> retrieved eqaf.0.10  (cached)
-> retrieved ethernet.3.2.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved fmt.0.11.0  (https://erratique.ch/software/fmt/releases/fmt-0.11.0.tbz)
-> retrieved gmap.0.3.0  (cached)
-> retrieved happy-eyeballs.2.0.1, happy-eyeballs-lwt.2.0.1, happy-eyeballs-mirage.2.0.1  (cached)
-> retrieved hxd.0.3.4  (https://github.com/dinosaure/hxd/releases/download/v0.3.4/hxd-0.3.4.tbz)
-> retrieved ipaddr.5.6.1, ipaddr-cstruct.5.6.1, macaddr.5.6.1, macaddr-cstruct.5.6.1  (https://github.com/mirage/ocaml-ipaddr/releases/download/v5.6.1/ipaddr-5.6.1.tbz)
-> retrieved kdf.1.0.0  (cached)
-> retrieved lru.0.3.1  (cached)
-> installed conf-pkg-config.4
-> retrieved logs.0.9.0  (https://erratique.ch/software/logs/releases/logs-0.9.0.tbz)
-> installed conf-mingw-w64-gmp-x86_64.1
-> retrieved lwt-dllist.1.1.0  (cached)
-> retrieved lwt.5.9.2  (https://github.com/ocsigen/lwt/archive/refs/tags/5.9.2.tar.gz)
-> retrieved mingw-w64-shims.0.2.0  (cached)
-> removed   mingw-w64-shims.0.2.0
-> retrieved metrics.0.5.0  (https://github.com/mirage/metrics/releases/download/v0.5.0/metrics-0.5.0.tbz)
-> retrieved mirage-flow.5.0.0  (cached)
-> installed conf-gmp.5
-> retrieved mirage-kv.6.1.1  (cached)
-> installed mingw-w64-shims.0.2.0
-> installed conf-gmp-powm-sec.4
-> retrieved mirage-crypto.2.0.2, mirage-crypto-ec.2.0.2, mirage-crypto-pk.2.0.2, mirage-crypto-rng.2.0.2  (https://github.com/mirage/mirage-crypto/releases/download/v2.0.2/mirage-crypto-2.0.2.tbz)
-> retrieved mirage-mtime.5.2.0  (https://github.com/mirage/mirage-mtime/releases/download/v5.2.0/mirage-mtime-5.2.0.tbz)
-> retrieved mirage-net.4.0.0  (cached)
-> retrieved mirage-ptime.5.1.0  (https://github.com/mirage/mirage-ptime/releases/download/v5.1.0/mirage-ptime-5.1.0.tbz)
-> retrieved mirage-sleep.4.1.0  (https://github.com/mirage/mirage-sleep/releases/download/v4.1.0/mirage-sleep-4.1.0.tbz)
-> retrieved mtime.2.1.0  (cached)
-> retrieved notty.0.2.3  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> installed cmdliner.1.3.0
-> retrieved ocamlbuild.0.16.1  (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 ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved randomconv.0.2.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved re.1.13.2  (https://github.com/ocaml/ocaml-re/archive/refs/tags/1.13.2.tar.gz)
-> retrieved tcpip.9.0.1  (cached)
-> retrieved tuntap.2.0.1  (cached)
-> retrieved tls.2.0.2, tls-lwt.2.0.2, tls-mirage.2.0.2  (https://github.com/mirleft/ocaml-tls/releases/download/v2.0.2/tls-2.0.2.tbz)
-> retrieved topkg.1.1.0  (https://erratique.ch/software/topkg/releases/topkg-1.1.0.tbz)
-> retrieved uutf.1.0.4  (cached)
-> retrieved x509.1.0.6  (cached)
-> retrieved zarith.1.14  (cached)
[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.3.0\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\5.3.0\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind_opt.exe
[WARNING] C:\Users\opam\AppData\Local\opam\5.3.0\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> installed topkg.1.1.0
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed fmt.0.11.0
-> installed mtime.2.1.0
-> installed ptime.1.2.0
-> installed fpath.0.7.3
-> installed dune.3.20.2
-> installed afl-persistent.1.4
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed asn1-combinators.0.3.2
-> installed base64.3.5.1
-> installed bechamel.0.5.0
-> installed cppo.1.8.0
-> installed domain-name.0.4.1
-> installed duration.0.2.1
-> installed gmap.0.3.0
-> installed eqaf.0.10
-> installed lwt-dllist.1.1.0
-> installed macaddr.5.6.1
-> installed metrics.0.5.0
-> installed mirage-mtime.5.2.0
-> installed mirage-ptime.5.1.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ipaddr.5.6.1
-> installed macaddr-cstruct.5.6.1
-> installed dune-configurator.3.20.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed digestif.1.3.0
-> installed ipaddr-cstruct.5.6.1
-> installed ocplib-endian.1.2
-> installed ohex.0.2.0
-> installed optint.0.3.0
-> installed bigstringaf.0.10.0
-> installed ppx_derivers.1.2.1
-> installed crowbar.0.2.1
-> installed mirage-crypto.2.0.2
-> installed psq.0.2.1
-> installed randomconv.0.2.0
-> installed angstrom.0.16.1
-> installed checkseum.0.5.2
-> installed lru.0.3.1
-> installed kdf.1.0.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
[ERROR] The compilation of tuntap.2.0.1 failed at "dune build -p tuntap -j 7".
-> installed decompress.1.5.3
-> installed re.1.13.2
-> installed lwt.5.9.2
-> installed alcotest.1.9.0
-> installed cstruct-lwt.6.2.0
-> installed mirage-flow.5.0.0
-> installed mirage-kv.6.1.1
-> installed mirage-net.4.0.0
-> installed mirage-sleep.4.1.0
-> installed hxd.0.3.4
[ERROR] The compilation of notty.0.2.3 failed at "dune build -p notty -j 7".
-> installed logs.0.9.0
-> installed happy-eyeballs.2.0.1
-> installed ethernet.3.2.0
-> installed dns.10.2.0
-> installed mirage-crypto-rng.2.0.2
-> installed arp.4.0.0
-> installed happy-eyeballs-lwt.2.0.1
-> installed ppxlib.0.35.0
-> installed dns-client.10.2.0
-> installed mirage-crypto-ec.2.0.2
-> installed mirage-crypto-pk.2.0.2
-> installed bos.0.2.1
-> installed tcpip.9.0.1
-> installed x509.1.0.6
-> installed bisect_ppx.2.8.3
-> installed happy-eyeballs-mirage.2.0.1
-> installed ca-certs.1.0.1
-> installed ca-certs-nss.3.115
-> installed tls.2.0.2
-> installed tls-lwt.2.0.2
-> installed tls-mirage.2.0.2
-> installed dns-client-lwt.10.2.0
-> installed dns-client-mirage.10.2.0


#=== ERROR while compiling tuntap.2.0.1 =======================================#
# context     2.4.1 | win32/x86_64 | ocaml-base-compiler.5.3.0 | file://C:/Users/opam/opam-repository
# path        ~\AppData\Local\opam\5.3.0\.opam-switch\build\tuntap.2.0.1
# command     ~\AppData\Local\opam\5.3.0\bin\dune.exe build -p tuntap -j 7
# exit-code   1
# env-file    ~\AppData\Local\opam\log\tuntap-3060-a1041e.env
# output-file ~\AppData\Local\opam\log\tuntap-3060-a1041e.out
### output ###
# File "lib/dune", line 5, characters 14-26:
# 5 |  (c_names     tuntap_stubs))
#                   ^^^^^^^^^^^^
# (cd _build/default/lib && C:\cygwin64\bin\x86_64-w64-mingw32-gcc.exe -O2 -fno-strict-aliasing -fwrapv -mms-bitfields -O2 -fno-strict-aliasing -fwrapv -mms-bitfields -g -I C:/Users/opam/AppData/Local/opam/5.3.0/lib/ocaml -I C:/Users/opam/AppData/Local/opam/5.3.0/lib/ocaml\unix -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\domain-name -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\ipaddr -I [...]
# tuntap_stubs.c:24:10: fatal error: err.h: No such file or directory
#    24 | #include <err.h>
#       |          ^~~~~~~
# compilation terminated.


#=== ERROR while compiling notty.0.2.3 ========================================#
# context     2.4.1 | win32/x86_64 | ocaml-base-compiler.5.3.0 | file://C:/Users/opam/opam-repository
# path        ~\AppData\Local\opam\5.3.0\.opam-switch\build\notty.0.2.3
# command     ~\AppData\Local\opam\5.3.0\bin\dune.exe build -p notty -j 7
# exit-code   1
# env-file    ~\AppData\Local\opam\log\notty-3060-ecfee6.env
# output-file ~\AppData\Local\opam\log\notty-3060-ecfee6.out
### output ###
# File "src-unix/dune", line 6, characters 11-18:
# 6 |   (c_names winsize)
#                ^^^^^^^
# (cd _build/default/src-unix && C:\cygwin64\bin\x86_64-w64-mingw32-gcc.exe -O2 -fno-strict-aliasing -fwrapv -mms-bitfields -Wall -Wextra -O3 -g -I C:/Users/opam/AppData/Local/opam/5.3.0/lib/ocaml -I C:/Users/opam/AppData/Local/opam/5.3.0/lib/ocaml\unix -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\uutf -I ../src -o winsize.o -c native/winsize.c)
# native/winsize.c:1:10: fatal error: sys/ioctl.h: No such file or directory
#     1 | #include <sys/ioctl.h>
#       |          ^~~~~~~~~~~~~
# compilation terminated.


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build notty  0.2.3
| - build tuntap 2.0.1
+- 
+- The following changes have been performed (the rest was aborted)
| - recompile mingw-w64-shims           0.2.0
| - install   afl-persistent            1.4
| - install   alcotest                  1.9.0
| - install   angstrom                  0.16.1
| - install   arp                       4.0.0
| - install   asn1-combinators          0.3.2
| - install   astring                   0.8.5
| - install   base-bytes                base
| - install   base64                    3.5.1
| - install   bechamel                  0.5.0
| - install   bigstringaf               0.10.0
| - install   bisect_ppx                2.8.3
| - install   bos                       0.2.1
| - install   ca-certs                  1.0.1
| - install   ca-certs-nss              3.115
| - install   checkseum                 0.5.2
| - install   cmdliner                  1.3.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   crowbar                   0.2.1
| - install   csexp                     1.5.2
| - install   cstruct                   6.2.0
| - install   cstruct-lwt               6.2.0
| - install   decompress                1.5.3
| - install   digestif                  1.3.0
| - install   dns                       10.2.0
| - install   dns-client                10.2.0
| - install   dns-client-lwt            10.2.0
| - install   dns-client-mirage         10.2.0
| - install   domain-name               0.4.1
| - install   dune                      3.20.2
| - install   dune-configurator         3.20.2
| - install   duration                  0.2.1
| - install   eqaf                      0.10
| - install   ethernet                  3.2.0
| - install   fmt                       0.11.0
| - install   fpath                     0.7.3
| - install   gmap                      0.3.0
| - install   happy-eyeballs            2.0.1
| - install   happy-eyeballs-lwt        2.0.1
| - install   happy-eyeballs-mirage     2.0.1
| - install   hxd                       0.3.4
| - install   ipaddr                    5.6.1
| - install   ipaddr-cstruct            5.6.1
| - install   kdf                       1.0.0
| - install   logs                      0.9.0
| - install   lru                       0.3.1
| - install   lwt                       5.9.2
| - install   lwt-dllist                1.1.0
| - install   macaddr                   5.6.1
| - install   macaddr-cstruct           5.6.1
| - install   metrics                   0.5.0
| - install   mirage-crypto             2.0.2
| - install   mirage-crypto-ec          2.0.2
| - install   mirage-crypto-pk          2.0.2
| - install   mirage-crypto-rng         2.0.2
| - install   mirage-flow               5.0.0
| - install   mirage-kv                 6.1.1
| - install   mirage-mtime              5.2.0
| - install   mirage-net                4.0.0
| - install   mirage-ptime              5.1.0
| - install   mirage-sleep              4.1.0
| - 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   optint                    0.3.0
| - install   ppx_derivers              1.2.1
| - install   ppxlib                    0.35.0
| - install   psq                       0.2.1
| - install   ptime                     1.2.0
| - install   randomconv                0.2.0
| - install   re                        1.13.2
| - install   rresult                   0.7.0
| - install   seq                       base
| - install   sexplib0                  v0.17.0
| - install   stdlib-shims              0.3.0
| - install   tcpip                     9.0.1
| - install   tls                       2.0.2
| - install   tls-lwt                   2.0.2
| - install   tls-mirage                2.0.2
| - install   topkg                     1.1.0
| - install   uutf                      1.0.4
| - install   x509                      1.0.6
| - install   zarith                    1.14
+- 


<><> afl-persistent.1.4 installed successfully ><><><><><><><><><><><><><><><><>
=> afl-persistent is installed, but since the current OCaml compiler does
not enable AFL instrumentation by default, most packages will not be
instrumented and fuzzing with afl-fuzz may not be effective.


To globally enable AFL instrumentation, create an OCaml switch like:


opam switch create 5.3.0+afl ocaml-variants.5.3.0+options ocaml-option-afl
# 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.3.0\\.opam-switch\\backup\\state-20250911023809.export"
"opam install $DEPS" failed with exit status 31
2025-09-11 03:14.13: Job failed: Failed: Build failed