Organisationspatricoferrisluv0ed668 (master)debian-12-4.04_opam-2.1

debian-12-4.04_opam-2.1

Link Copied
Code Copied

Logs

2024-05-14 13:15.10: New job: test patricoferris/luv https://github.com/patricoferris/luv.git#refs/heads/master (0ed668e87ca55d65f4f84422b0dd3381701c71b0) (linux-x86_64:debian-12-4.04_opam-2.1)
Base: ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/patricoferris/luv.git" -b "master" && cd "luv" && git reset --hard 0ed668e8
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
# debian-12-4.04_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /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 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 luv_unix.opam luv.opam ./
RUN opam pin add -yn luv_unix.dev './' && \
    opam pin add -yn luv.dev './'
ENV DEPS="alcotest.1.1.0 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.0.4 csexp.1.5.2 ctypes.0.22.0 dune.3.15.2 dune-configurator.3.15.2 fmt.0.8.6 integers.0.7.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 re.1.11.0 result.1.5 seq.0.3.1 stdlib-shims.0.3.0 topkg.1.0.4 uuidm.0.9.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y luv_unix.dev luv.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-05-14 13:15.10: Using cache hint "patricoferris/luv-ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8-debian-12-4.04_opam-2.1-3aa851c20eca85e4daa14d38223fed38"
2024-05-14 13:15.10: Using OBuilder spec:
((from ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8)
 (comment debian-12-4.04_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /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 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src luv_unix.opam luv.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn luv_unix.dev './' && \
             \nopam pin add -yn luv.dev './'"))
 (env DEPS "alcotest.1.1.0 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.0.4 csexp.1.5.2 ctypes.0.22.0 dune.3.15.2 dune-configurator.3.15.2 fmt.0.8.6 integers.0.7.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 re.1.11.0 result.1.5 seq.0.3.1 stdlib-shims.0.3.0 topkg.1.0.4 uuidm.0.9.7")
 (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.1 --depext-only -y luv_unix.dev luv.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-05-14 13:15.10: Waiting for resource in pool OCluster
2024-05-14 13:15.15: Waiting for worker…
2024-05-14 13:15.15: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
Submodule path 'src/c/vendor/libuv': checked out '988f2bfc4defb9a85a536a3e645834c161143ee0'
HEAD is now at 0ed668e luv_unix: tighter dependency constraints
Synchronizing submodule url for 'src/c/vendor/libuv'
Cleared directory 'src/c/vendor/libuv'
Submodule 'src/c/vendor/libuv' (https://github.com/libuv/libuv.git) unregistered for path 'src/c/vendor/libuv'
Submodule 'src/c/vendor/libuv' (https://github.com/libuv/libuv.git) registered for path 'src/c/vendor/libuv'
Submodule path 'src/c/vendor/libuv': checked out '988f2bfc4defb9a85a536a3e645834c161143ee0'


(from ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8)
Unable to find image 'ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8' locally
docker.io/ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8: Pulling from ocaml/opam
e58cd26576ff: Pulling fs layer
e58cd26576ff: Verifying Checksum
e58cd26576ff: Download complete
e58cd26576ff: Pull complete
Digest: sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
Status: Downloaded newer image for ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
2024-05-14 13:17.01 ---> saved as "f8cc879b8fa41146f4d68824f571af48d0fc242fa563e6c44aad42da2480e773"


/: (comment debian-12-4.04_opam-2.1)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-05-14 13:17.01 ---> saved as "7acf9c20e3a294f65eec146d2b0278d86ac3011a3aaf14f981174ab68667921e"


/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.0 to version 2.1, 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-05-14 13:18.18 ---> saved as "eb9e02ecfcb5ba37a004cedecf7a30bca11d30398ed5232984b27dff3d577897"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.04.2
2.1.5
2024-05-14 13:18.19 ---> saved as "1c1947f6600fe344049c423f5d475e2bbcf469ba4d40ccfe151b45e81f7382fc"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-14 13:18.19 ---> saved as "cac506b2ad2021f1ddbd68db7b37261e0a93bd2be740791bb6297e219b96903b"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 2275b400535e884d216047a092e70705139c9e41 || git fetch origin master) && git reset -q --hard 2275b400535e884d216047a092e70705139c9e41 && git log --no-decorate -n1 --oneline && opam update -u"))
2275b40053 @dra27 maintains ocaml-secondary-compiler


<><> 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-05-14 13:19.44 ---> saved as "800b17a660229cc976f7d4526dcf0ee91522b2e21a3a24f393a8935cca2d7e93"


/src: (copy (src luv_unix.opam luv.opam) (dst ./))
2024-05-14 13:19.44 ---> saved as "db1e0976ffe8c94d539f60111d182d8a2c0f23ae97146a874dedfa9d96306926"


/src: (run (network host)
           (shell  "opam pin add -yn luv_unix.dev './' && \
                  \nopam pin add -yn luv.dev './'"))
[luv_unix.dev] synchronised (file:///src)
luv_unix is now pinned to file:///src (version dev)
[luv.dev] synchronised (file:///src)
luv is now pinned to file:///src (version dev)
2024-05-14 13:19.48 ---> saved as "a948c85c4213a3471e595c6932e406b8bec25623d16d3019bbb3edcc98ea95cc"


/src: (env DEPS "alcotest.1.1.0 astring.0.8.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.0.4 csexp.1.5.2 ctypes.0.22.0 dune.3.15.2 dune-configurator.3.15.2 fmt.0.8.6 integers.0.7.0 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 re.1.11.0 result.1.5 seq.0.3.1 stdlib-shims.0.3.0 topkg.1.0.4 uuidm.0.9.7")


/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.1 --depext-only -y luv_unix.dev luv.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]
- Fetched 103 kB in 0s (496 kB/s)
- Reading package lists...


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


[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.08.1-1).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.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).
2024-05-14 13:20.07 ---> saved as "3994eb81c8158dcc4859879abe80886ddaf1ec6245cdfe6fc84e311584fa6dda"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.08.1-1).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.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 ocamlbuild          0.14.3
  - install cmdliner            1.0.4
  - install ocamlfind           1.9.6
  - install topkg               1.0.4
  - install ocamlfind-secondary 1.9.6
  - install base-bytes          base
  - install uuidm               0.9.7
  - install dune                3.15.2
  - install astring             0.8.3
  - install stdlib-shims        0.3.0
  - install seq                 0.3.1
  - install result              1.5
  - install csexp               1.5.2
  - install bigarray-compat     1.1.0
  - install integers            0.7.0
  - install re                  1.11.0
  - install fmt                 0.8.6
  - install dune-configurator   3.15.2
  - install alcotest            1.1.0
  - install ctypes              0.22.0
===== 20 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.3  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved cmdliner.1.0.4  (cached)
-> retrieved alcotest.1.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ctypes.0.22.0  (cached)
-> retrieved fmt.0.8.6  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocamlfind-secondary.1.9.6  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved seq.0.3.1  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.4  (cached)
-> retrieved uuidm.0.9.7  (cached)
-> retrieved dune.3.15.2  (cached)
-> retrieved dune-configurator.3.15.2  (cached)
-> installed cmdliner.1.0.4
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.14.3
-> installed ocamlfind-secondary.1.9.6
-> installed topkg.1.0.4
-> installed uuidm.0.9.7
-> installed astring.0.8.3
-> installed dune.3.15.2
-> installed result.1.5
-> installed seq.0.3.1
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed stdlib-shims.0.3.0
-> installed re.1.11.0
-> installed integers.0.7.0
-> installed fmt.0.8.6
-> installed dune-configurator.3.15.2
-> installed alcotest.1.1.0
-> installed ctypes.0.22.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-14 13:21.35 ---> saved as "072250b8274c92a4160032f54faf1108701a84483af9d0b6fe0a238aa0f0854b"


/src: (copy (src .) (dst /src))
2024-05-14 13:21.35 ---> saved as "53ddac5e0f895892c4c1f71d392eb14c011332a97ba3d24364237d0e61005bb8"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "test/headers/dune", line 4, characters 36-43:
4 |  (foreign_stubs (language c) (names headers)))
                                        ^^^^^^^
(cd _build/default/test/headers && /usr/bin/gcc -std=gnu99 -O2 -fno-strict-aliasing -fwrapv -fcommon -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -std=gnu99 -O2 -fno-strict-aliasing -fwrapv -fcommon -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -g -I /home/opam/.opam/4.04/lib/ocaml -I /home/opam/.opam/4.04/lib/bigarray-compat -I /home/opam/.opam/4.04/lib/ctypes -I /home/opam/.opam/4.04/lib/integers -I /home/opam/.opam/4.04/lib/ocaml/threads -I /home/opam/.opam/4.04/lib/result -I /home/opam/.opam/4.04/lib/stdlib-shims -I ../../src -I ../../src/c -o headers.o -c headers.c)
headers.c:2:10: fatal error: uv.h: No such file or directory
    2 | #include <uv.h>
      |          ^~~~~~
compilation terminated.
File "src/unix/dune", line 4, characters 36-44:
4 |  (foreign_stubs (language c) (names luv_unix))
                                        ^^^^^^^^
(cd _build/default/src/unix && /usr/bin/gcc -std=gnu99 -O2 -fno-strict-aliasing -fwrapv -fcommon -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -std=gnu99 -O2 -fno-strict-aliasing -fwrapv -fcommon -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -g -I /home/opam/.opam/4.04/lib/ocaml -I /home/opam/.opam/4.04/lib/bigarray-compat -I /home/opam/.opam/4.04/lib/ctypes -I /home/opam/.opam/4.04/lib/integers -I /home/opam/.opam/4.04/lib/ocaml/threads -I /home/opam/.opam/4.04/lib/result -I /home/opam/.opam/4.04/lib/stdlib-shims -I .. -I ../c -o luv_unix.o -c luv_unix.c)
luv_unix.c:9:10: fatal error: uv.h: No such file or directory
    9 | #include <uv.h>
      |          ^~~~~~
compilation terminated.
(cd _build/default/src/c && /usr/bin/gcc -std=gnu99 -O2 -fno-strict-aliasing -fwrapv -fcommon -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -std=gnu99 -O2 -fno-strict-aliasing -fwrapv -fcommon -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -g -I /home/opam/.opam/4.04/lib/ocaml -I /home/opam/.opam/4.04/lib/bigarray-compat -I /home/opam/.opam/4.04/lib/ctypes -I /home/opam/.opam/4.04/lib/integers -I /home/opam/.opam/4.04/lib/ocaml/threads -I /home/opam/.opam/4.04/lib/stdlib-shims -I . -I vendor/libuv/include -o c_generated_functions.o -c c_generated_functions.c)
In file included from c_generated_functions.c:8:
c_generated_functions.c: In function 'luv_stub_1_uv_strerror_r':
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:24:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
   24 |   ((char *)String_val(Field(s, 1)) + Long_val(Field(s, 0)))
      |   ^
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:30:38: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_STRING'
   30 | #define CTYPES_PTR_OF_OCAML_BYTES(s) CTYPES_PTR_OF_OCAML_STRING(s)
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:12:24: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_BYTES'
   12 |    unsigned char* x7 = CTYPES_PTR_OF_OCAML_BYTES(x2);
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:14:22: warning: pointer targets in passing argument 2 of 'uv_strerror_r' differ in signedness [-Wpointer-sign]
   14 |    uv_strerror_r(x4, x7, x8);
      |                      ^~
      |                      |
      |                      unsigned char *
In file included from c_generated_functions.c:6:
vendor/libuv/include/uv.h:395:46: note: expected 'char *' but argument is of type 'unsigned char *'
  395 | UV_EXTERN char* uv_strerror_r(int err, char* buf, size_t buflen);
      |                                        ~~~~~~^~~
c_generated_functions.c: In function 'luv_stub_2_uv_err_name_r':
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:24:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
   24 |   ((char *)String_val(Field(s, 1)) + Long_val(Field(s, 0)))
      |   ^
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:30:38: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_STRING'
   30 | #define CTYPES_PTR_OF_OCAML_BYTES(s) CTYPES_PTR_OF_OCAML_STRING(s)
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:20:25: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_BYTES'
   20 |    unsigned char* x18 = CTYPES_PTR_OF_OCAML_BYTES(x13);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:22:23: warning: pointer targets in passing argument 2 of 'uv_err_name_r' differ in signedness [-Wpointer-sign]
   22 |    uv_err_name_r(x15, x18, x19);
      |                       ^~~
      |                       |
      |                       unsigned char *
vendor/libuv/include/uv.h:398:46: note: expected 'char *' but argument is of type 'unsigned char *'
  398 | UV_EXTERN char* uv_err_name_r(int err, char* buf, size_t buflen);
      |                                        ~~~~~~^~~
c_generated_functions.c: In function 'luv_stub_102_uv_pipe_getsockname':
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:24:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
   24 |   ((char *)String_val(Field(s, 1)) + Long_val(Field(s, 0)))
      |   ^
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:30:38: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_STRING'
   30 | #define CTYPES_PTR_OF_OCAML_BYTES(s) CTYPES_PTR_OF_OCAML_STRING(s)
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:703:26: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_BYTES'
  703 |    unsigned char* x533 = CTYPES_PTR_OF_OCAML_BYTES(x530);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:705:41: warning: pointer targets in passing argument 2 of 'uv_pipe_getsockname' differ in signedness [-Wpointer-sign]
  705 |    int x535 = uv_pipe_getsockname(x532, x533, x534);
      |                                         ^~~~
      |                                         |
      |                                         unsigned char *
vendor/libuv/include/uv.h:803:41: note: expected 'char *' but argument is of type 'unsigned char *'
  803 |                                   char* buffer,
      |                                   ~~~~~~^~~~~~
c_generated_functions.c: In function 'luv_stub_103_uv_pipe_getpeername':
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:24:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
   24 |   ((char *)String_val(Field(s, 1)) + Long_val(Field(s, 0)))
      |   ^
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:30:38: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_STRING'
   30 | #define CTYPES_PTR_OF_OCAML_BYTES(s) CTYPES_PTR_OF_OCAML_STRING(s)
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:711:26: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_BYTES'
  711 |    unsigned char* x540 = CTYPES_PTR_OF_OCAML_BYTES(x537);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:713:41: warning: pointer targets in passing argument 2 of 'uv_pipe_getpeername' differ in signedness [-Wpointer-sign]
  713 |    int x542 = uv_pipe_getpeername(x539, x540, x541);
      |                                         ^~~~
      |                                         |
      |                                         unsigned char *
vendor/libuv/include/uv.h:806:41: note: expected 'char *' but argument is of type 'unsigned char *'
  806 |                                   char* buffer,
      |                                   ~~~~~~^~~~~~
c_generated_functions.c: In function 'luv_stub_165_memcpy':
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:24:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
   24 |   ((char *)String_val(Field(s, 1)) + Long_val(Field(s, 0)))
      |   ^
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:30:38: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_STRING'
   30 | #define CTYPES_PTR_OF_OCAML_BYTES(s) CTYPES_PTR_OF_OCAML_STRING(s)
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1225:26: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_BYTES'
 1225 |    unsigned char* x973 = CTYPES_PTR_OF_OCAML_BYTES(x972);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c: In function 'luv_stub_166_memcpy':
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:24:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
   24 |   ((char *)String_val(Field(s, 1)) + Long_val(Field(s, 0)))
      |   ^
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:30:38: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_STRING'
   30 | #define CTYPES_PTR_OF_OCAML_BYTES(s) CTYPES_PTR_OF_OCAML_STRING(s)
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1234:26: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_BYTES'
 1234 |    unsigned char* x983 = CTYPES_PTR_OF_OCAML_BYTES(x980);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c: In function 'luv_stub_208_uv_ip4_name':
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:24:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
   24 |   ((char *)String_val(Field(s, 1)) + Long_val(Field(s, 0)))
      |   ^
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:30:38: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_STRING'
   30 | #define CTYPES_PTR_OF_OCAML_BYTES(s) CTYPES_PTR_OF_OCAML_STRING(s)
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1505:27: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_BYTES'
 1505 |    unsigned char* x1164 = CTYPES_PTR_OF_OCAML_BYTES(x1161);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1507:35: warning: pointer targets in passing argument 2 of 'uv_ip4_name' differ in signedness [-Wpointer-sign]
 1507 |    int x1168 = uv_ip4_name(x1163, x1164, x1165);
      |                                   ^~~~~
      |                                   |
      |                                   unsigned char *
vendor/libuv/include/uv.h:1661:64: note: expected 'char *' but argument is of type 'unsigned char *'
 1661 | UV_EXTERN int uv_ip4_name(const struct sockaddr_in* src, char* dst, size_t size);
      |                                                          ~~~~~~^~~
c_generated_functions.c: In function 'luv_stub_209_uv_ip6_name':
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:24:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
   24 |   ((char *)String_val(Field(s, 1)) + Long_val(Field(s, 0)))
      |   ^
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:30:38: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_STRING'
   30 | #define CTYPES_PTR_OF_OCAML_BYTES(s) CTYPES_PTR_OF_OCAML_STRING(s)
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1513:27: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_BYTES'
 1513 |    unsigned char* x1173 = CTYPES_PTR_OF_OCAML_BYTES(x1170);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1515:35: warning: pointer targets in passing argument 2 of 'uv_ip6_name' differ in signedness [-Wpointer-sign]
 1515 |    int x1177 = uv_ip6_name(x1172, x1173, x1174);
      |                                   ^~~~~
      |                                   |
      |                                   unsigned char *
vendor/libuv/include/uv.h:1662:65: note: expected 'char *' but argument is of type 'unsigned char *'
 1662 | UV_EXTERN int uv_ip6_name(const struct sockaddr_in6* src, char* dst, size_t size);
      |                                                           ~~~~~~^~~
c_generated_functions.c: In function 'luv_stub_228_uv_if_indextoname':
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:24:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
   24 |   ((char *)String_val(Field(s, 1)) + Long_val(Field(s, 0)))
      |   ^
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:30:38: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_STRING'
   30 | #define CTYPES_PTR_OF_OCAML_BYTES(s) CTYPES_PTR_OF_OCAML_STRING(s)
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1633:27: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_BYTES'
 1633 |    unsigned char* x1265 = CTYPES_PTR_OF_OCAML_BYTES(x1260);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1635:41: warning: pointer targets in passing argument 2 of 'uv_if_indextoname' differ in signedness [-Wpointer-sign]
 1635 |    int x1267 = uv_if_indextoname(x1262, x1265, x1266);
      |                                         ^~~~~
      |                                         |
      |                                         unsigned char *
vendor/libuv/include/uv.h:1697:39: note: expected 'char *' but argument is of type 'unsigned char *'
 1697 |                                 char* buffer,
      |                                 ~~~~~~^~~~~~
c_generated_functions.c: In function 'luv_stub_229_uv_if_indextoiid':
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:24:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
   24 |   ((char *)String_val(Field(s, 1)) + Long_val(Field(s, 0)))
      |   ^
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:30:38: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_STRING'
   30 | #define CTYPES_PTR_OF_OCAML_BYTES(s) CTYPES_PTR_OF_OCAML_STRING(s)
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1641:27: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_BYTES'
 1641 |    unsigned char* x1274 = CTYPES_PTR_OF_OCAML_BYTES(x1269);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1643:40: warning: pointer targets in passing argument 2 of 'uv_if_indextoiid' differ in signedness [-Wpointer-sign]
 1643 |    int x1276 = uv_if_indextoiid(x1271, x1274, x1275);
      |                                        ^~~~~
      |                                        |
      |                                        unsigned char *
vendor/libuv/include/uv.h:1700:38: note: expected 'char *' but argument is of type 'unsigned char *'
 1700 |                                char* buffer,
      |                                ~~~~~~^~~~~~
c_generated_functions.c: In function 'luv_stub_230_uv_os_gethostname':
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:24:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
   24 |   ((char *)String_val(Field(s, 1)) + Long_val(Field(s, 0)))
      |   ^
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:30:38: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_STRING'
   30 | #define CTYPES_PTR_OF_OCAML_BYTES(s) CTYPES_PTR_OF_OCAML_STRING(s)
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1648:27: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_BYTES'
 1648 |    unsigned char* x1279 = CTYPES_PTR_OF_OCAML_BYTES(x1278);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1650:34: warning: pointer targets in passing argument 1 of 'uv_os_gethostname' differ in signedness [-Wpointer-sign]
 1650 |    int x1281 = uv_os_gethostname(x1279, x1280);
      |                                  ^~~~~
      |                                  |
      |                                  unsigned char *
vendor/libuv/include/uv.h:1275:39: note: expected 'char *' but argument is of type 'unsigned char *'
 1275 | UV_EXTERN int uv_os_gethostname(char* buffer, size_t* size);
      |                                 ~~~~~~^~~~~~
c_generated_functions.c: In function 'luv_stub_231_uv_exepath':
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:24:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
   24 |   ((char *)String_val(Field(s, 1)) + Long_val(Field(s, 0)))
      |   ^
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:30:38: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_STRING'
   30 | #define CTYPES_PTR_OF_OCAML_BYTES(s) CTYPES_PTR_OF_OCAML_STRING(s)
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1655:27: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_BYTES'
 1655 |    unsigned char* x1284 = CTYPES_PTR_OF_OCAML_BYTES(x1283);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1657:27: warning: pointer targets in passing argument 1 of 'uv_exepath' differ in signedness [-Wpointer-sign]
 1657 |    int x1286 = uv_exepath(x1284, x1285);
      |                           ^~~~~
      |                           |
      |                           unsigned char *
vendor/libuv/include/uv.h:1703:32: note: expected 'char *' but argument is of type 'unsigned char *'
 1703 | UV_EXTERN int uv_exepath(char* buffer, size_t* size);
      |                          ~~~~~~^~~~~~
c_generated_functions.c: In function 'luv_stub_232_uv_cwd':
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:24:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
   24 |   ((char *)String_val(Field(s, 1)) + Long_val(Field(s, 0)))
      |   ^
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:30:38: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_STRING'
   30 | #define CTYPES_PTR_OF_OCAML_BYTES(s) CTYPES_PTR_OF_OCAML_STRING(s)
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1662:27: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_BYTES'
 1662 |    unsigned char* x1289 = CTYPES_PTR_OF_OCAML_BYTES(x1288);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1664:23: warning: pointer targets in passing argument 1 of 'uv_cwd' differ in signedness [-Wpointer-sign]
 1664 |    int x1291 = uv_cwd(x1289, x1290);
      |                       ^~~~~
      |                       |
      |                       unsigned char *
vendor/libuv/include/uv.h:1705:28: note: expected 'char *' but argument is of type 'unsigned char *'
 1705 | UV_EXTERN int uv_cwd(char* buffer, size_t* size);
      |                      ~~~~~~^~~~~~
c_generated_functions.c: In function 'luv_stub_234_uv_os_homedir':
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:24:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
   24 |   ((char *)String_val(Field(s, 1)) + Long_val(Field(s, 0)))
      |   ^
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:30:38: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_STRING'
   30 | #define CTYPES_PTR_OF_OCAML_BYTES(s) CTYPES_PTR_OF_OCAML_STRING(s)
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1675:27: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_BYTES'
 1675 |    unsigned char* x1297 = CTYPES_PTR_OF_OCAML_BYTES(x1296);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1677:30: warning: pointer targets in passing argument 1 of 'uv_os_homedir' differ in signedness [-Wpointer-sign]
 1677 |    int x1299 = uv_os_homedir(x1297, x1298);
      |                              ^~~~~
      |                              |
      |                              unsigned char *
vendor/libuv/include/uv.h:1218:35: note: expected 'char *' but argument is of type 'unsigned char *'
 1218 | UV_EXTERN int uv_os_homedir(char* buffer, size_t* size);
      |                             ~~~~~~^~~~~~
c_generated_functions.c: In function 'luv_stub_235_uv_os_tmpdir':
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:24:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
   24 |   ((char *)String_val(Field(s, 1)) + Long_val(Field(s, 0)))
      |   ^
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:30:38: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_STRING'
   30 | #define CTYPES_PTR_OF_OCAML_BYTES(s) CTYPES_PTR_OF_OCAML_STRING(s)
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1682:27: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_BYTES'
 1682 |    unsigned char* x1302 = CTYPES_PTR_OF_OCAML_BYTES(x1301);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1684:29: warning: pointer targets in passing argument 1 of 'uv_os_tmpdir' differ in signedness [-Wpointer-sign]
 1684 |    int x1304 = uv_os_tmpdir(x1302, x1303);
      |                             ^~~~~
      |                             |
      |                             unsigned char *
vendor/libuv/include/uv.h:1219:34: note: expected 'char *' but argument is of type 'unsigned char *'
 1219 | UV_EXTERN int uv_os_tmpdir(char* buffer, size_t* size);
      |                            ~~~~~~^~~~~~
c_generated_functions.c: In function 'luv_stub_238_uv_os_getenv':
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:24:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
   24 |   ((char *)String_val(Field(s, 1)) + Long_val(Field(s, 0)))
      |   ^
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:30:38: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_STRING'
   30 | #define CTYPES_PTR_OF_OCAML_BYTES(s) CTYPES_PTR_OF_OCAML_STRING(s)
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1702:27: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_BYTES'
 1702 |    unsigned char* x1315 = CTYPES_PTR_OF_OCAML_BYTES(x1312);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1704:36: warning: pointer targets in passing argument 2 of 'uv_os_getenv' differ in signedness [-Wpointer-sign]
 1704 |    int x1317 = uv_os_getenv(x1314, x1315, x1316);
      |                                    ^~~~~
      |                                    |
      |                                    unsigned char *
vendor/libuv/include/uv.h:1260:52: note: expected 'char *' but argument is of type 'unsigned char *'
 1260 | UV_EXTERN int uv_os_getenv(const char* name, char* buffer, size_t* size);
      |                                              ~~~~~~^~~~~~
c_generated_functions.c: In function 'luv_stub_243_luv_os_uname':
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:24:3: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
   24 |   ((char *)String_val(Field(s, 1)) + Long_val(Field(s, 0)))
      |   ^
/home/opam/.opam/4.04/lib/ctypes/ctypes_cstubs_internals.h:30:38: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_STRING'
   30 | #define CTYPES_PTR_OF_OCAML_BYTES(s) CTYPES_PTR_OF_OCAML_STRING(s)
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1736:27: note: in expansion of macro 'CTYPES_PTR_OF_OCAML_BYTES'
 1736 |    unsigned char* x1339 = CTYPES_PTR_OF_OCAML_BYTES(x1338);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
c_generated_functions.c:1737:29: warning: pointer targets in passing argument 1 of 'luv_os_uname' differ in signedness [-Wpointer-sign]
 1737 |    int x1340 = luv_os_uname(x1339);
      |                             ^~~~~
      |                             |
      |                             unsigned char *
In file included from c_generated_functions.c:7:
helpers.h:186:24: note: expected 'char *' but argument is of type 'unsigned char *'
  186 | int luv_os_uname(char *buffer);
      |                  ~~~~~~^~~~~~
(cd _build/default/src/c/vendor/libuv && /usr/bin/bash -e -u -o pipefail -c 'sh configure --host `ocamlc -config | awk '\''/host/ {print $NF}'\''` '\''CC=gcc -std=gnu99 -O2 -fno-strict-aliasing -fwrapv -fcommon -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC'\'' CFLAGS=-DNDEBUG --silent --enable-silent-rules')
configure: line 7274: /usr/bin/file: No such file or directory
(cd _build/default && /home/opam/.opam/4.04/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -49 -open Result -g -bin-annot -I src/.luv.objs/byte -I /home/opam/.opam/4.04/lib/bigarray-compat -I /home/opam/.opam/4.04/lib/ctypes -I /home/opam/.opam/4.04/lib/integers -I /home/opam/.opam/4.04/lib/ocaml/threads -I /home/opam/.opam/4.04/lib/result -I /home/opam/.opam/4.04/lib/stdlib-shims -I src/c/.luv_c.objs/byte -I src/c/.luv_c_function_descriptions.objs/byte -I src/c/.luv_c_type_descriptions.objs/byte -no-alias-deps -opaque -open Luv__ -o src/.luv.objs/byte/luv__Compatibility.cmo -c -impl src/compatibility.ml)
File "src/compatibility.ml", line 8, characters 6-21:
Warning 32: unused value opaque_identity.
File "src/compatibility.ml", line 1:
Error: Some fatal warnings were triggered (1 occurrences)
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-14 13:21.50: Job failed: Failed: Build failed