Organisationsocaml-multicoreeio807ad3 ()windows-server-mingw-ltsc2025-5.4_opam-2.5

windows-server-mingw-ltsc2025-5.4_opam-2.5

Logs

Show full logs
2026-04-19 17:57.17: New job: test ocaml-multicore/eio https://github.com/ocaml-multicore/eio.git#refs/pull/836/head (807ad3dd0c60e1892dae71706411eac219bbfb7c) (windows-x86_64:windows-server-mingw-ltsc2025-5.4_opam-2.5)
Base: ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml-multicore/eio.git" && cd "eio" && git fetch origin "refs/pull/836/head" && git reset --hard 807ad3dd
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1
# windows-server-mingw-ltsc2025-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 4ae3c774e4a07972d8dc71ead3a8294779f6dada || git fetch origin master) && git reset -q --hard 4ae3c774e4a07972d8dc71ead3a8294779f6dada && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 eio_windows.opam eio_posix.opam eio_main.opam eio_linux.opam eio.opam /cygwin64/home/opam/src/./
RUN opam pin add -yn eio_windows.dev '/cygwin64/home/opam/src/./' && \
    opam pin add -yn eio_posix.dev '/cygwin64/home/opam/src/./' && \
    opam pin add -yn eio_main.dev '/cygwin64/home/opam/src/./' && \
    opam pin add -yn eio_linux.dev '/cygwin64/home/opam/src/./' && \
    opam pin add -yn eio.dev '/cygwin64/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="afl-persistent.1.4 alcotest.1.9.1 arch-x86_64.1 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 camlp-streams.5.0.1 cmdliner.2.1.0 conf-bash.1 conf-mingw-w64-gcc-x86_64.1 containers.3.18 cppo.1.8.0 crowbar.0.2.2 csexp.1.5.2 cstruct.6.2.0 domain-local-await.1.0.1 domain-local-timeout.1.0.1 dscheck.0.5.0 dune.3.22.2 dune-configurator.3.22.2 either.1.0.0 flexdll.0.44 fmt.0.11.0 hmap.0.8.1 host-arch-x86_64.1 host-system-mingw.1 iomux.0.4 kcas.0.7.0 logs.0.10.0 lwt-dllist.1.1.0 mdx.2.5.2 mingw-w64-shims.0.2.0 mtime.2.1.0 multicore-magic.2.3.2 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.4 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 oseq.0.5.1 psq.0.2.1 re.1.14.0 result.1.5 seq.base stdlib-shims.0.3.0 system-mingw.1 thread-table.1.0.0 topkg.1.1.1 tsort.2.2.0 uutf.1.0.4 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y eio_windows.dev eio_posix.dev eio_main.dev eio.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /cygwin64/home/opam/src
RUN cd /home/opam/src && opam exec -- dune build --only-packages=eio_windows,eio_posix,eio_main,eio @install @check @runtest && rm -rf _build

