Organisationsmirageocaml-github8aa921 ()windows-server-2022-amd64-5.3_opam-2.4

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

Link Copied
Code Copied

Logs

2025-09-29 14:38.33: New job: test mirage/ocaml-github https://github.com/mirage/ocaml-github.git#refs/pull/280/head (8aa921c93ae824cb02015ee91ef476e0acee7b38) (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/mirage/ocaml-github.git" && cd "ocaml-github" && git fetch origin "refs/pull/280/head" && git reset --hard 8aa921c9
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 3c6a0f524c62627fc4bb9a8b8d9cda1d8f4d26e9 || git fetch origin master) && git reset -q --hard 3c6a0f524c62627fc4bb9a8b8d9cda1d8f4d26e9 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 github.opam github-unix.opam github-jsoo.opam github-data.opam /Users/opam/src/./
RUN opam pin add -yn github.dev '/Users/opam/src/./' && \
opam pin add -yn github-unix.dev '/Users/opam/src/./' && \
opam pin add -yn github-jsoo.dev '/Users/opam/src/./' && \
opam pin add -yn github-data.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="angstrom.0.16.1 arch-x86_64.1 asn1-combinators.0.3.2 astring.0.8.5 atd.2.16.0 atdgen.2.16.0 atdgen-runtime.2.16.0 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 base64.3.5.2 bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 ca-certs.1.0.1 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.1.1 cohttp-lwt.6.1.1 cohttp-lwt-jsoo.6.1.1 cohttp-lwt-unix.6.1.1 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-gmp-x86_64.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 easy-format.1.3.4 eqaf.0.10 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 host-arch-x86_64.1 host-system-mingw.1 http.6.1.1 ipaddr.5.6.1 ipaddr-sexp.5.6.1 js_of_ocaml.6.2.0 js_of_ocaml-compiler.6.2.0 js_of_ocaml-lwt.6.2.0 js_of_ocaml-ppx.6.2.0 kdf.1.0.0 logs.0.9.0 lwt.5.9.2 macaddr.5.6.1 magic-mime.1.3.1 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mingw-w64-shims.0.2.0 mirage-crypto.2.0.2 mirage-crypto-ec.2.0.2 mirage-crypto-pk.2.0.2 mirage-crypto-rng.2.0.2 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-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.36.0 ppxlib_jane.v0.17.4 ptime.1.2.0 re.1.14.0 rresult.0.7.0 sedlex.3.6 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 topkg.1.1.0 uri.4.4.0 uri-sexp.4.4.0 x509.1.0.6 yojson.2.2.2 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y github.dev github-unix.dev github-jsoo.dev github-data.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-29 14:38.33: Using cache hint "mirage/ocaml-github-windows-server-2022-amd64-ocaml-5.3-windows-server-2022-amd64-5.3_opam-2.4-0ca90dc3d522c94ad8ba93eb292abc89"
2025-09-29 14:38.33: 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 3c6a0f524c62627fc4bb9a8b8d9cda1d8f4d26e9 || git fetch origin master) && git reset -q --hard 3c6a0f524c62627fc4bb9a8b8d9cda1d8f4d26e9 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src github.opam github-unix.opam github-jsoo.opam github-data.opam)
(dst /Users/opam/src/./))
(run (network host)
(shell  "opam pin add -yn github.dev '/Users/opam/src/./' && \
\nopam pin add -yn github-unix.dev '/Users/opam/src/./' && \
\nopam pin add -yn github-jsoo.dev '/Users/opam/src/./' && \
\nopam pin add -yn github-data.dev '/Users/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
(env DEPS "angstrom.0.16.1 arch-x86_64.1 asn1-combinators.0.3.2 astring.0.8.5 atd.2.16.0 atdgen.2.16.0 atdgen-runtime.2.16.0 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 base64.3.5.2 bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 ca-certs.1.0.1 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.1.1 cohttp-lwt.6.1.1 cohttp-lwt-jsoo.6.1.1 cohttp-lwt-unix.6.1.1 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-gmp-x86_64.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-name.0.4.1 dune.3.20.2 dune-configurator.3.20.2 duration.0.2.1 easy-format.1.3.4 eqaf.0.10 flexdll.0.44 fmt.0.11.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 host-arch-x86_64.1 host-system-mingw.1 http.6.1.1 ipaddr.5.6.1 ipaddr-sexp.5.6.1 js_of_ocaml.6.2.0 js_of_ocaml-compiler.6.2.0 js_of_ocaml-lwt.6.2.0 js_of_ocaml-ppx.6.2.0 kdf.1.0.0 logs.0.9.0 lwt.5.9.2 macaddr.5.6.1 magic-mime.1.3.1 menhir.20250912 menhirCST.20250912 menhirLib.20250912 menhirSdk.20250912 mingw-w64-shims.0.2.0 mirage-crypto.2.0.2 mirage-crypto-ec.2.0.2 mirage-crypto-pk.2.0.2 mirage-crypto-rng.2.0.2 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-syntax-shims.1.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.17.1 ppxlib.0.36.0 ppxlib_jane.v0.17.4 ptime.1.2.0 re.1.14.0 rresult.0.7.0 sedlex.3.6 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 topkg.1.1.0 uri.4.4.0 uri-sexp.4.4.0 x509.1.0.6 yojson.2.2.2 zarith.1.14")
(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 github.dev github-unix.dev github-jsoo.dev github-data.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-29 14:38.33: Waiting for resource in pool OCluster
2025-09-29 14:38.33: Waiting for worker…
2025-09-29 14:38.42: Got resource from pool OCluster
Building on thyme
HEAD is now at 4b6f4cc allow drafting
HEAD is now at 8aa921c allow drafting


(from windows-server-2022-amd64-ocaml-5.3)
2025-09-29 14:38.43 ---> 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-09-29 14:38.43 ---> 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-09-29 14:38.43 ---> 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-09-29 14:38.43 ---> 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 3c6a0f524c62627fc4bb9a8b8d9cda1d8f4d26e9 || git fetch origin master) && git reset -q --hard 3c6a0f524c62627fc4bb9a8b8d9cda1d8f4d26e9 && git log --no-decorate -n1 --oneline && opam update -u"))
2025-09-29 14:38.43 Waiting for previous build to finish cancelling
Uncaught exception: Failure("\"ssh\" \"opam@localhost\" \"-p\" \"50199\" \"-o\" \"NoHostAuthenticationForLocalhost=yes\" \"cmd\" \"/c\" \"rmdir 'c:\\Users\\opam\\AppData\\local\\opam\\download-cache'\" failed with exit status 255")
2025-09-29 14:39.06: Job failed: Failed: Internal error