2024-06-17 13:27.18: New job: test patricoferris/luv https://github.com/patricoferris/luv.git#refs/heads/master (0ed668e87ca55d65f4f84422b0dd3381701c71b0) (linux-x86_64:(lint-doc))
Base: ocaml/opam@sha256:0a82e1aafbee2e2cca6d56655769201705c357eec1f57eddb8105b4abb39dad2
Opam project lint documentation
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:0a82e1aafbee2e2cca6d56655769201705c357eec1f57eddb8105b4abb39dad2
# debian-12-4.02_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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && 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.0.8.5 astring.0.8.3 base-bigarray.base base-bytes.base base-ocamlbuild.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.0.2 ctypes.0.18.0 dune.3.16.0 fmt.0.8.5 integers.0.4.0 ocaml.4.02.3 ocaml-base-compiler.4.02.3 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlbuild.0 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 result.1.4 topkg.1.0.0 uchar.0.0.2 uuidm.0.9.6"
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
RUN opam install --yes dune 'odoc>=1.5.0'
COPY --chown=1000:1000 . /src/
RUN ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo "dune build @doc failed"; exit 2)
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-06-17 13:27.18: Using cache hint "patricoferris/luv-ocaml/opam@sha256:0a82e1aafbee2e2cca6d56655769201705c357eec1f57eddb8105b4abb39dad2-debian-12-4.02_opam-2.1-1fdc60c289452a02db2f7897bb8a8caa"
2024-06-17 13:27.18: Using OBuilder spec:
((from ocaml/opam@sha256:0a82e1aafbee2e2cca6d56655769201705c357eec1f57eddb8105b4abb39dad2)
(comment debian-12-4.02_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 a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && 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.0.8.5 astring.0.8.3 base-bigarray.base base-bytes.base base-ocamlbuild.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.0.2 ctypes.0.18.0 dune.3.16.0 fmt.0.8.5 integers.0.4.0 ocaml.4.02.3 ocaml-base-compiler.4.02.3 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlbuild.0 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 result.1.4 topkg.1.0.0 uchar.0.0.2 uuidm.0.9.6")
(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"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install --yes dune 'odoc>=1.5.0'"))
(copy (src .) (dst /src/))
(run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
)
2024-06-17 13:27.18: Waiting for resource in pool OCluster
2024-06-19 16:07.11: Waiting for worker…
2024-06-19 16:10.23: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
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:0a82e1aafbee2e2cca6d56655769201705c357eec1f57eddb8105b4abb39dad2)
Unable to find image 'ocaml/opam@sha256:0a82e1aafbee2e2cca6d56655769201705c357eec1f57eddb8105b4abb39dad2' locally
docker.io/ocaml/opam@sha256:0a82e1aafbee2e2cca6d56655769201705c357eec1f57eddb8105b4abb39dad2: Pulling from ocaml/opam
dc21441e9fb7: Pulling fs layer
dc21441e9fb7: Verifying Checksum
dc21441e9fb7: Download complete
dc21441e9fb7: Pull complete
Digest: sha256:0a82e1aafbee2e2cca6d56655769201705c357eec1f57eddb8105b4abb39dad2
Status: Downloaded newer image for ocaml/opam@sha256:0a82e1aafbee2e2cca6d56655769201705c357eec1f57eddb8105b4abb39dad2
2024-06-19 16:10.24 ---> using "fd9effdb20112caabef15244ee384c442dcea73992062b8ef835679281a75bc3" from cache
/: (comment debian-12-4.02_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-06-19 16:10.24 ---> using "a37ef9e895c503acbca7368027af2498496e7557b7f94ede16db872c589c5e39" 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.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-06-19 16:10.24 ---> using "4db343f01867d358b4f1d9963c9402d2fe8cf7fd1a2c6b84ae73a621bcd32f4d" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-112-generic
The OCaml toplevel, version 4.02.3
2.1.6
2024-06-19 16:10.24 ---> using "a960b41cd6dc6720fe9435e6a5ac99c017eadf0a7bd1d4d2a765ef8b48cee38a" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-06-19 16:10.24 ---> using "2becf2ba0637263feb899b0679bf68a3af3e8b7c13a5b35241a73969a0157b12" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a6069b9eebba0e2b70cdbbd834bc800eb6d671fb || git fetch origin master) && git reset -q --hard a6069b9eebba0e2b70cdbbd834bc800eb6d671fb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
c45f5bab71..59c0c54934 master -> origin/master
a6069b9eeb [new release] dune (15 packages) (3.16.0)
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
The following actions will be performed:
- recompile ocaml-config 1 [upstream or system changes]
- recompile ocaml 4.02.3 [uses ocaml-config]
- recompile opam-depext 1.2.1-1 [uses ocaml]
- recompile base-ocamlbuild base [uses ocaml]
===== 4 to recompile =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.1 (cached)
-> removed base-ocamlbuild.base
-> retrieved opam-depext.1.2.1-1 (cached)
-> removed opam-depext.1.2.1-1
-> removed ocaml.4.02.3
[NOTE] While removing ocaml-config.1: not removing non-empty directories:
- share
-> removed ocaml-config.1
-> installed ocaml-config.1
-> installed ocaml.4.02.3
-> installed base-ocamlbuild.base
-> installed opam-depext.1.2.1-1
Done.
<><> opam-depext.1.2.1-1 installed successfully <><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment
2024-06-19 16:10.24 ---> using "6f9fca8d599c65a6c900bd160f29a53117f3a9a2cdf7e0ab9592ff9267de0815" from cache
/src: (copy (src luv_unix.opam luv.opam) (dst ./))
2024-06-19 16:10.24 ---> using "208003015f50d6246bb33e284171c68589b7d4498822dbbc703b88cca8e459ad" from cache
/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-06-19 16:10.24 ---> using "f8bc763bf77bb63fdb422883ee902a3bfefa49b2677be12b747fff47c19a7c35" from cache
/src: (env DEPS "alcotest.0.8.5 astring.0.8.3 base-bigarray.base base-bytes.base base-ocamlbuild.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.1.0.2 ctypes.0.18.0 dune.3.16.0 fmt.0.8.5 integers.0.4.0 ocaml.4.02.3 ocaml-base-compiler.4.02.3 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlbuild.0 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 result.1.4 topkg.1.0.0 uchar.0.0.2 uuidm.0.9.6")
/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]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [160 kB]
- Fetched 263 kB in 0s (813 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.02.3).
[NOTE] Package ocaml is already installed (current version is 4.02.3).
[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-ocamlbuild is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2024-06-19 16:10.25 ---> saved as "ccfd9b10c7f4463ebb9c4160cc5c033cbc8c52dd486e67daeee2199eccfed0c1"
/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.02.3).
[NOTE] Package ocaml is already installed (current version is 4.02.3).
[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-ocamlbuild 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
- install ocamlfind 1.9.6
- install uchar 0.0.2
- install ocamlfind-secondary 1.9.6
- install base-bytes base
- install dune 3.16.0
- install result 1.4
- install integers 0.4.0
- install bigarray-compat 1.1.0
- install topkg 1.0.0
- install ctypes 0.18.0
- install cmdliner 1.0.2
- install astring 0.8.3
- install uuidm 0.9.6
- install fmt 0.8.5
- install alcotest 0.8.5
===== 16 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0 (cached)
-> retrieved astring.0.8.3 (cached)
-> retrieved cmdliner.1.0.2 (cached)
-> retrieved ctypes.0.18.0 (cached)
-> retrieved fmt.0.8.5 (cached)
-> retrieved alcotest.0.8.5 (cached)
-> installed ocamlbuild.0
-> retrieved dune.3.16.0 (cached)
-> retrieved integers.0.4.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ocamlfind-secondary.1.9.6 (cached)
-> retrieved result.1.4 (cached)
-> retrieved topkg.1.0.0 (cached)
-> retrieved uchar.0.0.2 (cached)
-> retrieved uuidm.0.9.6 (cached)
-> installed uchar.0.0.2
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.16.0
-> installed result.1.4
-> installed bigarray-compat.1.1.0
-> installed integers.0.4.0
-> installed topkg.1.0.0
-> installed astring.0.8.3
-> installed cmdliner.1.0.2
-> installed uuidm.0.9.6
-> installed fmt.0.8.5
-> installed alcotest.0.8.5
-> installed ctypes.0.18.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-19 16:11.20 ---> saved as "a746292babb8450edf8129c6114eca861eae4aa1b45c6a280bdf12d4fb8d2e1f"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install --yes dune 'odoc>=1.5.0'"))
[NOTE] Package dune is already installed (current version is 3.16.0).
The following actions will be performed:
- install cppo 1.6.9 [required by odoc]
- install fpath 0.7.2 [required by odoc]
- install crunch 1.4.1 [required by odoc]
- install seq 0.3.1 [required by tyxml]
- install uutf 1.0.2 [required by tyxml]
- install camlp-streams 5.0.1 [required by odoc-parser]
- install re 1.10.3 [required by tyxml]
- install odoc-parser 2.4.1 [required by odoc]
- install tyxml 4.5.0 [required by odoc]
- install odoc 2.4.1
===== 10 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved cppo.1.6.9 (cached)
-> retrieved crunch.1.4.1 (cached)
-> retrieved fpath.0.7.2 (cached)
-> retrieved re.1.10.3 (cached)
-> retrieved seq.0.3.1 (cached)
-> installed camlp-streams.5.0.1
-> retrieved tyxml.4.5.0 (cached)
-> retrieved uutf.1.0.2 (cached)
-> installed seq.0.3.1
-> retrieved odoc.2.4.1 (cached)
-> retrieved odoc-parser.2.4.1 (cached)
-> installed fpath.0.7.2
-> installed uutf.1.0.2
-> installed cppo.1.6.9
-> installed re.1.10.3
-> installed odoc-parser.2.4.1
-> installed crunch.1.4.1
-> installed tyxml.4.5.0
-> installed odoc.2.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-19 16:11.49 ---> saved as "46309a4f94df9db17e94d5d02524feba9b380efe5cc4b50b3aebd2b3301bfdd6"
/src: (copy (src .) (dst /src/))
2024-06-19 16:11.50 ---> saved as "5073380c28e49855d850219763d8224ecbccb1eebed9f3c06f60b8bf501da72a"
/src: (run (shell "ODOC_WARN_ERROR=false opam exec -- dune build @doc || (echo \"dune build @doc failed\"; exit 2)"))
(cd _build/default/src/c && /usr/bin/gcc -O -fcommon -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O -fPIC -O -fcommon -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O -fPIC -g -I /home/opam/.opam/4.02/lib/ocaml -I /home/opam/.opam/4.02/lib/bigarray-compat -I /home/opam/.opam/4.02/lib/bytes -I /home/opam/.opam/4.02/lib/ctypes -I /home/opam/.opam/4.02/lib/integers -I /home/opam/.opam/4.02/lib/ocaml/threads -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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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.02/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 -O -fcommon -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O -fPIC'\'' CFLAGS=-DNDEBUG --silent --enable-silent-rules')
configure: line 7274: /usr/bin/file: No such file or directory
(cd _build/default/_doc/_html && /home/opam/.opam/4.02/bin/odoc link -I ../_odoc/pkg/luv -I ../../src/.luv.objs/byte -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 -o ../_odocls/luv/luv.odocl ../../src/.luv.objs/byte/luv.odoc)
File "src/DLL.mli", line 36, characters 55-76:
Warning: Failed to resolve reference unresolvedroot(Luv).DLL.last_error Couldn't find "last_error"
File "src/DLL.mli", line 20, characters 55-76:
Warning: Failed to resolve reference unresolvedroot(Luv).DLL.last_error Couldn't find "last_error"
File "src/file.mli", line 42, characters 25-63:
Warning: Failed to resolve reference unresolvedroot(Luv).Thread.Pool Couldn't find "Pool"
File "src/pipe.mli", line 110, characters 33-59:
Warning: Failed to resolve reference unresolvedroot(Luv).Pipe.recieve_handle Couldn't find "recieve_handle"
File "src/TCP.mli", line 32, characters 30-51:
Warning: Failed to resolve reference unresolvedroot(Luv).Stream.connect Couldn't find "connect"
File "src/stream.mli", line 145, characters 4-33:
Warning: Failed to resolve reference unresolvedroot(Luv).Requre Couldn't find "Requre"
2024-06-19 16:12.02 ---> saved as "d6b5bd8c6a5919741ecb409ad5a6c31f1b6df3e1e90a262ef3d0a55c7d0f4f7d"
Job succeeded
2024-06-19 16:12.02: Job succeeded