2025-03-31 14:47.29: New job: test mirage/ocaml-github https://github.com/mirage/ocaml-github.git#refs/pull/275/head (97ab674586b3a43260e158b77d0092714e151add) (windows-amd64:windows-server-2022-amd64-4.14_opam-2.3)
Base: windows-server-2022-amd64-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-github.git" && cd "ocaml-github" && git fetch origin "refs/pull/275/head" && git reset --hard 97ab6745
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-amd64-ocaml-4.14
# windows-server-2022-amd64-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/bin/opam-2.3 /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 08baa0f29f1cd773e5e4418210c71e5ce4e45c85 || git fetch origin master) && git reset -q --hard 08baa0f29f1cd773e5e4418210c71e5ce4e45c85 && 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.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 ca-certs.1.0.0 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.1.0 cohttp-lwt.6.1.0 cohttp-lwt-jsoo.6.1.0 cohttp-lwt-unix.6.1.0 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 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.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 easy-format.1.3.4 eqaf.0.10 flexdll.0.43 fmt.0.10.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 host-arch-x86_64.1 host-system-mingw.1 http.6.1.0 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.6.0.1 js_of_ocaml-compiler.6.0.1 js_of_ocaml-lwt.6.0.1 js_of_ocaml-ppx.6.0.1 kdf.1.0.0 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 magic-mime.1.3.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mingw-w64-shims.0.2.0 mirage-crypto.2.0.0 mirage-crypto-ec.2.0.0 mirage-crypto-pk.2.0.0 mirage-crypto-rng.2.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 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 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 ptime.1.2.0 re.1.12.0 rresult.0.7.0 sedlex.3.3 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 topkg.1.0.8 uri.4.4.0 uri-sexp.4.4.0 x509.1.0.5 yojson.2.2.2 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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-03-31 14:47.29: Using cache hint "mirage/ocaml-github-windows-server-2022-amd64-ocaml-4.14-windows-server-2022-amd64-4.14_opam-2.3-52ecfb123a23efdbce737e827aa470ea"
2025-03-31 14:47.29: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-4.14)
(comment windows-server-2022-amd64-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f /usr/bin/opam-2.3 /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 08baa0f29f1cd773e5e4418210c71e5ce4e45c85 || git fetch origin master) && git reset -q --hard 08baa0f29f1cd773e5e4418210c71e5ce4e45c85 && 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.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 ca-certs.1.0.0 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.1.0 cohttp-lwt.6.1.0 cohttp-lwt-jsoo.6.1.0 cohttp-lwt-unix.6.1.0 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 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.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 easy-format.1.3.4 eqaf.0.10 flexdll.0.43 fmt.0.10.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 host-arch-x86_64.1 host-system-mingw.1 http.6.1.0 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.6.0.1 js_of_ocaml-compiler.6.0.1 js_of_ocaml-lwt.6.0.1 js_of_ocaml-ppx.6.0.1 kdf.1.0.0 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 magic-mime.1.3.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mingw-w64-shims.0.2.0 mirage-crypto.2.0.0 mirage-crypto-ec.2.0.0 mirage-crypto-pk.2.0.0 mirage-crypto-rng.2.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 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 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 ptime.1.2.0 re.1.12.0 rresult.0.7.0 sedlex.3.3 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 topkg.1.0.8 uri.4.4.0 uri-sexp.4.4.0 x509.1.0.5 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.3 --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-03-31 14:47.29: Waiting for resource in pool OCluster
2025-03-31 14:47.29: Waiting for worker…
2025-03-31 14:47.29: Got resource from pool OCluster
Building on odawa
All commits already cached
HEAD is now at 97ab674 Upgrade to atdgen 2.16.0
(from windows-server-2022-amd64-ocaml-4.14)
2025-03-31 14:47.30 ---> using "55c9cbebb0e098c78ccc09b1cc6e84ec9f0bd2275b7cebf331cc913575946dc0" from cache
/: (comment windows-server-2022-amd64-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-03-31 14:47.30 ---> using "fe3978d598c814685c6ee8922c3ae17147a3127f83af70ca6588d6b26847cd93" 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-03-31 14:47.30 ---> using "0caf41f56a7e1f8a9ba062ae44d7d1f50471f3874e543c30c0d1c2b229f1e062" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.5.4-1.x86_64
The OCaml toplevel, version 4.14.2
2.3.0
2025-03-31 14:47.30 ---> using "6a7802e4db8e302e8ba8d87ff4e9376ae777099db0cd03bdab21ff27a442740c" 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 08baa0f29f1cd773e5e4418210c71e5ce4e45c85 || git fetch origin master) && git reset -q --hard 08baa0f29f1cd773e5e4418210c71e5ce4e45c85 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
11bdbee611..a8a89f62d8 master -> origin/master
08baa0f29f Merge pull request #27602 from dbuenzli/b0-publish-logs.0.8.0
<><> 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, 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-03-31 14:47.30 ---> using "8436cabffb16a57ea1ae9bb155aa6241773b8c04ac7ee6db904891c5f0054055" from cache
/: (copy (src github.opam github-unix.opam github-jsoo.opam github-data.opam)
(dst /Users/opam/src/./))
2025-03-31 14:47.43 ---> saved as "14b35b23945546ea67bcbb17e2ec6568d2a37fff82f937aa9034f9103ba11e9f"
/: (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/./'"))
[github.dev] synchronised (file://C:/Users/opam/src/.)
github is now pinned to file://C:/Users/opam/src/. (version dev)
[github-unix.dev] synchronised (file://C:/Users/opam/src/.)
github-unix is now pinned to file://C:/Users/opam/src/. (version dev)
[github-jsoo.dev] synchronised (file://C:/Users/opam/src/.)
github-jsoo is now pinned to file://C:/Users/opam/src/. (version dev)
[github-data.dev] synchronised (file://C:/Users/opam/src/.)
github-data is now pinned to file://C:/Users/opam/src/. (version dev)
2025-03-31 14:47.58 ---> saved as "0bc800e6555057ac78c9c90e8c02a6f304f085932218cec4ad508ebb2b0a00c4"
/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-03-31 14:48.10 ---> saved as "357637f41f279769b957382afa7d4484a755b5183754e406196ec2312509ebd5"
/: (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.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 biniou.1.2.2 bos.0.2.1 ca-certs.1.0.0 camlp-streams.5.0.1 cmdliner.1.3.0 cohttp.6.1.0 cohttp-lwt.6.1.0 cohttp-lwt-jsoo.6.1.0 cohttp-lwt-unix.6.1.0 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-bash.1 conf-gmp.4 conf-gmp-powm-sec.3 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.2.0 domain-name.0.4.1 dune.3.17.2 dune-configurator.3.17.2 duration.0.2.1 easy-format.1.3.4 eqaf.0.10 flexdll.0.43 fmt.0.10.0 fpath.0.7.3 gen.1.1 gmap.0.3.0 host-arch-x86_64.1 host-system-mingw.1 http.6.1.0 ipaddr.5.6.0 ipaddr-sexp.5.6.0 js_of_ocaml.6.0.1 js_of_ocaml-compiler.6.0.1 js_of_ocaml-lwt.6.0.1 js_of_ocaml-ppx.6.0.1 kdf.1.0.0 logs.0.8.0 lwt.5.9.1 macaddr.5.6.0 magic-mime.1.3.1 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 mingw-w64-shims.0.2.0 mirage-crypto.2.0.0 mirage-crypto-ec.2.0.0 mirage-crypto-pk.2.0.0 mirage-crypto-rng.2.0.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 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 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 ptime.1.2.0 re.1.12.0 rresult.0.7.0 sedlex.3.3 seq.base sexplib0.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 topkg.1.0.8 uri.4.4.0 uri-sexp.4.4.0 x509.1.0.5 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.3 --depext-only -y github.dev github-unix.dev github-jsoo.dev github-data.dev $DEPS"))
Fatal error:
OpamDownload.Download_fail(_, "curl: code 403 while downloading https://cygwin.com/sha512.sum")
"opam update --depexts && opam install --cli=2.3 --depext-only -y github.dev github-unix.dev github-jsoo.dev github-data.dev $DEPS" failed with exit status 99
2025-03-31 14:48.32: Job failed: Failed: Build failed