Organisationsjeffa5ocaml-grpcefd6db (master)windows-server-2022-amd64-4.14_opam-2.4

windows-server-2022-amd64-4.14_opam-2.4

Link Copied
Code Copied

Logs

2025-09-22 07:46.21: New job: test jeffa5/ocaml-grpc https://github.com/jeffa5/ocaml-grpc.git#refs/heads/master (efd6dbfc2d044fef97b122f831a8c162d9d46625) (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/jeffa5/ocaml-grpc.git" -b "master" && cd "ocaml-grpc" && git reset --hard efd6dbfc
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 209109366a444d7ea71a56ee6cb8f608cdc6ced0 || git fetch origin master) && git reset -q --hard 209109366a444d7ea71a56ee6cb8f608cdc6ced0 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 grpc.opam grpc-lwt.opam /Users/opam/src/./
RUN opam pin add -yn grpc.dev '/Users/opam/src/./' && \
opam pin add -yn grpc-lwt.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 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 faraday.0.8.2 flexdll.0.44 h2.dev host-arch-x86_64.1 host-system-mingw.1 hpack.0.13.0 httpaf.0.7.1 lwt.5.9.2 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.8 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.4 --depext-only -y grpc.dev grpc-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-09-22 07:46.21: Using cache hint "jeffa5/ocaml-grpc-windows-server-2022-amd64-ocaml-4.14-windows-server-2022-amd64-4.14_opam-2.4-b578f71a739238014cdf90b95bff3e41"
2025-09-22 07:46.21: 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 209109366a444d7ea71a56ee6cb8f608cdc6ced0 || git fetch origin master) && git reset -q --hard 209109366a444d7ea71a56ee6cb8f608cdc6ced0 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src grpc.opam grpc-lwt.opam) (dst /Users/opam/src/./))
(run (network host)
(shell  "opam pin add -yn grpc.dev '/Users/opam/src/./' && \
\nopam pin add -yn grpc-lwt.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 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 faraday.0.8.2 flexdll.0.44 h2.dev host-arch-x86_64.1 host-system-mingw.1 hpack.0.13.0 httpaf.0.7.1 lwt.5.9.2 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.8 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.4 --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/src))
(run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2025-09-22 07:46.21: Waiting for resource in pool OCluster
2025-09-22 07:46.21: Waiting for worker…
2025-09-22 12:01.17: Got resource from pool OCluster
Building on thyme
All commits already cached
HEAD is now at efd6dbf Update h2 src


(from windows-server-2022-amd64-ocaml-4.14)
2025-09-22 12:01.17 ---> using "55c9cbebb0e098c78ccc09b1cc6e84ec9f0bd2275b7cebf331cc913575946dc0" from cache


/: (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"))
2025-09-22 12:01.17 ---> using "fa5bb00e1b6dc297799f071f6d36c5ba197ac910917f6631927fc1b4259523b1" 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-22 12:01.17 ---> using "c9a6bb12454183a6bda5e24c40375763b3914e101e14ca85a4ab6e7ff857e315" 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 4.14.2
2.4.1
2025-09-22 12:01.17 ---> using "6ecdd3ea7a5353b5481faeb55be51b830717334a488c4abef4de194957089ce9" 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 209109366a444d7ea71a56ee6cb8f608cdc6ced0 || git fetch origin master) && git reset -q --hard 209109366a444d7ea71a56ee6cb8f608cdc6ced0 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
f6368c68f9..bf453cf4c3  master     -> origin/master
209109366a Merge pull request #28553 from dinosaure/release-base64-v3.5.2


<><> 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 at these versions (e.g. "opam upgrade ocaml.5.3.0"), 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-09-22 12:01.17 ---> using "1460990d47c369e7d29913cf042307a905d5d36f1b136f0fb932df76b5f58816" from cache


/: (copy (src grpc.opam grpc-lwt.opam) (dst /Users/opam/src/./))
2025-09-22 12:01.41 ---> saved as "3ee3a1658d89a64768369aebf68f091f6cadfd44fbc1382eea937e1db215dd74"


/: (run (network host)
(shell  "opam pin add -yn grpc.dev '/Users/opam/src/./' && \
\nopam pin add -yn grpc-lwt.dev '/Users/opam/src/./'"))
[grpc.dev] synchronised (file://C:/Users/opam/src/.)
grpc is now pinned to file://C:/Users/opam/src/. (version dev)
[grpc-lwt.dev] synchronised (file://C:/Users/opam/src/.)
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
[h2.dev] synchronised (no changes)
h2 is now pinned to git+https://github.com/anmonteiro/ocaml-h2#7df18604ae389e3151f79e2be5dfd4278d4377fb (version dev)
grpc-lwt is now pinned to file://C:/Users/opam/src/. (version dev)
2025-09-22 12:02.34 ---> saved as "583717f2dc1fe52bbce711bb7346f44fe04c64dab70e49729642cdd8a03c0c48"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-09-22 12:03.09 ---> saved as "59e03a37c52991479d2d019d1fe8fee359750439ee1dbbe1e58766c348749058"


/: (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.2 bigstringaf.0.10.0 conf-mingw-w64-gcc-x86_64.1 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 faraday.0.8.2 flexdll.0.44 h2.dev host-arch-x86_64.1 host-system-mingw.1 hpack.0.13.0 httpaf.0.7.1 lwt.5.9.2 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.8 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.4 --depext-only -y grpc.dev grpc-lwt.dev $DEPS"))


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[grpc.dev] synchronised (file://C:/Users/opam/src/.)
[grpc-lwt.dev] synchronised (file://C:/Users/opam/src/.)
[h2.dev] synchronised (no changes)


[NOTE] Package system-mingw is already installed (current version is 1).
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-env-mingw64 is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.44).
[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
2025-09-22 12:04.53 ---> saved as "b411414819fec7e00f103a52631355d6b261c1b60c6d48c741ff58f4f65ff1dc"


/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[h2.dev] synchronised (no changes)


[NOTE] Package system-mingw is already installed (current version is 1).
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-env-mingw64 is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.44).
[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
The following actions will be performed:
=== install 24 packages
- install angstrom           0.16.1
- install base-bytes         base
- install base64             3.5.2
- install bigstringaf        0.10.0
- install cppo               1.8.0
- install csexp              1.5.2
- install dune               3.20.2
- install dune-configurator  3.20.2
- install faraday            0.8.2
- install h2                 dev (pinned)
- install hpack              0.13.0
- install httpaf             0.7.1
- install lwt                5.9.2
- install ocaml-protoc       3.1.1
- install ocaml-syntax-shims 1.0.0
- install ocamlfind          1.9.8
- install ocplib-endian      1.2
- install pbrt               3.1.1
- install psq                0.2.1
- install result             1.5
- install seq                base
- install stdlib-shims       0.3.0
- install stringext          1.6.0
- install uri                4.4.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved base64.3.5.2  (https://github.com/mirage/ocaml-base64/releases/download/v3.5.2/base64-3.5.2.tbz)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved faraday.0.8.2  (cached)
-> retrieved hpack.0.13.0  (cached)
-> retrieved httpaf.0.7.1  (cached)
-> retrieved h2.dev  (no changes)
-> retrieved ocaml-protoc.3.1.1, pbrt.3.1.1  (cached)
-> retrieved lwt.5.9.2  (https://github.com/ocsigen/lwt/archive/refs/tags/5.9.2.tar.gz)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved result.1.5  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved uri.4.4.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (https://github.com/ocaml/dune/releases/download/3.20.2/dune-3.20.2.tbz)
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind_opt
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\4.14.2\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\4.14.2\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind_opt.exe
[WARNING] C:\Users\opam\AppData\Local\opam\4.14.2\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.20.2
-> installed base64.3.5.2
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocaml-syntax-shims.1.0.0
-> installed psq.0.2.1
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed ocplib-endian.1.2
-> installed pbrt.3.1.1
-> installed dune-configurator.3.20.2
-> installed bigstringaf.0.10.0
-> installed faraday.0.8.2
-> installed angstrom.0.16.1
-> installed ocaml-protoc.3.1.1
-> installed hpack.0.13.0
-> installed uri.4.4.0
-> installed httpaf.0.7.1
-> installed h2.dev
-> installed lwt.5.9.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-22 12:13.48 ---> saved as "b43abf6410774389b350f4e6af235e1c399a1c2a8aadef8984880305a6be622d"


/: (copy (src .) (dst /Users/opam/src))
2025-09-22 12:14.12 ---> saved as "45ac6143b5b71b230d5b8769125dcb06c9ab8f3ef77737e81f84403008848c09"


/: (run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "examples/greeter/dune", lines 5-10, characters 0-203:
5 | (rule
6 |  (targets greeter_pb.ml greeter_pb.mli greeter_pp.ml greeter_pp.mli
7 |    greeter_types.ml greeter_types.mli)
8 |  (action
9 |   (run ocaml-protoc -binary -pp -ml_out ./ greeter.proto))
10 |  (deps greeter.proto))
(cd _build/default/examples/greeter && C:\Users\opam\AppData\Local\opam\4.14.2\bin\ocaml-protoc.exe -binary -pp -ml_out ./ greeter.proto)
C:\Users\opam\AppData\Local\opam\4.14.2\bin\ocaml-protoc.exe: unknown option '-binary'.
ocaml-protoc -ml_out <output_directory> <file_name>.proto
--yojson               generate yojson encoding
--bs                   generate BuckleScript encoding
--binary               generate binary encoding
--pp                   generate pretty print functions
--dump_type_repr       generate comments with internal representation on generated OCaml types (useful for debugging ocaml-protoc itself)
--services             generate code for services (requires json+binary)
-I                     include directories
--ml_out               output directory
--debug                print logs on stderr
--unsigned             tag uint32 and uint64 types with `unsigned
--make                 generate `make` functions
--int32_type           int32_type file option
--int64_type           int64_type file option
--ocaml_file_ppx       ocaml_file_ppx file option
--ocaml_all_types_ppx  ocaml_all_types_ppx file option
-help                  Display this list of options
--help                 Display this list of options
File "examples/greeter-server-lwt/dune", line 3, characters 63-74:
3 |  (libraries grpc grpc-lwt ocaml-protoc lwt lwt.unix greeter h2 h2-lwt-unix))
^^^^^^^^^^^
Error: Library "h2-lwt-unix" not found.
-> required by
_build/default/examples/greeter-server-lwt/.greeter_server_lwt.eobjs/byte/dune__exe__Greeter_server_lwt.cmi
-> required by alias examples/greeter-server-lwt/check
"cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-09-22 12:14.41: Job failed: Failed: Build failed