Organisationsocsigenlwtf8847d ()windows-server-2022-amd64-4.14_opam-2.3

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

Logs

Show full logs
2025-06-05 11:22.14: New job: test ocsigen/lwt https://github.com/ocsigen/lwt.git#refs/heads/domains (f8847d51c7cbaadd4c3b84c072ba4fd40d4c0f61) (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/ocsigen/lwt.git" -b "domains" && cd "lwt" && git reset --hard f8847d51
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 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 lwt_retry.opam lwt_react.opam lwt_ppx.opam lwt.opam /Users/opam/src/./
RUN opam pin add -yn lwt_retry.dev '/Users/opam/src/./' && \
    opam pin add -yn lwt_react.dev '/Users/opam/src/./' && \
    opam pin add -yn lwt_ppx.dev '/Users/opam/src/./' && \
    opam pin add -yn lwt.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="arch-x86_64.1 base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base bisect_ppx.2.8.3 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 dune.3.19.0 dune-configurator.3.19.0 flexdll.0.44 host-arch-x86_64.1 host-system-mingw.1 mingw-w64-shims.0.2.0 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 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_here.v0.16.0 ppx_let.v0.16.0 ppxlib.0.35.0 react.1.2.2 sexplib0.v0.16.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.0.8"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y lwt_retry.dev lwt_react.dev lwt_ppx.dev lwt.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-06-05 11:22.14: Using cache hint "ocsigen/lwt-windows-server-2022-amd64-ocaml-4.14-windows-server-2022-amd64-4.14_opam-2.3-a1aac00c007d9ccd36123e57bfe17cb5"