END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2026-04-19 17:57.17: Using cache hint "ocaml-multicore/eio-ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1-windows-server-mingw-ltsc2025-5.4_opam-2.5-e29a33a6d572741b01553643859dc69a"
2026-04-19 17:57.17: Using OBuilder spec:
((from ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1)
 (comment windows-server-mingw-ltsc2025-5.4_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e 4ae3c774e4a07972d8dc71ead3a8294779f6dada || git fetch origin master) && git reset -q --hard 4ae3c774e4a07972d8dc71ead3a8294779f6dada && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src eio_windows.opam eio_posix.opam eio_main.opam eio_linux.opam eio.opam)
       (dst /cygwin64/home/opam/src/./))
 (run (network host)
      (shell  "opam pin add -yn eio_windows.dev '/cygwin64/home/opam/src/./' && \
             \nopam pin add -yn eio_posix.dev '/cygwin64/home/opam/src/./' && \
             \nopam pin add -yn eio_main.dev '/cygwin64/home/opam/src/./' && \
             \nopam pin add -yn eio_linux.dev '/cygwin64/home/opam/src/./' && \
             \nopam pin add -yn eio.dev '/cygwin64/home/opam/src/./'"))
 (run (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
 (env DEPS "afl-persistent.1.4 alcotest.1.9.1 arch-x86_64.1 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 camlp-streams.5.0.1 cmdliner.2.1.0 conf-bash.1 conf-mingw-w64-gcc-x86_64.1 containers.3.18 cppo.1.8.0 crowbar.0.2.2 csexp.1.5.2 cstruct.6.2.0 domain-local-await.1.0.1 domain-local-timeout.1.0.1 dscheck.0.5.0 dune.3.22.2 dune-configurator.3.22.2 either.1.0.0 flexdll.0.44 fmt.0.11.0 hmap.0.8.1 host-arch-x86_64.1 host-system-mingw.1 iomux.0.4 kcas.0.7.0 logs.0.10.0 lwt-dllist.1.1.0 mdx.2.5.2 mingw-w64-shims.0.2.0 mtime.2.1.0 multicore-magic.2.3.2 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.4 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 oseq.0.5.1 psq.0.2.1 re.1.14.0 result.1.5 seq.base stdlib-shims.0.3.0 system-mingw.1 thread-table.1.0.0 topkg.1.1.1 tsort.2.2.0 uutf.1.0.4 yojson.3.0.0")
 (env CI true)
 (env OCAMLCI true)
 (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.5 --depext-only -y eio_windows.dev eio_posix.dev eio_main.dev eio.dev $DEPS"))
 (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst /cygwin64/home/opam/src))
 (run (shell "cd /home/opam/src && opam exec -- dune build --only-packages=eio_windows,eio_posix,eio_main,eio @install @check @runtest && rm -rf _build"))
)

2026-04-19 17:57.17: Waiting for resource in pool OCluster
2026-04-19 17:57.18: Waiting for worker…
2026-04-20 01:06.32: Got resource from pool OCluster
Building on ltsc2025-3
All commits already cached
HEAD is now at 807ad3d Make Linux and Posix eventfd functions configurable

(from ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1)
2026-04-20 01:06.48 ---> using "e6e8a2cf62a928430568e9b050d6cc986ddb11ca371f3b24e6b6f1ad80860153" from cache

C:/: (comment windows-server-mingw-ltsc2025-5.4_opam-2.5)

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

C:/: (env CLICOLOR_FORCE 1)

C:/: (env OPAMCOLOR always)

C:/: (run (shell "ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam"))
2026-04-20 01:06.48 ---> using "8371c7bbeda21231937607a48921d4490a1c9c23810f1d7416ef9e1aa874f8e3" from cache

C:/: (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] Initialised
2026-04-20 01:06.48 ---> using "8bf506c77ce4ea2b6efe0b049434ba77c8ea5f4c0beccb9cedbfead0127ea0b7" from cache

C:/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-26100 3.6.7-1.x86_64
The OCaml toplevel, version 5.4.1
2.5.0
2026-04-20 01:06.48 ---> using "017acac92f6c222a89f675ad77684e3ed5874f73aa36dd7947a6dd1cf4a5b5c7" from cache

C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
          (network host)
          (shell "cd ~/opam-repository && (git cat-file -e 4ae3c774e4a07972d8dc71ead3a8294779f6dada || git fetch origin master) && git reset -q --hard 4ae3c774e4a07972d8dc71ead3a8294779f6dada && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   65664dc5b2..4ae3c774e4  master     -> origin/master
4ae3c774e4 Merge pull request #29579 from ocaml/add-msys2-depexts

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file://C:/cygwin64/home/opam/opam-repository
default (at git+file://C:/cygwin64/home/opam/opam-repository): 
    [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)

default (at git+file://C:/cygwin64/home/opam/opam-repository): 
    [INFO] opam 2.5.1 includes security fixes; please consider upgrading (https://opam.ocaml.org/doc/Install.html)


Everything as up-to-date as possible
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-04-20 01:06.48 ---> using "e38bd76dd3271832c97c9d461988a881e9d9950a36d50b44d806ec52915e2c33" from cache

C:/: (copy (src eio_windows.opam eio_posix.opam eio_main.opam eio_linux.opam eio.opam)
           (dst /cygwin64/home/opam/src/./))
2026-04-20 01:07.31 ---> saved as "e54f4dbfbfe7140a882d095968c9ff0e9d479d90b1fcec0db8202b5f96a437be"

C:/: (run (network host)
          (shell  "opam pin add -yn eio_windows.dev '/cygwin64/home/opam/src/./' && \
                 \nopam pin add -yn eio_posix.dev '/cygwin64/home/opam/src/./' && \
                 \nopam pin add -yn eio_main.dev '/cygwin64/home/opam/src/./' && \
                 \nopam pin add -yn eio_linux.dev '/cygwin64/home/opam/src/./' && \
                 \nopam pin add -yn eio.dev '/cygwin64/home/opam/src/./'"))
[eio_windows.dev] synchronised (file://C:/cygwin64/home/opam/src)
eio_windows is now pinned to file://C:/cygwin64/home/opam/src (version dev)
[eio_posix.dev] synchronised (file://C:/cygwin64/home/opam/src)
eio_posix is now pinned to file://C:/cygwin64/home/opam/src (version dev)
[eio_main.dev] synchronised (file://C:/cygwin64/home/opam/src)
eio_main is now pinned to file://C:/cygwin64/home/opam/src (version dev)
[eio_linux.dev] synchronised (file://C:/cygwin64/home/opam/src)
eio_linux is now pinned to file://C:/cygwin64/home/opam/src (version dev)
[eio.dev] synchronised (file://C:/cygwin64/home/opam/src)
eio is now pinned to file://C:/cygwin64/home/opam/src (version dev)
2026-04-20 01:09.11 ---> saved as "1d2334463093789e9595445338c2ee3bf320be0a57ad896fae0ec30bb93c33e6"

C:/: (run (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2026-04-20 01:12.11 ---> saved as "12c5b9a879910517c909d7bd7dd7d93d40782d01de36a641ec1bf7b968cd3fb0"

C:/: (env DEPS "afl-persistent.1.4 alcotest.1.9.1 arch-x86_64.1 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 camlp-streams.5.0.1 cmdliner.2.1.0 conf-bash.1 conf-mingw-w64-gcc-x86_64.1 containers.3.18 cppo.1.8.0 crowbar.0.2.2 csexp.1.5.2 cstruct.6.2.0 domain-local-await.1.0.1 domain-local-timeout.1.0.1 dscheck.0.5.0 dune.3.22.2 dune-configurator.3.22.2 either.1.0.0 flexdll.0.44 fmt.0.11.0 hmap.0.8.1 host-arch-x86_64.1 host-system-mingw.1 iomux.0.4 kcas.0.7.0 logs.0.10.0 lwt-dllist.1.1.0 mdx.2.5.2 mingw-w64-shims.0.2.0 mtime.2.1.0 multicore-magic.2.3.2 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.4 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 oseq.0.5.1 psq.0.2.1 re.1.14.0 result.1.5 seq.base stdlib-shims.0.3.0 system-mingw.1 thread-table.1.0.0 topkg.1.1.1 tsort.2.2.0 uutf.1.0.4 yojson.3.0.0")

C:/: (env CI true)

C:/: (env OCAMLCI true)

C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
          (network host)
          (shell "opam update --depexts && opam install --cli=2.5 --depext-only -y eio_windows.dev eio_posix.dev eio_main.dev eio.dev $DEPS"))

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[eio.dev] synchronised (file://C:/cygwin64/home/opam/src)
[eio_main.dev] synchronised (file://C:/cygwin64/home/opam/src)
[eio_posix.dev] synchronised (file://C:/cygwin64/home/opam/src)
[eio_windows.dev] synchronised (file://C:/cygwin64/home/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.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.1).
[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).
# To update the current shell environment, run: eval $(opam env)
2026-04-20 01:13.50 ---> saved as "ccd868c036cabb33a17ae62c54669c49bf88f1a07a8c76b12c94729710092366"

C:/: (run (cache (opam-archives (target "c:\\opam\\.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.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.1).
[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:
=== install 44 packages
  - install afl-persistent       1.4
  - install alcotest             1.9.1
  - install astring              0.8.5
  - install backoff              0.1.1
  - install bigstringaf          0.10.0
  - install camlp-streams        5.0.1
  - install cmdliner             2.1.0
  - install conf-bash            1
  - install containers           3.18
  - install cppo                 1.8.0
  - install crowbar              0.2.2
  - install csexp                1.5.2
  - install cstruct              6.2.0
  - install domain-local-await   1.0.1
  - install domain-local-timeout 1.0.1
  - install dscheck              0.5.0
  - install dune                 3.22.2
  - install dune-configurator    3.22.2
  - install either               1.0.0
  - install fmt                  0.11.0
  - install hmap                 0.8.1
  - install iomux                0.4
  - install kcas                 0.7.0
  - install logs                 0.10.0
  - install lwt-dllist           1.1.0
  - install mdx                  2.5.2
  - install mtime                2.1.0
  - install multicore-magic      2.3.2
  - install ocaml-syntax-shims   1.0.0
  - install ocaml-version        4.0.4
  - install ocamlbuild           0.16.1
  - install ocamlfind            1.9.8
  - install optint               0.3.0
  - install oseq                 0.5.1
  - install psq                  0.2.1
  - install re                   1.14.0
  - install result               1.5
  - install seq                  base
  - install stdlib-shims         0.3.0
  - install thread-table         1.0.0
  - install topkg                1.1.1
  - install tsort                2.2.0
  - install uutf                 1.0.4
  - install yojson               3.0.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.4  (cached)
-> retrieved alcotest.1.9.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved backoff.0.1.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved containers.3.18  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved crowbar.0.2.2  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved domain-local-await.1.0.1  (cached)
-> retrieved domain-local-timeout.1.0.1  (cached)
-> retrieved dscheck.0.5.0  (cached)
-> retrieved either.1.0.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved hmap.0.8.1  (cached)
-> retrieved iomux.0.4  (cached)
-> installed conf-bash.1
-> retrieved kcas.0.7.0  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved lwt-dllist.1.1.0  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved mdx.2.5.2  (cached)
-> retrieved multicore-magic.2.3.2  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml-version.4.0.4  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved oseq.0.5.1  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved result.1.5  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved thread-table.1.0.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved tsort.2.2.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved yojson.3.0.0  (cached)
-> retrieved dune.3.22.2, dune-configurator.3.22.2  (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:\opam\.opam\5.4\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\opam\.opam\5.4\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind_opt.exe
[WARNING] C:\opam\.opam\5.4\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.8
-> installed topkg.1.1.1
-> installed hmap.0.8.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed mtime.2.1.0
-> installed logs.0.10.0
-> installed dune.3.22.2
-> installed backoff.0.1.1
-> installed afl-persistent.1.4
-> installed csexp.1.5.2
-> installed camlp-streams.5.0.1
-> installed cppo.1.8.0
-> installed cstruct.6.2.0
-> installed crowbar.0.2.2
-> installed either.1.0.0
-> installed lwt-dllist.1.1.0
-> installed multicore-magic.2.3.2
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-version.4.0.4
-> installed optint.0.3.0
-> installed oseq.0.5.1
-> installed psq.0.2.1
-> installed re.1.14.0
-> installed dune-configurator.3.22.2
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed thread-table.1.0.0
-> installed tsort.2.2.0
-> installed yojson.3.0.0
[ERROR] The compilation of iomux.0.4 failed at "dune build -p iomux -j 15 @install".
-> installed domain-local-await.1.0.1
-> installed bigstringaf.0.10.0
-> installed domain-local-timeout.1.0.1
-> installed alcotest.1.9.1
-> installed kcas.0.7.0
-> installed mdx.2.5.2
-> installed containers.3.18
-> installed dscheck.0.5.0

#=== ERROR while compiling iomux.0.4 ==========================================#
# context     2.5.0 | win32/x86_64 | ocaml-base-compiler.5.4.1 system-mingw.1 | git+file://C:/cygwin64/home/opam/opam-repository
# path        C:\opam\.opam\5.4\.opam-switch\build\iomux.0.4
# command     C:\opam\.opam\5.4\bin\dune.exe build -p iomux -j 15 @install
# exit-code   1
# env-file    C:\opam\.opam\log\iomux-26096-beca74.env
# output-file C:\opam\.opam\log\iomux-26096-beca74.out
### output ###
# File "lib/dune", lines 1-4, characters 0-77:
# 1 | (rule
# 2 |  (targets config.ml config.h)
# 3 |  (action
# 4 |   (run ./include/discover.exe)))
# (cd _build/default/lib && include\discover.exe)
# compiling c program:
#  | 
#  | #define _GNU_SOURCE /* for linux */
#  | #include <poll.h>
#  | #include <stddef.h>
#  | #include <strings.h>
#  | 
#  | int
#  | main(void)
#  | {
#  | 	struct pollfd fds;
#  | 	struct timespec ts;
#  | 
#  | 	bzero(&fds, sizeof(fds));
#  | 	bzero(&ts, sizeof(ts));
#  | 
#  | 	return (ppoll(&fds, 0, &ts, NULL));
#  | }
# run: x86_64-w64-mingw32-gcc -O2 -fno-strict-aliasing -fwrapv -mms-bitfields     -I C:/opam/.opam/5.4/lib/ocaml -o C:\cygwin64\tmp\ocaml-configurator2171ee\c-test-0\test.exe C:\cygwin64\tmp\ocaml-configurator2171ee\c-test-0\test.c -lws2_32 -lole32 -luuid -lversion -lshlwapi -lsynchronization -l:libpthread.a -lgcc_eh
# -> process exited with code 1
# -> stdout:
# -> stderr:
#  | C:\cygwin64\tmp\ocaml-configurator2171ee\c-test-0\test.c:3:10: fatal error: poll.h: No such file or directory
#  |     3 | #include <poll.h>
#  |       |          ^~~~~~~~
#  | compilation terminated.
# writing header file config.h
#  | #ifndef DISCOVER_CONFIG_H
#  | #define DISCOVER_CONFIG_H
#  | #undef  HAS_PPOLL
#  | #endif
# compiling c program:
#  | #include <stdio.h>
#  | #include <poll.h>
#  | 
#  | 
#  | #define DUNE_ABS(x) ((x >= 0)? x: -(x))
#  | #define DUNE_D0(x) ('0'+(DUNE_ABS(x)/1         )%10)
#  | #define DUNE_D1(x) ('0'+(DUNE_ABS(x)/10        )%10), DUNE_D0(x)
#  | #define DUNE_D2(x) ('0'+(DUNE_ABS(x)/100       )%10), DUNE_D1(x)
#  | #define DUNE_D3(x) ('0'+(DUNE_ABS(x)/1000      )%10), DUNE_D2(x)
#  | #define DUNE_D4(x) ('0'+(DUNE_ABS(x)/10000     )%10), DUNE_D3(x)
#  | #define DUNE_D5(x) ('0'+(DUNE_ABS(x)/100000    )%10), DUNE_D4(x)
#  | #define DUNE_D6(x) ('0'+(DUNE_ABS(x)/1000000   )%10), DUNE_D5(x)
#  | #define DUNE_D7(x) ('0'+(DUNE_ABS(x)/10000000  )%10), DUNE_D6(x)
#  | #define DUNE_D8(x) ('0'+(DUNE_ABS(x)/100000000 )%10), DUNE_D7(x)
#  | #define DUNE_D9(x) ('0'+(DUNE_ABS(x)/1000000000)%10), DUNE_D8(x)
#  | #define DUNE_SIGN(x) ((x >= 0)? '0': '-')
#  | 
#  | 
#  | const char s0[] = {
#  |   'B', 'E', 'G', 'I', 'N', '-', '0', '-',
#  |   DUNE_SIGN((POLLIN)),
#  |   DUNE_D9((POLLIN)),
#  |   '-', 'E', 'N', 'D'
#  | };
#  | 
#  | 
#  | const char s1[] = {
#  |   'B', 'E', 'G', 'I', 'N', '-', '1', '-',
#  |   DUNE_SIGN((POLLPRI)),
#  |   DUNE_D9((POLLPRI)),
#  |   '-', 'E', 'N', 'D'
#  | };
#  | 
#  | 
#  | const char s2[] = {
#  |   'B', 'E', 'G', 'I', 'N', '-', '2', '-',
#  |   DUNE_SIGN((POLLOUT)),
#  |   DUNE_D9((POLLOUT)),
#  |   '-', 'E', 'N', 'D'
#  | };
#  | 
#  | 
#  | const char s3[] = {
#  |   'B', 'E', 'G', 'I', 'N', '-', '3', '-',
#  |   DUNE_SIGN((POLLERR)),
#  |   DUNE_D9((POLLERR)),
#  |   '-', 'E', 'N', 'D'
#  | };
#  | 
#  | 
#  | const char s4[] = {
#  |   'B', 'E', 'G', 'I', 'N', '-', '4', '-',
#  |   DUNE_SIGN((POLLHUP)),
#  |   DUNE_D9((POLLHUP)),
#  |   '-', 'E', 'N', 'D'
#  | };
#  | 
#  | 
#  | const char s5[] = {
#  |   'B', 'E', 'G', 'I', 'N', '-', '5', '-',
#  |   DUNE_SIGN((POLLNVAL)),
#  |   DUNE_D9((POLLNVAL)),
#  |   '-', 'E', 'N', 'D'
#  | };
#  | 
#  | 
#  | const char s6[] = {
#  |   'B', 'E', 'G', 'I', 'N', '-', '6', '-',
#  |   DUNE_SIGN((sizeof(struct pollfd))),
#  |   DUNE_D9((sizeof(struct pollfd))),
#  |   '-', 'E', 'N', 'D'
#  | };
#  | 
# run: x86_64-w64-mingw32-gcc -O2 -fno-strict-aliasing -fwrapv -mms-bitfields     -I C:/opam/.opam/5.4/lib/ocaml -o C:\cygwin64\tmp\ocaml-configurator2171ee\c-test-2\test.o -c C:\cygwin64\tmp\ocaml-configurator2171ee\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:\cygwin64\tmp\ocaml-configurator2171ee\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 iomux 0.4
+- 
+- The following changes have been performed
| - install afl-persistent       1.4
| - install alcotest             1.9.1
| - install astring              0.8.5
| - install backoff              0.1.1
| - install bigstringaf          0.10.0
| - install camlp-streams        5.0.1
| - install cmdliner             2.1.0
| - install conf-bash            1
| - install containers           3.18
| - install cppo                 1.8.0
| - install crowbar              0.2.2
| - install csexp                1.5.2
| - install cstruct              6.2.0
| - install domain-local-await   1.0.1
| - install domain-local-timeout 1.0.1
| - install dscheck              0.5.0
| - install dune                 3.22.2
| - install dune-configurator    3.22.2
| - install either               1.0.0
| - install fmt                  0.11.0
| - install hmap                 0.8.1
| - install kcas                 0.7.0
| - install logs                 0.10.0
| - install lwt-dllist           1.1.0
| - install mdx                  2.5.2
| - install mtime                2.1.0
| - install multicore-magic      2.3.2
| - install ocaml-syntax-shims   1.0.0
| - install ocaml-version        4.0.4
| - install ocamlbuild           0.16.1
| - install ocamlfind            1.9.8
| - install optint               0.3.0
| - install oseq                 0.5.1
| - install psq                  0.2.1
| - install re                   1.14.0
| - install result               1.5
| - install seq                  base
| - install stdlib-shims         0.3.0
| - install thread-table         1.0.0
| - install topkg                1.1.1
| - install tsort                2.2.0
| - install uutf                 1.0.4
| - install yojson               3.0.0
+- 

<><> 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.4.1+afl ocaml-variants.5.4.1+options ocaml-option-afl
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    C:\cygwin64\usr\local\bin\opam.exe switch import "C:\\opam\\.opam\\5.4\\.opam-switch\\backup\\state-20260420011429.export"
"C:\cygwin64\bin\bash.exe" "-lc" "opam install $DEPS" failed with exit status 31
2026-04-20 01:23.55: Job failed: Failed: Build failed