Organisationsjeffa5ocaml-grpcefd6db (master)windows-server-2022-4.14_opam-2.2

windows-server-2022-4.14_opam-2.2

Logs

Show full logs
2024-10-28 14:47.58: New job: test jeffa5/ocaml-grpc https://github.com/jeffa5/ocaml-grpc.git#refs/heads/master (efd6dbfc2d044fef97b122f831a8c162d9d46625) (test:windows-server-2022-4.14_opam-2.2)
Base: windows-server-2022-ocaml-4.14
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/jeffa5/ocaml-grpc.git" -b "master" && cd "ocaml-grpc" && git reset --hard efd6dbfc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-ocaml-4.14
# windows-server-2022-4.14_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/bin/opam-2.2 /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 63cfa2da7451530777c99ac51ebfc3a717cff962 || git fetch origin master) && git reset -q --hard 63cfa2da7451530777c99ac51ebfc3a717cff962 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 grpc.opam grpc-lwt.opam /Users/opam/Documents/./
RUN opam pin add -yn grpc.dev '/Users/opam/Documents/./' && \
    opam pin add -yn grpc-lwt.dev '/Users/opam/Documents/./'
ENV DEPS="angstrom.0.16.1 arch-x86_64.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.7.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 faraday.0.8.2 flexdll.0.43 h2.dev host-arch-x86_64.1 host-system-mingw.1 hpack.0.13.0 httpaf.0.7.1 lwt.5.8.0 mingw-w64-shims.0.2.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-protoc.3.1.1 ocaml-syntax-shims.1.0.0 ocamlfind.1.9.5 ocplib-endian.1.2 pbrt.3.1.1 psq.0.2.1 result.1.5 seq.base stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 uri.4.4.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y grpc.dev grpc-lwt.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /Users/opam/Documents
RUN cd /cygdrive/c/Users/opam/Documents && opam exec -- dune build @install @check @runtest && rm -rf _build

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

