Organisationsjeffa5ocaml-grpcefd6db (master)(lower-bound)

(lower-bound)

Logs

Show full logs
2024-10-01 14:14.08: 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:313659e036d93aad64e3d503c7a2aa6326e0a2c7426087b094ccca6aed7d1612
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:313659e036d93aad64e3d503c7a2aa6326e0a2c7426087b094ccca6aed7d1612
# debian-12-4.08_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 b7a474459d5c5da61dd939353c4899d25eaad097 || git fetch origin master) && git reset -q --hard b7a474459d5c5da61dd939353c4899d25eaad097 && 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 './'
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.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 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.0 seq.0.2.2 stdlib-shims.0.1.0 stringext.1.4.0 topkg.0.7.5 uri.4.0.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 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build

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

2024-10-01 14:14.08: Using cache hint "jeffa5/ocaml-grpc-ocaml/opam:debian-12-ocaml-4.08@sha256:313659e036d93aad64e3d503c7a2aa6326e0a2c7426087b094ccca6aed7d1612-debian-12-4.08_opam-2.2-34048b20b349bf16cd6721c70ce8ae99"
2024-10-01 14:14.08: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.08@sha256:313659e036d93aad64e3d503c7a2aa6326e0a2c7426087b094ccca6aed7d1612)
 (comment debian-12-4.08_opam-2.2)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo 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"))
 (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 b7a474459d5c5da61dd939353c4899d25eaad097 || git fetch origin master) && git reset -q --hard b7a474459d5c5da61dd939353c4899d25eaad097 && 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 './'"))
 (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.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 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.0 seq.0.2.2 stdlib-shims.0.1.0 stringext.1.4.0 topkg.0.7.5 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.2 --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"))
)

2024-10-01 14:14.08: Waiting for resource in pool OCluster
2024-10-01 16:12.52: Waiting for worker…
2024-10-01 16:14.49: Got resource from pool OCluster
Building on x86-bm-c14.sw.ocaml.org
All commits already cached
HEAD is now at efd6dbf Update h2 src

(from ocaml/opam:debian-12-ocaml-4.08@sha256:313659e036d93aad64e3d503c7a2aa6326e0a2c7426087b094ccca6aed7d1612)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.08@sha256:313659e036d93aad64e3d503c7a2aa6326e0a2c7426087b094ccca6aed7d1612' locally
docker.io/ocaml/opam@sha256:313659e036d93aad64e3d503c7a2aa6326e0a2c7426087b094ccca6aed7d1612: Pulling from ocaml/opam
5c3cccbf9bc6: Pulling fs layer
5c3cccbf9bc6: Verifying Checksum
5c3cccbf9bc6: Download complete
5c3cccbf9bc6: Pull complete
Digest: sha256:313659e036d93aad64e3d503c7a2aa6326e0a2c7426087b094ccca6aed7d1612
Status: Downloaded newer image for ocaml/opam@sha256:313659e036d93aad64e3d503c7a2aa6326e0a2c7426087b094ccca6aed7d1612
2024-10-01 16:14.49 ---> using "8ac68bced7188653db7b81863dbdd05e2bdaccde05c724cc4b90798d2e42b237" from cache

/: (comment debian-12-4.08_opam-2.2)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-10-01 16:14.49 ---> using "68946da4107789f21e1b43a1fc10876ada8abd5ae5cb3a46df3ba7efc4a26ebc" 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] synchronised from file:///home/opam/opam-repository
2024-10-01 16:14.49 ---> using "0fa87fa384c8382b8a3fdb2ca4fdbb17616e9027318b0968209ab2e40b8a37d2" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.08.1
2.2.1
2024-10-01 16:14.49 ---> using "e80aa2ad87a5a9275a0410f836bb3790b9cb60ee03a9d88121517497b46d307a" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-10-01 16:14.49 ---> using "971af2034814b6690f2f54ab0ca46316cd22d9aed5eb0bc7863e9b345f165523" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e b7a474459d5c5da61dd939353c4899d25eaad097 || git fetch origin master) && git reset -q --hard b7a474459d5c5da61dd939353c4899d25eaad097 && git log --no-decorate -n1 --oneline && opam update -u"))
b7a474459d Merge pull request #26538 from kit-ty-kate/hpack-ocaml-5.3

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from 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.
# Run eval $(opam env) to update the current shell environment
2024-10-01 16:14.49 ---> using "714d6e45f824464b326252f58a45890a531153592e8bdc15b8096595f8b24458" from cache

