2025-09-30 21:03.37: New job: test ocaml-multicore/eio https://github.com/ocaml-multicore/eio.git#refs/pull/575/head (5c5598a1ffca2c93594bbd6b9848ed94c314a309) (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/ocaml-multicore/eio.git" && cd "eio" && git fetch origin "refs/pull/575/head" && git reset --hard 5c5598a1
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 64dfb8c8f3d57322d6c1c70adec809b801b9121a || git fetch origin master) && git reset -q --hard 64dfb8c8f3d57322d6c1c70adec809b801b9121a && 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 /Users/opam/src/./
RUN opam pin add -yn eio_windows.dev '/Users/opam/src/./' && \
opam pin add -yn eio_posix.dev '/Users/opam/src/./' && \
opam pin add -yn eio_main.dev '/Users/opam/src/./' && \
opam pin add -yn eio_linux.dev '/Users/opam/src/./' && \
opam pin add -yn eio.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 arch-x86_64.1 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-bytes.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.1.3.0 conf-bash.1 conf-mingw-w64-gcc-x86_64.1 containers.3.16 cppo.1.8.0 crowbar.0.2.1 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.20.2 dune-configurator.3.20.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.9.0 lwt-dllist.1.1.0 mdx.2.5.0 mingw-w64-shims.0.2.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 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.0 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.4 --depext-only -y eio_windows.dev eio_posix.dev eio_main.dev eio.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /Users/opam/src
RUN cd /cygdrive/c/Users/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
2025-09-30 21:03.37: Using cache hint "ocaml-multicore/eio-windows-server-2022-amd64-ocaml-5.3-windows-server-2022-amd64-5.3_opam-2.4-61390aaed1d95a47163899f6b5a2f720"
2025-09-30 21:03.37: 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 64dfb8c8f3d57322d6c1c70adec809b801b9121a || git fetch origin master) && git reset -q --hard 64dfb8c8f3d57322d6c1c70adec809b801b9121a && 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 /Users/opam/src/./))
(run (network host)
(shell "opam pin add -yn eio_windows.dev '/Users/opam/src/./' && \
\nopam pin add -yn eio_posix.dev '/Users/opam/src/./' && \
\nopam pin add -yn eio_main.dev '/Users/opam/src/./' && \
\nopam pin add -yn eio_linux.dev '/Users/opam/src/./' && \
\nopam pin add -yn eio.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 arch-x86_64.1 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-bytes.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.1.3.0 conf-bash.1 conf-mingw-w64-gcc-x86_64.1 containers.3.16 cppo.1.8.0 crowbar.0.2.1 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.20.2 dune-configurator.3.20.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.9.0 lwt-dllist.1.1.0 mdx.2.5.0 mingw-w64-shims.0.2.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 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.0 tsort.2.2.0 uutf.1.0.4 yojson.3.0.0")
(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 eio_windows.dev eio_posix.dev eio_main.dev eio.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 --only-packages=eio_windows,eio_posix,eio_main,eio @install @check @runtest && rm -rf _build"))
)
2025-09-30 21:03.37: Waiting for resource in pool OCluster
2025-09-30 21:03.37: Waiting for worker…
2025-09-30 21:05.58: Got resource from pool OCluster
Building on thyme
HEAD is now at 7a2947e fix network tests with older kernels
HEAD is now at 5c5598a Add support for setting/getting socket options
(from windows-server-2022-amd64-ocaml-5.3)
2025-09-30 21:06.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-30 21:06.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-30 21:06.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-30 21:06.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 64dfb8c8f3d57322d6c1c70adec809b801b9121a || git fetch origin master) && git reset -q --hard 64dfb8c8f3d57322d6c1c70adec809b801b9121a && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
f1d3c77350..64dfb8c8f3 master -> origin/master
64dfb8c8f3 Merge pull request #28606 from dbuenzli/more-cmdliner-failures
<><> 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-30 21:06.01 ---> using "0cd0fd442d84c6e8358ed1d51978a90cbe7552a04f524262226a661ae8b9a1ab" from cache
/: (copy (src eio_windows.opam eio_posix.opam eio_main.opam eio_linux.opam eio.opam)
(dst /Users/opam/src/./))
2025-09-30 21:06.01 ---> using "85fb02e5dc65fb6e2246694655684cad5390c30fee6e76159374fd43329cbe1e" from cache
/: (run (network host)
(shell "opam pin add -yn eio_windows.dev '/Users/opam/src/./' && \
\nopam pin add -yn eio_posix.dev '/Users/opam/src/./' && \
\nopam pin add -yn eio_main.dev '/Users/opam/src/./' && \
\nopam pin add -yn eio_linux.dev '/Users/opam/src/./' && \
\nopam pin add -yn eio.dev '/Users/opam/src/./'"))
[eio_windows.dev] synchronised (file://C:/Users/opam/src/.)
eio_windows is now pinned to file://C:/Users/opam/src/. (version dev)
[eio_posix.dev] synchronised (file://C:/Users/opam/src/.)
eio_posix is now pinned to file://C:/Users/opam/src/. (version dev)
[eio_main.dev] synchronised (file://C:/Users/opam/src/.)
eio_main is now pinned to file://C:/Users/opam/src/. (version dev)
[eio_linux.dev] synchronised (file://C:/Users/opam/src/.)
eio_linux is now pinned to file://C:/Users/opam/src/. (version dev)
[eio.dev] synchronised (file://C:/Users/opam/src/.)
eio is now pinned to file://C:/Users/opam/src/. (version dev)
2025-09-30 21:06.01 ---> using "372fde8bb575e78b6d1b1a405ed93484ee2d5512f8b2bbd44158487917212747" from cache
/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-09-30 21:06.01 ---> using "62f1d24d22325a61b70d570c8c129943deb43dd2bfa4a7471e21805fe54edc54" from cache
/: (env DEPS "afl-persistent.1.4 alcotest.1.9.0 arch-x86_64.1 astring.0.8.5 backoff.0.1.1 base-bigarray.base base-bytes.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.1.3.0 conf-bash.1 conf-mingw-w64-gcc-x86_64.1 containers.3.16 cppo.1.8.0 crowbar.0.2.1 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.20.2 dune-configurator.3.20.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.9.0 lwt-dllist.1.1.0 mdx.2.5.0 mingw-w64-shims.0.2.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 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.0 tsort.2.2.0 uutf.1.0.4 yojson.3.0.0")
/: (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 eio_windows.dev eio_posix.dev eio_main.dev eio.dev $DEPS"))
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[eio.dev] synchronised (file://C:/Users/opam/src/.)
[eio_main.dev] synchronised (file://C:/Users/opam/src/.)
[eio_posix.dev] synchronised (file://C:/Users/opam/src/.)
[eio_windows.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).
2025-09-30 21:06.01 ---> using "a7af50a4c92ad0386f14eace10de3c341acdb3c7a74d2dcf59bef7e67a680d1f" from cache
/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))
2025-09-30 21:07.18: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled