Organisationsrobur-cooputcp0e03bc ()windows-server-2022-amd64-4.14_opam-2.3

windows-server-2022-amd64-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-03-18 21:04.26: New job: test robur-coop/utcp https://github.com/robur-coop/utcp.git#refs/heads/main (0e03bc7926a27866a663d21c73a848518af8df8c) (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/robur-coop/utcp.git" -b "main" && cd "utcp" && git reset --hard 0e03bc79
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 f92e43c2e4282b573967127440259031915a8fba || git fetch origin master) && git reset -q --hard f92e43c2e4282b573967127440259031915a8fba && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 utcp.opam /Users/opam/src/./
RUN opam pin add -yn utcp.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 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bechamel.0.5.0 bechamel-js.0.5.0 bigstringaf.0.10.0 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 digestif.1.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 flexdll.0.43 fmt.0.10.0 hex.1.5.0 host-arch-x86_64.1 host-system-mingw.1 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 json-data-encoding.1.0.1 jsonm.1.0.2 logs.0.8.0 lru.0.3.1 lwt.5.9.1 lwt-dllist.1.0.1 macaddr.5.6.0 macaddr-cstruct.5.6.0 metrics.0.4.1 mingw-w64-shims.0.2.0 mirage-crypto.2.0.0 mirage-crypto-rng.2.0.0 mirage-crypto-rng-mirage.2.0.0 mirage-flow.5.0.0 mirage-mtime.5.0.0 mirage-net.4.0.0 mirage-net-unix.3.0.0 mirage-runtime.4.9.0 mirage-sleep.4.0.0 mirage-unix.5.0.1 mtime.2.1.0 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 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 parsexp.v0.16.0 pcap-format.0.6.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.36.0 psq.0.2.1 randomconv.0.2.0 re.1.12.0 result.1.5 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 tcpip.9.0.0 topkg.1.0.8 tuntap.2.0.1 uri.4.4.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y utcp.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-03-18 21:04.26: Using cache hint "robur-coop/utcp-windows-server-2022-amd64-ocaml-4.14-windows-server-2022-amd64-4.14_opam-2.3-a9e1c2f80a872e4735cb8eba0878868c"
2025-03-18 21:04.26: 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 f92e43c2e4282b573967127440259031915a8fba || git fetch origin master) && git reset -q --hard f92e43c2e4282b573967127440259031915a8fba && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src utcp.opam) (dst /Users/opam/src/./))
(run (network host)
(shell "opam pin add -yn utcp.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 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bechamel.0.5.0 bechamel-js.0.5.0 bigstringaf.0.10.0 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 digestif.1.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 flexdll.0.43 fmt.0.10.0 hex.1.5.0 host-arch-x86_64.1 host-system-mingw.1 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 json-data-encoding.1.0.1 jsonm.1.0.2 logs.0.8.0 lru.0.3.1 lwt.5.9.1 lwt-dllist.1.0.1 macaddr.5.6.0 macaddr-cstruct.5.6.0 metrics.0.4.1 mingw-w64-shims.0.2.0 mirage-crypto.2.0.0 mirage-crypto-rng.2.0.0 mirage-crypto-rng-mirage.2.0.0 mirage-flow.5.0.0 mirage-mtime.5.0.0 mirage-net.4.0.0 mirage-net-unix.3.0.0 mirage-runtime.4.9.0 mirage-sleep.4.0.0 mirage-unix.5.0.1 mtime.2.1.0 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 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 parsexp.v0.16.0 pcap-format.0.6.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.36.0 psq.0.2.1 randomconv.0.2.0 re.1.12.0 result.1.5 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 tcpip.9.0.0 topkg.1.0.8 tuntap.2.0.1 uri.4.4.0 uutf.1.0.4")
(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 utcp.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-03-18 21:04.26: Waiting for resource in pool OCluster
2025-03-18 21:04.26: Waiting for worker…
2025-03-18 21:44.06: Got resource from pool OCluster
Building on odawa
All commits already cached
HEAD is now at 0e03bc7 Merge pull request #42 from robur-coop/adjust-to-spec


(from windows-server-2022-amd64-ocaml-4.14)
2025-03-18 21:44.06 ---> 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"))
2025-03-18 21:44.06 ---> 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
2025-03-18 21:44.06 ---> 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
2025-03-18 21:44.06 ---> 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 f92e43c2e4282b573967127440259031915a8fba || git fetch origin master) && git reset -q --hard f92e43c2e4282b573967127440259031915a8fba && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
11bdbee611..f92e43c2e4  master     -> origin/master
f92e43c2e4 Merge pull request #27617 from samoht/release-alcotest-1.9.0


<><> 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)
2025-03-18 21:44.06 ---> using "e3fd581d58c07d712acf98e9c9f1899a7ccfb933852b101c665eac180c3945d0" from cache


