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

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

Link Copied
Code Copied

Logs

2025-09-07 19:32.43: New job: test mirage/mirage https://github.com/mirage/mirage.git#refs/pull/1611/head (8182915f0e8071efdeede116615335ba90858dcd) (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/mirage/mirage.git" && cd "mirage" && git fetch origin "refs/pull/1611/head" && git reset --hard 8182915f
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 53c7f25306cd512b69b4c845f4f1e0d210c49129 || git fetch origin master) && git reset -q --hard 53c7f25306cd512b69b4c845f4f1e0d210c49129 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage.opam mirage-runtime.opam /Users/opam/src/./
RUN opam pin add -yn mirage.dev '/Users/opam/src/./' && \
opam pin add -yn mirage-runtime.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="alcotest.1.9.0 angstrom.0.16.1 arch-x86_64.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 domain-name.0.4.1 dune.3.19.1 dune-configurator.3.19.1 emile.1.1 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 host-arch-x86_64.1 host-system-mingw.1 ipaddr.5.6.1 logs.0.9.0 lwt.5.9.2 macaddr.5.6.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 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 opam-monorepo.0.4.3 pecu.0.7 re.1.13.2 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 topkg.1.1.0 uri.4.4.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y mirage.dev mirage-runtime.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-09-07 19:32.43: Using cache hint "mirage/mirage-windows-server-2022-amd64-ocaml-4.14-windows-server-2022-amd64-4.14_opam-2.4-75658ad6cda4370129b33215898d43bd"
2025-09-07 19:32.43: 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 53c7f25306cd512b69b4c845f4f1e0d210c49129 || git fetch origin master) && git reset -q --hard 53c7f25306cd512b69b4c845f4f1e0d210c49129 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mirage.opam mirage-runtime.opam) (dst /Users/opam/src/./))
(run (network host)
(shell  "opam pin add -yn mirage.dev '/Users/opam/src/./' && \
\nopam pin add -yn mirage-runtime.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.0 angstrom.0.16.1 arch-x86_64.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 domain-name.0.4.1 dune.3.19.1 dune-configurator.3.19.1 emile.1.1 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 host-arch-x86_64.1 host-system-mingw.1 ipaddr.5.6.1 logs.0.9.0 lwt.5.9.2 macaddr.5.6.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 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 opam-monorepo.0.4.3 pecu.0.7 re.1.13.2 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 topkg.1.1.0 uri.4.4.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 mirage.dev mirage-runtime.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-09-07 19:32.43: Waiting for resource in pool OCluster
2025-09-07 19:32.44: Waiting for worker…
2025-09-07 19:33.16: Got resource from pool OCluster
Building on thyme
All commits already cached
HEAD is now at 8182915f apply review comments


(from windows-server-2022-amd64-ocaml-4.14)
2025-09-07 19:33.41 ---> 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-09-07 19:33.41 ---> 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-09-07 19:33.41 ---> 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-09-07 19:33.41 ---> 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 53c7f25306cd512b69b4c845f4f1e0d210c49129 || git fetch origin master) && git reset -q --hard 53c7f25306cd512b69b4c845f4f1e0d210c49129 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
f6368c68f9..9c3d4d2c45  master     -> origin/master
53c7f25306 Merge pull request #28384 from raphael-proust/opam-publish-lwt.5.9.2


<><> 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-09-07 19:42.09 ---> saved as "81c41cddc9bb0d7786a9c931390b6451a187bfa3c0087eae76c7f33c085ae612"


/: (copy (src mirage.opam mirage-runtime.opam) (dst /Users/opam/src/./))
2025-09-07 19:46.17 ---> saved as "ada296f3eab9a7f91439a21ba3dd35945eb1df65eaff93aff6415f566ec9d3e9"


/: (run (network host)
(shell  "opam pin add -yn mirage.dev '/Users/opam/src/./' && \
\nopam pin add -yn mirage-runtime.dev '/Users/opam/src/./'"))
[mirage.dev] synchronised (file://C:/Users/opam/src/.)
mirage is now pinned to file://C:/Users/opam/src/. (version dev)
[mirage-runtime.dev] synchronised (file://C:/Users/opam/src/.)
mirage-runtime is now pinned to file://C:/Users/opam/src/. (version dev)
2025-09-07 19:47.48 ---> saved as "abf5c7822a2970fd2314192acab0b17763edd0a9f5c402ac3bfd03ffd87ec0ce"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-09-07 19:50.24 ---> saved as "9ec5ebec36e673fb3bdc5b1c597053ba9beb2b8cee8400eb50b0439d28fb1545"


/: (env DEPS "alcotest.1.9.0 angstrom.0.16.1 arch-x86_64.1 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 bos.0.2.1 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 domain-name.0.4.1 dune.3.19.1 dune-configurator.3.19.1 emile.1.1 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 host-arch-x86_64.1 host-system-mingw.1 ipaddr.5.6.1 logs.0.9.0 lwt.5.9.2 macaddr.5.6.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 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 opam-monorepo.0.4.3 pecu.0.7 re.1.13.2 rresult.0.7.0 seq.base stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 topkg.1.1.0 uri.4.4.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 mirage.dev mirage-runtime.dev $DEPS"))


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage.dev] synchronised (file://C:/Users/opam/src/.)
[mirage-runtime.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-09-07 19:52.33 ---> saved as "30fee590c3855de4f654458a0da323ca6b2942388ffeed683c98c667575199c0"


/: (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:
=== recompile 1 package
- recompile mingw-w64-shims    0.2.0
=== install 35 packages
- install   alcotest           1.9.0
- install   angstrom           0.16.1
- install   astring            0.8.5
- install   base-bytes         base
- install   base64             3.5.1
- install   bigstringaf        0.10.0
- install   bos                0.2.1
- install   cmdliner           1.3.0
- install   conf-pkg-config    4
- install   cppo               1.8.0
- install   csexp              1.5.2
- install   domain-name        0.4.1
- install   dune               3.19.1
- install   dune-configurator  3.19.1
- install   emile              1.1
- install   fmt                0.11.0
- install   fpath              0.7.3
- install   ipaddr             5.6.1
- install   logs               0.9.0
- install   lwt                5.9.2
- install   macaddr            5.6.1
- install   ocaml-syntax-shims 1.0.0
- install   ocamlbuild         0.16.1
- install   ocamlfind          1.9.8
- install   ocplib-endian      1.2
- install   opam-monorepo      0.4.3
- install   pecu               0.7
- install   re                 1.13.2
- install   rresult            0.7.0
- install   seq                base
- install   stdlib-shims       0.3.0
- install   stringext          1.6.0
- install   topkg              1.1.0
- install   uri                4.4.0
- install   uutf               1.0.4


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.0  (cached)
-> retrieved angstrom.0.16.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved domain-name.0.4.1  (cached)
-> installed conf-pkg-config.4
-> retrieved emile.1.1  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved fmt.0.11.0  (https://erratique.ch/software/fmt/releases/fmt-0.11.0.tbz)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1  (https://github.com/mirage/ocaml-ipaddr/releases/download/v5.6.1/ipaddr-5.6.1.tbz)
-> retrieved logs.0.9.0  (https://erratique.ch/software/logs/releases/logs-0.9.0.tbz)
-> retrieved mingw-w64-shims.0.2.0  (cached)
-> removed   mingw-w64-shims.0.2.0
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved lwt.5.9.2  (https://github.com/ocsigen/lwt/archive/refs/tags/5.9.2.tar.gz)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved pecu.0.7  (cached)
-> installed mingw-w64-shims.0.2.0
-> retrieved re.1.13.2  (https://github.com/ocaml/ocaml-re/archive/refs/tags/1.13.2.tar.gz)
-> retrieved rresult.0.7.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.1.0  (https://erratique.ch/software/topkg/releases/topkg-1.1.0.tbz)
-> retrieved uri.4.4.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (https://github.com/ocaml/dune/releases/download/3.19.1/dune-3.19.1.tbz)
-> retrieved opam-monorepo.0.4.3  (https://github.com/tarides/opam-monorepo/releases/download/0.4.3/opam-monorepo-0.4.3.tbz)
-> 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.1.0
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.19.1
-> installed base64.3.5.1
-> installed cppo.1.8.0
-> installed csexp.1.5.2
-> installed domain-name.0.4.1
-> installed macaddr.5.6.1
-> installed ocaml-syntax-shims.1.0.0
-> installed ocplib-endian.1.2
-> installed pecu.0.7
-> installed re.1.13.2
-> installed stdlib-shims.0.3.0
-> installed ipaddr.5.6.1
-> installed stringext.1.6.0
-> installed dune-configurator.3.19.1
-> installed alcotest.1.9.0
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed emile.1.1
-> installed uri.4.4.0
-> installed opam-monorepo.0.4.3
-> installed lwt.5.9.2
-> installed logs.0.9.0
-> installed bos.0.2.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-07 20:08.13 ---> saved as "406146ca1c3e59041ae23bf5a268ac4e6c0895d5c2a698c269a13e41d2d10274"


/: (copy (src .) (dst /Users/opam/src))
2025-09-07 20:11.14 ---> saved as "fe5264a3535fdfc848d5360455fe07e27b9a3a572b0b97e11f2e98040eeb80f4"


/: (run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "bin/dune", line 1, characters 0-0:
Error: Invalid dune file
"cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-09-07 20:12.23: Job failed: Failed: Build failed