2026-05-13 10:19.04: New job: test mirage/ocaml-hvsock https://github.com/mirage/ocaml-hvsock.git#refs/heads/main (6f7854ab245645727a7fd06844b9a4745e02e0fe) (linux-x86_64:(lower-bound))Base: ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440cOpam project buildTo reproduce locally:git clone --recursive "https://github.com/mirage/ocaml-hvsock.git" -b "main" && cd "ocaml-hvsock" && git reset --hard 6f7854abcat > Dockerfile <<'END-OF-DOCKERFILE'FROM ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c# debian-13-4.11_opam-2.5USER 1000:1000ENV CLICOLOR_FORCE="1"ENV OPAMCOLOR="always"WORKDIR /srcRUN sudo ln -f /usr/bin/opam-2.5 /usr/bin/opamRUN cd ~/opam-repository && (git cat-file -e 4ae3c774e4a07972d8dc71ead3a8294779f6dada || git fetch origin master) && git reset -q --hard 4ae3c774e4a07972d8dc71ead3a8294779f6dada && git log --no-decorate -n1 --onelineRUN opam init --reinit -niRUN uname -rs && opam exec -- ocaml -version && opam --versionWORKDIR /srcRUN sudo chown opam /srcRUN opam update -uCOPY --chown=1000:1000 hvsock.opam ./RUN opam pin add -yn hvsock.dev './'RUN echo '(lang dune 3.0)' > './dune-project'ENV DEPS="alcotest.1.0.1 astring.0.8.3 base.v0.13.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.0.0 bigarray-compat.1.0.0 cmdliner.1.3.0 conf-m4.1 cppo.1.6.1 cstruct.6.0.0 dune.2.3.0 dune-configurator.2.5.1 dune-private-libs.2.5.1 duration.0.2.1 fmt.0.8.6 jbuilder.1.0+beta20.1 logs.0.7.0 lwt.4.2.0 mirage-flow.5.0.0 mmap.1.0.2 num.1.5 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.1.7.3 ocamlbuild.0.14.0 ocamlfind.1.8.1 parsexp.v0.13.0 ppx_derivers.1.0 ppx_sexp_conv.v0.13.0 ppxlib.0.12.0 re.1.7.2 result.1.5 seq.base sexplib.v0.13.0 sexplib0.v0.13.0 sha.1.10 stdio.v0.13.0 stdlib-shims.0.1.0 stringext.1.4.0 topkg.1.0.8 uri.1.9.6 uuidm.0.9.7 uutf.1.0.3"ENV CI="true"ENV OCAMLCI="true"RUN opam update --depexts && opam install --cli=2.5 --depext-only -y hvsock.dev $DEPSRUN opam install $DEPSCOPY --chown=1000:1000 . /srcRUN opam exec -- dune build @install @check @runtest && rm -rf _buildEND-OF-DOCKERFILEdocker build .END-REPRO-BLOCK2026-05-13 10:19.04: Using cache hint "mirage/ocaml-hvsock-ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c-debian-13-4.11_opam-2.5-c23c3569d6289cf56f49dd8453e00d18"2026-05-13 10:19.04: Using OBuilder spec:((from ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c)(comment debian-13-4.11_opam-2.5)(user (uid 1000) (gid 1000))(env CLICOLOR_FORCE 1)(env OPAMCOLOR always)(workdir /src)(run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))(run (cache (opam-archives (target /home/opam/.opam/download-cache)))(network host)(shell "cd ~/opam-repository && (git cat-file -e 4ae3c774e4a07972d8dc71ead3a8294779f6dada || git fetch origin master) && git reset -q --hard 4ae3c774e4a07972d8dc71ead3a8294779f6dada && git log --no-decorate -n1 --oneline"))(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 "opam update -u"))(copy (src hvsock.opam) (dst ./))(run (network host)(shell "opam pin add -yn hvsock.dev './'"))(run (shell "echo '(lang dune 3.0)' > './dune-project'"))(env DEPS "alcotest.1.0.1 astring.0.8.3 base.v0.13.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.0.0 bigarray-compat.1.0.0 cmdliner.1.3.0 conf-m4.1 cppo.1.6.1 cstruct.6.0.0 dune.2.3.0 dune-configurator.2.5.1 dune-private-libs.2.5.1 duration.0.2.1 fmt.0.8.6 jbuilder.1.0+beta20.1 logs.0.7.0 lwt.4.2.0 mirage-flow.5.0.0 mmap.1.0.2 num.1.5 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.1.7.3 ocamlbuild.0.14.0 ocamlfind.1.8.1 parsexp.v0.13.0 ppx_derivers.1.0 ppx_sexp_conv.v0.13.0 ppxlib.0.12.0 re.1.7.2 result.1.5 seq.base sexplib.v0.13.0 sexplib0.v0.13.0 sha.1.10 stdio.v0.13.0 stdlib-shims.0.1.0 stringext.1.4.0 topkg.1.0.8 uri.1.9.6 uuidm.0.9.7 uutf.1.0.3")(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.5 --depext-only -y hvsock.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")))2026-05-13 10:19.04: Waiting for resource in pool OCluster2026-05-13 10:44.58: Waiting for worker…2026-05-13 10:46.45: Got resource from pool OClusterBuilding on asteria.caelum.ci.devAll commits already cachedHEAD is now at 6f7854a add maintenance intent, fix link(from ocaml/opam:debian-13-ocaml-4.11@sha256:6c34153b2b07fc0f884e792a60178e250c2d06a45050e01ed0883a67ec11440c)2026-05-13 10:46.45 ---> using "36abb6db1723167d15c41f53ef05d371444812dc64e2ea7fe109d222db988473" from cache/: (comment debian-13-4.11_opam-2.5)/: (user (uid 1000) (gid 1000))/: (env CLICOLOR_FORCE 1)/: (env OPAMCOLOR always)/: (workdir /src)/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))2026-05-13 10:46.45 ---> using "8b6c3f9b20d6c3beeb84a8d52ac5abfb97ee836913fb82a0f86bfdcf7eb71547" from cache/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))(network host)(shell "cd ~/opam-repository && (git cat-file -e 4ae3c774e4a07972d8dc71ead3a8294779f6dada || git fetch origin master) && git reset -q --hard 4ae3c774e4a07972d8dc71ead3a8294779f6dada && git log --no-decorate -n1 --oneline"))4ae3c774e4 Merge pull request #29579 from ocaml/add-msys2-depexts2026-05-13 10:46.45 ---> using "54f96e68ea5840d69b4f02846708b193c7a3c7a8b89c58ccdd59dd408cc89131" 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 version of opam requires an update to the layout of /home/opam/.opam from version 2.1 to version 2.2, which can't be reverted.You may want to back it up before going further.Continue? [Y/n] y[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:opam option jobs=1 --globalFormat upgrade done.<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>[default] synchronised from git+file:///home/opam/opam-repository2026-05-13 10:46.45 ---> using "2e0488c85be23cfa510e6ed517b32de1968c6ef0872055c2e53d8cd567d53531" from cache/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))Linux 6.8.0-111-genericThe OCaml toplevel, version 4.11.22.5.12026-05-13 10:46.45 ---> using "2e3f19834893eb0759c86b2e011bf3b52c3aa4c6e95eb8613bc712c32121d5d7" from cache/src: (workdir /src)/src: (run (shell "sudo chown opam /src"))2026-05-13 10:46.45 ---> using "6f860519618ac6071ef972da70b2fd5c8de012ce87d22609f5f2a49241b2d26e" from cache/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))(network host)(shell "opam update -u"))<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>[default] synchronised from git+file:///home/opam/opam-repositoryEverything as up-to-date as possible (run with --verbose to show unavailable upgrades).The following packages are not being upgraded because the new versions conflict with other installed packages:- ocaml.5.5.0- ocaml-config.3However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.5.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)2026-05-13 10:46.45 ---> using "7a3f34e1cf8732e7a22e946b952071a1ceef433d7611e04e2d67e9bac206c064" from cache/src: (copy (src hvsock.opam) (dst ./))2026-05-13 10:46.45 ---> saved as "1b9ee8fc646810458d197af8eac5b9b1a386d1414196af05356ec4b00a51acfd"/src: (run (network host)(shell "opam pin add -yn hvsock.dev './'"))[hvsock.dev] synchronised (file:///src)hvsock is now pinned to file:///src (version dev)2026-05-13 10:46.47 ---> saved as "53bae6d5ebf2996affd551504493ebf4d4432452a03eefab69eea21141753115"/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))2026-05-13 10:46.47 ---> saved as "cc1f9ddfec190833cb4334069affb746cf6e0d29af34b618a951c8f59b7faa11"/src: (env DEPS "alcotest.1.0.1 astring.0.8.3 base.v0.13.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.0.0 bigarray-compat.1.0.0 cmdliner.1.3.0 conf-m4.1 cppo.1.6.1 cstruct.6.0.0 dune.2.3.0 dune-configurator.2.5.1 dune-private-libs.2.5.1 duration.0.2.1 fmt.0.8.6 jbuilder.1.0+beta20.1 logs.0.7.0 lwt.4.2.0 mirage-flow.5.0.0 mmap.1.0.2 num.1.5 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-compiler-libs.v0.11.0 ocaml-config.1 ocaml-migrate-parsetree.1.7.3 ocamlbuild.0.14.0 ocamlfind.1.8.1 parsexp.v0.13.0 ppx_derivers.1.0 ppx_sexp_conv.v0.13.0 ppxlib.0.12.0 re.1.7.2 result.1.5 seq.base sexplib.v0.13.0 sexplib0.v0.13.0 sha.1.10 stdio.v0.13.0 stdlib-shims.0.1.0 stringext.1.4.0 topkg.1.0.8 uri.1.9.6 uuidm.0.9.7 uutf.1.0.3")/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.5 --depext-only -y hvsock.dev $DEPS"))+ /usr/bin/sudo "apt-get" "update"- Hit:1 http://deb.debian.org/debian trixie InRelease- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [160 kB]- Fetched 251 kB in 0s (2215 kB/s)- Reading package lists...<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>[hvsock.dev] synchronised (file:///src)[NOTE] Package ocaml-config is already installed (current version is 1).[NOTE] Package ocaml-base-compiler is already installed (current version is 4.11.2).[NOTE] Package ocaml is already installed (current version is 4.11.2).[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"- 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 ... 20623 files and directories currently installed.)- Preparing to unpack .../archives/m4_1.4.19-8_amd64.deb ...- Unpacking m4 (1.4.19-8) ...- Setting up m4 (1.4.19-8) ...# To update the current shell environment, run: eval $(opam env)2026-05-13 10:46.59 ---> saved as "8453a8986e8e7ad5604ddbd2fbda79cfd9e547da04e59d5e7354d2f6a6eee59e"/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))(network host)(shell "opam install $DEPS"))[NOTE] Package ocaml-config is already installed (current version is 1).[NOTE] Package ocaml-base-compiler is already installed (current version is 4.11.2).[NOTE] Package ocaml is already installed (current version is 4.11.2).[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 42 packages- install alcotest 1.0.1- install astring 0.8.3- install base v0.13.1- install base-bytes base- install base64 3.0.0- install bigarray-compat 1.0.0- install cmdliner 1.3.0- install conf-m4 1- install cppo 1.6.1- install cstruct 6.0.0- install dune 2.3.0- install dune-configurator 2.5.1- install dune-private-libs 2.5.1- install duration 0.2.1- install fmt 0.8.6- install jbuilder 1.0+beta20.1 (deprecated)- install logs 0.7.0- install lwt 4.2.0- install mirage-flow 5.0.0- install mmap 1.0.2- install num 1.5- install ocaml-compiler-libs v0.11.0- install ocaml-migrate-parsetree 1.7.3 (deprecated)- install ocamlbuild 0.14.0- install ocamlfind 1.8.1- install parsexp v0.13.0- install ppx_derivers 1.0- install ppx_sexp_conv v0.13.0- install ppxlib 0.12.0- install re 1.7.2- install result 1.5- install seq base- install sexplib v0.13.0- install sexplib0 v0.13.0- install sha 1.10- install stdio v0.13.0- install stdlib-shims 0.1.0- install stringext 1.4.0- install topkg 1.0.8- install uri 1.9.6- install uuidm 0.9.7- install uutf 1.0.3<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>-> retrieved alcotest.1.0.1 (cached)-> retrieved astring.0.8.3 (cached)-> retrieved base.v0.13.1 (cached)-> retrieved base64.3.0.0 (cached)-> retrieved bigarray-compat.1.0.0 (cached)-> installed conf-m4.1-> retrieved cppo.1.6.1 (cached)-> retrieved cmdliner.1.3.0 (cached)-> retrieved cstruct.6.0.0 (cached)-> retrieved duration.0.2.1 (cached)-> retrieved fmt.0.8.6 (cached)-> retrieved jbuilder.1.0+beta20.1 (cached)-> retrieved dune.2.3.0 (cached)-> retrieved dune-configurator.2.5.1, dune-private-libs.2.5.1 (cached)-> retrieved logs.0.7.0 (cached)-> retrieved lwt.4.2.0 (cached)-> retrieved mirage-flow.5.0.0 (cached)-> retrieved mmap.1.0.2 (cached)-> retrieved num.1.5 (cached)-> retrieved ocaml-compiler-libs.v0.11.0 (cached)-> installed cmdliner.1.3.0-> retrieved ocaml-migrate-parsetree.1.7.3 (cached)-> retrieved ocamlbuild.0.14.0 (cached)-> retrieved ocamlfind.1.8.1 (cached)-> retrieved parsexp.v0.13.0 (cached)-> retrieved ppx_derivers.1.0 (cached)-> retrieved ppx_sexp_conv.v0.13.0 (cached)-> retrieved ppxlib.0.12.0 (cached)-> retrieved seq.base (cached)-> installed seq.base-> retrieved re.1.7.2 (cached)-> retrieved result.1.5 (cached)-> retrieved sexplib.v0.13.0 (cached)-> retrieved sexplib0.v0.13.0 (cached)-> retrieved stdio.v0.13.0 (cached)-> retrieved stdlib-shims.0.1.0 (cached)-> retrieved stringext.1.4.0 (cached)-> retrieved topkg.1.0.8 (cached)-> retrieved uuidm.0.9.7 (cached)-> retrieved uutf.1.0.3 (cached)-> retrieved sha.1.10 (https://opam.ocaml.org/cache)-> retrieved uri.1.9.6 (https://opam.ocaml.org/cache)-> installed num.1.5-> installed ocamlfind.1.8.1-> installed base-bytes.base[ERROR] The compilation of sha.1.10 failed at "make".-> installed ocamlbuild.0.14.0-> installed dune.2.3.0-> installed jbuilder.1.0+beta20.1-> installed bigarray-compat.1.0.0-> installed duration.0.2.1-> installed mmap.1.0.2-> installed stdlib-shims.0.1.0-> installed ppx_derivers.1.0-> installed result.1.5-> installed base64.3.0.0-> installed sexplib0.v0.13.0-> installed cstruct.6.0.0-> installed cppo.1.6.1-> installed re.1.7.2-> installed ocaml-compiler-libs.v0.11.0-> installed stringext.1.4.0-> installed topkg.1.0.8-> installed dune-private-libs.2.5.1-> installed lwt.4.2.0-> installed astring.0.8.3-> installed fmt.0.8.6-> installed uuidm.0.9.7-> installed uutf.1.0.3-> installed mirage-flow.5.0.0-> installed ocaml-migrate-parsetree.1.7.3-> installed dune-configurator.2.5.1-> installed alcotest.1.0.1-> installed logs.0.7.0-> installed base.v0.13.1-> installed stdio.v0.13.0-> installed parsexp.v0.13.0-> installed sexplib.v0.13.0-> installed ppxlib.0.12.0-> installed ppx_sexp_conv.v0.13.0-> installed uri.1.9.6#=== ERROR while compiling sha.1.10 ===========================================## context 2.5.1 | linux/x86_64 | ocaml-base-compiler.4.11.2 | git+file:///home/opam/opam-repository# path ~/.opam/4.11/.opam-switch/build/sha.1.10# command /usr/bin/make# exit-code 2# env-file ~/.opam/log/sha-1-5c53ef.env# output-file ~/.opam/log/sha-1-5c53ef.out### output #### ocamlc -c -o sha1.cmi sha1.mli# ocamlc -ccopt "-Wall -O3 -funroll-loops -I/usr/include" -c -o sha1.o sha1.c# mv sha1.o sha1.lib.o# ocamlc -ccopt "-Wall -O3 -funroll-loops -I/usr/include" -c -o sha1_stubs.o sha1_stubs.c# sha1_stubs.c: In function 'stub_sha1_file':# sha1_stubs.c:110:20: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]# 110 | #define strdupa(s) strcpy(alloca(strlen(s)+1),s)# | ^~~~~~# sha1_stubs.c:118:26: note: in expansion of macro 'strdupa'# 118 | char *name_dup = strdupa(String_val(name));# | ^~~~~~~# sha1_stubs.c:49:1: note: include '<string.h>' or provide a declaration of 'strcpy'# 48 | #include <caml/threads.h># +++ |+#include <string.h># 49 |# sha1_stubs.c:110:20: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch]# 110 | #define strdupa(s) strcpy(alloca(strlen(s)+1),s)# | ^~~~~~# sha1_stubs.c:118:26: note: in expansion of macro 'strdupa'# 118 | char *name_dup = strdupa(String_val(name));# | ^~~~~~~# sha1_stubs.c:110:20: note: include '<string.h>' or provide a declaration of 'strcpy'# 110 | #define strdupa(s) strcpy(alloca(strlen(s)+1),s)# | ^~~~~~# sha1_stubs.c:118:26: note: in expansion of macro 'strdupa'# 118 | char *name_dup = strdupa(String_val(name));# | ^~~~~~~# In file included from /usr/include/stdlib.h:706,# from /home/opam/.opam/4.11/lib/ocaml/caml/misc.h:29,# from /home/opam/.opam/4.11/lib/ocaml/caml/mlvalues.h:23,# from sha1_stubs.c:42:# sha1_stubs.c:110:34: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]# 110 | #define strdupa(s) strcpy(alloca(strlen(s)+1),s)# | ^~~~~~# sha1_stubs.c:118:26: note: in expansion of macro 'strdupa'# 118 | char *name_dup = strdupa(String_val(name));# | ^~~~~~~# sha1_stubs.c:110:34: note: include '<string.h>' or provide a declaration of 'strlen'# 110 | #define strdupa(s) strcpy(alloca(strlen(s)+1),s)# | ^~~~~~# sha1_stubs.c:118:26: note: in expansion of macro 'strdupa'# 118 | char *name_dup = strdupa(String_val(name));# | ^~~~~~~# sha1_stubs.c:110:34: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]# 110 | #define strdupa(s) strcpy(alloca(strlen(s)+1),s)# | ^~~~~~# sha1_stubs.c:118:26: note: in expansion of macro 'strdupa'# 118 | char *name_dup = strdupa(String_val(name));# | ^~~~~~~# sha1_stubs.c:110:34: note: include '<string.h>' or provide a declaration of 'strlen'# 110 | #define strdupa(s) strcpy(alloca(strlen(s)+1),s)# | ^~~~~~# sha1_stubs.c:118:26: note: in expansion of macro 'strdupa'# 118 | char *name_dup = strdupa(String_val(name));# | ^~~~~~~# sha1_stubs.c:128:9: error: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]# 128 | memcpy((sha1_digest *)result, &digest, sizeof(sha1_digest));# | ^~~~~~# sha1_stubs.c:128:9: note: include '<string.h>' or provide a declaration of 'memcpy'# sha1_stubs.c:128:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch]# sha1_stubs.c:128:9: note: include '<string.h>' or provide a declaration of 'memcpy'# sha1_stubs.c: In function 'stub_sha1_to_bin':# /home/opam/.opam/4.11/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 2 of 'sha1_to_bin' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]# 265 | #define String_val(x) ((const char *) Bp_val(x))# | ~^~~~~~~~~~~~~~~~~~~~~~~~~# sha1_stubs.c:139:45: note: in expansion of macro 'String_val'# 139 | sha1_to_bin((sha1_digest *) digest, String_val(result));# | ^~~~~~~~~~# In file included from sha1_stubs.c:19:# sha1.h:31:45: note: expected 'char *' but argument is of type 'const char *'# 31 | void sha1_to_bin(sha1_digest *digest, char *out);# | ~~~~~~^~~# sha1_stubs.c: In function 'stub_sha1_to_hex':# /home/opam/.opam/4.11/lib/ocaml/caml/mlvalues.h:265:24: warning: passing argument 2 of 'sha1_to_hex' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]# 265 | #define String_val(x) ((const char *) Bp_val(x))# | ~^~~~~~~~~~~~~~~~~~~~~~~~~# sha1_stubs.c:150:45: note: in expansion of macro 'String_val'# 150 | sha1_to_hex((sha1_digest *) digest, String_val(result));# | ^~~~~~~~~~# sha1.h:32:45: note: expected 'char *' but argument is of type 'const char *'# 32 | void sha1_to_hex(sha1_digest *digest, char *out);# | ~~~~~~^~~# make: *** [Makefile:94: sha1_stubs.o] Error 2<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>+- The following actions failed| - build sha 1.10+-+- The following changes have been performed| - install alcotest 1.0.1| - install astring 0.8.3| - install base v0.13.1| - install base-bytes base| - install base64 3.0.0| - install bigarray-compat 1.0.0| - install cmdliner 1.3.0| - install conf-m4 1| - install cppo 1.6.1| - install cstruct 6.0.0| - install dune 2.3.0| - install dune-configurator 2.5.1| - install dune-private-libs 2.5.1| - install duration 0.2.1| - install fmt 0.8.6| - install jbuilder 1.0+beta20.1| - install logs 0.7.0| - install lwt 4.2.0| - install mirage-flow 5.0.0| - install mmap 1.0.2| - install num 1.5| - install ocaml-compiler-libs v0.11.0| - install ocaml-migrate-parsetree 1.7.3| - install ocamlbuild 0.14.0| - install ocamlfind 1.8.1| - install parsexp v0.13.0| - install ppx_derivers 1.0| - install ppx_sexp_conv v0.13.0| - install ppxlib 0.12.0| - install re 1.7.2| - install result 1.5| - install seq base| - install sexplib v0.13.0| - install sexplib0 v0.13.0| - install stdio v0.13.0| - install stdlib-shims 0.1.0| - install stringext 1.4.0| - install topkg 1.0.8| - install uri 1.9.6| - install uuidm 0.9.7| - install uutf 1.0.3+-<><> ocaml-migrate-parsetree.1.7.3 installed successfully <><><><><><><><><><><>=> Note: This package is deprecated.<><> 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.11/.opam-switch/backup/state-20260513104700.export""/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 312026-05-13 10:47.51: Job failed: Failed: Build failed