Organisationsmiragecharrua142ca8 ()windows-server-mingw-ltsc2025-5.4_opam-2.5

windows-server-mingw-ltsc2025-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-03-11 13:22.48: New job: test mirage/charrua https://github.com/mirage/charrua.git#refs/heads/main (142ca83b84f5113106db2db2c0bd5d02ebcec59c) (windows-x86_64:windows-server-mingw-ltsc2025-5.4_opam-2.5)
Base: ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:fedecf8e7810af08d566e6e877bd4ed7ad4c107b8cc32164f71632fffceb8869
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/charrua.git" -b "main" && cd "charrua" && git reset --hard 142ca83b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:fedecf8e7810af08d566e6e877bd4ed7ad4c107b8cc32164f71632fffceb8869
# windows-server-mingw-ltsc2025-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 31db989bcaf14647d9889b8903120d6202ac37a8 || git fetch origin master) && git reset -q --hard 31db989bcaf14647d9889b8903120d6202ac37a8 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 charrua.opam charrua-unix.opam charrua-server.opam charrua-client.opam /cygwin64/home/opam/src/./
RUN opam pin add -yn charrua.dev '/cygwin64/home/opam/src/./' && \
opam pin add -yn charrua-unix.dev '/cygwin64/home/opam/src/./' && \
opam pin add -yn charrua-server.dev '/cygwin64/home/opam/src/./' && \
opam pin add -yn charrua-client.dev '/cygwin64/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="alcotest.1.9.1 arch-x86_64.1 arp.4.1.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 cstruct-unix.6.2.0 digestif.1.3.0 domain-name.0.5.0 dune.3.21.1 dune-configurator.3.21.1 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 flexdll.0.44 fmt.0.11.0 host-arch-x86_64.1 host-system-mingw.1 ipaddr.5.6.2 ipaddr-cstruct.5.6.2 logs.0.10.0 lru.0.3.1 lwt.5.9.2 lwt-dllist.1.1.0 lwt_log.1.1.2 macaddr.5.6.2 macaddr-cstruct.5.6.2 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 metrics.0.5.0 mingw-w64-shims.0.2.0 mirage-crypto.2.0.3 mirage-crypto-rng.2.0.3 mirage-flow.5.0.0 mirage-mtime.5.2.0 mirage-net.4.0.0 mirage-sleep.4.1.0 mtime.2.1.0 num.1.6 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.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 ocplib-endian.1.2 ohex.0.2.0 parsexp.v0.17.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.37.0 psq.0.2.1 randomconv.0.2.0 rawlink.2.1 rawlink-lwt.2.1 re.1.14.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 tcpip.9.0.1 topkg.1.1.1 tuntap.2.0.1 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y charrua.dev charrua-unix.dev charrua-server.dev charrua-client.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /cygwin64/home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build


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