/src: (copy (src grpc.opam grpc-lwt.opam) (dst ./))
2024-10-01 16:14.49 ---> saved as "6a8d148fe343d935ad9bb26c973b5a952be2e294356a556d16554557907523f7"

/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)
2024-10-01 16:14.58 ---> saved as "17ee9c8acc69b8a11dd758568966cd9d54ed63b4b0ce4880ad5165872d481ea7"

/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.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 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.0 seq.0.2.2 stdlib-shims.0.1.0 stringext.1.4.0 topkg.0.7.5 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.2 --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 [185 kB]
- Fetched 288 kB in 0s (1020 kB/s)
- Reading package lists...

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[grpc.dev] synchronised (no changes)
[grpc-lwt.dev] synchronised (no changes)
[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 ... 18745 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) ...
2024-10-01 16:15.25 ---> saved as "89958126fb055a73cc180f67a8e8a78503ed7d622d383ecf2ebfaa6c4e4733a0"

/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.0
  - install dune-configurator 2.3.0
  - install dune-private-libs 2.3.0
  - 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
  - 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.0
  - install seq               0.2.2
  - install stdlib-shims      0.1.0
  - install stringext         1.4.0
  - install topkg             0.7.5
  - install uri               4.0.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.14.0  (cached)
-> installed conf-m4.1
-> retrieved cppo.1.6.1  (cached)
-> retrieved bigstringaf.0.5.0  (https://github.com/inhabitedtype/bigstringaf/archive/0.5.0.tar.gz)
-> retrieved dune.2.7.0  (cached)
-> retrieved dune-configurator.2.3.0, dune-private-libs.2.3.0  (cached)
-> retrieved base64.1.1.0  (https://github.com/mirage/ocaml-base64/archive/v1.1.0.tar.gz)
-> retrieved faraday.0.5.0  (https://github.com/inhabitedtype/faraday/archive/0.5.0.tar.gz)
-> retrieved hpack.0.1.0  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved h2.dev  (no changes)
-> retrieved mmap.1.1.0  (cached)
-> retrieved httpaf.0.4.1  (https://github.com/inhabitedtype/httpaf/archive/0.4.1.tar.gz)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocamlfind.1.8.0  (cached)
-> retrieved ocplib-endian.1.0  (cached)
-> retrieved lwt.5.0.0  (https://github.com/ocsigen/lwt/archive/5.0.0.tar.gz)
-> retrieved result.1.0  (cached)
-> retrieved seq.0.2.2  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved stringext.1.4.0  (cached)
-> retrieved ocaml-protoc.2.0.1  (https://github.com/mransan/ocaml-protoc/archive/2.0.1.tar.gz)
-> retrieved topkg.0.7.5  (http://erratique.ch/software/topkg/releases/topkg-0.7.5.tbz)
-> installed result.1.0
-> retrieved uri.4.0.0  (cached)
-> retrieved psq.0.1.0  (https://github.com/pqwy/psq/releases/download/v0.1.0/psq-0.1.0.tbz)
-> installed ocamlfind.1.8.0
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed jbuilder.1.0+beta20.1
-> installed dune.2.7.0
-> installed faraday.0.5.0
-> installed cppo.1.6.1
-> installed bigstringaf.0.5.0
-> installed mmap.1.1.0
-> installed stdlib-shims.0.1.0
-> installed seq.0.2.2
-> installed angstrom.0.14.0
-> installed base64.1.1.0
-> installed hpack.0.1.0
-> installed httpaf.0.4.1
-> installed ocaml-protoc.2.0.1
-> installed stringext.1.4.0
-> installed dune-private-libs.2.3.0
-> installed ocplib-endian.1.0
-> installed dune-configurator.2.3.0
-> installed topkg.0.7.5
-> installed uri.4.0.0
-> installed psq.0.1.0
[ERROR] The compilation of h2.dev failed at "dune build -p h2 -j 39".
-> installed lwt.5.0.0

#=== ERROR while compiling h2.dev =============================================#
# context     2.2.1 | 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 39
# exit-code   1
# env-file    ~/.opam/log/h2-1-f4de16.env
# output-file ~/.opam/log/h2-1-f4de16.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.0
| - install dune-configurator 2.3.0
| - install dune-private-libs 2.3.0
| - 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.0
| - install seq               0.2.2
| - install stdlib-shims      0.1.0
| - install stringext         1.4.0
| - install topkg             0.7.5
| - 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
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.08/.opam-switch/backup/state-20241001161526.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2024-10-01 16:16.25: Job failed: Failed: Build failed