2025-02-17 23:23.08: New job: test ygrek/extunix https://github.com/ygrek/extunix.git#refs/heads/master (3e34b741ef323f9715662346ffa126740915412b) (linux-x86_64:debian-12-4.14_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ygrek/extunix.git" -b "master" && cd "extunix" && git reset --hard 3e34b741
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098
# debian-12-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 extunix.opam ./
RUN opam pin add -yn extunix.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y extunix.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-02-17 23:23.08: Using cache hint "ygrek/extunix-ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098-debian-12-4.14_opam-2.3-fe13dadb1410520e54ea4de03ae07277"
2025-02-17 23:23.08: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098)
(comment debian-12-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src extunix.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn extunix.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y extunix.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-02-17 23:23.08: Waiting for resource in pool OCluster
2025-02-18 00:33.34: Waiting for worker…
2025-02-18 00:37.54: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
All commits already cached
HEAD is now at 3e34b74 renameat2: check RENAME_WHITEOUT constructor
(from ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098)
2025-02-18 00:37.54 ---> using "fd8c1dcac8c3a6cd3ee8edd679de5f3384de62d6f587d449e00238111470ab75" from cache
/: (comment debian-12-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-02-18 00:37.54 ---> using "de47a80829174b96ecc55e5aa5c48b21162bcdcc9d09651e27d103ea9cfd06c8" from cache
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-02-18 00:37.54 ---> using "666b9634e6fcf4c22cc0fae2fecb2f79b9404975453b221efa9a2ed7f04a10d6" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-02-18 00:37.54 ---> using "3c364749e3d90cc79494b6fe167f04d46c3f9c16044620efc072b1c4dc563758" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-02-18 00:37.54 ---> using "06370703ea7514d3b2a452b602d6b963cc28a7a73faf50c2c02db393c46869a1" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
3ee951993d Merge pull request #27253 from kit-ty-kate/opam-publish-ocamlfind.1.9.8
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[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.
# To update the current shell environment, run: eval $(opam env)
2025-02-18 00:39.02 ---> saved as "901d66096b550d017e34d83c8c16bb5804a9b24e9b8a61109c0d1097acd2543b"
/src: (copy (src extunix.opam) (dst ./))
2025-02-18 00:39.02 ---> saved as "a31b6df385386fb81a7ed03a8b513e93c0184800c7fedc57da5ddfbf08efab50"
/src: (run (network host)
(shell "opam pin add -yn extunix.dev './'"))
[extunix.dev] synchronised (file:///src)
extunix is now pinned to file:///src (version dev)
2025-02-18 00:39.05 ---> saved as "643124a094f034d886558188044c4a758c18cee8b18372f5ea8a33c83ad79d13"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-18 00:39.05 ---> saved as "fb43949834fba31da607555b1dea6b618f08675a8e06abb935cfee78b1cace58"
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.35.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y extunix.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 [246 kB]
- Fetched 349 kB in 0s (1389 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[extunix.dev] synchronised (file:///src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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).
2025-02-18 00:39.28 ---> saved as "eaab51bf39e916dfde42043c0d73b1ab1a01fc7862ce9bf95e95e6d4aa1ab622"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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 12 packages
- install base-bytes base
- install csexp 1.5.2
- install dune 3.17.2
- install dune-configurator 3.17.2
- install ocaml-compiler-libs v0.12.4
- install ocamlfind 1.9.8
- install ounit2 2.2.7
- install ppx_derivers 1.2.1
- install ppxlib 0.35.0
- install seq base
- install sexplib0 v0.17.0
- install stdlib-shims 0.3.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ounit2.2.2.7 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.17.2
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed ounit2.2.2.7
-> installed dune-configurator.3.17.2
-> installed ppxlib.0.35.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-18 00:40.51 ---> saved as "88e2f30ae0663db05b195543c8020a6140bb9d2b31959d458a18e822adb8acc1"
/src: (copy (src .) (dst /src))
2025-02-18 00:40.51 ---> saved as "71f2c137102318559a1d6561eaca8944b1a132845783b6105baa4a758efc93f2"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/src && ../discover/discover.exe)
checking EVENTFD.............ok
checking ATFILE..............ok
checking RENAMEAT2...........ok
checking RENAME_WHITEOUT.....ok
checking DIRFD...............ok
checking STATVFS.............ok
checking FSTATVFS............ok
checking SIOCGIFCONF.........ok
checking IFADDRS.............ok
checking INET_NTOA...........ok
checking INET_NTOP...........ok
checking UNAME...............ok
checking FADVISE.............ok
checking FALLOCATE...........ok
checking TTY_IOCTL...........ok
checking TTYNAME.............ok
checking CTERMID.............ok
checking GETTID..............ok
checking PGID................ok
checking SETREUID............ok
checking FSYNC...............ok
checking FDATASYNC...........ok
checking SYNC................ok
checking SYNCFS..............ok
checking REALPATH............ok
checking SIGNALFD............ok
checking PTRACE..............ok
checking RESOURCE............ok
checking MLOCKALL............ok
checking STRPTIME............ok
checking STRTIME.............ok
checking TIMEZONE............ok
checking TIMEGM..............ok
checking PTS.................ok
checking FCNTL...............ok
checking TCPGRP..............ok
checking EXECINFO............ok
checking SETENV..............ok
checking CLEARENV............ok
checking MKDTEMP.............ok
checking MALLOC_INFO.........ok
checking MALLOC_STATS........ok
checking MEMALIGN............ok
checking ENDIAN..............ok
checking READ_CREDENTIALS....ok
checking FEXECVE.............ok
checking SENDMSG.............ok
checking PREAD...............ok
checking PWRITE..............ok
checking READ................ok
checking WRITE...............ok
checking MKSTEMPS............ok
checking MKOSTEMPS...........ok
checking SETRESUID...........ok
checking SYSCONF.............ok
checking SPLICE..............ok
checking TEE.................ok
checking VMSPLICE............ok
checking SOCKOPT.............ok
checking TCP_KEEPIDLE........ok
checking TCP_KEEPCNT.........ok
checking TCP_KEEPINTVL.......ok
checking SO_REUSEPORT........ok
checking POLL................ok
checking SYSINFO.............ok
checking MCHECK..............ok
checking MOUNT...............ok
checking UNSHARE.............ok
checking CHROOT..............ok
checking SYSLOG..............ok
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bytes -o mman.o -c mman.c)
mman.c: In function 'caml_extunix_mlockall':
mman.c:11:47: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
11 | int flags = caml_convert_flag_list(v_flags, mlockall_flags_table);
| ^~~~~~~~~~~~~~~~~~~~
In file included from config.h:30,
from mman.c:2:
/home/opam/.opam/4.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
| ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bytes -o rename.o -c rename.c)
rename.c: In function 'caml_extunix_renameat2':
rename.c:36:47: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
36 | int flags = caml_convert_flag_list(v_flags, rename_flags_table);
| ^~~~~~~~~~~~~~~~~~
In file included from config.h:30,
from rename.c:2:
/home/opam/.opam/4.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
| ^~~~~
rename.c:40:18: warning: passing argument 1 of 'caml_stat_free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
40 | caml_stat_free(oldname);
| ^~~~~~~
In file included from config.h:26:
/home/opam/.opam/4.14/lib/ocaml/caml/memory.h:136:32: note: expected 'caml_stat_block' {aka 'void *'} but argument is of type 'const char *'
136 | CAMLextern void caml_stat_free(caml_stat_block);
| ^~~~~~~~~~~~~~~
rename.c:41:18: warning: passing argument 1 of 'caml_stat_free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
41 | caml_stat_free(newname);
| ^~~~~~~
/home/opam/.opam/4.14/lib/ocaml/caml/memory.h:136:32: note: expected 'caml_stat_block' {aka 'void *'} but argument is of type 'const char *'
136 | CAMLextern void caml_stat_free(caml_stat_block);
| ^~~~~~~~~~~~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bytes -o mount.o -c mount.c)
mount.c: In function 'caml_extunix_mount':
mount.c:25:59: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
25 | int p_mountflags = caml_convert_flag_list(v_mountflags, mountflags_table);
| ^~~~~~~~~~~~~~~~
In file included from config.h:30,
from mount.c:2:
/home/opam/.opam/4.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
| ^~~~~
mount.c: In function 'caml_extunix_umount2':
mount.c:50:61: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
50 | int p_umountflags = caml_convert_flag_list(v_umountflags, umountflags_table);
| ^~~~~~~~~~~~~~~~~
/home/opam/.opam/4.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
| ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bytes -o unshare.o -c unshare.c)
unshare.c: In function 'caml_extunix_unshare':
unshare.c:17:59: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
17 | int p_cloneflags = caml_convert_flag_list(v_cloneflags, umountflags_table);
| ^~~~~~~~~~~~~~~~~
In file included from config.h:30,
from unshare.c:3:
/home/opam/.opam/4.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
| ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bytes -o atfile.o -c atfile.c)
atfile.c: In function 'stat_aux':
atfile.c:55:52: warning: passing argument 2 of 'cst_to_constr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
55 | caml_unix_cst_to_constr(buf->st_mode & S_IFMT, file_kind_table,
| ^~~~~~~~~~~~~~~
atfile.c:14:41: note: expected 'int *' but argument is of type 'const int *'
14 | extern value cst_to_constr(int n, int * tbl, int size, int deflt);
| ~~~~~~^~~
atfile.c: In function 'caml_extunix_fstatat':
atfile.c:76:47: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
76 | int flags = caml_convert_flag_list(v_flags, at_flags_table);
| ^~~~~~~~~~~~~~
In file included from config.h:30,
from atfile.c:2:
/home/opam/.opam/4.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
| ^~~~~
atfile.c: In function 'caml_extunix_unlinkat':
atfile.c:95:47: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
95 | int flags = caml_convert_flag_list(v_flags, at_flags_table);
| ^~~~~~~~~~~~~~
/home/opam/.opam/4.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
| ^~~~~
atfile.c: In function 'caml_extunix_linkat':
atfile.c:141:47: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
141 | int flags = caml_convert_flag_list(v_flags, at_flags_table);
| ^~~~~~~~~~~~~~
/home/opam/.opam/4.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
| ^~~~~
atfile.c: In function 'caml_extunix_fchownat':
atfile.c:158:47: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
158 | int flags = caml_convert_flag_list(v_flags, at_flags_table);
| ^~~~~~~~~~~~~~
/home/opam/.opam/4.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
| ^~~~~
atfile.c: In function 'caml_extunix_fchmodat':
atfile.c:174:47: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
174 | int flags = caml_convert_flag_list(v_flags, at_flags_table);
| ^~~~~~~~~~~~~~
/home/opam/.opam/4.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
| ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bytes -o splice.o -c splice.c)
splice.c: In function 'caml_extunix_splice':
splice.c:24:56: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
24 | unsigned int flags = caml_convert_flag_list(v_flags, splice_flags_table);
| ^~~~~~~~~~~~~~~~~~
In file included from config.h:30,
from splice.c:5:
/home/opam/.opam/4.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
| ^~~~~
splice.c: In function 'caml_extunix_tee':
splice.c:62:56: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
62 | unsigned int flags = caml_convert_flag_list(v_flags, splice_flags_table);
| ^~~~~~~~~~~~~~~~~~
/home/opam/.opam/4.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
| ^~~~~
splice.c: In function 'caml_extunixba_vmsplice':
splice.c:87:56: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
87 | unsigned int flags = caml_convert_flag_list(v_flags, splice_flags_table);
| ^~~~~~~~~~~~~~~~~~
/home/opam/.opam/4.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
| ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -fdiagnostics-color=always -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bytes -o syslog.o -c syslog.c)
syslog.c: In function 'caml_extunix_setlogmask':
syslog.c:19:42: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
19 | mask = caml_convert_flag_list(v_level, mask_table);
| ^~~~~~~~~~
In file included from config.h:30,
from syslog.c:2:
/home/opam/.opam/4.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
| ^~~~~
syslog.c: In function 'caml_extunix_openlog':
syslog.c:67:45: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
67 | option = caml_convert_flag_list(v_option, option_table);
| ^~~~~~~~~~~~
/home/opam/.opam/4.14/lib/ocaml/caml/alloc.h:60:47: note: expected 'int *' but argument is of type 'const int *'
60 | CAMLextern int caml_convert_flag_list (value, int *);
| ^~~~~
(cd _build/default/test && ./test.exe)
...................................................
Ran: 41 tests in: 0.03 seconds.
OK
.
(cd _build/default/test && ./testba.exe)
......
Ran: 6 tests in: 0.02 seconds.
OK
2025-02-18 00:41.00 ---> saved as "320659ae85a131db4d033d53b58825b0b0aec06bbfc38557cbdeb534a62a2c9e"
Job succeeded
2025-02-18 00:41.00: Job succeeded