2026-02-15 18:31.13: New job: test edwintorok/lintcstubs https://github.com/edwintorok/lintcstubs.git#refs/heads/ocaml5.4 (739592e12f039d59bcb6364768960684aa6e8caa) (linux-x86_64:ubuntu-22.04-4.14_opam-2.5) Base: ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:256ee90ca6270ef7e44931992e85d66b20c94b1f2e3fe70ad42e97ed1d5cca08 Opam project build To reproduce locally: git clone --recursive "https://github.com/edwintorok/lintcstubs.git" -b "ocaml5.4" && cd "lintcstubs" && git reset --hard 739592e1 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:256ee90ca6270ef7e44931992e85d66b20c94b1f2e3fe70ad42e97ed1d5cca08 # ubuntu-22.04-4.14_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 66fe1c299d8a0fe922268a88a05ccf4bee097900 || git fetch origin master) && git reset -q --hard 66fe1c299d8a0fe922268a88a05ccf4bee097900 && git log --no-decorate -n1 --oneline && opam update -u COPY --chown=1000:1000 lintcstubs.opam lintcstubs-gen.opam ./ RUN opam pin add -yn lintcstubs.dev './' && \ opam pin add -yn lintcstubs-gen.dev './' RUN echo '(lang dune 3.0)' > './dune-project' ENV DEPS="angstrom.0.16.1 arg-complete.0.2.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base batteries.3.10.0 bigstringaf.0.10.0 bos.0.2.1 camlp-streams.5.0.1 catapult.0.2 catapult-file.0.2 conf-autoconf.0.2 conf-gcc.1.0 conf-gmp.5 conf-graphviz.0.1 conf-perl.2 conf-pkg-config.4 cppo.1.8.0 cpu.2.0.0 csexp.1.5.2 cstruct.6.2.0 ctypes.0.24.0 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.21.1 dune-build-info.3.21.1 dune-compiledb.0.6.0 dune-configurator.3.21.1 dune-private-libs.3.21.1 dune-site.3.21.1 dyn.3.21.1 ezjsonm.1.3.0 fileutils.0.6.6 fmt.0.11.0 fpath.0.7.3 fs-io.3.21.1 goblint.2.7.1 goblint-cil.2.0.9 hex.1.5.0 integers.0.7.0 json-data-encoding.1.0.1 jsonm.1.0.2 jsonrpc.1.25.0 lintcstubs-arity.0.5.1 logs.0.10.0 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ordering.3.21.1 parsexp.v0.16.0 pp.2.0.0 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_deriving_hash.0.1.3 ppx_deriving_yojson.3.10.0 ppxlib.0.37.0 qcheck-core.0.91 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 stdlib-shims.0.3.0 stdune.3.21.1 stringext.1.6.0 thread-table.1.0.0 top-closure.3.21.1 topkg.1.1.1 uri.4.4.0 uuidm.0.9.10 uutf.1.0.4 yaml.3.2.0 yojson.2.2.2 zarith.1.14" ENV CI="true" ENV OCAMLCI="true" RUN opam update --depexts && opam install --cli=2.5 --depext-only -y lintcstubs.dev lintcstubs-gen.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-02-15 18:31.13: Using cache hint "edwintorok/lintcstubs-ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:256ee90ca6270ef7e44931992e85d66b20c94b1f2e3fe70ad42e97ed1d5cca08-ubuntu-22.04-4.14_opam-2.5-a1770acd135fd639ec3bd6a33188fc7c" 2026-02-15 18:31.13: Using OBuilder spec: ((from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:256ee90ca6270ef7e44931992e85d66b20c94b1f2e3fe70ad42e97ed1d5cca08) (comment ubuntu-22.04-4.14_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 66fe1c299d8a0fe922268a88a05ccf4bee097900 || git fetch origin master) && git reset -q --hard 66fe1c299d8a0fe922268a88a05ccf4bee097900 && git log --no-decorate -n1 --oneline && opam update -u")) (copy (src lintcstubs.opam lintcstubs-gen.opam) (dst ./)) (run (network host) (shell "opam pin add -yn lintcstubs.dev './' && \ \nopam pin add -yn lintcstubs-gen.dev './'")) (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) (env DEPS "angstrom.0.16.1 arg-complete.0.2.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base batteries.3.10.0 bigstringaf.0.10.0 bos.0.2.1 camlp-streams.5.0.1 catapult.0.2 catapult-file.0.2 conf-autoconf.0.2 conf-gcc.1.0 conf-gmp.5 conf-graphviz.0.1 conf-perl.2 conf-pkg-config.4 cppo.1.8.0 cpu.2.0.0 csexp.1.5.2 cstruct.6.2.0 ctypes.0.24.0 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.21.1 dune-build-info.3.21.1 dune-compiledb.0.6.0 dune-configurator.3.21.1 dune-private-libs.3.21.1 dune-site.3.21.1 dyn.3.21.1 ezjsonm.1.3.0 fileutils.0.6.6 fmt.0.11.0 fpath.0.7.3 fs-io.3.21.1 goblint.2.7.1 goblint-cil.2.0.9 hex.1.5.0 integers.0.7.0 json-data-encoding.1.0.1 jsonm.1.0.2 jsonrpc.1.25.0 lintcstubs-arity.0.5.1 logs.0.10.0 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ordering.3.21.1 parsexp.v0.16.0 pp.2.0.0 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_deriving_hash.0.1.3 ppx_deriving_yojson.3.10.0 ppxlib.0.37.0 qcheck-core.0.91 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 stdlib-shims.0.3.0 stdune.3.21.1 stringext.1.6.0 thread-table.1.0.0 top-closure.3.21.1 topkg.1.1.1 uri.4.4.0 uuidm.0.9.10 uutf.1.0.4 yaml.3.2.0 yojson.2.2.2 zarith.1.14") (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 lintcstubs.dev lintcstubs-gen.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-02-15 18:31.13: Waiting for resource in pool OCluster 2026-02-15 18:31.14: Waiting for worker… 2026-02-15 18:31.20: Got resource from pool OCluster Building on laodoke.caelum.ci.dev HEAD is now at 2477e7d dot required by test HEAD is now at 739592e Fix test not to depend on build path (from ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:256ee90ca6270ef7e44931992e85d66b20c94b1f2e3fe70ad42e97ed1d5cca08) Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-4.14@sha256:256ee90ca6270ef7e44931992e85d66b20c94b1f2e3fe70ad42e97ed1d5cca08' locally docker.io/ocaml/opam@sha256:256ee90ca6270ef7e44931992e85d66b20c94b1f2e3fe70ad42e97ed1d5cca08: Pulling from ocaml/opam fbe89d1f4c16: Pulling fs layer fbe89d1f4c16: Verifying Checksum fbe89d1f4c16: Download complete fbe89d1f4c16: Pull complete Digest: sha256:256ee90ca6270ef7e44931992e85d66b20c94b1f2e3fe70ad42e97ed1d5cca08 Status: Downloaded newer image for ocaml/opam@sha256:256ee90ca6270ef7e44931992e85d66b20c94b1f2e3fe70ad42e97ed1d5cca08 2026-02-15 18:31.22 ---> using "82c50a0cbf04f29b81010c51cd3ec548d69ed37c97c76d03cc86a5cf2c47a5d5" from cache /: (comment ubuntu-22.04-4.14_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-02-15 18:31.22 ---> using "d8d96c87b6227f5242abf545502bad6a75c73eae7d79b373871ad3a7d8c45228" 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-02-15 18:31.22 ---> using "d811c351465aee87f56e66bdf4ea1af2b8288714d1ea59d69c4f2cd442eda9e1" 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-02-15 18:31.22 ---> using "635afcb073603434110c0b39c7baaa419ac6a3035cc12f4d7f2f0d922391170a" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2026-02-15 18:31.22 ---> using "e5b890cff0e1c742768a821ee6181eea03a625ad0cfd3ba68cc397ded410473e" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "cd ~/opam-repository && (git cat-file -e 66fe1c299d8a0fe922268a88a05ccf4bee097900 || git fetch origin master) && git reset -q --hard 66fe1c299d8a0fe922268a88a05ccf4bee097900 && git log --no-decorate -n1 --oneline && opam update -u")) From https://github.com/ocaml/opam-repository * branch master -> FETCH_HEAD 92679ed614..66fe1c299d master -> origin/master 66fe1c299d Merge pull request #29371 from edwintorok/release-lintcstubs-arity-0.5.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.4.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-02-15 18:31.22 ---> using "ac2b656b6c271abf280f63a2569058b6fb564e80b92fe190c6c486c7f73a557d" from cache /src: (copy (src lintcstubs.opam lintcstubs-gen.opam) (dst ./)) 2026-02-15 18:31.22 ---> using "225a9b6af379697341464e5742d778fffd30e4fa8f03f421d6ccd66226003a9b" from cache /src: (run (network host) (shell "opam pin add -yn lintcstubs.dev './' && \ \nopam pin add -yn lintcstubs-gen.dev './'")) [lintcstubs.dev] synchronised (file:///src) lintcstubs is now pinned to file:///src (version dev) [lintcstubs-gen.dev] synchronised (file:///src) lintcstubs-gen is now pinned to file:///src (version dev) 2026-02-15 18:31.22 ---> using "13397fb63685b55f9b1d5f427daa1df87dfb043aecdb39611df7a5569b260fed" from cache /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2026-02-15 18:31.22 ---> using "ea408b50ddbd2412e6dc2ca917b86d8e8b9a56f232250e1fa0edeea588074e45" from cache /src: (env DEPS "angstrom.0.16.1 arg-complete.0.2.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base batteries.3.10.0 bigstringaf.0.10.0 bos.0.2.1 camlp-streams.5.0.1 catapult.0.2 catapult-file.0.2 conf-autoconf.0.2 conf-gcc.1.0 conf-gmp.5 conf-graphviz.0.1 conf-perl.2 conf-pkg-config.4 cppo.1.8.0 cpu.2.0.0 csexp.1.5.2 cstruct.6.2.0 ctypes.0.24.0 domain-local-await.1.0.1 domain_shims.0.1.0 dune.3.21.1 dune-build-info.3.21.1 dune-compiledb.0.6.0 dune-configurator.3.21.1 dune-private-libs.3.21.1 dune-site.3.21.1 dyn.3.21.1 ezjsonm.1.3.0 fileutils.0.6.6 fmt.0.11.0 fpath.0.7.3 fs-io.3.21.1 goblint.2.7.1 goblint-cil.2.0.9 hex.1.5.0 integers.0.7.0 json-data-encoding.1.0.1 jsonm.1.0.2 jsonrpc.1.25.0 lintcstubs-arity.0.5.1 logs.0.10.0 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ordering.3.21.1 parsexp.v0.16.0 pp.2.0.0 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_deriving_hash.0.1.3 ppx_deriving_yojson.3.10.0 ppxlib.0.37.0 qcheck-core.0.91 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 stdlib-shims.0.3.0 stdune.3.21.1 stringext.1.6.0 thread-table.1.0.0 top-closure.3.21.1 topkg.1.1.1 uri.4.4.0 uuidm.0.9.10 uutf.1.0.4 yaml.3.2.0 yojson.2.2.2 zarith.1.14") /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 lintcstubs.dev lintcstubs-gen.dev $DEPS")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB] - Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease - Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB] - Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB] - Get:5 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [62.6 kB] - Get:6 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1299 kB] - Get:7 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [6468 kB] - Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [70.9 kB] - Get:9 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3708 kB] - Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [4047 kB] - Get:11 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [6688 kB] - Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1611 kB] - Fetched 24.3 MB in 3s (8279 kB/s) - Reading package lists... - <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [lintcstubs.dev] synchronised (file:///src) [lintcstubs-gen.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). The following system packages will first need to be installed: autoconf graphviz libgmp-dev pkg-config <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "autoconf" "graphviz" "libgmp-dev" "pkg-config" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libfribidi0:amd64. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 15645 files and directories currently installed.) - Preparing to unpack .../00-libfribidi0_1.0.8-2ubuntu3.1_amd64.deb ... - Unpacking libfribidi0:amd64 (1.0.8-2ubuntu3.1) ... - Selecting previously unselected package libglib2.0-0:amd64. - Preparing to unpack .../01-libglib2.0-0_2.72.4-0ubuntu2.9_amd64.deb ... - Unpacking libglib2.0-0:amd64 (2.72.4-0ubuntu2.9) ... - Selecting previously unselected package libglib2.0-data. - Preparing to unpack .../02-libglib2.0-data_2.72.4-0ubuntu2.9_all.deb ... - Unpacking libglib2.0-data (2.72.4-0ubuntu2.9) ... - Selecting previously unselected package libicu70:amd64. - Preparing to unpack .../03-libicu70_70.1-2_amd64.deb ... - Unpacking libicu70:amd64 (70.1-2) ... - Selecting previously unselected package libxml2:amd64. - Preparing to unpack .../04-libxml2_2.9.13+dfsg-1ubuntu0.11_amd64.deb ... - Unpacking libxml2:amd64 (2.9.13+dfsg-1ubuntu0.11) ... - Selecting previously unselected package shared-mime-info. - Preparing to unpack .../05-shared-mime-info_2.1-2_amd64.deb ... - Unpacking shared-mime-info (2.1-2) ... - Selecting previously unselected package xdg-user-dirs. - Preparing to unpack .../06-xdg-user-dirs_0.17-2ubuntu4_amd64.deb ... - Unpacking xdg-user-dirs (0.17-2ubuntu4) ... - Selecting previously unselected package libsigsegv2:amd64. - Preparing to unpack .../07-libsigsegv2_2.13-1ubuntu3_amd64.deb ... - Unpacking libsigsegv2:amd64 (2.13-1ubuntu3) ... - Selecting previously unselected package m4. - Preparing to unpack .../08-m4_1.4.18-5ubuntu2_amd64.deb ... - Unpacking m4 (1.4.18-5ubuntu2) ... - Selecting previously unselected package autoconf. - Preparing to unpack .../09-autoconf_2.71-2_all.deb ... - Unpacking autoconf (2.71-2) ... - Selecting previously unselected package autotools-dev. - Preparing to unpack .../10-autotools-dev_20220109.1_all.deb ... - Unpacking autotools-dev (20220109.1) ... - Selecting previously unselected package automake. - Preparing to unpack .../11-automake_1%3a1.16.5-1.3_all.deb ... - Unpacking automake (1:1.16.5-1.3) ... - Selecting previously unselected package fontconfig. - Preparing to unpack .../12-fontconfig_2.13.1-4.2ubuntu5_amd64.deb ... - Unpacking fontconfig (2.13.1-4.2ubuntu5) ... - Selecting previously unselected package fonts-liberation. - Preparing to unpack .../13-fonts-liberation_1%3a1.07.4-11_all.deb ... - Unpacking fonts-liberation (1:1.07.4-11) ... - Selecting previously unselected package libann0. - Preparing to unpack .../14-libann0_1.1.2+doc-7build1_amd64.deb ... - Unpacking libann0 (1.1.2+doc-7build1) ... - Selecting previously unselected package libcdt5:amd64. - Preparing to unpack .../15-libcdt5_2.42.2-6ubuntu0.1_amd64.deb ... - Unpacking libcdt5:amd64 (2.42.2-6ubuntu0.1) ... - Selecting previously unselected package libcgraph6:amd64. - Preparing to unpack .../16-libcgraph6_2.42.2-6ubuntu0.1_amd64.deb ... - Unpacking libcgraph6:amd64 (2.42.2-6ubuntu0.1) ... - Selecting previously unselected package libgts-0.7-5:amd64. - Preparing to unpack .../17-libgts-0.7-5_0.7.6+darcs121130-5_amd64.deb ... - Unpacking libgts-0.7-5:amd64 (0.7.6+darcs121130-5) ... - Selecting previously unselected package libpixman-1-0:amd64. - Preparing to unpack .../18-libpixman-1-0_0.40.0-1ubuntu0.22.04.1_amd64.deb ... - Unpacking libpixman-1-0:amd64 (0.40.0-1ubuntu0.22.04.1) ... - Selecting previously unselected package libxcb-render0:amd64. - Preparing to unpack .../19-libxcb-render0_1.14-3ubuntu3_amd64.deb ... - Unpacking libxcb-render0:amd64 (1.14-3ubuntu3) ... - Selecting previously unselected package libxcb-shm0:amd64. - Preparing to unpack .../20-libxcb-shm0_1.14-3ubuntu3_amd64.deb ... - Unpacking libxcb-shm0:amd64 (1.14-3ubuntu3) ... - Selecting previously unselected package libxrender1:amd64. - Preparing to unpack .../21-libxrender1_1%3a0.9.10-1build4_amd64.deb ... - Unpacking libxrender1:amd64 (1:0.9.10-1build4) ... - Selecting previously unselected package libcairo2:amd64. - Preparing to unpack .../22-libcairo2_1.16.0-5ubuntu2_amd64.deb ... - Unpacking libcairo2:amd64 (1.16.0-5ubuntu2) ... - Selecting previously unselected package libltdl7:amd64. - Preparing to unpack .../23-libltdl7_2.4.6-15build2_amd64.deb ... - Unpacking libltdl7:amd64 (2.4.6-15build2) ... - Selecting previously unselected package libgraphite2-3:amd64. - Preparing to unpack .../24-libgraphite2-3_1.3.14-1build2_amd64.deb ... - Unpacking libgraphite2-3:amd64 (1.3.14-1build2) ... - Selecting previously unselected package libharfbuzz0b:amd64. - Preparing to unpack .../25-libharfbuzz0b_2.7.4-1ubuntu3.2_amd64.deb ... - Unpacking libharfbuzz0b:amd64 (2.7.4-1ubuntu3.2) ... - Selecting previously unselected package libthai-data. - Preparing to unpack .../26-libthai-data_0.1.29-1build1_all.deb ... - Unpacking libthai-data (0.1.29-1build1) ... - Selecting previously unselected package libdatrie1:amd64. - Preparing to unpack .../27-libdatrie1_0.2.13-2_amd64.deb ... - Unpacking libdatrie1:amd64 (0.2.13-2) ... - Selecting previously unselected package libthai0:amd64. - Preparing to unpack .../28-libthai0_0.1.29-1build1_amd64.deb ... - Unpacking libthai0:amd64 (0.1.29-1build1) ... - Selecting previously unselected package libpango-1.0-0:amd64. - Preparing to unpack .../29-libpango-1.0-0_1.50.6+ds-2ubuntu1_amd64.deb ... - Unpacking libpango-1.0-0:amd64 (1.50.6+ds-2ubuntu1) ... - Selecting previously unselected package libpangoft2-1.0-0:amd64. - Preparing to unpack .../30-libpangoft2-1.0-0_1.50.6+ds-2ubuntu1_amd64.deb ... - Unpacking libpangoft2-1.0-0:amd64 (1.50.6+ds-2ubuntu1) ... - Selecting previously unselected package libpangocairo-1.0-0:amd64. - Preparing to unpack .../31-libpangocairo-1.0-0_1.50.6+ds-2ubuntu1_amd64.deb ... - Unpacking libpangocairo-1.0-0:amd64 (1.50.6+ds-2ubuntu1) ... - Selecting previously unselected package libpathplan4:amd64. - Preparing to unpack .../32-libpathplan4_2.42.2-6ubuntu0.1_amd64.deb ... - Unpacking libpathplan4:amd64 (2.42.2-6ubuntu0.1) ... - Selecting previously unselected package libgvc6. - Preparing to unpack .../33-libgvc6_2.42.2-6ubuntu0.1_amd64.deb ... - Unpacking libgvc6 (2.42.2-6ubuntu0.1) ... - Selecting previously unselected package libgvpr2:amd64. - Preparing to unpack .../34-libgvpr2_2.42.2-6ubuntu0.1_amd64.deb ... - Unpacking libgvpr2:amd64 (2.42.2-6ubuntu0.1) ... - Selecting previously unselected package liblab-gamut1:amd64. - Preparing to unpack .../35-liblab-gamut1_2.42.2-6ubuntu0.1_amd64.deb ... - Unpacking liblab-gamut1:amd64 (2.42.2-6ubuntu0.1) ... - Selecting previously unselected package x11-common. - Preparing to unpack .../36-x11-common_1%3a7.7+23ubuntu2_all.deb ... - Unpacking x11-common (1:7.7+23ubuntu2) ... - Selecting previously unselected package libice6:amd64. - Preparing to unpack .../37-libice6_2%3a1.0.10-1build2_amd64.deb ... - Unpacking libice6:amd64 (2:1.0.10-1build2) ... - Selecting previously unselected package libsm6:amd64. - Preparing to unpack .../38-libsm6_2%3a1.2.3-1build2_amd64.deb ... - Unpacking libsm6:amd64 (2:1.2.3-1build2) ... - Selecting previously unselected package libxt6:amd64. - Preparing to unpack .../39-libxt6_1%3a1.2.1-1_amd64.deb ... - Unpacking libxt6:amd64 (1:1.2.1-1) ... - Selecting previously unselected package libxmu6:amd64. - Preparing to unpack .../40-libxmu6_2%3a1.1.3-3_amd64.deb ... - Unpacking libxmu6:amd64 (2:1.1.3-3) ... - Selecting previously unselected package libxaw7:amd64. - Preparing to unpack .../41-libxaw7_2%3a1.0.14-1_amd64.deb ... - Unpacking libxaw7:amd64 (2:1.0.14-1) ... - Selecting previously unselected package graphviz. - Preparing to unpack .../42-graphviz_2.42.2-6ubuntu0.1_amd64.deb ... - Unpacking graphviz (2.42.2-6ubuntu0.1) ... - Selecting previously unselected package libgmpxx4ldbl:amd64. - Preparing to unpack .../43-libgmpxx4ldbl_2%3a6.2.1+dfsg-3ubuntu1_amd64.deb ... - Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-3ubuntu1) ... - Selecting previously unselected package libgmp-dev:amd64. - Preparing to unpack .../44-libgmp-dev_2%3a6.2.1+dfsg-3ubuntu1_amd64.deb ... - Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg-3ubuntu1) ... - Selecting previously unselected package libgts-bin. - Preparing to unpack .../45-libgts-bin_0.7.6+darcs121130-5_amd64.deb ... - Unpacking libgts-bin (0.7.6+darcs121130-5) ... - Selecting previously unselected package pkg-config. - Preparing to unpack .../46-pkg-config_0.29.2-1ubuntu3_amd64.deb ... - Unpacking pkg-config (0.29.2-1ubuntu3) ... - Setting up libgraphite2-3:amd64 (1.3.14-1build2) ... - Setting up libpixman-1-0:amd64 (0.40.0-1ubuntu0.22.04.1) ... - Setting up fontconfig (2.13.1-4.2ubuntu5) ... - Regenerating fonts cache... - done. - Setting up libxrender1:amd64 (1:0.9.10-1build4) ... - Setting up libdatrie1:amd64 (0.2.13-2) ... - Setting up xdg-user-dirs (0.17-2ubuntu4) ... - Setting up libxcb-render0:amd64 (1.14-3ubuntu3) ... - Setting up libglib2.0-0:amd64 (2.72.4-0ubuntu2.9) ... - No schema files found: doing nothing. - Setting up liblab-gamut1:amd64 (2.42.2-6ubuntu0.1) ... - Setting up x11-common (1:7.7+23ubuntu2) ... - invoke-rc.d: could not determine current runlevel - invoke-rc.d: policy-rc.d denied execution of start. - Setting up libxcb-shm0:amd64 (1.14-3ubuntu3) ... - Setting up libcairo2:amd64 (1.16.0-5ubuntu2) ... - Setting up libgts-0.7-5:amd64 (0.7.6+darcs121130-5) ... - Setting up autotools-dev (20220109.1) ... - Setting up libglib2.0-data (2.72.4-0ubuntu2.9) ... - Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-3ubuntu1) ... - Setting up libpathplan4:amd64 (2.42.2-6ubuntu0.1) ... - Setting up libann0 (1.1.2+doc-7build1) ... - Setting up libsigsegv2:amd64 (2.13-1ubuntu3) ... - Setting up libfribidi0:amd64 (1.0.8-2ubuntu3.1) ... - Setting up pkg-config (0.29.2-1ubuntu3) ... - Setting up libltdl7:amd64 (2.4.6-15build2) ... - Setting up fonts-liberation (1:1.07.4-11) ... - Setting up libharfbuzz0b:amd64 (2.7.4-1ubuntu3.2) ... - Setting up libthai-data (0.1.29-1build1) ... - Setting up libcdt5:amd64 (2.42.2-6ubuntu0.1) ... - Setting up libcgraph6:amd64 (2.42.2-6ubuntu0.1) ... - Setting up libicu70:amd64 (70.1-2) ... - Setting up libgts-bin (0.7.6+darcs121130-5) ... - Setting up libice6:amd64 (2:1.0.10-1build2) ... - Setting up libgmp-dev:amd64 (2:6.2.1+dfsg-3ubuntu1) ... - Setting up m4 (1.4.18-5ubuntu2) ... - Setting up libthai0:amd64 (0.1.29-1build1) ... - Setting up autoconf (2.71-2) ... - Setting up libgvpr2:amd64 (2.42.2-6ubuntu0.1) ... - Setting up libsm6:amd64 (2:1.2.3-1build2) ... - Setting up libxml2:amd64 (2.9.13+dfsg-1ubuntu0.11) ... - Setting up automake (1:1.16.5-1.3) ... - update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode - update-alternatives: warning: skip creation of /usr/share/man/man1/automake.1.gz because associated file /usr/share/man/man1/automake-1.16.1.gz (of link group automake) doesn't exist - update-alternatives: warning: skip creation of /usr/share/man/man1/aclocal.1.gz because associated file /usr/share/man/man1/aclocal-1.16.1.gz (of link group automake) doesn't exist - Setting up libpango-1.0-0:amd64 (1.50.6+ds-2ubuntu1) ... - Setting up shared-mime-info (2.1-2) ... - Setting up libxt6:amd64 (1:1.2.1-1) ... - Setting up libpangoft2-1.0-0:amd64 (1.50.6+ds-2ubuntu1) ... - Setting up libpangocairo-1.0-0:amd64 (1.50.6+ds-2ubuntu1) ... - Setting up libxmu6:amd64 (2:1.1.3-3) ... - Setting up libxaw7:amd64 (2:1.0.14-1) ... - Setting up libgvc6 (2.42.2-6ubuntu0.1) ... - Setting up graphviz (2.42.2-6ubuntu0.1) ... - Processing triggers for libc-bin (2.35-0ubuntu3.11) ... # To update the current shell environment, run: eval $(opam env) 2026-02-15 18:31.22 ---> using "8a8729395798f2ac00a8b7498d9c83e49d5dfd3c83d855c04e244cd835739ca3" from cache /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 75 packages - install angstrom 0.16.1 - install arg-complete 0.2.1 - install astring 0.8.5 - install batteries 3.10.0 - install bigstringaf 0.10.0 - install bos 0.2.1 - install camlp-streams 5.0.1 - install catapult 0.2 - install catapult-file 0.2 - install conf-autoconf 0.2 - install conf-gcc 1.0 - install conf-gmp 5 - install conf-graphviz 0.1 - install conf-perl 2 - install conf-pkg-config 4 - install cppo 1.8.0 - install cpu 2.0.0 - install csexp 1.5.2 - install cstruct 6.2.0 - install ctypes 0.24.0 - install domain-local-await 1.0.1 - install domain_shims 0.1.0 - install dune 3.21.1 - install dune-build-info 3.21.1 - install dune-compiledb 0.6.0 - install dune-configurator 3.21.1 - install dune-private-libs 3.21.1 - install dune-site 3.21.1 - install dyn 3.21.1 - install ezjsonm 1.3.0 - install fileutils 0.6.6 - install fmt 0.11.0 - install fpath 0.7.3 - install fs-io 3.21.1 - install goblint 2.7.1 - install goblint-cil 2.0.9 - install hex 1.5.0 - install integers 0.7.0 - install json-data-encoding 1.0.1 - install jsonm 1.0.2 - install jsonrpc 1.25.0 - install lintcstubs-arity 0.5.1 - install logs 0.10.0 - install num 1.6 - install ocaml-compiler-libs v0.12.4 - install ocaml-syntax-shims 1.0.0 - install ocamlbuild 0.16.1 - install ocamlfind 1.9.8 - install ordering 3.21.1 - install parsexp v0.16.0 - install pp 2.0.0 - install ppx_blob 0.9.0 - install ppx_derivers 1.2.1 - install ppx_deriving 6.1.1 - install ppx_deriving_hash 0.1.3 - install ppx_deriving_yojson 3.10.0 - install ppxlib 0.37.0 - install qcheck-core 0.91 - install rresult 0.7.0 - install seq base - install sexplib v0.16.0 - install sexplib0 v0.16.0 - install sha 1.15.4 - install stdlib-shims 0.3.0 - install stdune 3.21.1 - install stringext 1.6.0 - install thread-table 1.0.0 - install top-closure 3.21.1 - install topkg 1.1.1 - install uri 4.4.0 - install uuidm 0.9.10 - install uutf 1.0.4 - install yaml 3.2.0 - install yojson 2.2.2 - install zarith 1.14 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved angstrom.0.16.1 (cached) -> retrieved arg-complete.0.2.1 (cached) -> retrieved astring.0.8.5 (cached) -> retrieved bigstringaf.0.10.0 (cached) -> retrieved camlp-streams.5.0.1 (cached) -> retrieved batteries.3.10.0 (cached) -> retrieved conf-gmp.5 (cached) -> retrieved bos.0.2.1 (cached) -> retrieved catapult.0.2, catapult-file.0.2 (cached) -> retrieved cppo.1.8.0 (cached) -> installed conf-autoconf.0.2 -> installed conf-gcc.1.0 -> installed conf-gmp.5 -> installed conf-graphviz.0.1 -> installed conf-perl.2 -> installed conf-pkg-config.4 -> retrieved cpu.2.0.0 (cached) -> retrieved csexp.1.5.2 (cached) -> retrieved cstruct.6.2.0 (cached) -> retrieved ctypes.0.24.0 (cached) -> retrieved domain-local-await.1.0.1 (cached) -> retrieved domain_shims.0.1.0 (cached) -> retrieved dune-compiledb.0.6.0 (cached) -> retrieved ezjsonm.1.3.0 (cached) -> retrieved fileutils.0.6.6 (cached) -> retrieved fmt.0.11.0 (cached) -> retrieved fpath.0.7.3 (cached) -> retrieved goblint-cil.2.0.9 (cached) -> retrieved hex.1.5.0 (cached) -> retrieved integers.0.7.0 (cached) -> retrieved json-data-encoding.1.0.1 (cached) -> retrieved jsonm.1.0.2 (cached) -> retrieved goblint.2.7.1 (cached) -> retrieved dune.3.21.1, dune-build-info.3.21.1, dune-configurator.3.21.1, dune-private-libs.3.21.1, dune-site.3.21.1, dyn.3.21.1, fs-io.3.21.1, ordering.3.21.1, stdune.3.21.1, top-closure.3.21.1 (cached) -> retrieved jsonrpc.1.25.0 (cached) -> retrieved lintcstubs-arity.0.5.1 (cached) -> retrieved logs.0.10.0 (cached) -> retrieved num.1.6 (cached) -> retrieved ocaml-compiler-libs.v0.12.4 (cached) -> retrieved ocaml-syntax-shims.1.0.0 (cached) -> retrieved ocamlbuild.0.16.1 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved parsexp.v0.16.0 (cached) -> retrieved pp.2.0.0 (cached) -> retrieved ppx_blob.0.9.0 (cached) -> retrieved ppx_derivers.1.2.1 (cached) -> retrieved ppx_deriving.6.1.1 (cached) -> retrieved ppx_deriving_hash.0.1.3 (cached) -> retrieved ppx_deriving_yojson.3.10.0 (cached) -> retrieved rresult.0.7.0 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved qcheck-core.0.91 (cached) -> retrieved sexplib.v0.16.0 (cached) -> retrieved sexplib0.v0.16.0 (cached) -> retrieved sha.1.15.4 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved stringext.1.6.0 (cached) -> retrieved thread-table.1.0.0 (cached) -> retrieved topkg.1.1.1 (cached) -> retrieved uuidm.0.9.10 (cached) -> retrieved ppxlib.0.37.0 (cached) -> retrieved uri.4.4.0 (cached) -> retrieved uutf.1.0.4 (cached) -> retrieved zarith.1.14 (cached) -> retrieved yaml.3.2.0 (cached) -> retrieved yojson.2.2.2 (cached) -> installed num.1.6 -> installed ocamlfind.1.9.8 -> installed ocamlbuild.0.16.1 -> installed zarith.1.14 -> installed topkg.1.1.1 -> installed rresult.0.7.0 -> installed uuidm.0.9.10 -> installed uutf.1.0.4 -> installed fmt.0.11.0 -> installed astring.0.8.5 -> installed jsonm.1.0.2 -> installed logs.0.10.0 -> installed fpath.0.7.3 -> installed bos.0.2.1 -> installed dune.3.21.1 -> installed camlp-streams.5.0.1 -> installed catapult.0.2 -> installed cppo.1.8.0 -> installed csexp.1.5.2 -> installed cstruct.6.2.0 -> installed domain_shims.0.1.0 -> installed lintcstubs-arity.0.5.1 -> installed ocaml-compiler-libs.v0.12.4 -> installed ocaml-syntax-shims.1.0.0 -> installed pp.2.0.0 -> installed ppx_derivers.1.2.1 -> installed qcheck-core.0.91 -> installed sexplib0.v0.16.0 -> installed stdlib-shims.0.3.0 -> installed stringext.1.6.0 -> installed thread-table.1.0.0 -> installed yojson.2.2.2 -> installed catapult-file.0.2 -> installed arg-complete.0.2.1 -> installed hex.1.5.0 -> installed fileutils.0.6.6 -> installed domain-local-await.1.0.1 -> installed integers.0.7.0 -> installed ezjsonm.1.3.0 -> installed jsonrpc.1.25.0 -> installed sha.1.15.4 -> installed dune-build-info.3.21.1 -> installed ordering.3.21.1 -> installed parsexp.v0.16.0 -> installed fs-io.3.21.1 -> installed top-closure.3.21.1 -> installed dune-configurator.3.21.1 -> installed cpu.2.0.0 -> installed bigstringaf.0.10.0 -> installed batteries.3.10.0 -> installed sexplib.v0.16.0 -> installed dyn.3.21.1 -> installed angstrom.0.16.1 -> installed dune-compiledb.0.6.0 -> installed uri.4.4.0 -> installed ctypes.0.24.0 -> installed json-data-encoding.1.0.1 -> installed stdune.3.21.1 -> installed dune-private-libs.3.21.1 -> installed yaml.3.2.0 -> installed dune-site.3.21.1 -> installed ppxlib.0.37.0 -> installed ppx_blob.0.9.0 -> installed ppx_deriving.6.1.1 -> installed ppx_deriving_hash.0.1.3 -> installed ppx_deriving_yojson.3.10.0 -> installed goblint-cil.2.0.9 -> installed goblint.2.7.1 Done. # To update the current shell environment, run: eval $(opam env) 2026-02-15 18:31.22 ---> using "144a10b949fc6096055d6e3d413a6a79ae3b3c75a49f1321d688569fab003527" from cache /src: (copy (src .) (dst /src)) 2026-02-15 18:31.23 ---> saved as "79e7c44cc291ffa5c09d36318283d4448da88c75d25e6815d194bf4733789929" /src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default/model/stub/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -Wno-attributes -g -I /home/opam/.opam/4.14/lib/ocaml -I ../../include -o ocaml_runtime.model.o -c ocaml_runtime.model.c) ocaml_runtime.model.c: In function '__caml_maybe_run_finalizer': ocaml_runtime.model.c:220:21: warning: unused variable 'ret' [-Wunused-variable] 220 | uintnat ret = ops->deserialize(dst); | ^~~ ocaml_runtime.model.c: In function 'caml_alloc': ocaml_runtime.model.c:323:14: warning: unused variable 'i' [-Wunused-variable] 323 | unsigned i; | ^ ocaml_runtime.model.c: In function '__VERIFIER_nondet_value': ocaml_runtime.model.c:164:21: warning: 'val' is used uninitialized [-Wuninitialized] 164 | { value val; return val; } | ^~~ ocaml_runtime.model.c: In function '__VERIFIER_nondet_int32': ocaml_runtime.model.c:611:23: warning: 'val' is used uninitialized [-Wuninitialized] 611 | { int32_t val; return val; } | ^~~ ocaml_runtime.model.c: In function '__VERIFIER_nondet_int64': ocaml_runtime.model.c:614:23: warning: 'val' is used uninitialized [-Wuninitialized] 614 | { int64_t val; return val; } | ^~~ File "model/stub/src/ranges.t", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/model/stub/src/ranges.t _build/default/model/stub/src/ranges.t.corrected diff --git a/_build/default/model/stub/src/ranges.t b/_build/default/model/stub/src/ranges.t.corrected index a7a3020..f303439 100644 --- a/_build/default/model/stub/src/ranges.t +++ b/_build/default/model/stub/src/ranges.t.corrected @@ -72,7 +72,8 @@ Test primitive types: Now generate a main function, this introduces multi-threading: $ lintcstubs_genmain test.cmt >>test_analyze.c $ goblint --set 'pre.cppflags[+]' '-D_Thread_local=__thread' --set 'sem.int.signed_overflow' 'assume_wraparound' --set 'ana.activated[+]' 'assert' --enable warn.assert -I $(ocamlc -where) --disable warn.integer --enable dbg.regression --disable warn.info --disable warn.imprecise --disable warn.unsound --disable warn.deadcode test_analyze.c test_stubs.c ocaml_runtime.model.c - [Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (ocaml_runtime.model.c:267:30-267:159) + [Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (ocaml_runtime.model.c:267:30-267:61) + [Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (ocaml_runtime.model.c:243:14-243:103) [Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (ocaml_runtime.model.c:248:5-248:25) [Error][Assert] Assertion "res >> 1 <= 255L" will fail. Expected: SUCCESS -> failed (test_analyze.c:126:4-126:42) [Error][Assert] Assertion "(res & 1L) != 0L" will fail. Expected: SUCCESS -> failed (test_analyze.c:84:4-84:40) (cd _build/default/example/dune && ../../../install/default/bin/lintcstubs --conf lintcstubs.json --set warn.race-threshold 200 foostubs.c primitives.model.c -I /home/opam/.opam/4.14/lib/ocaml -o foo.sarif) > _build/default/example/dune/foo.log [Info] runtime: 00:00:10.399 [Info] vars: 1864, evals: 4564 [Info] |called|=0 Memory statistics: total=6482.64MB, max=32.62MB, minor=6479.48MB, major=66.01MB, promoted=62.85MB minor collections=3096 major collections=12 compactions=0 sh: 1: pygmentize: not found File "analyses.t", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/analyses.t _build/default/analyses.t.corrected diff --git a/_build/default/analyses.t b/_build/default/analyses.t.corrected index 8e50fef..694aa76 100644 --- a/_build/default/analyses.t +++ b/_build/default/analyses.t.corrected @@ -12,6 +12,7 @@ Rule 1. CAMLparam > EOF $ lintcstubs --set mainfun[+] foo --disable warn.deadcode -I $(ocamlc -where) test.c + sh: 1: pygmentize: not found $ cat >test.c <<EOF > #include <caml/memory.h> @@ -23,6 +24,7 @@ Rule 1. CAMLparam > } > EOF $ lintcstubs --set mainfun[+] foo --disable warn.info --disable warn.deadcode -I $(ocamlc -where) test.c + sh: 1: pygmentize: not found $ cat >test.c <<EOF > #include <caml/memory.h> @@ -31,6 +33,7 @@ Rule 1. CAMLparam > } > EOF $ lintcstubs --set mainfun[+] foo --disable warn.info --disable warn.deadcode -I $(ocamlc -where) test.c + sh: 1: pygmentize: not found $ cat >test.c <<EOF > #include <caml/memory.h> @@ -43,6 +46,7 @@ Rule 1. CAMLparam > } > EOF $ lintcstubs --conf lintcstubs.json --set mainfun[+] foo -I $(ocamlc -where) test.c | sed -e '/unroll.*/d' + sh: 1: pygmentize: not found [Error][Imprecise][Unsound] Function definition missing Cannot dereference OCaml values after releasing the runtime lock: @@ -62,12 +66,15 @@ Cannot dereference OCaml values after releasing the runtime lock: > EOF $ lintcstubs --set mainfun[+] foo --set warn.race-threshold 1000 --disable warn.imprecise --disable warn.unsound --disable warn.info --enable dbg.regression --disable warn.deadcode -I $(ocamlc -where) test.c 2>&1 | sed -e 's^/[^ ]*/^^g' - [Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (ocaml_runtime.model.c:267:30-267:240) + [Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (ocaml_runtime.model.c:267:30-267:61) + [Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (ocaml_runtime.model.c:243:14-243:103) [Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (ocaml_runtime.model.c:248:5-248:25) [Warning][Unknown] unlocking mutex (__VERIFIER_ocaml_runtime_lock) which may not be held (ocaml_runtime.model.c:579:5-579:62) [Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (test.c:9:3-9:39) [Error][Race] DomainLock: must be held when dereferencing OCaml value v (test.c:9:3-9:39) + [Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (test.c:11:73-11:111) [Error][Imprecise][Unsound] Function definition missing + sh: 1: pygmentize: not found Correct would be: $ cat >test.c <<EOF @@ -85,9 +92,12 @@ Correct would be: > EOF $ lintcstubs --set mainfun[+] foo --disable warn.imprecise --disable warn.unsound --enable dbg.regression --disable warn.info --disable warn.deadcode -I $(ocamlc -where) test.c | sed -e 's^/[^ ]*/^^g' + sh: 1: pygmentize: not found [Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (test.c:7:7-7:44) - [Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (ocaml_runtime.model.c:267:30-267:240) + [Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (ocaml_runtime.model.c:267:30-267:61) + [Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (ocaml_runtime.model.c:243:14-243:103) [Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (ocaml_runtime.model.c:248:5-248:25) [Warning][Unknown] unlocking mutex (__VERIFIER_ocaml_runtime_lock) which may not be held (ocaml_runtime.model.c:579:5-579:62) + [Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (test.c:10:38-10:76) [Error][Imprecise][Unsound] Function definition missing "/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2026-02-15 18:32.18: Job failed: Failed: Build failed