2026-02-15 18:11.54: New job: test edwintorok/lintcstubs https://github.com/edwintorok/lintcstubs.git#refs/heads/ocaml5.4 (0e6ae65086f995c171580549480d5b33166625b0) (linux-x86_64:ubuntu-25.04-5.4_opam-2.5) Base: ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:d8eea00d851efa352de30a240ccaaad837b998689827f1852a960a1413e8b081 Opam project build To reproduce locally: git clone --recursive "https://github.com/edwintorok/lintcstubs.git" -b "ocaml5.4" && cd "lintcstubs" && git reset --hard 0e6ae650 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:d8eea00d851efa352de30a240ccaaad837b998689827f1852a960a1413e8b081 # ubuntu-25.04-5.4_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-domains.base base-effects.base base-nnp.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-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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ordering.3.21.1 parsexp.v0.17.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.17.0 sexplib0.v0.17.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:11.54: Using cache hint "edwintorok/lintcstubs-ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:d8eea00d851efa352de30a240ccaaad837b998689827f1852a960a1413e8b081-ubuntu-25.04-5.4_opam-2.5-4251b7e10f26e6cee7d7f058902ff7e9" 2026-02-15 18:11.54: Using OBuilder spec: ((from ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:d8eea00d851efa352de30a240ccaaad837b998689827f1852a960a1413e8b081) (comment ubuntu-25.04-5.4_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-domains.base base-effects.base base-nnp.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-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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ordering.3.21.1 parsexp.v0.17.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.17.0 sexplib0.v0.17.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:11.54: Waiting for resource in pool OCluster 2026-02-15 18:11.54: Waiting for worker… 2026-02-15 18:11.54: Got resource from pool OCluster Building on laodoke.caelum.ci.dev HEAD is now at 753d602 Fix doc lint warning HEAD is now at 0e6ae65 CI: add OCaml 5.4 (from ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:d8eea00d851efa352de30a240ccaaad837b998689827f1852a960a1413e8b081) Unable to find image 'ocaml/opam:ubuntu-25.04-ocaml-5.4@sha256:d8eea00d851efa352de30a240ccaaad837b998689827f1852a960a1413e8b081' locally docker.io/ocaml/opam@sha256:d8eea00d851efa352de30a240ccaaad837b998689827f1852a960a1413e8b081: Pulling from ocaml/opam ccc7f83a0457: Pulling fs layer ccc7f83a0457: Verifying Checksum ccc7f83a0457: Download complete ccc7f83a0457: Pull complete Digest: sha256:d8eea00d851efa352de30a240ccaaad837b998689827f1852a960a1413e8b081 Status: Downloaded newer image for ocaml/opam@sha256:d8eea00d851efa352de30a240ccaaad837b998689827f1852a960a1413e8b081 2026-02-15 18:11.57 ---> using "cc6a01dee077a012e5b584d0224976b0f8797a649345b5e03898a7ff67ce3c31" from cache /: (comment ubuntu-25.04-5.4_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:11.57 ---> using "00ef0065666e23bafb851d2284a007fb0e9faa6a8f17de88cad34de02f9c583b" 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 [NOTE] The 'jobs' option was reset, its value was 255 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=255 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] Initialised 2026-02-15 18:11.57 ---> using "10a0250272a493773514f272f1e7789afc754cd713094c9a13f0077b82f011a9" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 6.8.0-90-generic The OCaml toplevel, version 5.4.0 2.5.0 2026-02-15 18:11.57 ---> using "5ff40773bbd1f0038c9378a5cbb43e4e888ca626a29170a1bce095a248f86255" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2026-02-15 18:11.57 ---> using "61d1e312e1a2714e63e71f0374844bd44f75fa8641ca3f7f7a708cbd8ca3e3c3" 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 340ee6fd1f..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 Already up-to-date. Nothing to do. # To update the current shell environment, run: eval $(opam env) 2026-02-15 18:11.57 ---> using "f805b09f911b105dc5da976db6ea9a0a60983650e0c73da5bb8abec95a137b56" from cache /src: (copy (src lintcstubs.opam lintcstubs-gen.opam) (dst ./)) 2026-02-15 18:11.57 ---> using "e44ab0424fcc2bf6646ac6a200ff31330842addb8cfb19d4ee334a4c72aec566" 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:11.57 ---> using "67aef40fb4eb383d6d03048621e9ba1c8f94e99f67e8c8f8f2836b1142e2dbdf" from cache /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2026-02-15 18:11.57 ---> using "e2f4a153fcef2495f74885d9d6d1ecfd4fab53b8b0bf5ba44df056704da08f38" from cache /src: (env DEPS "angstrom.0.16.1 arg-complete.0.2.1 astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.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-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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ordering.3.21.1 parsexp.v0.17.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.17.0 sexplib0.v0.17.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" - Hit:1 http://archive.ubuntu.com/ubuntu plucky InRelease - Hit:2 http://archive.ubuntu.com/ubuntu plucky-updates InRelease - Hit:3 http://archive.ubuntu.com/ubuntu plucky-backports InRelease - Hit:4 http://security.ubuntu.com/ubuntu plucky-security InRelease - 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 3). [NOTE] Package ocaml-compiler is already installed (current version is 5.4.0). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0). [NOTE] Package ocaml is already installed (current version is 5.4.0). [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-nnp is already installed (current version is base). [NOTE] Package base-effects is already installed (current version is base). [NOTE] Package base-domains 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 libgmp-dev pkg-config <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "autoconf" "libgmp-dev" "pkg-config" - Selecting previously unselected package m4. - (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 ... 16533 files and directories currently installed.) - Preparing to unpack .../0-m4_1.4.19-7_amd64.deb ... - Unpacking m4 (1.4.19-7) ... - Selecting previously unselected package autoconf. - Preparing to unpack .../1-autoconf_2.72-3ubuntu1_all.deb ... - Unpacking autoconf (2.72-3ubuntu1) ... - Selecting previously unselected package autotools-dev. - Preparing to unpack .../2-autotools-dev_20220109.1_all.deb ... - Unpacking autotools-dev (20220109.1) ... - Selecting previously unselected package automake. - Preparing to unpack .../3-automake_1%3a1.17-3ubuntu1_all.deb ... - Unpacking automake (1:1.17-3ubuntu1) ... - Selecting previously unselected package libgmpxx4ldbl:amd64. - Preparing to unpack .../4-libgmpxx4ldbl_2%3a6.3.0+dfsg-3ubuntu1_amd64.deb ... - Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3ubuntu1) ... - Selecting previously unselected package libgmp-dev:amd64. - Preparing to unpack .../5-libgmp-dev_2%3a6.3.0+dfsg-3ubuntu1_amd64.deb ... - Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3ubuntu1) ... - Selecting previously unselected package libpkgconf3:amd64. - Preparing to unpack .../6-libpkgconf3_1.8.1-4_amd64.deb ... - Unpacking libpkgconf3:amd64 (1.8.1-4) ... - Selecting previously unselected package pkgconf-bin. - Preparing to unpack .../7-pkgconf-bin_1.8.1-4_amd64.deb ... - Unpacking pkgconf-bin (1.8.1-4) ... - Selecting previously unselected package pkgconf:amd64. - Preparing to unpack .../8-pkgconf_1.8.1-4_amd64.deb ... - Unpacking pkgconf:amd64 (1.8.1-4) ... - Selecting previously unselected package pkg-config:amd64. - Preparing to unpack .../9-pkg-config_1.8.1-4_amd64.deb ... - Unpacking pkg-config:amd64 (1.8.1-4) ... - Setting up m4 (1.4.19-7) ... - Setting up autotools-dev (20220109.1) ... - Setting up libpkgconf3:amd64 (1.8.1-4) ... - Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3ubuntu1) ... - Setting up pkgconf-bin (1.8.1-4) ... - Setting up autoconf (2.72-3ubuntu1) ... - Setting up automake (1:1.17-3ubuntu1) ... - update-alternatives: using /usr/bin/automake-1.17 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.17.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.17.1.gz (of link group automake) doesn't exist - Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3ubuntu1) ... - Setting up pkgconf:amd64 (1.8.1-4) ... - Setting up pkg-config:amd64 (1.8.1-4) ... - Processing triggers for libc-bin (2.41-6ubuntu1.2) ... # To update the current shell environment, run: eval $(opam env) 2026-02-15 18:11.57 ---> using "ac03f825a4c16d8c346478f8f8c739a2520662068b71840422b3c65a69fe1685" 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 3). [NOTE] Package ocaml-compiler is already installed (current version is 5.4.0). [NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0). [NOTE] Package ocaml is already installed (current version is 5.4.0). [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-nnp is already installed (current version is base). [NOTE] Package base-effects is already installed (current version is base). [NOTE] Package base-domains 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 74 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-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.17.0 - 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.17.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.17.0 - install sexplib0 v0.17.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 bos.0.2.1 (cached) -> retrieved conf-gmp.5 (cached) -> retrieved batteries.3.10.0 (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-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 domain-local-await.1.0.1 (cached) -> retrieved ctypes.0.24.0 (cached) -> retrieved domain_shims.0.1.0 (cached) -> retrieved dune-compiledb.0.6.0 (cached) -> retrieved ezjsonm.1.3.0 (cached) -> retrieved fmt.0.11.0 (cached) -> retrieved fileutils.0.6.6 (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.17.0 (cached) -> retrieved ocaml-syntax-shims.1.0.0 (cached) -> retrieved ocamlbuild.0.16.1 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved parsexp.v0.17.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.17.0 (cached) -> retrieved sexplib0.v0.17.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 uutf.1.0.4 (cached) -> retrieved uri.4.4.0 (cached) -> retrieved yaml.3.2.0 (cached) -> retrieved ppxlib.0.37.0 (cached) -> retrieved yojson.2.2.2 (cached) -> retrieved zarith.1.14 (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 uutf.1.0.4 -> installed rresult.0.7.0 -> installed uuidm.0.9.10 -> installed fmt.0.11.0 -> installed logs.0.10.0 -> installed jsonm.1.0.2 -> installed astring.0.8.5 -> 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.17.0 -> 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.17.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 jsonrpc.1.25.0 -> installed ezjsonm.1.3.0 -> installed sha.1.15.4 -> installed top-closure.3.21.1 -> installed ordering.3.21.1 -> installed parsexp.v0.17.0 -> installed dune-build-info.3.21.1 -> installed fs-io.3.21.1 -> installed dune-configurator.3.21.1 -> installed cpu.2.0.0 -> installed bigstringaf.0.10.0 -> installed dyn.3.21.1 -> installed batteries.3.10.0 -> installed sexplib.v0.17.0 -> installed angstrom.0.16.1 -> installed dune-compiledb.0.6.0 -> installed uri.4.4.0 -> installed ctypes.0.24.0 -> installed stdune.3.21.1 -> installed json-data-encoding.1.0.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. <><> goblint.2.7.1 installed successfully <><><><><><><><><><><><><><><><><><><> => Do not benchmark Goblint on OCaml 5 (https://goblint.readthedocs.io/en/latest/user-guide/benchmarking/). # To update the current shell environment, run: eval $(opam env) 2026-02-15 18:18.47 ---> saved as "ee6d02b5bf92119284936e5bb0e90fd9e4f279699d7b9385378dd077d4b5a036" /src: (copy (src .) (dst /src)) 2026-02-15 18:18.47 ---> saved as "0127c08451a8fd733db5d03be37c2bc3c9619b8c18f741d60e3d57a60e87eea0" /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 -fPIC -pthread -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -Wno-attributes -g -I /home/opam/.opam/5.4/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); | ^~~ In file included from /home/opam/.opam/5.4/lib/ocaml/caml/alloc.h:20, from ocaml_runtime.model.c:39: ocaml_runtime.model.c: In function '__caml_move': /home/opam/.opam/5.4/lib/ocaml/caml/mlvalues.h:196:21: warning: initialization discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] 196 | #define Hp_val(val) (((volatile header_t *) (val)) - 1) | ^ ocaml_runtime.model.c:247:18: note: in expansion of macro 'Hp_val' 247 | void *orig = Hp_val(arg); | ^~~~~~ ocaml_runtime.model.c: In function '__caml_maybe_run_gc': ocaml_runtime.model.c:277:35: warning: the comparison will always evaluate as 'true' for the address of 'tables' will never be NULL [-Waddress] 277 | __goblint_assume(!!lr->tables); | ^ In file included from /home/opam/.opam/5.4/lib/ocaml/caml/callback.h:22, from ocaml_runtime.model.c:40: /home/opam/.opam/5.4/lib/ocaml/caml/memory.h:253:10: note: 'tables' declared here 253 | value *tables [5]; | ^~~~~~ 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:164:9: note: 'val' was declared here 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:611:11: note: 'val' was declared here 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; } | ^~~ ocaml_runtime.model.c:614:11: note: 'val' was declared here 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 f303439..a7a3020 100644 --- a/_build/default/model/stub/src/ranges.t +++ b/_build/default/model/stub/src/ranges.t.corrected @@ -72,8 +72,7 @@ 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: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:267:30-267:159) [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/5.4/lib/ocaml -o foo.sarif) > _build/default/example/dune/foo.log [Info] runtime: 00:00:10.612 [Info] vars: 2193, evals: 5016 [Info] |called|=0 Memory statistics: total=5818.69MB, max=46.99MB, minor=5815.18MB, major=75.60MB, promoted=72.09MB minor collections=2780 major collections=14 compactions=0 sh: 1: pygmentize: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: not found /bin/sh: 1: dot: 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 9a7e3e2..6438f1e 100644 --- a/_build/default/analyses.t +++ b/_build/default/analyses.t.corrected @@ -12,6 +12,82 @@ Rule 1. CAMLparam > EOF $ lintcstubs --set mainfun[+] foo --disable warn.deadcode -I $(ocamlc -where) test.c + sh: 1: pygmentize: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found $ cat >test.c <<EOF > #include <caml/memory.h> @@ -23,6 +99,82 @@ Rule 1. CAMLparam > } > EOF $ lintcstubs --set mainfun[+] foo --disable warn.info --disable warn.deadcode -I $(ocamlc -where) test.c + sh: 1: pygmentize: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found $ cat >test.c <<EOF > #include <caml/memory.h> @@ -31,6 +183,82 @@ Rule 1. CAMLparam > } > EOF $ lintcstubs --set mainfun[+] foo --disable warn.info --disable warn.deadcode -I $(ocamlc -where) test.c + sh: 1: pygmentize: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found $ cat >test.c <<EOF > #include <caml/memory.h> @@ -43,6 +271,82 @@ 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 + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found [Error][Imprecise][Unsound] Function definition missing Cannot dereference OCaml values after releasing the runtime lock: @@ -62,14 +366,88 @@ 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: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:267:30-267:214) [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 + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found + sh: 1: dot: not found Correct would be: $ cat >test.c <<EOF @@ -88,10 +466,84 @@ Correct would be: $ lintcstubs --set mainfun[+] foo --disable warn.imprecise --disable warn.unsound --enable dbg.regression --disable warn.info --disable warn.deadcode -I $(ocamlc -where) test.c [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 (/var/home/edwin/git/lintcstubs/_build/install/default/share/goblint/lib/stub/src/ocaml_runtime.model.c:267:30-267:61) - [Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (/var/home/edwin/git/lintcstubs/_build/install/default/share/goblint/lib/stub/src/ocaml_runtime.model.c:243:14-243:103) - [Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (/var/home/edwin/git/lintcstubs/_build/install/default/share/goblint/lib/stub/src/ocaml_runtime.model.c:248:5-248:25) - [Warning][Unknown] unlocking mutex (__VERIFIER_ocaml_runtime_lock) which may not be held (/var/home/edwin/git/lintcstubs/_build/install/default/share/goblint/lib/stub/src/ocaml_runtime.model.c:579:5-579:62) - [Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (test.c:10:38-10:76) + [Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (/src/_build/install/default/share/goblint/lib/stub/src/ocaml_runtime.model.c:267:30-267:214) + [Warning][Behavior > Undefined > NullPointerDereference][CWE-476] May dereference NULL pointer (/src/_build/install/default/share/goblint/lib/stub/src/ocaml_runtime.model.c:248:5-248:25) + [Warning][Unknown] unlocking mutex (__VERIFIER_ocaml_runtime_lock) which may not be held (/src/_build/install/default/share/goblint/lib/stub/src/ocaml_runtime.model.c:579:5-579:62) [Error][Imprecise][Unsound] Function definition missing + sh: 1: pygmentize: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found + /bin/sh: 1: dot: not found "/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2026-02-15 18:19.18: Job failed: Failed: Build failed