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-24.04-5.4_opam-2.5) Base: ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:8a7f2993b75f88b09cdf0e83c7464dcbdd393fd338c9d86c973a5846f5056cf6 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-24.04-ocaml-5.4@sha256:8a7f2993b75f88b09cdf0e83c7464dcbdd393fd338c9d86c973a5846f5056cf6 # ubuntu-24.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-24.04-ocaml-5.4@sha256:8a7f2993b75f88b09cdf0e83c7464dcbdd393fd338c9d86c973a5846f5056cf6-ubuntu-24.04-5.4_opam-2.5-4251b7e10f26e6cee7d7f058902ff7e9" 2026-02-15 18:11.54: Using OBuilder spec: ((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:8a7f2993b75f88b09cdf0e83c7464dcbdd393fd338c9d86c973a5846f5056cf6) (comment ubuntu-24.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:12.52: Got resource from pool OCluster Building on eumache All commits already cached HEAD is now at 0e6ae65 CI: add OCaml 5.4 (from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:8a7f2993b75f88b09cdf0e83c7464dcbdd393fd338c9d86c973a5846f5056cf6) 2026-02-15 18:12.53 ---> using "14826d7c7320d068898804f5ad29c794a3ac10bf25633fc671f98ac6b8bd132a" from cache /: (comment ubuntu-24.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:12.53 ---> using "843ef39bdc732f0f946f1fd83df179df55322bcd5f89f04da56927ae27c41411" 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:12.53 ---> using "0c2c58dc0859217dc1f52b333e6d1979e13445d7f9ca7d54df47ac828e1b1219" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-131-generic The OCaml toplevel, version 5.4.0 2.5.0 2026-02-15 18:12.53 ---> using "309eb9480f85426a77ce6ec65c3b346664656527df09bca36582991086185c42" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2026-02-15 18:12.53 ---> using "b583d121100c333d73a41c6af235c986dc54ddefe0a91932d2ade562029fc6eb" 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:12.53 ---> using "79c50f26c025eddce91f80f8b2eeae36e5b19d0c445a4fc7a1fd286b5b327ba8" from cache /src: (copy (src lintcstubs.opam lintcstubs-gen.opam) (dst ./)) 2026-02-15 18:12.53 ---> using "1c632dcf3bd389477b140945f5b3922c9ec58f611688cbb481eaacd4a86b22e8" 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:12.53 ---> using "c68665e81dd388d97eb1cdb6e8769355b8c78062f48d5651c3448ee76249792d" from cache /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2026-02-15 18:12.53 ---> using "3874522e1ebcbd24d036a8232a133a01fb33a56896d1bdf8121c1b568ec54c14" 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" - Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB] - Get:2 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [3115 kB] - Get:3 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1200 kB] - Get:4 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1824 kB] - Hit:5 http://archive.ubuntu.com/ubuntu noble InRelease - Get:6 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB] - Get:7 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB] - Get:8 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [2203 kB] - Get:9 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [3295 kB] - Get:10 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1979 kB] - Fetched 14.0 MB in 2s (6622 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 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" - debconf: delaying package configuration, since apt-utils is not installed - 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 ... 16365 files and directories currently installed.) - Preparing to unpack .../0-m4_1.4.19-4build1_amd64.deb ... - Unpacking m4 (1.4.19-4build1) ... - Selecting previously unselected package autoconf. - Preparing to unpack .../1-autoconf_2.71-3_all.deb ... - Unpacking autoconf (2.71-3) ... - 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.16.5-1.3ubuntu1_all.deb ... - Unpacking automake (1:1.16.5-1.3ubuntu1) ... - Selecting previously unselected package libgmpxx4ldbl:amd64. - Preparing to unpack .../4-libgmpxx4ldbl_2%3a6.3.0+dfsg-2ubuntu6.1_amd64.deb ... - Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-2ubuntu6.1) ... - Selecting previously unselected package libgmp-dev:amd64. - Preparing to unpack .../5-libgmp-dev_2%3a6.3.0+dfsg-2ubuntu6.1_amd64.deb ... - Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-2ubuntu6.1) ... - Selecting previously unselected package libpkgconf3:amd64. - Preparing to unpack .../6-libpkgconf3_1.8.1-2build1_amd64.deb ... - Unpacking libpkgconf3:amd64 (1.8.1-2build1) ... - Selecting previously unselected package pkgconf-bin. - Preparing to unpack .../7-pkgconf-bin_1.8.1-2build1_amd64.deb ... - Unpacking pkgconf-bin (1.8.1-2build1) ... - Selecting previously unselected package pkgconf:amd64. - Preparing to unpack .../8-pkgconf_1.8.1-2build1_amd64.deb ... - Unpacking pkgconf:amd64 (1.8.1-2build1) ... - Selecting previously unselected package pkg-config:amd64. - Preparing to unpack .../9-pkg-config_1.8.1-2build1_amd64.deb ... - Unpacking pkg-config:amd64 (1.8.1-2build1) ... - Setting up m4 (1.4.19-4build1) ... - Setting up autotools-dev (20220109.1) ... - Setting up libpkgconf3:amd64 (1.8.1-2build1) ... - Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-2ubuntu6.1) ... - Setting up pkgconf-bin (1.8.1-2build1) ... - Setting up autoconf (2.71-3) ... - Setting up automake (1:1.16.5-1.3ubuntu1) ... - 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 libgmp-dev:amd64 (2:6.3.0+dfsg-2ubuntu6.1) ... - Setting up pkgconf:amd64 (1.8.1-2build1) ... - Setting up pkg-config:amd64 (1.8.1-2build1) ... - Processing triggers for libc-bin (2.39-0ubuntu8.7) ... # To update the current shell environment, run: eval $(opam env) 2026-02-15 18:12.53 ---> using "14569fe58571d72b13e333eaeebbbc335933302cae9d3c06e2c8d358328e410a" 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 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 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 jsonm.1.0.2 (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 parsexp.v0.17.0 (cached) -> retrieved ocamlbuild.0.16.1 (cached) -> retrieved ocamlfind.1.9.8 (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 ppxlib.0.37.0 (cached) -> retrieved yaml.3.2.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 uuidm.0.9.10 -> installed rresult.0.7.0 -> 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.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 integers.0.7.0 -> installed ezjsonm.1.3.0 -> installed domain-local-await.1.0.1 -> 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.17.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 sexplib.v0.17.0 -> installed batteries.3.10.0 -> installed dyn.3.21.1 -> installed angstrom.0.16.1 -> installed dune-compiledb.0.6.0 -> installed uri.4.4.0 -> installed json-data-encoding.1.0.1 -> installed ctypes.0.24.0 -> 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. <><> 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:16.55 ---> saved as "930989c7ca15507a7714d5f3e2dd363b36b85fa44b43698bff37d4d85967f5d4" /src: (copy (src .) (dst /src)) 2026-02-15 18:16.56 ---> saved as "b918b489f3bcc57a3de0afae364d1af448ac9168d17ab1cf191e3d5f4af4e125" /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.533 [Info] vars: 2193, evals: 5016 [Info] |called|=0 Memory statistics: total=8060.44MB, max=48.63MB, minor=8056.92MB, major=77.29MB, promoted=73.77MB minor collections=3849 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:17.18: Job failed: Failed: Build failed