2025-08-24 12:34.47: New job: test mirage/ocaml-hvsock https://github.com/mirage/ocaml-hvsock.git#refs/heads/main (aa970b923b67dc51e17b10f4351600a68f4f1ad5) (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/ocaml-hvsock.git" -b "main" && cd "ocaml-hvsock" && git reset --hard aa970b92
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 hvsock.opam /Users/opam/src/./
RUN opam pin add -yn hvsock.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 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.0 dune-configurator.3.20.0 duration.0.2.1 flexdll.0.44 fmt.0.11.0 host-arch-x86_64.1 host-system-mingw.1 logs.0.9.0 lwt.5.9.1 mingw-w64-shims.0.2.0 mirage-flow.5.0.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 re.1.13.2 seq.base sha.1.15.4 stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 topkg.1.1.0 uri.4.4.0 uuidm.0.9.10 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y hvsock.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-24 12:34.47: Using cache hint "mirage/ocaml-hvsock-windows-server-2022-amd64-ocaml-4.14-windows-server-2022-amd64-4.14_opam-2.4-084e71666147db6285186c38d3399752"
2025-08-24 12:34.47: 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 hvsock.opam) (dst /Users/opam/src/./))
(run (network host)
(shell "opam pin add -yn hvsock.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 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.20.0 dune-configurator.3.20.0 duration.0.2.1 flexdll.0.44 fmt.0.11.0 host-arch-x86_64.1 host-system-mingw.1 logs.0.9.0 lwt.5.9.1 mingw-w64-shims.0.2.0 mirage-flow.5.0.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 re.1.13.2 seq.base sha.1.15.4 stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 topkg.1.1.0 uri.4.4.0 uuidm.0.9.10 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 hvsock.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-24 12:34.47: Waiting for resource in pool OCluster
2025-08-24 12:34.48: Waiting for worker…
2025-08-24 12:36.15: Cancelling: Auto-cancelling job because it is no longer needed