2025-06-05 11:22.14: 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 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src lwt_retry.opam lwt_react.opam lwt_ppx.opam lwt.opam)
       (dst /Users/opam/src/./))
 (run (network host)
      (shell  "opam pin add -yn lwt_retry.dev '/Users/opam/src/./' && \
             \nopam pin add -yn lwt_react.dev '/Users/opam/src/./' && \
             \nopam pin add -yn lwt_ppx.dev '/Users/opam/src/./' && \
             \nopam pin add -yn lwt.dev '/Users/opam/src/./'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
 (env DEPS "arch-x86_64.1 base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base bisect_ppx.2.8.3 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 dune.3.19.0 dune-configurator.3.19.0 flexdll.0.44 host-arch-x86_64.1 host-system-mingw.1 mingw-w64-shims.0.2.0 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 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_here.v0.16.0 ppx_let.v0.16.0 ppxlib.0.35.0 react.1.2.2 sexplib0.v0.16.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.0.8")
 (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 lwt_retry.dev lwt_react.dev lwt_ppx.dev lwt.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-06-05 11:22.14: Waiting for resource in pool OCluster
2025-06-05 11:22.15: Waiting for worker…
2025-06-05 11:22.55: Got resource from pool OCluster
Building on odawa
All commits already cached
HEAD is now at f8847d51c WIP

(from windows-server-2022-amd64-ocaml-4.14)
2025-06-05 11:22.56 ---> 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-06-05 11:22.56 ---> 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-06-05 11:22.56 ---> 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-06-05 11:22.56 ---> 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 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   11bdbee611..c037675bed  master     -> origin/master
2df846cb67 Merge pull request #27910 from maiste/release-dune-3.19.0

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

The following actions will be performed:
=== recompile 3 packages
  - recompile ocaml               4.14.2          [uses ocaml-base-compiler]
  - recompile ocaml-base-compiler 4.14.2 (pinned) [uses flexdll]
  - recompile ocaml-config        3               [uses ocaml-base-compiler]
=== upgrade 1 package
  - upgrade   flexdll             0.43 to 0.44

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.3  (cached)
-> retrieved flexdll.0.44  (cached)
-> removed   ocaml.4.14.2
-> removed   ocaml-config.3
-> retrieved ocaml-base-compiler.4.14.2  (cached)
-> removed   ocaml-base-compiler.4.14.2
-> removed   flexdll.0.43
-> installed flexdll.0.44
-> installed ocaml-base-compiler.4.14.2
-> installed ocaml-config.3
-> installed ocaml.4.14.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-05 11:22.56 ---> using "e40ee121ec62359ca2bc20d158587b7ee81f56234e83c6acedb07d0f4310abd3" from cache

/: (copy (src lwt_retry.opam lwt_react.opam lwt_ppx.opam lwt.opam)
         (dst /Users/opam/src/./))
2025-06-05 11:22.56 ---> using "de9ef0d54e68499f9ca60703934deb96336bfbe4165c5acc6755861e35e17a47" from cache

/: (run (network host)
        (shell  "opam pin add -yn lwt_retry.dev '/Users/opam/src/./' && \
               \nopam pin add -yn lwt_react.dev '/Users/opam/src/./' && \
               \nopam pin add -yn lwt_ppx.dev '/Users/opam/src/./' && \
               \nopam pin add -yn lwt.dev '/Users/opam/src/./'"))
[lwt_retry.dev] synchronised (file://C:/Users/opam/src/.)
lwt_retry is now pinned to file://C:/Users/opam/src/. (version dev)
[lwt_react.dev] synchronised (file://C:/Users/opam/src/.)
lwt_react is now pinned to file://C:/Users/opam/src/. (version dev)
[lwt_ppx.dev] synchronised (file://C:/Users/opam/src/.)
lwt_ppx is now pinned to file://C:/Users/opam/src/. (version dev)
[lwt.dev] synchronised (file://C:/Users/opam/src/.)
lwt is now pinned to file://C:/Users/opam/src/. (version dev)
2025-06-05 11:22.56 ---> using "25f54c2b8bef13bc2c400b6f27d9a733b0dc5553ae481f0c9ed995479c9cb0be" from cache

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-06-05 11:22.56 ---> using "3673850fdfafaf67e18ff812e17fedf18189f7b61affc7cb95b02eeb3c89b227" from cache

/: (env DEPS "arch-x86_64.1 base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base bisect_ppx.2.8.3 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 dune.3.19.0 dune-configurator.3.19.0 flexdll.0.44 host-arch-x86_64.1 host-system-mingw.1 mingw-w64-shims.0.2.0 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 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_here.v0.16.0 ppx_let.v0.16.0 ppxlib.0.35.0 react.1.2.2 sexplib0.v0.16.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.0.8")

/: (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 lwt_retry.dev lwt_react.dev lwt_ppx.dev lwt.dev $DEPS"))

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[lwt.dev] synchronised (file://C:/Users/opam/src/.)
[lwt_ppx.dev] synchronised (file://C:/Users/opam/src/.)
[lwt_react.dev] synchronised (file://C:/Users/opam/src/.)
[lwt_retry.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.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-bigarray is already installed (current version is base).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
2025-06-05 11:22.56 ---> using "b22b1d1343fb57032768e9c5047bb7e9c52f981602bc702bbdf6dc4b6c13eea6" 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.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-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 20 packages
  - install base                v0.16.4
  - install base-bytes          base
  - install bisect_ppx          2.8.3
  - install cmdliner            1.3.0
  - install cppo                1.8.0
  - install csexp               1.5.2
  - install dune                3.19.0
  - install dune-configurator   3.19.0
  - install ocaml-compiler-libs v0.12.4
  - install ocamlbuild          0.16.1
  - install ocamlfind           1.9.8
  - install ocplib-endian       1.2
  - install ppx_derivers        1.2.1
  - install ppx_here            v0.16.0
  - install ppx_let             v0.16.0
  - install ppxlib              0.35.0
  - install react               1.2.2
  - install sexplib0            v0.16.0
  - install stdlib-shims        0.3.0
  - install topkg               1.0.8

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved base.v0.16.4  (cached)
-> retrieved bisect_ppx.2.8.3  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_here.v0.16.0  (cached)
-> retrieved ppx_let.v0.16.0  (cached)
-> retrieved react.1.2.2  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved dune.3.19.0, dune-configurator.3.19.0  (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind_opt
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\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 topkg.1.0.8
-> installed react.1.2.2
-> installed dune.3.19.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.19.0
-> installed base.v0.16.4
-> installed ppxlib.0.35.0
-> installed ppx_here.v0.16.0
-> installed bisect_ppx.2.8.3
-> installed ppx_let.v0.16.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-05 11:22.56 ---> using "8676f8dcdcfd2786b82a561e8270067704a106557779f8ddab92d91ef6faba21" from cache

/: (copy (src .) (dst /Users/opam/src))
2025-06-05 11:23.09 ---> saved as "28385762712a0d07358b4f870943217549a073b005dd392cd0bfd6e59e11d691"

/: (run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && C:\Users\opam\AppData\Local\opam\4.14.2\bin\ocamlc.opt.exe -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I src/core/.lwt.objs/byte -no-alias-deps -opaque -o src/core/.lwt.objs/byte/lwt.cmi -c -intf src/core/lwt.mli)
File "src/core/lwt.mli", line 2068, characters 28-37:
2068 | val register_notification : Domain.id -> (unit -> unit) -> unit
                                   ^^^^^^^^^
Error: Unbound module Domain
(cd _build/default/src/unix && C:\Users\opam\AppData\Local\opam\4.14.2\bin\x86_64-w64-mingw32-gcc.exe -O2 -fno-strict-aliasing -fwrapv -mms-bitfields -Wall -fdiagnostics-color=always -DUNICODE -D_UNICODE -g -I C:/Users/opam/AppData/Local/opam/4.14.2/lib/ocaml -I C:/Users/opam/AppData/Local/opam/4.14.2/lib/ocaml\threads -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\bytes -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\ocplib-endian -I C:\Users\opam\AppData\Local\opam\4.14.2\lib\ocplib-endian\bigstring -I ../core -o lwt_process_stubs.o -c lwt_process_stubs.c)
lwt_process_stubs.c: In function 'lwt_process_create_process':
lwt_process_stubs.c:68:10: warning: unused variable 'hp' [-Wunused-variable]
   68 |   HANDLE hp, fd0, fd1, fd2;
      |          ^~
File "src/unix/dune", lines 52-196, characters 0-3031:
 52 | (library
 53 |  (name lwt_unix)
 54 |  (public_name lwt.unix)
.....
194 |   (:include unix_c_library_flags.sexp) -fPIC -pthread)
195 |  (instrumentation
196 |   (backend bisect_ppx)))
(cd _build/default && C:\Users\opam\AppData\Local\opam\4.14.2\bin\ocamlmklib.opt.exe -g -o src/unix/lwt_unix_stubs src/unix/windows_write_job.o src/unix/windows_write.o src/unix/windows_system_job.o src/unix/windows_somaxconn.o src/unix/windows_read_job.o src/unix/windows_read.o src/unix/windows_pwrite_job.o src/unix/windows_pwrite.o src/unix/windows_pread_job.o src/unix/windows_pread.o src/unix/windows_not_available.o src/unix/windows_is_socket.o src/unix/windows_get_page_size.o src/unix/windows_fsync_job.o src/unix/windows_bytes_write_job.o src/unix/windows_bytes_write.o src/unix/windows_bytes_read_job.o src/unix/windows_bytes_read.o src/unix/unix_writev_job.o src/unix/unix_writev.o src/unix/unix_write_job.o src/unix/unix_write.o src/unix/unix_writable.o src/unix/unix_wait_mincore_job.o src/unix/unix_wait4.o src/unix/unix_valid_dir.o src/unix/unix_utimes_job.o src/unix/unix_unlink_job.o src/unix/unix_truncate_job.o src/unix/unix_termios_conversion.o src/unix/unix_tcsetattr_job.o src/unix/unix_tcsendbreak_job.o src/unix/unix_tcgetattr_job.o src/unix/unix_tcflush_job.o src/unix/unix_tcflow_job.o src/unix/unix_tcdrain_job.o src/unix/unix_symlink_job.o src/unix/unix_stat_job_utils.o src/unix/unix_stat_job.o src/unix/unix_stat_64_job.o src/unix/unix_somaxconn.o src/unix/unix_set_affinity.o src/unix/unix_sendto_byte.o src/unix/unix_sendto.o src/unix/unix_send_msg_byte.o src/unix/unix_send_msg.o src/unix/unix_send.o src/unix/unix_rmdir_job.o src/unix/unix_rewinddir_job.o src/unix/unix_rename_job.o src/unix/unix_recvfrom.o src/unix/unix_recv_send_utils.o src/unix/unix_recv_msg.o src/unix/unix_recv.o src/unix/unix_readv_writev_utils.o src/unix/unix_readv_job.o src/unix/unix_readv.o src/unix/unix_readlink_job.o src/unix/unix_readdir_n_job.o src/unix/unix_readdir_job.o src/unix/unix_readable.o src/unix/unix_read_job.o src/unix/unix_read.o src/unix/unix_pwrite_job.o src/unix/unix_pwrite.o src/unix/unix_pread_job.o src/unix/unix_pread.o src/unix/unix_opendir_job.o src/unix/unix_open_job.o src/unix/unix_not_available.o src/unix/unix_mkfifo_job.o src/unix/unix_mkdir_job.o src/unix/unix_mincore.o src/unix/unix_mcast_utils.o src/unix/unix_mcast_set_ttl.o src/unix/unix_mcast_set_loop.o src/unix/unix_mcast_modify_membership.o src/unix/unix_madvise.o src/unix/unix_lstat_job.o src/unix/unix_lstat_64_job.o src/unix/unix_lseek_job.o src/unix/unix_lockf_job.o src/unix/unix_link_job.o src/unix/unix_isatty_job.o src/unix/unix_iov_max.o src/unix/unix_invalidate_dir.o src/unix/unix_guess_blocking_job.o src/unix/unix_getprotoby_getservby_job.o src/unix/unix_getnameinfo_job.o src/unix/unix_getlogin_job.o src/unix/unix_gethostname_job.o src/unix/unix_gethostbyname_job.o src/unix/unix_gethostbyaddr_job.o src/unix/unix_getcwd_job.o src/unix/unix_getaddrinfo_job.o src/unix/unix_get_pw_gr_nam_id_job.o src/unix/unix_get_page_size.o src/unix/unix_get_network_information_utils.o src/unix/unix_get_credentials.o src/unix/unix_get_cpu.o src/unix/unix_get_affinity.o src/unix/unix_ftruncate_job.o src/unix/unix_fsync_job.o src/unix/unix_fstat_job.o src/unix/unix_fstat_64_job.o src/unix/unix_fdatasync_job.o src/unix/unix_fchown_job.o src/unix/unix_fchmod_job.o src/unix/unix_closedir_job.o src/unix/unix_close_job.o src/unix/unix_chroot_job.o src/unix/unix_chown_job.o src/unix/unix_chmod_job.o src/unix/unix_chdir_job.o src/unix/unix_bytes_write_job.o src/unix/unix_bytes_write.o src/unix/unix_bytes_sendto_byte.o src/unix/unix_bytes_sendto.o src/unix/unix_bytes_send.o src/unix/unix_bytes_recvfrom.o src/unix/unix_bytes_recv.o src/unix/unix_bytes_read_job.o src/unix/unix_bytes_read.o src/unix/unix_bind_job.o src/unix/unix_access_job.o src/unix/unix_accept4.o src/unix/lwt_unix_stubs.o src/unix/lwt_process_stubs.o src/unix/lwt_libev_stubs.o -ldopt -lws2_32 -ldopt -fPIC -ldopt -pthread)
flexlink: unknown option '-fPIC'.
FlexDLL version 0.44

Usage:
  flexlink -o <result.dll/exe> file1.obj file2.obj ... -- <extra linker arguments>

  -o                  Choose the name of the output file
  -exe                Link the main program as an exe file
  -maindll            Link the main program as a dll file
  -noflexdllobj       Do not add the Flexdll runtime object (for exe)
  -noentry            Do not use the Flexdll entry point (for dll)
  -noexport           Do not export any symbol
  -norelrelocs        Ensure that no relative relocation is generated
  -base               Specify base address (Win64 only)
  -pthread            Pass -pthread to the linker
  -I <dir>            Add a directory where to search for files
  -L <dir>            Add a directory where to search for files
  -l <lib>            Library file
  -chain {msvc|msvc64|cygwin64|mingw|mingw64|gnat|gnat64|ld}
                      Choose which linker to use
  -use-linker <cmd>   Choose an alternative linker to use
  -use-mt <cmd>       Choose an alternative manifest tool to use
  -x64                (Deprecated)
  -defaultlib <obj>   External object (no export, no import)
  -save-temps         Do not delete intermediate files
  -implib             Do not delete the generated import library
  -outdef             Produce a def file with exported symbols
  -v                  Increment verbosity (can be repeated)
  -show-exports       Show exported symbols
  -show-imports       Show imported symbols
  -dry                Show the linker command line, do not actually run it
  -dump               Only dump the content of object files
  -patch              Only patch the target image (to be used with -stack)
  -nocygpath          Do not use cygpath (default for msvc, mingw)
  -cygpath            Use cygpath (default for cygwin)
  -no-merge-manifest  Do not merge the manifest (takes precedence over -merge-manifest)
  -merge-manifest     Merge manifest to the dll or exe (if generated)
  -real-manifest      Use the generated manifest (default behavior)
  -default-manifest   Use the default manifest (default.manifest/default_amd64.manifest)
  -export <sym>       Explicitly export a symbol
  -noreexport         Do not reexport symbols imported from import libraries
  -where              Show the FlexDLL directory
  -nounderscore       Normal symbols are not prefixed with an underscore
  -nodefaultlibs      Do not assume any default library
  -builtin            Use built-in linker to produce a dll
  -explain            Explain why library objects are linked
  -subsystem <id>     Set the subsystem (default: console)
  -custom-crt         Use a custom CRT
  -stack <int>        Set the stack reserve in the resulting image
  -link <option>      Next argument is passed verbatim to the linker
  -g                  (Ignored)
  -D <symbol>         (Ignored)
  -U <symbol>         (Ignored)
  --                  Following arguments are passed verbatim to the linker
  -version            Print linker version and FlexDLL directory and exit
  -vnum               Print linker version number and exit
  -help               Display this list of options
  --help              Display this list of options

Notes:
* The -I, -l and -L options do not need to be separated from their argument.
* An option like /linkXXX is an abbrevation for '-link XXX'.
* An option like -Wl,-XXX is an abbreviation for '-link -XXX'.
* FlexDLL's object files are searched by default in the same directory as
  flexlink, or in the directory given by the environment variable FLEXDIR
  if it is defined.
* Extra argument can be passed in the environment variable FLEXLINKFLAGS.

Homepage: https://github.com/ocaml/flexdll
"cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-06-05 11:23.32: Job failed: Failed: Build failed