Organisationsrobur-coopflux2b06f2 ()windows-server-2022-amd64-5.4_opam-2.4

windows-server-2022-amd64-5.4_opam-2.4

Link Copied
Code Copied

Logs

2025-10-27 22:40.04: New job: test robur-coop/flux https://github.com/robur-coop/flux.git#refs/heads/main (2b06f251afdf4499446a11894955f88066e3920f) (windows-amd64:windows-server-2022-amd64-5.4_opam-2.4)
Base: windows-server-2022-amd64-ocaml-5.4
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/robur-coop/flux.git" -b "main" && cd "flux" && git reset --hard 2b06f251
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-amd64-ocaml-5.4
# windows-server-2022-amd64-5.4_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 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 fluxt.opam flux.opam /Users/opam/src/./
RUN opam pin add -yn fluxt.dev '/Users/opam/src/./' && \
opam pin add -yn flux.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="alcotest.1.9.1 arch-x86_64.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base checkseum.0.5.2 cmdliner.2.0.0 conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 decompress.1.5.3 digestif.1.3.0 dune.3.20.2 dune-configurator.3.20.2 eqaf.0.10 flexdll.0.44 fmt.0.11.0 host-arch-x86_64.1 host-system-mingw.1 mingw-w64-shims.0.2.0 miou.0.5.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 re.1.14.0 stdlib-shims.0.3.0 system-mingw.1 tar.3.3.0 topkg.1.1.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y fluxt.dev flux.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-10-27 22:40.04: Using cache hint "robur-coop/flux-windows-server-2022-amd64-ocaml-5.4-windows-server-2022-amd64-5.4_opam-2.4-e6acba7a215be0889052aed044ea4742"
2025-10-27 22:40.04: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-5.4)
(comment windows-server-2022-amd64-5.4_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 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src fluxt.opam flux.opam) (dst /Users/opam/src/./))
(run (network host)
(shell  "opam pin add -yn fluxt.dev '/Users/opam/src/./' && \
\nopam pin add -yn flux.dev '/Users/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
(env DEPS "alcotest.1.9.1 arch-x86_64.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base checkseum.0.5.2 cmdliner.2.0.0 conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 decompress.1.5.3 digestif.1.3.0 dune.3.20.2 dune-configurator.3.20.2 eqaf.0.10 flexdll.0.44 fmt.0.11.0 host-arch-x86_64.1 host-system-mingw.1 mingw-w64-shims.0.2.0 miou.0.5.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 re.1.14.0 stdlib-shims.0.3.0 system-mingw.1 tar.3.3.0 topkg.1.1.0 uutf.1.0.4")
(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 fluxt.dev flux.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-10-27 22:40.04: Waiting for resource in pool OCluster
2025-10-27 23:05.03: Waiting for worker…
2025-10-28 02:46.08: Got resource from pool OCluster
Building on thyme
All commits already cached
HEAD is now at 2b06f25 Add .github/workflows/test.yml


(from windows-server-2022-amd64-ocaml-5.4)
2025-10-28 02:46.08 ---> using "dc0473c210cbdaa785843aceeb4b20f70de275b54f2f11b3cd1945755e26c295" from cache


/: (comment windows-server-2022-amd64-5.4_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-10-28 02:46.08 ---> using "2cc10c0de974a41a492b52f4c10e4774291ab2452e1192584f4bd1214eecf165" 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-10-28 02:46.08 ---> using "e3a025f74254e53619e1cb17b830cf27adf6ecfb6e45ea98f6e1b9fc227d98a5" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.6.5-1.x86_64
The OCaml toplevel, version 5.4.0
2.4.1
2025-10-28 02:46.09 ---> using "b2317ce0850b83bf9a96e1d3315a4c08197605467948e554d9a6e5c89b07a70d" 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 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
5bf570252b..7f9c784b97  master     -> origin/master
7f9c784b97 Merge pull request #28787 from ocaml/mseri-patch-1


<><> 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-10-28 02:46.09 ---> using "bbb896385bc1fda1c995bc3c234fb9b91b84dd5f77658f4c807922434c26e333" from cache


/: (copy (src fluxt.opam flux.opam) (dst /Users/opam/src/./))
2025-10-28 02:46.58 ---> saved as "b9d0bc568fa7694740a471b1129c5ee6b20daa9b7d1689b381b182f74af106e3"


/: (run (network host)
(shell  "opam pin add -yn fluxt.dev '/Users/opam/src/./' && \
\nopam pin add -yn flux.dev '/Users/opam/src/./'"))
[NOTE] Package fluxt does not exist in opam repositories registered in the current switch.
[fluxt.dev] synchronised (file://C:/Users/opam/src/.)
fluxt is now pinned to file://C:/Users/opam/src/. (version dev)
[NOTE] Package flux does not exist in opam repositories registered in the current switch.
[flux.dev] synchronised (file://C:/Users/opam/src/.)
flux is now pinned to file://C:/Users/opam/src/. (version dev)
2025-10-28 02:47.41 ---> saved as "b3201e658a43b8bf94d6450bc2e58b7013e0c4a06984d4c09e6449a5a54f3c0d"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-10-28 02:48.17 ---> saved as "f4ba81b6e0b374eb02ea6cd28a4d01f74cb8361359189910e5cb7a36314e5a3f"


/: (env DEPS "alcotest.1.9.1 arch-x86_64.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base checkseum.0.5.2 cmdliner.2.0.0 conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 decompress.1.5.3 digestif.1.3.0 dune.3.20.2 dune-configurator.3.20.2 eqaf.0.10 flexdll.0.44 fmt.0.11.0 host-arch-x86_64.1 host-system-mingw.1 mingw-w64-shims.0.2.0 miou.0.5.0 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 optint.0.3.0 re.1.14.0 stdlib-shims.0.3.0 system-mingw.1 tar.3.3.0 topkg.1.1.0 uutf.1.0.4")


/: (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 fluxt.dev flux.dev $DEPS"))


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[flux.dev] synchronised (file://C:/Users/opam/src/.)
[fluxt.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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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-10-28 02:50.07 ---> saved as "890b19f02c1a1d62e330542485bd9e224d84cc9f520e3f03f26a377752400458"


/: (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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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 21 packages
- install alcotest           1.9.1
- install astring            0.8.5
- install checkseum          0.5.2
- install cmdliner           2.0.0
- install csexp              1.5.2
- install decompress         1.5.3
- install digestif           1.3.0
- install dune               3.20.2
- install dune-configurator  3.20.2
- install eqaf               0.10
- install fmt                0.11.0
- install miou               0.5.0
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild         0.16.1
- install ocamlfind          1.9.8
- install optint             0.3.0
- install re                 1.14.0
- install stdlib-shims       0.3.0
- install tar                3.3.0
- install topkg              1.1.0
- install uutf               1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved checkseum.0.5.2  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved decompress.1.5.3  (cached)
-> retrieved digestif.1.3.0  (cached)
-> retrieved cmdliner.2.0.0  (https://erratique.ch/software/cmdliner/releases/cmdliner-2.0.0.tbz)
-> retrieved eqaf.0.10  (cached)
-> retrieved alcotest.1.9.1  (https://github.com/mirage/alcotest/releases/download/1.9.1/alcotest-1.9.1.tbz)
-> retrieved fmt.0.11.0  (https://erratique.ch/software/fmt/releases/fmt-0.11.0.tbz)
-> retrieved miou.0.5.0  (https://github.com/robur-coop/miou/releases/download/v0.5.0/miou-0.5.0.tbz)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved re.1.14.0  (https://github.com/ocaml/ocaml-re/archive/refs/tags/1.14.0.tar.gz)
-> retrieved tar.3.3.0  (https://github.com/mirage/ocaml-tar/releases/download/v3.3.0/tar-3.3.0.tbz)
-> retrieved topkg.1.1.0  (https://erratique.ch/software/topkg/releases/topkg-1.1.0.tbz)
-> retrieved uutf.1.0.4  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (https://github.com/ocaml/dune/releases/download/3.20.2/dune-3.20.2.tbz)
-> installed cmdliner.2.0.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\5.4.0\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\5.4.0\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind_opt.exe
[WARNING] C:\Users\opam\AppData\Local\opam\5.4.0\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.8
-> installed topkg.1.1.0
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed fmt.0.11.0
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed eqaf.0.10
-> installed ocaml-syntax-shims.1.0.0
-> installed optint.0.3.0
-> installed re.1.14.0
-> installed stdlib-shims.0.3.0
-> installed digestif.1.3.0
-> installed dune-configurator.3.20.2
-> installed alcotest.1.9.1
[ERROR] The compilation of miou.0.5.0 failed at "dune build -p miou -j 7".
-> installed checkseum.0.5.2
-> installed decompress.1.5.3
-> installed tar.3.3.0


#=== ERROR while compiling miou.0.5.0 =========================================#
# context     2.4.1 | win32/x86_64 | ocaml-base-compiler.5.4.0 | file://C:/Users/opam/opam-repository
# path        ~\AppData\Local\opam\5.4.0\.opam-switch\build\miou.0.5.0
# command     ~\AppData\Local\opam\5.4.0\bin\dune.exe build -p miou -j 7
# exit-code   1
# env-file    ~\AppData\Local\opam\log\miou-2312-0e5337.env
# output-file ~\AppData\Local\opam\log\miou-2312-0e5337.out
### output ###
# compiling c program:
# [...]
#  | };
#  |
# run: x86_64-w64-mingw32-gcc -O2 -fno-strict-aliasing -fwrapv -mms-bitfields     -I C:/Users/opam/AppData/Local/opam/5.4.0/lib/ocaml -o C:\Users\opam\AppData\Local\Temp\ocaml-configurator9f19a2\c-test-2\test.o -c C:\Users\opam\AppData\Local\Temp\ocaml-configurator9f19a2\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:\Users\opam\AppData\Local\Temp\ocaml-configurator9f19a2\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 miou 0.5.0
+- 
+- The following changes have been performed
| - install alcotest           1.9.1
| - install astring            0.8.5
| - install checkseum          0.5.2
| - install cmdliner           2.0.0
| - install csexp              1.5.2
| - install decompress         1.5.3
| - install digestif           1.3.0
| - install dune               3.20.2
| - install dune-configurator  3.20.2
| - install eqaf               0.10
| - install fmt                0.11.0
| - install ocaml-syntax-shims 1.0.0
| - install ocamlbuild         0.16.1
| - install ocamlfind          1.9.8
| - install optint             0.3.0
| - install re                 1.14.0
| - install stdlib-shims       0.3.0
| - install tar                3.3.0
| - install topkg              1.1.0
| - install uutf               1.0.4
+- 
# To update the current shell environment, run: eval $(opam env)


The former state can be restored with:
C:\cygwin64\bin\opam.exe switch import "C:\\Users\\opam\\AppData\\Local\\opam\\5.4.0\\.opam-switch\\backup\\state-20251028025116.export"
"opam install $DEPS" failed with exit status 31
2025-10-28 03:01.04: Job failed: Failed: Build failed