2025-06-19 20:40.43: New job: test jeffa5/ocaml-grpc https://github.com/jeffa5/ocaml-grpc.git#refs/heads/master (efd6dbfc2d044fef97b122f831a8c162d9d46625) (linux-x86_64:(lower-bound)) Base: ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e 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 ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e # debian-12-4.08_opam-2.3 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version WORKDIR /src RUN sudo chown opam /src RUN cd ~/opam-repository && (git cat-file -e c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 grpc.opam grpc-lwt.opam ./ RUN opam pin add -yn grpc.dev './' && \ opam pin add -yn grpc-lwt.dev './' RUN echo '(lang dune 3.0)' > './dune-project' ENV DEPS="angstrom.0.14.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.1.1.0 bigstringaf.0.5.0 conf-m4.1 cppo.1.6.1 dune.2.7.1 dune-configurator.2.5.1 dune-private-libs.2.5.1 faraday.0.5.0 h2.dev hpack.0.1.0 httpaf.0.4.1 jbuilder.1.0+beta20.1 lwt.5.0.0 mmap.1.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-protoc.2.0.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 psq.0.1.0 result.1.5 seq.0.3 stdlib-shims.0.1.0 stringext.1.4.0 topkg.0.7.9 uri.4.0.0" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.3 --depext-only -y grpc.dev grpc-lwt.dev $DEPS RUN opam install $DEPS COPY --chown=1000:1000 . /src RUN opam exec -- dune build @install @check @runtest && rm -rf _build END-OF-DOCKERFILE docker build . END-REPRO-BLOCK 2025-06-19 20:40.43: Using cache hint "jeffa5/ocaml-grpc-ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e-debian-12-4.08_opam-2.3-09701b9174c1ce6ba17cc8d4ae22837d" 2025-06-19 20:40.43: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e) (comment debian-12-4.08_opam-2.3) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo 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")) (workdir /src) (run (shell "sudo chown opam /src")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src grpc.opam grpc-lwt.opam) (dst ./)) (run (network host) (shell "opam pin add -yn grpc.dev './' && \ \nopam pin add -yn grpc-lwt.dev './'")) (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) (env DEPS "angstrom.0.14.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.1.1.0 bigstringaf.0.5.0 conf-m4.1 cppo.1.6.1 dune.2.7.1 dune-configurator.2.5.1 dune-private-libs.2.5.1 faraday.0.5.0 h2.dev hpack.0.1.0 httpaf.0.4.1 jbuilder.1.0+beta20.1 lwt.5.0.0 mmap.1.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-protoc.2.0.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 psq.0.1.0 result.1.5 seq.0.3 stdlib-shims.0.1.0 stringext.1.4.0 topkg.0.7.9 uri.4.0.0") (env CI true) (env OCAMLCI true) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam update --depexts && opam install --cli=2.3 --depext-only -y grpc.dev grpc-lwt.dev $DEPS")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) (copy (src .) (dst /src)) (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) ) 2025-06-19 20:40.43: Waiting for resource in pool OCluster 2025-06-19 20:46.23: Waiting for worker… 2025-06-19 20:48.28: Got resource from pool OCluster Building on clete.caelum.ci.dev All commits already cached HEAD is now at efd6dbf Update h2 src (from ocaml/opam:debian-12-ocaml-4.08@sha256:cc4b148b1fa1916574df02fcec0956fedbec6798bedacd9bfd4417c1c098ce8e) 2025-06-19 20:48.29 ---> using "4ea5038d254cfd14663698deb665a2dc4ce1e1383d544c063adebb02ed15ce16" from cache /: (comment debian-12-4.08_opam-2.3) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam")) 2025-06-19 20:48.29 ---> using "513c9792ce65a5b8ab8e9c5d5d0cb18860fa2e52baa6ff8e91e0f4d91def9aa9" from cache /src: (run (shell "opam init --reinit -ni")) Configuring from /home/opam/.opamrc and then from built-in defaults. 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. This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted. You may want to back it up before going further. Continue? [y/n] y Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] Initialised 2025-06-19 20:48.29 ---> using "9eb80386bacfd7938f12d25e194913cafb5894d8e3739476ca8ba44c9606ec01" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-134-generic The OCaml toplevel, version 4.08.1 2.3.0 2025-06-19 20:48.29 ---> using "92e2498cc7a78f593d78a8bf54c5bc24658d99052f31b70c33e471d45d365ae6" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-06-19 20:48.29 ---> using "b6f04723b137dea03fa4030960754640f1ca54b23d9fe8aab83e1e48e2509f1f" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && git log --no-decorate -n1 --oneline && opam update -u")) c7d6d1d2aa Merge pull request #27880 from MisterDA/os-family-fedora <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from git+file:///home/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-06-19 20:48.29 ---> using "e2f3ee7083e2abd4d888795c66ea3487669c0c3064974593a5483dedf53c721f" from cache /src: (copy (src grpc.opam grpc-lwt.opam) (dst ./)) 2025-06-19 20:48.29 ---> saved as "72ee35cffad41dbdfdb6b258cbae16923616f1b9b1fdc26ee5dbf29e60dae3e9" /src: (run (network host) (shell "opam pin add -yn grpc.dev './' && \ \nopam pin add -yn grpc-lwt.dev './'")) [grpc.dev] synchronised (file:///src) grpc is now pinned to file:///src (version dev) [grpc-lwt.dev] synchronised (file:///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:///src (version dev) 2025-06-19 20:48.41 ---> saved as "2617f34cf7deabc4d59d8ee391d943eaed6d6b17f11e0ff62e1f3a3079e40de1" /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-06-19 20:48.42 ---> saved as "a639d7a922f2f36efa9c80740f4fcc3e9e226485193bd5082c79aa977fd9601e" /src: (env DEPS "angstrom.0.14.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.1.1.0 bigstringaf.0.5.0 conf-m4.1 cppo.1.6.1 dune.2.7.1 dune-configurator.2.5.1 dune-private-libs.2.5.1 faraday.0.5.0 h2.dev hpack.0.1.0 httpaf.0.4.1 jbuilder.1.0+beta20.1 lwt.5.0.0 mmap.1.1.0 ocaml.4.08.1 ocaml-base-compiler.4.08.1 ocaml-config.1 ocaml-protoc.2.0.1 ocamlbuild.0.14.0 ocamlfind.1.8.0 ocplib-endian.1.0 psq.0.1.0 result.1.5 seq.0.3 stdlib-shims.0.1.0 stringext.1.4.0 topkg.0.7.9 uri.4.0.0") /src: (env CI true) /src: (env OCAMLCI true) /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam update --depexts && opam install --cli=2.3 --depext-only -y grpc.dev grpc-lwt.dev $DEPS")) + /usr/bin/sudo "apt-get" "update" - Hit:1 http://deb.debian.org/debian bookworm InRelease - Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] - Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB] - Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [267 kB] - Fetched 370 kB in 0s (768 kB/s) - Reading package lists... - <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [grpc.dev] synchronised (file:///src) [grpc-lwt.dev] synchronised (file:///src) [h2.dev] synchronised (no changes) [NOTE] Package ocaml-config is already installed (current version is 1). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1). [NOTE] Package ocaml is already installed (current version is 4.08.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). The following system packages will first need to be installed: m4 <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "m4" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package m4. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18747 files and directories currently installed.) - Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ... - Unpacking m4 (1.4.19-3) ... - Setting up m4 (1.4.19-3) ... 2025-06-19 20:49.09 ---> saved as "2afe4ec81c8dc4ad6154018dba3ebf8acb8c1e2a7e7d563b48163e9e223d1b65" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [h2.dev] synchronised (no changes) [NOTE] Package ocaml-config is already installed (current version is 1). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.08.1). [NOTE] Package ocaml is already installed (current version is 4.08.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). The following actions will be performed: === install 27 packages - install angstrom 0.14.0 - install base-bytes base - install base64 1.1.0 - install bigstringaf 0.5.0 - install conf-m4 1 - install cppo 1.6.1 - install dune 2.7.1 - install dune-configurator 2.5.1 - install dune-private-libs 2.5.1 - install faraday 0.5.0 - install h2 dev (pinned) - install hpack 0.1.0 - install httpaf 0.4.1 - install jbuilder 1.0+beta20.1 (deprecated) - install lwt 5.0.0 - install mmap 1.1.0 - install ocaml-protoc 2.0.1 - install ocamlbuild 0.14.0 - install ocamlfind 1.8.0 - install ocplib-endian 1.0 - install psq 0.1.0 - install result 1.5 - install seq 0.3 - install stdlib-shims 0.1.0 - install stringext 1.4.0 - install topkg 0.7.9 - install uri 4.0.0 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved base64.1.1.0 (cached) -> retrieved bigstringaf.0.5.0 (cached) -> retrieved angstrom.0.14.0 (cached) -> retrieved cppo.1.6.1 (cached) -> installed conf-m4.1 -> retrieved faraday.0.5.0 (cached) -> retrieved dune-configurator.2.5.1, dune-private-libs.2.5.1 (cached) -> retrieved dune.2.7.1 (cached) -> retrieved h2.dev (no changes) -> retrieved hpack.0.1.0 (cached) -> retrieved httpaf.0.4.1 (cached) -> retrieved mmap.1.1.0 (cached) -> retrieved lwt.5.0.0 (cached) -> retrieved ocaml-protoc.2.0.1 (cached) -> retrieved ocamlbuild.0.14.0 (cached) -> retrieved jbuilder.1.0+beta20.1 (cached) -> retrieved ocamlfind.1.8.0 (cached) -> retrieved ocplib-endian.1.0 (cached) -> retrieved psq.0.1.0 (cached) -> retrieved result.1.5 (cached) -> retrieved seq.0.3 (cached) -> retrieved stdlib-shims.0.1.0 (cached) -> retrieved stringext.1.4.0 (cached) -> retrieved topkg.0.7.9 (cached) -> retrieved uri.4.0.0 (cached) -> installed ocamlfind.1.8.0 -> installed base-bytes.base -> installed ocamlbuild.0.14.0 -> installed jbuilder.1.0+beta20.1 -> installed faraday.0.5.0 -> installed cppo.1.6.1 -> installed dune.2.7.1 -> installed stringext.1.4.0 -> installed base64.1.1.0 -> installed bigstringaf.0.5.0 -> installed mmap.1.1.0 -> installed result.1.5 -> installed seq.0.3 -> installed stdlib-shims.0.1.0 -> installed dune-private-libs.2.5.1 -> installed angstrom.0.14.0 -> installed ocplib-endian.1.0 -> installed dune-configurator.2.5.1 -> installed hpack.0.1.0 -> installed httpaf.0.4.1 -> installed ocaml-protoc.2.0.1 -> installed uri.4.0.0 -> installed topkg.0.7.9 -> installed lwt.5.0.0 -> installed psq.0.1.0 [ERROR] The compilation of h2.dev failed at "dune build -p h2 -j 71". #=== ERROR while compiling h2.dev =============================================# # context 2.3.0 | linux/x86_64 | ocaml-base-compiler.4.08.1 | pinned(git+https://github.com/anmonteiro/ocaml-h2#7df18604ae389e3151f79e2be5dfd4278d4377fb#7df18604ae389e3151f79e2be5dfd4278d4377fb) # path ~/.opam/4.08/.opam-switch/build/h2.dev # command ~/.opam/4.08/bin/dune build -p h2 -j 71 # exit-code 1 # env-file ~/.opam/log/h2-1-77216e.env # output-file ~/.opam/log/h2-1-77216e.out ### output ### # File "/home/opam/.opam/4.08/lib/faraday/faraday.dune", line 1, characters 0-0: # Warning: .dune files are ignored since 2.0. Reinstall the library with dune # >= 2.0 to get rid of this warning and enable support for the subsystem this # library provides. # File "/home/opam/.opam/4.08/lib/httpaf/httpaf.dune", line 1, characters 0-0: # Warning: .dune files are ignored since 2.0. Reinstall the library with dune # >= 2.0 to get rid of this warning and enable support for the subsystem this # library provides. # ocamlc lib/.h2.objs/byte/h2__Settings.{cmi,cmo,cmt} (exit 2) # (cd _build/default && /home/opam/.opam/4.08/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.h2.objs/byte -I /home/opam/.opam/4.08/lib/angstrom -I /home/opam/.opam/4.08/lib/base64 -I /home/opam/.opam/4.08/lib/bigstringaf -I /home/opam/.opam/4.08/lib/bytes -I /home/opam/.opam/4.08/lib/faraday -I /home/opam/.opam/4.08/lib/hpack -I /home/opam/.opam/4.08/lib/httpaf -I /home/opam/.opam/4.08/lib/psq -I /home/opam/.opam/4.08/lib/result -no-alias-deps -open H2__ -o lib/.h2.objs/byte/h2__Settings.cmo -c -impl lib/settings.ml) # File "lib/settings.ml", line 279, characters 4-23: # 279 | | Ok settings_payload -> # ^^^^^^^^^^^^^^^^^^^ # Error: This pattern matches values of type ('a, 'b) result # but a pattern was expected which matches values of type string <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build h2 dev +- +- The following changes have been performed | - install angstrom 0.14.0 | - install base-bytes base | - install base64 1.1.0 | - install bigstringaf 0.5.0 | - install conf-m4 1 | - install cppo 1.6.1 | - install dune 2.7.1 | - install dune-configurator 2.5.1 | - install dune-private-libs 2.5.1 | - install faraday 0.5.0 | - install hpack 0.1.0 | - install httpaf 0.4.1 | - install jbuilder 1.0+beta20.1 | - install lwt 5.0.0 | - install mmap 1.1.0 | - install ocaml-protoc 2.0.1 | - install ocamlbuild 0.14.0 | - install ocamlfind 1.8.0 | - install ocplib-endian 1.0 | - install psq 0.1.0 | - install result 1.5 | - install seq 0.3 | - install stdlib-shims 0.1.0 | - install stringext 1.4.0 | - install topkg 0.7.9 | - install uri 4.0.0 +- <><> lwt.5.0.0 installed successfully <><><><><><><><><><><><><><><><><><><><><> => Lwt 5.0.0 has made some minor breaking changes. See https://github.com/ocsigen/lwt/issues/584 <><> jbuilder.1.0+beta20.1 installed successfully <><><><><><><><><><><><><><><> => Note: This package is deprecated. # To update the current shell environment, run: eval $(opam env) The former state can be restored with: /usr/bin/opam switch import "/home/opam/.opam/4.08/.opam-switch/backup/state-20250619204910.export" "/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31 2025-06-19 20:50.29: Job failed: Failed: Build failed