2025-01-21 14:19.03: New job: test ocsigen/lwt https://github.com/ocsigen/lwt.git#refs/heads/master (e625c09af4840cb035c4df237355cef6cdd8a300) (windows-amd64:windows-server-2022-amd64-5.3_opam-2.3)
Base: windows-server-2022-amd64-ocaml-5.3
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocsigen/lwt.git" -b "master" && cd "lwt" && git reset --hard e625c09a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-amd64-ocaml-5.3
# windows-server-2022-amd64-5.3_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 b41fc63234d56d04112634b1ea9121f12caf9794 || git fetch origin master) && git reset -q --hard b41fc63234d56d04112634b1ea9121f12caf9794 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 lwt_retry.opam lwt_react.opam lwt_ppx.opam lwt.opam /Users/opam/src/./
RUN opam pin add -yn lwt_retry.dev '/Users/opam/src/./' && \
opam pin add -yn lwt_react.dev '/Users/opam/src/./' && \
opam pin add -yn lwt_ppx.dev '/Users/opam/src/./' && \
opam pin add -yn lwt.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="arch-x86_64.1 base.v0.17.1 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bisect_ppx.2.8.3 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 flexdll.0.43 host-arch-x86_64.1 host-system-mingw.1 mingw-w64-shims.0.2.0 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_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.5 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_here.v0.17.0 ppx_let.v0.17.0 ppxlib.0.34.0 react.1.2.2 sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.0.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y lwt_retry.dev lwt_react.dev lwt_ppx.dev lwt.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-01-21 14:19.03: Using cache hint "ocsigen/lwt-windows-server-2022-amd64-ocaml-5.3-windows-server-2022-amd64-5.3_opam-2.3-260ee6f5b64872f488b88eb97a5b49c7"
2025-01-21 14:19.03: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-5.3)
(comment windows-server-2022-amd64-5.3_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 b41fc63234d56d04112634b1ea9121f12caf9794 || git fetch origin master) && git reset -q --hard b41fc63234d56d04112634b1ea9121f12caf9794 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src lwt_retry.opam lwt_react.opam lwt_ppx.opam lwt.opam)
(dst /Users/opam/src/./))
(run (network host)
(shell "opam pin add -yn lwt_retry.dev '/Users/opam/src/./' && \
\nopam pin add -yn lwt_react.dev '/Users/opam/src/./' && \
\nopam pin add -yn lwt_ppx.dev '/Users/opam/src/./' && \
\nopam pin add -yn lwt.dev '/Users/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
(env DEPS "arch-x86_64.1 base.v0.17.1 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bisect_ppx.2.8.3 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 flexdll.0.43 host-arch-x86_64.1 host-system-mingw.1 mingw-w64-shims.0.2.0 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_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.5 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_here.v0.17.0 ppx_let.v0.17.0 ppxlib.0.34.0 react.1.2.2 sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.0.7")
(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 lwt_retry.dev lwt_react.dev lwt_ppx.dev lwt.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-01-21 14:19.03: Waiting for resource in pool OCluster
2025-01-21 15:50.10: Waiting for worker…
2025-01-21 16:33.52: Got resource from pool OCluster
Building on odawa
All commits already cached
HEAD is now at e625c09af Merge pull request #1050 from ocsigen/arm-runner
(from windows-server-2022-amd64-ocaml-5.3)
2025-01-21 16:33.52 ---> using "1d6ffeb5a52124df73b2e951323e99615c52ca4f9bdf0f65039be6146fabdaab" from cache
/: (comment windows-server-2022-amd64-5.3_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-01-21 16:33.52 ---> using "95d5d85ee56c2575e196f53fe7f940cc0731fb5c4485beb38b72a714de9d05bf" 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-01-21 16:33.52 ---> using "53bae75d46d214e65b51daece9ef873c6c6a891e203ec3d98bbd26c30834d1e2" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.5.5-1.x86_64
The OCaml toplevel, version 5.3.0
2.3.0
2025-01-21 16:33.52 ---> using "2b54922bf0d8d5ddbb1aea4afec4a959968c963bd87de7fe3038a742f957825c" 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 b41fc63234d56d04112634b1ea9121f12caf9794 || git fetch origin master) && git reset -q --hard b41fc63234d56d04112634b1ea9121f12caf9794 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
f93eb7cb02..b41fc63234 master -> origin/master
b41fc63234 Merge pull request #27302 from ocaml/dra27--rm-non-win32-host-pkgs
<><> 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-01-21 16:33.52 ---> using "f3aefeca99a577161b1c4036e8c3d43bc3e8a5e84e55f42dbc259ccc1863e902" from cache
/: (copy (src lwt_retry.opam lwt_react.opam lwt_ppx.opam lwt.opam)
(dst /Users/opam/src/./))
2025-01-21 16:34.11 ---> saved as "b7b2c7bac635eed03617aab677e16da679b919e59c3c5d55b67a22bf77dda334"
/: (run (network host)
(shell "opam pin add -yn lwt_retry.dev '/Users/opam/src/./' && \
\nopam pin add -yn lwt_react.dev '/Users/opam/src/./' && \
\nopam pin add -yn lwt_ppx.dev '/Users/opam/src/./' && \
\nopam pin add -yn lwt.dev '/Users/opam/src/./'"))
[lwt_retry.dev] synchronised (file://C:/Users/opam/src/.)
lwt_retry is now pinned to file://C:/Users/opam/src/. (version dev)
[lwt_react.dev] synchronised (file://C:/Users/opam/src/.)
lwt_react is now pinned to file://C:/Users/opam/src/. (version dev)
[lwt_ppx.dev] synchronised (file://C:/Users/opam/src/.)
lwt_ppx is now pinned to file://C:/Users/opam/src/. (version dev)
[lwt.dev] synchronised (file://C:/Users/opam/src/.)
lwt is now pinned to file://C:/Users/opam/src/. (version dev)
2025-01-21 16:34.28 ---> saved as "e8c61135c5cd86e9ffbb1259c6e035215bec1b131bcba37943a576a76de4de18"
/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-01-21 16:34.47 ---> saved as "d80ff7249e49ea59dcba1884616612fc8a7dc1c2f23476fa12ff771d2cf36fc3"
/: (env DEPS "arch-x86_64.1 base.v0.17.1 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bisect_ppx.2.8.3 cmdliner.1.3.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 dune.3.17.1 dune-configurator.3.17.1 flexdll.0.43 host-arch-x86_64.1 host-system-mingw.1 mingw-w64-shims.0.2.0 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_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.5 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_here.v0.17.0 ppx_let.v0.17.0 ppxlib.0.34.0 react.1.2.2 sexplib0.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 topkg.1.0.7")
/: (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 lwt_retry.dev lwt_react.dev lwt_ppx.dev lwt.dev $DEPS"))
Fatal error:
OpamDownload.Download_fail(_, "curl: empty response while downloading https://cygwin.com/setup-x86_64.exe")
"opam update --depexts && opam install --cli=2.3 --depext-only -y lwt_retry.dev lwt_react.dev lwt_ppx.dev lwt.dev $DEPS" failed with exit status 99
2025-01-21 16:35.10: Job failed: Failed: Build failed