2026-03-11 13:22.48: Using cache hint "mirage/charrua-ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:fedecf8e7810af08d566e6e877bd4ed7ad4c107b8cc32164f71632fffceb8869-windows-server-mingw-ltsc2025-5.4_opam-2.5-a36bba79ef6cc74d0fefd3e9c0af77f7"
2026-03-11 13:22.48: Using OBuilder spec:
((from ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:fedecf8e7810af08d566e6e877bd4ed7ad4c107b8cc32164f71632fffceb8869)
(comment windows-server-mingw-ltsc2025-5.4_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 31db989bcaf14647d9889b8903120d6202ac37a8 || git fetch origin master) && git reset -q --hard 31db989bcaf14647d9889b8903120d6202ac37a8 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src charrua.opam charrua-unix.opam charrua-server.opam charrua-client.opam)
(dst /cygwin64/home/opam/src/./))
(run (network host)
(shell  "opam pin add -yn charrua.dev '/cygwin64/home/opam/src/./' && \
\nopam pin add -yn charrua-unix.dev '/cygwin64/home/opam/src/./' && \
\nopam pin add -yn charrua-server.dev '/cygwin64/home/opam/src/./' && \
\nopam pin add -yn charrua-client.dev '/cygwin64/home/opam/src/./'"))
(run (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
(env DEPS "alcotest.1.9.1 arch-x86_64.1 arp.4.1.0 astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cmdliner.2.1.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 cstruct-lwt.6.2.0 cstruct-unix.6.2.0 digestif.1.3.0 domain-name.0.5.0 dune.3.21.1 dune-configurator.3.21.1 duration.0.2.1 eqaf.0.10 ethernet.3.2.0 flexdll.0.44 fmt.0.11.0 host-arch-x86_64.1 host-system-mingw.1 ipaddr.5.6.2 ipaddr-cstruct.5.6.2 logs.0.10.0 lru.0.3.1 lwt.5.9.2 lwt-dllist.1.1.0 lwt_log.1.1.2 macaddr.5.6.2 macaddr-cstruct.5.6.2 menhir.20260209 menhirCST.20260209 menhirGLR.20260209 menhirLib.20260209 menhirSdk.20260209 metrics.0.5.0 mingw-w64-shims.0.2.0 mirage-crypto.2.0.3 mirage-crypto-rng.2.0.3 mirage-flow.5.0.0 mirage-mtime.5.2.0 mirage-net.4.0.0 mirage-sleep.4.1.0 mtime.2.1.0 num.1.6 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.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 ocplib-endian.1.2 ohex.0.2.0 parsexp.v0.17.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.37.0 psq.0.2.1 randomconv.0.2.0 rawlink.2.1 rawlink-lwt.2.1 re.1.14.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 tcpip.9.0.1 topkg.1.1.1 tuntap.2.0.1 uutf.1.0.4")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y charrua.dev charrua-unix.dev charrua-server.dev charrua-client.dev $DEPS"))
(run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /cygwin64/home/opam/src))
(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2026-03-11 13:22.48: Waiting for resource in pool OCluster
2026-03-11 13:22.48: Waiting for worker…
2026-03-11 13:25.26: Got resource from pool OCluster
Building on ltsc2025-1
HEAD is now at 6121b7a No dhcp: always use the latest listen callback
HEAD is now at 142ca83 Fix Lwt.cancel (Net.listen ...) cancelling all (#151)


(from ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:fedecf8e7810af08d566e6e877bd4ed7ad4c107b8cc32164f71632fffceb8869)
2026-03-11 13:25.45 ---> using "a21c3d6a5c8ade59b5718498d4946f2d30bc2f15b3081890bc8673cc20de69f7" from cache


C:/: (comment windows-server-mingw-ltsc2025-5.4_opam-2.5)


C:/: (user (uid 1000) (gid 1000))


C:/: (env CLICOLOR_FORCE 1)


C:/: (env OPAMCOLOR always)


C:/: (run (shell "ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam"))
2026-03-11 13:25.45 ---> using "ba707ce1f62b585e8ecb40306d921206316b14fded440e6c49f33aa7897cc9c7" from cache


C:/: (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] Initialised
2026-03-11 13:25.45 ---> using "dd67e9cc18682a923590cd564dd7cd6177b4afe1c25b1d53bacf8ae6b5b2364f" from cache


C:/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-26100 3.6.6-1.x86_64
The OCaml toplevel, version 5.4.0
2.5.0
2026-03-11 13:25.45 ---> using "c97059ecb6d76caa6ea35cf8e41cecaa775dc323c43ea7e5cc23418742ce7876" from cache


C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 31db989bcaf14647d9889b8903120d6202ac37a8 || git fetch origin master) && git reset -q --hard 31db989bcaf14647d9889b8903120d6202ac37a8 && git log --no-decorate -n1 --oneline && opam update -u"))
fatal: unable to access 'https://github.com/ocaml/opam-repository/': Could not resolve host: github.com
"C:\cygwin64\bin\bash.exe" "-lc" "cd ~/opam-repository && (git cat-file -e 31db989bcaf14647d9889b8903120d6202ac37a8 || git fetch origin master) && git reset -q --hard 31db989bcaf14647d9889b8903120d6202ac37a8 && git log --no-decorate -n1 --oneline && opam update -u" failed with exit status 128
2026-03-11 13:26.20: Job failed: Failed: Build failed