/: (copy (src utcp.opam) (dst /Users/opam/src/./))
2025-03-18 21:44.06 ---> using "3d8959de47fba3514f379f46aebe375d3e57a937f3a85e00a9c2e705153f3b83" from cache


/: (run (network host)
(shell "opam pin add -yn utcp.dev '/Users/opam/src/./'"))
Package utcp does not exist, create as a NEW package? [y/n] y
[utcp.dev] synchronised (file://C:/Users/opam/src/.)
[WARNING] Failed checks on utcp package definition from source at file://C:/Users/opam/src/.:
warning 68: Missing field 'license'
utcp is now pinned to file://C:/Users/opam/src/. (version dev)
2025-03-18 21:44.06 ---> using "2858bc346221f8df0f3a6901b6f92d4cef96e35e80cd7ed641ad8513338d9dbb" from cache


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-03-18 21:44.06 ---> using "fd9e856e7254b8d183042a3fa892bd8462857fd9a51a0be4ffdf8b3238a6fe18" from cache


/: (env DEPS "afl-persistent.1.4 alcotest.1.9.0 angstrom.0.16.1 arch-x86_64.1 arp.4.0.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bechamel.0.5.0 bechamel-js.0.5.0 bigstringaf.0.10.0 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 crowbar.0.2.1 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 digestif.1.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 flexdll.0.43 fmt.0.10.0 hex.1.5.0 host-arch-x86_64.1 host-system-mingw.1 ipaddr.5.6.0 ipaddr-cstruct.5.6.0 json-data-encoding.1.0.1 jsonm.1.0.2 logs.0.8.0 lru.0.3.1 lwt.5.9.1 lwt-dllist.1.0.1 macaddr.5.6.0 macaddr-cstruct.5.6.0 metrics.0.4.1 mingw-w64-shims.0.2.0 mirage-crypto.2.0.0 mirage-crypto-rng.2.0.0 mirage-crypto-rng-mirage.2.0.0 mirage-flow.5.0.0 mirage-mtime.5.0.0 mirage-net.4.0.0 mirage-net-unix.3.0.0 mirage-runtime.4.9.0 mirage-sleep.4.0.0 mirage-unix.5.0.1 mtime.2.1.0 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 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 parsexp.v0.16.0 pcap-format.0.6.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.36.0 psq.0.2.1 randomconv.0.2.0 re.1.12.0 result.1.5 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 tcpip.9.0.0 topkg.1.0.8 tuntap.2.0.1 uri.4.4.0 uutf.1.0.4")


/: (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 utcp.dev $DEPS"))


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[utcp.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).
2025-03-18 21:44.06 ---> using "8a50473a329da031c9d6fe88d82f72456a58dbb150426150923f6a523d679a5c" from cache


/: (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:
=== install 73 packages
- install afl-persistent           1.4
- install alcotest                 1.9.0
- install angstrom                 0.16.1
- install arp                      4.0.0
- install astring                  0.8.5
- install base-bytes               base
- install base64                   3.5.1
- install bechamel                 0.5.0
- install bechamel-js              0.5.0
- install bigstringaf              0.10.0
- install cmdliner                 1.3.0
- 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 digestif                 1.2.0
- install domain-name              0.4.1
- install dune                     3.17.2
- install dune-configurator        3.17.2
- install duration                 0.2.1
- install eqaf                     0.10
- install ethernet                 3.2.0
- install fmt                      0.10.0
- install hex                      1.5.0
- install ipaddr                   5.6.0
- install ipaddr-cstruct           5.6.0
- install json-data-encoding       1.0.1
- install jsonm                    1.0.2
- install logs                     0.8.0
- install lru                      0.3.1
- install lwt                      5.9.1
- install lwt-dllist               1.0.1
- install macaddr                  5.6.0
- install macaddr-cstruct          5.6.0
- install metrics                  0.4.1
- install mirage-crypto            2.0.0
- install mirage-crypto-rng        2.0.0
- install mirage-crypto-rng-mirage 2.0.0
- install mirage-flow              5.0.0
- install mirage-mtime             5.0.0
- install mirage-net               4.0.0
- install mirage-net-unix          3.0.0
- install mirage-runtime           4.9.0
- install mirage-sleep             4.0.0
- install mirage-unix              5.0.1
- install mtime                    2.1.0
- install num                      1.5-1
- install ocaml-compiler-libs      v0.12.4
- install ocaml-syntax-shims       1.0.0
- install ocamlbuild               0.16.1
- install ocamlfind                1.9.8
- install ocplib-endian            1.2
- install parsexp                  v0.16.0
- install pcap-format              0.6.0
- install ppx_cstruct              6.2.0
- install ppx_derivers             1.2.1
- install ppxlib                   0.36.0
- install psq                      0.2.1
- install randomconv               0.2.0
- install re                       1.12.0
- install result                   1.5
- 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 stringext                1.6.0
- install tcpip                    9.0.0
- install topkg                    1.0.8
- install tuntap                   2.0.1
- install uri                      4.4.0
- install uutf                     1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.4  (cached)
-> retrieved angstrom.0.16.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved bechamel.0.5.0, bechamel-js.0.5.0  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved alcotest.1.9.0  (https://github.com/mirage/alcotest/releases/download/1.9.0/alcotest-1.9.0.tbz)
-> retrieved arp.4.0.0  (https://github.com/mirage/arp/releases/download/v4.0.0/arp-4.0.0.tbz)
-> retrieved crowbar.0.2.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0, cstruct-lwt.6.2.0, ppx_cstruct.6.2.0  (cached)
-> retrieved domain-name.0.4.1  (cached)
-> retrieved digestif.1.2.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved ethernet.3.2.0  (cached)
-> retrieved hex.1.5.0  (cached)
-> retrieved ipaddr.5.6.0, ipaddr-cstruct.5.6.0, macaddr.5.6.0, macaddr-cstruct.5.6.0  (cached)
-> retrieved fmt.0.10.0  (https://erratique.ch/software/fmt/releases/fmt-0.10.0.tbz)
-> retrieved json-data-encoding.1.0.1  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved lru.0.3.1  (cached)
-> retrieved logs.0.8.0  (https://erratique.ch/software/logs/releases/logs-0.8.0.tbz)
-> retrieved lwt-dllist.1.0.1  (cached)
-> retrieved metrics.0.4.1  (cached)
-> retrieved lwt.5.9.1  (https://github.com/ocsigen/lwt/archive/refs/tags/5.9.1.tar.gz)
-> retrieved mirage-crypto.2.0.0, mirage-crypto-rng.2.0.0, mirage-crypto-rng-mirage.2.0.0  (cached)
-> retrieved mirage-flow.5.0.0  (https://github.com/mirage/mirage-flow/releases/download/v5.0.0/mirage-flow-5.0.0.tbz)
-> retrieved mirage-net.4.0.0  (cached)
-> retrieved mirage-mtime.5.0.0  (https://github.com/mirage/mirage-mtime/releases/download/v5.0.0/mirage-mtime-5.0.0.tbz)
-> retrieved dune.3.17.2, dune-configurator.3.17.2  (cached)
-> retrieved mirage-net-unix.3.0.0  (https://github.com/mirage/mirage-net-unix/releases/download/v3.0.0/mirage-net-unix-3.0.0.tbz)
-> retrieved mirage-unix.5.0.1  (cached)
-> retrieved mirage-sleep.4.0.0  (https://github.com/mirage/mirage-sleep/releases/download/v4.0.0/mirage-sleep-4.0.0.tbz)
-> retrieved mirage-runtime.4.9.0  (https://github.com/mirage/mirage/releases/download/v4.9.0/mirage-4.9.0.tbz)
-> retrieved mtime.2.1.0  (cached)
-> retrieved num.1.5-1  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved parsexp.v0.16.0  (cached)
-> retrieved pcap-format.0.6.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved randomconv.0.2.0  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved seq.base  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved sexplib.v0.16.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved ppxlib.0.36.0  (https://github.com/ocaml-ppx/ppxlib/releases/download/0.36.0/ppxlib-0.36.0.tbz)
-> installed cmdliner.1.3.0
-> installed seq.base
-> retrieved topkg.1.0.8  (https://erratique.ch/software/topkg/releases/topkg-1.0.8.tbz)
-> retrieved tcpip.9.0.0  (https://github.com/mirage/mirage-tcpip/releases/download/v9.0.0/tcpip-9.0.0.tbz)
-> retrieved uri.4.4.0  (cached)
-> retrieved tuntap.2.0.1  (https://github.com/mirage/ocaml-tuntap/releases/download/v2.0.1/tuntap-2.0.1.tbz)
-> retrieved uutf.1.0.4  (https://erratique.ch/software/uutf/releases/uutf-1.0.4.tbz)
-> installed num.1.5-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\4.14.2\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\4.14.2\.opam-switch\build\ocamlfind.1.9.8\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.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed fmt.0.10.0
-> installed mtime.2.1.0
-> installed jsonm.1.0.2
-> installed dune.3.17.2
-> installed csexp.1.5.2
-> installed duration.0.2.1
-> installed base64.3.5.1
-> installed afl-persistent.1.4
-> installed bechamel.0.5.0
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed domain-name.0.4.1
-> installed eqaf.0.10
-> installed lwt-dllist.1.0.1
-> installed macaddr.5.6.0
-> installed metrics.0.4.1
-> installed mirage-mtime.5.0.0
-> installed hex.1.5.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-syntax-shims.1.0.0
-> installed ocplib-endian.1.2
-> installed ppx_derivers.1.2.1
-> installed psq.0.2.1
-> installed randomconv.0.2.0
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed macaddr-cstruct.5.6.0
-> installed sexplib0.v0.16.0
-> installed digestif.1.2.0
-> installed crowbar.0.2.1
-> installed ipaddr.5.6.0
-> installed lru.0.3.1
-> installed re.1.12.0
-> installed dune-configurator.3.17.2
-> installed ipaddr-cstruct.5.6.0
-> installed stringext.1.6.0
[ERROR] The compilation of tuntap.2.0.1 failed at "dune build -p tuntap -j 15".
-> installed parsexp.v0.16.0
-> installed bigstringaf.0.10.0
-> installed alcotest.1.9.0
-> installed mirage-crypto.2.0.0
-> installed sexplib.v0.16.0
-> installed angstrom.0.16.1
-> installed uri.4.4.0
-> installed lwt.5.9.1
-> installed json-data-encoding.1.0.1
-> installed cstruct-lwt.6.2.0
-> installed mirage-flow.5.0.0
-> installed mirage-net.4.0.0
-> installed mirage-sleep.4.0.0
-> installed bechamel-js.0.5.0
-> installed logs.0.8.0
-> installed ppxlib.0.36.0
-> installed ethernet.3.2.0
-> installed mirage-runtime.4.9.0
-> installed mirage-crypto-rng.2.0.0
-> installed arp.4.0.0
-> installed mirage-unix.5.0.1
-> installed mirage-crypto-rng-mirage.2.0.0
-> installed ppx_cstruct.6.2.0
-> installed tcpip.9.0.0
-> installed pcap-format.0.6.0


#=== ERROR while compiling tuntap.2.0.1 =======================================#
# context     2.3.0 | win32/x86_64 | ocaml-base-compiler.4.14.2 | file://C:/Users/opam/opam-repository
# path        ~\AppData\Local\opam\4.14.2\.opam-switch\build\tuntap.2.0.1
# command     ~\AppData\Local\opam\4.14.2\bin\dune.exe build -p tuntap -j 15
# exit-code   1
# env-file    ~\AppData\Local\opam\log\tuntap-1664-5a0870.env
# output-file ~\AppData\Local\opam\log\tuntap-1664-5a0870.out
### output ###
# File "lib/dune", line 5, characters 14-26:
# 5 |  (c_names     tuntap_stubs))
#                   ^^^^^^^^^^^^
# (cd _build/default/lib && C:\Users\opam\AppData\Local\opam\4.14.2\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/4.14.2/lib/ocaml -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\domain-name -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\ipaddr -I C:\Users\opam\AppData\Loca[...]
# tuntap_stubs.c:24:10: fatal error: err.h: No such file or directory
#    24 | #include <err.h>
#       |          ^~~~~~~
# compilation terminated.


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build tuntap 2.0.1
+- 
+- The following changes have been performed (the rest was aborted)
| - install afl-persistent           1.4
| - install alcotest                 1.9.0
| - install angstrom                 0.16.1
| - install arp                      4.0.0
| - install astring                  0.8.5
| - install base-bytes               base
| - install base64                   3.5.1
| - install bechamel                 0.5.0
| - install bechamel-js              0.5.0
| - install bigstringaf              0.10.0
| - install cmdliner                 1.3.0
| - 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 digestif                 1.2.0
| - install domain-name              0.4.1
| - install dune                     3.17.2
| - install dune-configurator        3.17.2
| - install duration                 0.2.1
| - install eqaf                     0.10
| - install ethernet                 3.2.0
| - install fmt                      0.10.0
| - install hex                      1.5.0
| - install ipaddr                   5.6.0
| - install ipaddr-cstruct           5.6.0
| - install json-data-encoding       1.0.1
| - install jsonm                    1.0.2
| - install logs                     0.8.0
| - install lru                      0.3.1
| - install lwt                      5.9.1
| - install lwt-dllist               1.0.1
| - install macaddr                  5.6.0
| - install macaddr-cstruct          5.6.0
| - install metrics                  0.4.1
| - install mirage-crypto            2.0.0
| - install mirage-crypto-rng        2.0.0
| - install mirage-crypto-rng-mirage 2.0.0
| - install mirage-flow              5.0.0
| - install mirage-mtime             5.0.0
| - install mirage-net               4.0.0
| - install mirage-runtime           4.9.0
| - install mirage-sleep             4.0.0
| - install mirage-unix              5.0.1
| - install mtime                    2.1.0
| - install num                      1.5-1
| - install ocaml-compiler-libs      v0.12.4
| - install ocaml-syntax-shims       1.0.0
| - install ocamlbuild               0.16.1
| - install ocamlfind                1.9.8
| - install ocplib-endian            1.2
| - install parsexp                  v0.16.0
| - install pcap-format              0.6.0
| - install ppx_cstruct              6.2.0
| - install ppx_derivers             1.2.1
| - install ppxlib                   0.36.0
| - install psq                      0.2.1
| - install randomconv               0.2.0
| - install re                       1.12.0
| - install result                   1.5
| - 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 stringext                1.6.0
| - install tcpip                    9.0.0
| - install topkg                    1.0.8
| - install uri                      4.4.0
| - install uutf                     1.0.4
+- 


<><> 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 4.14.2+afl ocaml-variants.4.14.2+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\\4.14.2\\.opam-switch\\backup\\state-20250318214242.export"
"opam install $DEPS" failed with exit status 31
2025-03-18 21:44.45: Job failed: Failed: Build failed