Organisationsocsigenlwtf07302 ()windows-server-2022-amd64-4.14_opam-2.4

windows-server-2022-amd64-4.14_opam-2.4

Logs

Show full logs
2025-08-21 14:28.10: New job: test ocsigen/lwt https://github.com/ocsigen/lwt.git#refs/heads/better-ci-test-ppx (f073026bdc4a4d18f4d45882dc3ba634bcd4d6ff) (windows-amd64:windows-server-2022-amd64-4.14_opam-2.4)
Base: windows-server-2022-amd64-ocaml-4.14
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocsigen/lwt.git" -b "better-ci-test-ppx" && cd "lwt" && git reset --hard f073026b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-amd64-ocaml-4.14
# windows-server-2022-amd64-4.14_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 f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && 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-bigarray.base base-bytes.base base-threads.base base-unix.base conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 dune.3.20.0 dune-configurator.3.20.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-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 react.1.2.2 system-mingw.1 topkg.1.1.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y lwt_retry.dev lwt_react.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 --only-packages=lwt_retry,lwt_react,lwt @install @check @runtest && rm -rf _build

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

2025-08-21 14:28.10: Using cache hint "ocsigen/lwt-windows-server-2022-amd64-ocaml-4.14-windows-server-2022-amd64-4.14_opam-2.4-e05b926b0b051123c1b1bc7390e42498"
2025-08-21 14:28.10: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-4.14)
 (comment windows-server-2022-amd64-4.14_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 f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && 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-bigarray.base base-bytes.base base-threads.base base-unix.base conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 dune.3.20.0 dune-configurator.3.20.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-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 react.1.2.2 system-mingw.1 topkg.1.1.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 lwt_retry.dev lwt_react.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 --only-packages=lwt_retry,lwt_react,lwt @install @check @runtest && rm -rf _build"))
)

2025-08-21 14:28.10: Waiting for resource in pool OCluster
2025-08-21 14:28.11: Waiting for worker…
2025-08-21 14:30.00: Got resource from pool OCluster
Building on thyme
All commits already cached
HEAD is now at f073026bd improve maintainability of github action

(from windows-server-2022-amd64-ocaml-4.14)
2025-08-21 14:30.00 ---> using "55c9cbebb0e098c78ccc09b1cc6e84ec9f0bd2275b7cebf331cc913575946dc0" from cache

/: (comment windows-server-2022-amd64-4.14_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-08-21 14:30.00 ---> using "fa5bb00e1b6dc297799f071f6d36c5ba197ac910917f6631927fc1b4259523b1" 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-08-21 14:30.00 ---> using "c9a6bb12454183a6bda5e24c40375763b3914e101e14ca85a4ab6e7ff857e315" 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 4.14.2
2.4.1
2025-08-21 14:30.00 ---> using "6ecdd3ea7a5353b5481faeb55be51b830717334a488c4abef4de194957089ce9" 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 f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 || git fetch origin master) && git reset -q --hard f9d23e5cb169337cdf0aac6321e4ec46f6f64a74 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   f6368c68f9..0978bfceb7  master     -> origin/master
f9d23e5cb1 Merge pull request #28357 from maiste/release-dune-3.20.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 at these versions (e.g. "opam upgrade ocaml.5.3.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)
2025-08-21 14:30.00 ---> using "5d7d550804f530be6c924b1aeb8b41458cdf15bfbc2e0ea3f91bd19d69163208" from cache

/: (copy (src lwt_retry.opam lwt_react.opam lwt_ppx.opam lwt.opam)
         (dst /Users/opam/src/./))
2025-08-21 14:30.00 ---> using "b11b94a61f6fc78003c9038015d9e74c0fe338e7128b2e5fa43d576f5d928c37" 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-08-21 14:30.00 ---> using "862d2c376e9701e1cc63fa41d76e736412b60032455957d884f9b1a045c05c75" from cache

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-08-21 14:30.00 ---> using "2a01a227c37fc2e924244d7594cd1917549f575ce1e7ae1a478c9b882637873a" from cache

/: (env DEPS "arch-x86_64.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 dune.3.20.0 dune-configurator.3.20.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-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 react.1.2.2 system-mingw.1 topkg.1.1.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 lwt_retry.dev lwt_react.dev lwt.dev $DEPS"))

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[lwt.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-08-21 14:30.00 ---> using "7c05194c7818e0cdd6ee0e746cc8b5f26dfa99ad81a3c339366c7dfeb927fc9c" 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 10 packages
  - install base-bytes        base
  - install cppo              1.8.0
  - install csexp             1.5.2
  - install dune              3.20.0
  - install dune-configurator 3.20.0
  - install ocamlbuild        0.16.1
  - install ocamlfind         1.9.8
  - install ocplib-endian     1.2
  - install react             1.2.2
  - install topkg             1.1.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved react.1.2.2  (cached)
-> retrieved topkg.1.1.0  (https://erratique.ch/software/topkg/releases/topkg-1.1.0.tbz)
-> retrieved dune.3.20.0, dune-configurator.3.20.0  (https://github.com/ocaml/dune/releases/download/3.20.0/dune-3.20.0.tbz)
[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.1.0
-> installed react.1.2.2
-> installed dune.3.20.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.20.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 14:30.00 ---> using "48eaa88fcc4366e391b6307a8903e8590f855d6a9e5e68b788a3ab38948a7f73" from cache

/: (copy (src .) (dst /Users/opam/src))
2025-08-21 14:31.14 ---> saved as "8929f67ce91d2c60b20fd3107e5aa955c879e17123e22dd046d08975dc5b7704"

/: (run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build --only-packages=lwt_retry,lwt_react,lwt @install @check @runtest && rm -rf _build"))
(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;
      |          ^~
(cd _build/default/test/retry && .\main.exe)
Testing library 'retry'...
..............
Ok. 14 tests ran, 0 tests skipped in 0.02 seconds
(cd _build/default/test/core && .\main.exe)
Testing library 'core'...
...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSSSSSSSSSSSSSS..................................................................................................................................................
Ok. 705 tests ran, 23 tests skipped in 0.33 seconds
(cd _build/default/test/react && .\main.exe)
Testing library 'react'...
...........
Ok. 11 tests ran, 0 tests skipped in 4.53 seconds
(cd _build/default/test/unix && .\main.exe)
Testing library 'unix'...
SSSSSSS...........................SSSSS.......S...SSSSSSSSSSSSSS.S.....SSSSS.....................................SSSSS...............................................................SSSSSSS..SSSSSSS..........................................
Ok. 187 tests ran, 52 tests skipped in 6.64 seconds
2025-08-21 14:32.41 ---> saved as "dd62ee0d4a59d8ede28a4aad59c9251be1964914910a34feae60bcb4ad36e5f9"
Job succeeded
2025-08-21 14:32.41: Job succeeded