2026-03-26 14:43.13: New job: test ygrek/extunix https://github.com/ygrek/extunix.git#refs/pull/64/head (4d9391d40fd4e9e48b92fd748a6fdad325b7aed0) (linux-x86_64:debian-13-4.14+flambda_opam-2.5) Base: ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:850943c645431e59dd4eb923682deed0ccf9ed0c7a0e8185ae2f5a75e20d5024 Opam project build To reproduce locally: git clone --recursive "https://github.com/ygrek/extunix.git" && cd "extunix" && git fetch origin "refs/pull/64/head" && git reset --hard 4d9391d4 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:850943c645431e59dd4eb923682deed0ccf9ed0c7a0e8185ae2f5a75e20d5024 # debian-13-4.14+flambda_opam-2.5 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.5 /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 46f289cd3749314bbebddeede62fc05f9858f680 || git fetch origin master) && git reset -q --hard 46f289cd3749314bbebddeede62fc05f9858f680 && 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.22.0 dune-configurator.3.22.0 ocaml.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-variants.4.14.2+options ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.38.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.5 --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 2026-03-26 14:43.13: Using cache hint "ygrek/extunix-ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:850943c645431e59dd4eb923682deed0ccf9ed0c7a0e8185ae2f5a75e20d5024-debian-13-4.14+flambda_opam-2.5-1fc93486cdcad8bda525b76ca3c6c968" 2026-03-26 14:43.13: Using OBuilder spec: ((from ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:850943c645431e59dd4eb923682deed0ccf9ed0c7a0e8185ae2f5a75e20d5024) (comment debian-13-4.14+flambda_opam-2.5) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam")) (run (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 46f289cd3749314bbebddeede62fc05f9858f680 || git fetch origin master) && git reset -q --hard 46f289cd3749314bbebddeede62fc05f9858f680 && 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 (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.22.0 dune-configurator.3.22.0 ocaml.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-variants.4.14.2+options ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.38.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.5 --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")) ) 2026-03-26 14:43.13: Waiting for resource in pool OCluster 2026-03-26 15:57.41: Waiting for worker… 2026-03-26 16:17.26: Got resource from pool OCluster Building on laodoke.caelum.ci.dev All commits already cached HEAD is now at 4d9391d add support for landlock on linux (from ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:850943c645431e59dd4eb923682deed0ccf9ed0c7a0e8185ae2f5a75e20d5024) Unable to find image 'ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:850943c645431e59dd4eb923682deed0ccf9ed0c7a0e8185ae2f5a75e20d5024' locally docker.io/ocaml/opam@sha256:850943c645431e59dd4eb923682deed0ccf9ed0c7a0e8185ae2f5a75e20d5024: Pulling from ocaml/opam 866771c43bf5: Already exists 1e49bea09367: Already exists e793768537e6: Already exists ed323d3d481a: Already exists 7df34a5cd5f1: Already exists fd712d3eb935: Already exists 4b9fb8c99118: Already exists 9d9a01948b94: Already exists 0f1514f90b32: Already exists e1ec5a753447: Already exists 03cc323e2f71: Already exists c09c08ea9749: Already exists b36b619f8e6b: Already exists 195344ca5274: Already exists 228ee78582a6: Already exists 504bde1c25b3: Already exists 9d8b1356c89f: Already exists 9d8b1356c89f: Already exists 568fb6dda155: Already exists c499c9198aea: Already exists 048e5e358118: Already exists 871ca48eb45d: Already exists 4f4fb700ef54: Already exists a5a2568b9df9: Already exists 068cf3106ac8: Already exists 559f54ec9b29: Already exists 798ffd96fde5: Already exists e9a891bf80d7: Already exists d720cfe12674: Already exists c81c932f4a91: Already exists 79f24fa3bb11: Already exists 8c1debcd8c20: Already exists 1bb2cfea7250: Already exists 2b3d3ca75e4c: Already exists 557cacaf263c: Already exists d10483022eef: Already exists 7b62a90d8223: Already exists 28ce8ea66e72: Already exists d975909ea717: Already exists 5c215c69c247: Already exists e7c082452a54: Already exists b5cbd6e052e8: Pulling fs layer 94343aa43560: Pulling fs layer 8dcacb302b07: Pulling fs layer e3994108f50c: Pulling fs layer b5cbd6e052e8: Waiting 94343aa43560: Waiting e3994108f50c: Waiting 8dcacb302b07: Waiting 94343aa43560: Verifying Checksum 94343aa43560: Download complete e3994108f50c: Download complete b5cbd6e052e8: Verifying Checksum b5cbd6e052e8: Download complete b5cbd6e052e8: Pull complete 94343aa43560: Pull complete 8dcacb302b07: Pull complete e3994108f50c: Pull complete Digest: sha256:850943c645431e59dd4eb923682deed0ccf9ed0c7a0e8185ae2f5a75e20d5024 Status: Downloaded newer image for ocaml/opam@sha256:850943c645431e59dd4eb923682deed0ccf9ed0c7a0e8185ae2f5a75e20d5024 2026-03-26 16:17.27 ---> using "41bb500b3da064b5e6b574ace6ef3b37c3265c5cd17110ed5b389cfc4a3ddcf6" from cache /: (comment debian-13-4.14+flambda_opam-2.5) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam")) 2026-03-26 16:17.27 ---> using "4e7506ccd24fbb0a775d0bd5334e8aaeda992917123ce3cdeeb76ad82b5b270e" 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.2, 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] Initialised 2026-03-26 16:17.27 ---> using "d86544469f80f0de95313c7ed4a4e69f1d3f5c53f6d097a2164d1a2f6772f0eb" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 6.8.0-90-generic The OCaml toplevel, version 4.14.2 2.5.0 2026-03-26 16:17.27 ---> using "5b84e48c94b1f5072f3fcfa4069d4701e77121e50f2a5f18079e2a28b9d5af43" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2026-03-26 16:17.27 ---> using "5eb7c30af6bfe33176fe69462b27df6b126910791a11f405965e62fa25c8f287" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 46f289cd3749314bbebddeede62fc05f9858f680 || git fetch origin master) && git reset -q --hard 46f289cd3749314bbebddeede62fc05f9858f680 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD ffb54b9bdd..46f289cd37 master -> origin/master 46f289cd37 Merge pull request #29563 from NathanReb/release-ppxlib-0.38.0 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from git+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 at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages. Nothing to do. # To update the current shell environment, run: eval $(opam env) 2026-03-26 16:17.27 ---> using "5668dfe9b5a9e36c66086d1a656a306bd29ec6c6a7607dbba29894e9bd92a98b" from cache /src: (copy (src extunix.opam) (dst ./)) 2026-03-26 16:17.28 ---> saved as "c5f6f1ca71217d364e1aebeb8f87b8530704e2511a89a4cfe8b0303d9ea5a7b1" /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) 2026-03-26 16:17.30 ---> saved as "3034279cde29b3342679b09bc9c277b649611ab3fa2455f288e9a85e7eeb4471" /src: (run (shell "echo '(lang dune 3.0)' > './dune-project'")) 2026-03-26 16:17.30 ---> saved as "c17eed31b0e6ba8c9a5b1e5fb8ca26e6ed40d0a94d0a3a16e23b8ccc86919511" /src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base csexp.1.5.2 dune.3.22.0 dune-configurator.3.22.0 ocaml.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-variants.4.14.2+options ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.38.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.5 --depext-only -y extunix.dev $DEPS")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian trixie InRelease [140 kB] - Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB] - Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB] - Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9671 kB] - Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [114 kB] - Fetched 10.0 MB in 8s (1249 kB/s) - Reading package lists... - <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [extunix.dev] synchronised (file:///src) [NOTE] Package ocaml-variants is already installed (current version is 4.14.2+options). [NOTE] Package ocaml-config is already installed (current version is 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). # To update the current shell environment, run: eval $(opam env) 2026-03-26 16:17.51 ---> saved as "08ec11be1269353eba4a3ca5fa46038dfaaf10295f5a7b95b59b30a5219ceec1" /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) [NOTE] Package ocaml-variants is already installed (current version is 4.14.2+options). [NOTE] Package ocaml-config is already installed (current version is 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.22.0 - install dune-configurator 3.22.0 - 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.38.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.38.0 (cached) -> retrieved dune.3.22.0, dune-configurator.3.22.0 (cached) -> installed ocamlfind.1.9.8 -> installed base-bytes.base -> installed dune.3.22.0 -> installed ppx_derivers.1.2.1 -> installed stdlib-shims.0.3.0 -> installed csexp.1.5.2 -> installed ocaml-compiler-libs.v0.12.4 -> installed sexplib0.v0.17.0 -> installed ounit2.2.2.7 -> installed dune-configurator.3.22.0 -> installed ppxlib.0.38.0 Done. # To update the current shell environment, run: eval $(opam env) 2026-03-26 16:20.57 ---> saved as "ba1c6dd378a71b9b5b2f80ba7afe6ddaad90cc8a6d778d0cbdd83f861bf9d78d" /src: (copy (src .) (dst /src)) 2026-03-26 16:20.57 ---> saved as "2421d5abad6b58c5741f1ed238ac0972865b11268cbc028011272046ec347aad" /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 checking WAIT4...............ok checking NO_NEW_PRIVS........ok checking LANDLOCK............ok (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -Wall -Wextra -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:34, 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 *); | ^~~~~ (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -Wall -Wextra -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:34, 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 -Wall -fdiagnostics-color=always -Wall -Wextra -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:34, 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 -Wall -fdiagnostics-color=always -Wall -Wextra -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:34, 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 -Wall -fdiagnostics-color=always -Wall -Wextra -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:34, 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 -Wall -fdiagnostics-color=always -Wall -Wextra -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:34, 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 -Wall -fdiagnostics-color=always -Wall -Wextra -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bytes -o wait4.o -c wait4.c) wait4.c: In function 'caml_extunix_wait4': wait4.c:51:49: warning: passing argument 2 of 'caml_convert_flag_list' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 51 | options = caml_convert_flag_list(vwait_flags, wait_flag_table); | ^~~~~~~~~~~~~~~ In file included from config.h:34, from wait4.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 -Wall -fdiagnostics-color=always -Wall -Wextra -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:34, 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 && ./testba.exe) ...... Ran: 6 tests in: 0.03 seconds. OK (cd _build/default/test && ./test.exe) ............................................................... Ran: 43 tests in: 0.06 seconds. OK . Ran: 43 tests in: 0.07 seconds. OK 2026-03-26 16:21.20 ---> saved as "4dd5df5bcdd474778f425513dd910e06bc647c4b3bc829bbaa416df7f5422df0" Job succeeded 2026-03-26 16:21.20: Job succeeded