Organisationsygrekextunix3e34b7 (master)debian-12-4.06_opam-2.3

debian-12-4.06_opam-2.3

Link Copied
Code Copied

Logs

2025-02-17 23:21.52: New job: test ygrek/extunix https://github.com/ygrek/extunix.git#refs/heads/master (3e34b741ef323f9715662346ffa126740915412b) (linux-x86_64:debian-12-4.06_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.06@sha256:e071728c39c8bd243394170e66479abb43b8f077c02b25855f586f034478ed8c
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.06@sha256:e071728c39c8bd243394170e66479abb43b8f077c02b25855f586f034478ed8c
# debian-12-4.06_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 e25af452e64b0bd6672dce5f38d878780362341d || git fetch origin master) && git reset -q --hard e25af452e64b0bd6672dce5f38d878780362341d && 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.06.1 ocaml-base-compiler.4.06.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.34.0 seq.0.3.1 sexplib0.v0.15.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:21.52: Using cache hint "ygrek/extunix-ocaml/opam:debian-12-ocaml-4.06@sha256:e071728c39c8bd243394170e66479abb43b8f077c02b25855f586f034478ed8c-debian-12-4.06_opam-2.3-79217d267dc1c28463341c3433e0980b"
2025-02-17 23:21.52: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.06@sha256:e071728c39c8bd243394170e66479abb43b8f077c02b25855f586f034478ed8c)
(comment debian-12-4.06_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 e25af452e64b0bd6672dce5f38d878780362341d || git fetch origin master) && git reset -q --hard e25af452e64b0bd6672dce5f38d878780362341d && 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.06.1 ocaml-base-compiler.4.06.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.34.0 seq.0.3.1 sexplib0.v0.15.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:21.52: Waiting for resource in pool OCluster
2025-02-17 23:21.59: Waiting for worker…
2025-02-17 23:23.38: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
All commits already cached
HEAD is now at 3e34b74 renameat2: check RENAME_WHITEOUT constructor


(from ocaml/opam:debian-12-ocaml-4.06@sha256:e071728c39c8bd243394170e66479abb43b8f077c02b25855f586f034478ed8c)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.06@sha256:e071728c39c8bd243394170e66479abb43b8f077c02b25855f586f034478ed8c' locally
docker.io/ocaml/opam@sha256:e071728c39c8bd243394170e66479abb43b8f077c02b25855f586f034478ed8c: Pulling from ocaml/opam
154e7b9dff8e: Pulling fs layer
154e7b9dff8e: Verifying Checksum
154e7b9dff8e: Download complete
154e7b9dff8e: Pull complete
Digest: sha256:e071728c39c8bd243394170e66479abb43b8f077c02b25855f586f034478ed8c
Status: Downloaded newer image for ocaml/opam@sha256:e071728c39c8bd243394170e66479abb43b8f077c02b25855f586f034478ed8c
2025-02-17 23:25.15 ---> saved as "e16235432a393cb8b3650124dbb472a11c33d0e095b9aafcf44c92e09e0d8e1b"


/: (comment debian-12-4.06_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-17 23:25.15 ---> saved as "1448dc705669c0d65b89c0e68d91015738dec3b2548b9a95ef4e5c262e3d9764"


/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-17 23:26.19 ---> saved as "6f67fc16f62c255f8d4f69d2879dfa9e1194f202e767e649a3e97e2291bb8531"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 4.06.1
2.3.0
2025-02-17 23:26.19 ---> saved as "fdc8f2c9fd054634af8e03bcc0756d26e15d28d544bad7462b0b09b83e195c5b"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-02-17 23:26.19 ---> saved as "4f854121e815ca5184a2915872f54c4826e90296a1fec9b1787e5d6e44eb6b0d"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e e25af452e64b0bd6672dce5f38d878780362341d || git fetch origin master) && git reset -q --hard e25af452e64b0bd6672dce5f38d878780362341d && git log --no-decorate -n1 --oneline && opam update -u"))
e25af452e6 Merge pull request #27273 from hannesm/archive-phase2


<><> 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-17 23:27.13 ---> saved as "20eedb329fe428aff3c492a7217363dadbb318e585dcde97a593bba20e1b267a"


/src: (copy (src extunix.opam) (dst ./))
2025-02-17 23:27.13 ---> saved as "5d0d15d2ffe458964e92aaeb69718941dae90d4fa2af6d3040742e2fa9a3de6b"


/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-17 23:27.15 ---> saved as "b186d42f31c7a3b1789c9df9a53198aab57d5ccaceb2ff9949f30ada8ccf3ded"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-17 23:27.15 ---> saved as "927e590bd44b8ab56368e6c191185e0dcc991abbb01c105e2f5ed8b1abcea048"


