Organisationsocsigenlwtdbab21 ()windows-server-2022-amd64-5.3_opam-2.4

windows-server-2022-amd64-5.3_opam-2.4

Link Copied
Code Copied

Logs

2025-08-21 14:15.35: New job: test ocsigen/lwt https://github.com/ocsigen/lwt.git#refs/heads/better-ci-test-ppx (dbab21f4a0a80ab396f485ca7d58d617df28c5e8) (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/ocsigen/lwt.git" -b "better-ci-test-ppx" && cd "lwt" && git reset --hard dbab21f4
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 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.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_here.v0.17.0 ppx_let.v0.17.1 ppxlib.0.36.0 react.1.2.2 sexplib0.v0.17.0 stdlib-shims.0.3.0 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_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-08-21 14:15.35: Using cache hint "ocsigen/lwt-windows-server-2022-amd64-ocaml-5.3-windows-server-2022-amd64-5.3_opam-2.4-4615e3c5c362ec4c74d356cd8c6309c8"
2025-08-21 14:15.35: 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 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.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_here.v0.17.0 ppx_let.v0.17.1 ppxlib.0.36.0 react.1.2.2 sexplib0.v0.17.0 stdlib-shims.0.3.0 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_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-08-21 14:15.35: Waiting for resource in pool OCluster
2025-08-21 14:15.35: Waiting for worker…
2025-08-21 14:15.40: Got resource from pool OCluster
Building on thyme
HEAD is now at b6930e99f improve maintainability of github action
HEAD is now at dbab21f4a improve maintainability of github action


(from windows-server-2022-amd64-ocaml-5.3)
2025-08-21 14:15.52 ---> 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-08-21 14:15.52 ---> 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-08-21 14:15.52 ---> 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-08-21 14:15.52 ---> 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 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
f1d3c77350..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


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 14:15.52 ---> using "8535c6505dcef02199df1ee095b25a0b32e081bd429b206bfc398cdb3c3c9916" from cache


/: (copy (src lwt_retry.opam lwt_react.opam lwt_ppx.opam lwt.opam)
(dst /Users/opam/src/./))
2025-08-21 14:15.52 ---> using "67641e2468da7aecf90dcaf36961327d357be1ce6f87028159ff14276ee900b8" 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:15.52 ---> using "50e76a6fcaa725a37f961ff69575d880d5ef13a4e271e7712fbc323f5c643b72" from cache


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


/: (env DEPS "arch-x86_64.1 base.v0.17.3 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_here.v0.17.0 ppx_let.v0.17.1 ppxlib.0.36.0 react.1.2.2 sexplib0.v0.17.0 stdlib-shims.0.3.0 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_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-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-08-21 14:15.52 ---> using "06751728c44e019d7c10e48d03831da219be0855a18d357be11f15af0b803845" 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-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).
The following actions will be performed:
=== install 19 packages
- install base                    v0.17.3
- 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 ocaml-compiler-libs     v0.17.0
- install ocaml_intrinsics_kernel v0.17.1
- 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.17.0
- install ppx_let                 v0.17.1
- install ppxlib                  0.36.0
- install react                   1.2.2
- install sexplib0                v0.17.0
- install stdlib-shims            0.3.0
- install topkg                   1.1.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved base.v0.17.3  (https://github.com/janestreet/base/archive/refs/tags/v0.17.3.tar.gz)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_here.v0.17.0  (cached)
-> retrieved ppx_let.v0.17.1  (https://github.com/janestreet/ppx_let/archive/refs/tags/v0.17.1.tar.gz)
-> retrieved react.1.2.2  (cached)
-> retrieved ppxlib.0.36.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (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)
-> 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\5.3.0\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\5.3.0\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind_opt.exe
[WARNING] C:\Users\opam\AppData\Local\opam\5.3.0\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.1.0
-> installed react.1.2.2
-> installed dune.3.20.0
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.17.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.20.0
-> installed base.v0.17.3
-> installed ppxlib.0.36.0
-> installed ppx_here.v0.17.0
-> installed ppx_let.v0.17.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-21 14:15.52 ---> using "6dad9b61efc7735be229e3ba404b75246f2249a9b8dee32719758ced2ad53115" from cache


/: (copy (src .) (dst /Users/opam/src))
2025-08-21 14:16.43 ---> saved as "fc10845a907d9fcaaf2630a2908dde4b422aff7b73c0bed7bc3db6f71e6bd1e7"


/: (run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src/unix && C:\Users\opam\AppData\Local\opam\5.3.0\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/5.3.0/lib/ocaml -I C:/Users/opam/AppData/Local/opam/5.3.0/lib/ocaml\threads -I C:/Users/opam/AppData/Local/opam/5.3.0/lib/ocaml\unix -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\bytes -I C:\Users\opam\AppData\Local\opam\5.3.0\lib\ocplib-endian -I C:\Users\opam\AppData\Local\opam\5.3.0\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.34 seconds
(cd _build/default/test/react && .\main.exe)
Testing library 'react'...
...........
Ok. 11 tests ran, 0 tests skipped in 4.67 seconds
File "test/unix/dune", line 22, characters 7-11:
22 |  (name main)
^^^^
(cd _build/default/test/unix && .\main.exe)
Testing library 'unix'...
SSSSSSS...........................SSSSS.......S...SSSSSSSSSSSSSS.S.....SSSSS.....................................SSSSS...............................................................SSSSSSS..SSSSSSS.......................................F..


Lwt_timeout: two, first stopped: true 1755785937.676177 3.656299
Test 'two, first stopped' in suite 'Lwt_timeout' produced 'false'
(cd _build/default/test/ppx && .\main.exe)
Testing library 'ppx'...
................
Ok. 16 tests ran, 0 tests skipped in 1.22 seconds
"cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-08-21 14:19.29: Job failed: Failed: Build failed