2024-10-28 14:47.58: Using cache hint "jeffa5/ocaml-grpc-windows-server-2022-ocaml-4.14-windows-server-2022-4.14_opam-2.2-000fd7899ee9c27a587c31bebeda7790"
2024-10-28 14:47.58: Using OBuilder spec:
((from windows-server-2022-ocaml-4.14)
 (comment windows-server-2022-4.14_opam-2.2)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f /usr/bin/opam-2.2 /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 63cfa2da7451530777c99ac51ebfc3a717cff962 || git fetch origin master) && git reset -q --hard 63cfa2da7451530777c99ac51ebfc3a717cff962 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src grpc.opam grpc-lwt.opam) (dst /Users/opam/Documents/./))
 (run (network host)
      (shell  "opam pin add -yn grpc.dev '/Users/opam/Documents/./' && \
             \nopam pin add -yn grpc-lwt.dev '/Users/opam/Documents/./'"))
 (env DEPS "angstrom.0.16.1 arch-x86_64.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.7.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 faraday.0.8.2 flexdll.0.43 h2.dev host-arch-x86_64.1 host-system-mingw.1 hpack.0.13.0 httpaf.0.7.1 lwt.5.8.0 mingw-w64-shims.0.2.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-protoc.3.1.1 ocaml-syntax-shims.1.0.0 ocamlfind.1.9.5 ocplib-endian.1.2 pbrt.3.1.1 psq.0.2.1 result.1.5 seq.base stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 uri.4.4.0")
 (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.2 --depext-only -y grpc.dev grpc-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/Documents))
 (run (shell "cd /cygdrive/c/Users/opam/Documents && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)

2024-10-28 14:47.58: Waiting for resource in pool OCluster
2024-10-28 18:05.43: Waiting for worker…
2024-10-28 21:13.05: Got resource from pool OCluster
Building on odawa
All commits already cached
HEAD is now at efd6dbf Update h2 src

(from windows-server-2022-ocaml-4.14)
2024-10-28 21:13.05 ---> using "dca183f00f9c8145447bdf8b51d17b6257e7f9880011947f8ed16449b5ac4c29" from cache

/: (comment windows-server-2022-4.14_opam-2.2)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (run (shell "ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-10-28 21:13.05 ---> using "48953ddf02e57e4d983259e75a775cbd4466818b4708048c926558f7b08f54b3" 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
2024-10-28 21:13.05 ---> using "2a10efc10f1937ea804ddd34e22b68952f9144c42211b0e87f1fa834e77cc9c4" 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.2.1
2024-10-28 21:13.05 ---> using "41ad6da2afd0643107458c4ad95b5d94cf37de63fe4e7447d4122b0af5d1d78f" 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 63cfa2da7451530777c99ac51ebfc3a717cff962 || git fetch origin master) && git reset -q --hard 63cfa2da7451530777c99ac51ebfc3a717cff962 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   924ed6223c..56e31a3bc1  master     -> origin/master
63cfa2da74 Merge pull request #26797 from raphael-proust/lwt-5-8-0-is-ok-on-windows

<><> 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.
# Run eval $(opam env) to update the current shell environment
2024-10-28 21:13.05 ---> using "6c6aefaea61eccce99606998e3fadf358eab296da6128e0c2682d1b037556cbe" from cache

/: (copy (src grpc.opam grpc-lwt.opam) (dst /Users/opam/Documents/./))
2024-10-28 21:13.07 ---> saved as "17231d9ce67969168dc3048d2b85999cdc0367bb042a81c53fd0a7a5057117ab"

/: (run (network host)
        (shell  "opam pin add -yn grpc.dev '/Users/opam/Documents/./' && \
               \nopam pin add -yn grpc-lwt.dev '/Users/opam/Documents/./'"))
[grpc.dev] synchronised (file://C:/Users/opam/Documents/.)
grpc is now pinned to file://C:/Users/opam/Documents/. (version dev)
[grpc-lwt.dev] synchronised (file://C:/Users/opam/Documents/.)
The following additional pinnings are required by grpc-lwt.dev:
  - h2.dev at git+https://github.com/anmonteiro/ocaml-h2#7df18604ae389e3151f79e2be5dfd4278d4377fb
Pin and install them? [y/n] y
[ERROR] Could not synchronize C:\Users\opam\AppData\Local\opam\4.14.2\.opam-switch\sources\h2 from "git+https://github.com/anmonteiro/ocaml-h2#7df18604ae389e3151f79e2be5dfd4278d4377fb":
        C:\cygwin64\bin\opam.exe: "mkdir" failed on C:\Users\opam\AppData\Local\opam\download-cache\git: No such file or directory
Could not retrieve some package sources, they will not be pinned nor installed:
  - h2:git+https://github.com/anmonteiro/ocaml-h2#7df18604ae389e3151f79e2be5dfd4278d4377fb

Continue anyway? [y/n] y
grpc-lwt is now pinned to file://C:/Users/opam/Documents/. (version dev)
2024-10-28 21:13.24 ---> saved as "228176388caa0cac751e93bf17c5773ffb24b390c02da4f8ff64e8518aafd2bd"

/: (env DEPS "angstrom.0.16.1 arch-x86_64.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.1 bigstringaf.0.10.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.7.0 csexp.1.5.2 dune.3.16.0 dune-configurator.3.16.0 faraday.0.8.2 flexdll.0.43 h2.dev host-arch-x86_64.1 host-system-mingw.1 hpack.0.13.0 httpaf.0.7.1 lwt.5.8.0 mingw-w64-shims.0.2.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-protoc.3.1.1 ocaml-syntax-shims.1.0.0 ocamlfind.1.9.5 ocplib-endian.1.2 pbrt.3.1.1 psq.0.2.1 result.1.5 seq.base stdlib-shims.0.3.0 stringext.1.6.0 system-mingw.1 uri.4.4.0")

/: (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.2 --depext-only -y grpc.dev grpc-lwt.dev $DEPS"))
[ERROR] Package h2 has no version dev.
"/usr/bin/env" "bash" "-c" "opam update --depexts && opam install --cli=2.2 --depext-only -y grpc.dev grpc-lwt.dev $DEPS" failed with exit status 5
2024-10-28 21:13.40: Job failed: Failed: Build failed