/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.06.1 ocaml-base-compiler.4.06.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-secondary-compiler.4.14.2 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.34.0 seq.0.3.1 sexplib0.v0.15.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 (1220 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[extunix.dev] synchronised (file:///src)


[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.06.1).
[NOTE] Package ocaml is already installed (current version is 4.06.1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-02-17 23:27.31 ---> saved as "687892f874f54fd33ecfc9763227572a295fff76e0084354727d9445264f151f"


/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.14.2).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.06.1).
[NOTE] Package ocaml is already installed (current version is 4.06.1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 13 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.6
- install ocamlfind-secondary 1.9.6
- install ounit2              2.2.7
- install ppx_derivers        1.2.1
- install ppxlib              0.34.0
- install seq                 0.3.1
- install sexplib0            v0.15.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.6, ocamlfind-secondary.1.9.6  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved seq.0.3.1  (cached)
-> retrieved sexplib0.v0.15.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.34.0  (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2  (cached)
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlfind-secondary.1.9.6
-> installed dune.3.17.2
-> installed ppx_derivers.1.2.1
-> installed seq.0.3.1
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.15.0
-> installed stdlib-shims.0.3.0
-> installed ounit2.2.2.7
-> installed dune-configurator.3.17.2
-> installed ppxlib.0.34.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-17 23:28.38 ---> saved as "385169f85f666a0a0de75b36d3383aafbee258aa69d94386b967eb85835358c7"


/src: (copy (src .) (dst /src))
2025-02-17 23:28.38 ---> saved as "67640da7b8d698c7cbfa6ca80ec1087f6e5705b299f901f35c326e4c0d51a9d4"


/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.....failed
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 -fcommon -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fdiagnostics-color=always -g -I /home/opam/.opam/4.06/lib/ocaml -I /home/opam/.opam/4.06/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:26,
from mman.c:2:
/home/opam/.opam/4.06/lib/ocaml/caml/alloc.h:61:47: note: expected 'int *' but argument is of type 'const int *'
61 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fcommon -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fdiagnostics-color=always -g -I /home/opam/.opam/4.06/lib/ocaml -I /home/opam/.opam/4.06/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:26,
from rename.c:2:
/home/opam/.opam/4.06/lib/ocaml/caml/alloc.h:61:47: note: expected 'int *' but argument is of type 'const int *'
61 | 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:22:
/home/opam/.opam/4.06/lib/ocaml/caml/memory.h:133:32: note: expected 'caml_stat_block' {aka 'void *'} but argument is of type 'const char *'
133 | 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.06/lib/ocaml/caml/memory.h:133:32: note: expected 'caml_stat_block' {aka 'void *'} but argument is of type 'const char *'
133 | CAMLextern void caml_stat_free(caml_stat_block);
|                                ^~~~~~~~~~~~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fcommon -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fdiagnostics-color=always -g -I /home/opam/.opam/4.06/lib/ocaml -I /home/opam/.opam/4.06/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:26,
from mount.c:2:
/home/opam/.opam/4.06/lib/ocaml/caml/alloc.h:61:47: note: expected 'int *' but argument is of type 'const int *'
61 | 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.06/lib/ocaml/caml/alloc.h:61:47: note: expected 'int *' but argument is of type 'const int *'
61 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fcommon -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fdiagnostics-color=always -g -I /home/opam/.opam/4.06/lib/ocaml -I /home/opam/.opam/4.06/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:26,
from unshare.c:3:
/home/opam/.opam/4.06/lib/ocaml/caml/alloc.h:61:47: note: expected 'int *' but argument is of type 'const int *'
61 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fcommon -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fdiagnostics-color=always -g -I /home/opam/.opam/4.06/lib/ocaml -I /home/opam/.opam/4.06/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:26,
from splice.c:5:
/home/opam/.opam/4.06/lib/ocaml/caml/alloc.h:61:47: note: expected 'int *' but argument is of type 'const int *'
61 | 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.06/lib/ocaml/caml/alloc.h:61:47: note: expected 'int *' but argument is of type 'const int *'
61 | 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.06/lib/ocaml/caml/alloc.h:61:47: note: expected 'int *' but argument is of type 'const int *'
61 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fcommon -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fdiagnostics-color=always -g -I /home/opam/.opam/4.06/lib/ocaml -I /home/opam/.opam/4.06/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:26,
from atfile.c:2:
/home/opam/.opam/4.06/lib/ocaml/caml/alloc.h:61:47: note: expected 'int *' but argument is of type 'const int *'
61 | 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.06/lib/ocaml/caml/alloc.h:61:47: note: expected 'int *' but argument is of type 'const int *'
61 | 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.06/lib/ocaml/caml/alloc.h:61:47: note: expected 'int *' but argument is of type 'const int *'
61 | 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.06/lib/ocaml/caml/alloc.h:61:47: note: expected 'int *' but argument is of type 'const int *'
61 | 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.06/lib/ocaml/caml/alloc.h:61:47: note: expected 'int *' but argument is of type 'const int *'
61 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fcommon -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fdiagnostics-color=always -g -I /home/opam/.opam/4.06/lib/ocaml -I /home/opam/.opam/4.06/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:26,
from syslog.c:2:
/home/opam/.opam/4.06/lib/ocaml/caml/alloc.h:61:47: note: expected 'int *' but argument is of type 'const int *'
61 | 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.06/lib/ocaml/caml/alloc.h:61:47: note: expected 'int *' but argument is of type 'const int *'
61 | CAMLextern int caml_convert_flag_list (value, int *);
|                                               ^~~~~
(cd _build/default/test && ./testba.exe)
......
Ran: 6 tests in: 0.02 seconds.
OK
(cd _build/default/test && ./test.exe)
.......................................................
Ran: 41 tests in: 0.06 seconds.
OK


Ran: 41 tests in: 0.06 seconds.
OK
....
Ran: 41 tests in: 0.06 seconds.
OK


Ran: 41 tests in: 0.06 seconds.
OK
2025-02-17 23:28.46 ---> saved as "b2d027f9e8cac8620114af670fc6d435af18698116985a115c15a24e6ee9d9fb"
Job succeeded
2025-02-17 23:28.46: Job succeeded