2026-02-14 19:53.58: New job: test edwintorok/lintcstubs https://github.com/edwintorok/lintcstubs.git#refs/heads/main (c627ceb3dfe689196122360ce5da1be658583f94) (macos-x86_64:macos-homebrew-4.14_opam-2.5) Base: macos-homebrew-ocaml-4.14 Opam project build To reproduce locally: git clone --recursive "https://github.com/edwintorok/lintcstubs.git" -b "main" && cd "lintcstubs" && git reset --hard c627ceb3 cat > Dockerfile <<'END-OF-DOCKERFILE' FROM macos-homebrew-ocaml-4.14 # macos-homebrew-4.14_opam-2.5 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" RUN ln -f ~/local/bin/opam-2.5 ~/local/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version 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 ./src/./ RUN opam pin add -yn lintcstubs.dev './src/./' && \ opam pin add -yn lintcstubs-gen.dev './src/./' RUN echo '(lang dune 3.0)' > './src/./dune-project' ENV DEPS="angstrom.0.16.1 arg-complete.0.2.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base batteries.3.10.0 bigstringaf.0.10.0 bos.0.2.1 camlp-streams.5.0.1 catapult.0.1.1 catapult-file.0.1.1 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 dune.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 fmt.0.11.0 fpath.0.7.3 fs-io.3.21.1 goblint.2.1.0 goblint-cil.2.0.1 hex.1.5.0 integers.0.7.0 json-data-encoding.1.0.1 jsonm.1.0.2 jsonrpc.1.25.0 lintcstubs-arity.0.5.1 logs.0.10.0 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ordering.3.21.1 parsexp.v0.16.0 pp.2.0.0 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_deriving_hash.0.1.3 ppx_deriving_yojson.3.10.0 ppxlib.0.37.0 qcheck-core.0.25 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 stdlib-shims.0.3.0 stdune.3.21.1 stringext.1.6.0 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 cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build END-OF-DOCKERFILE docker build . END-REPRO-BLOCK 2026-02-14 19:53.58: Using cache hint "edwintorok/lintcstubs-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.5-9e7a60616ebbb5b1eaa198e389dfb6f1" 2026-02-14 19:53.58: Using OBuilder spec: ((from macos-homebrew-ocaml-4.14) (comment macos-homebrew-4.14_opam-2.5) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam")) (run (shell "opam init --reinit -ni")) (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (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 ./src/./)) (run (network host) (shell "opam pin add -yn lintcstubs.dev './src/./' && \ \nopam pin add -yn lintcstubs-gen.dev './src/./'")) (run (network host) (shell "echo '(lang dune 3.0)' > './src/./dune-project'")) (env DEPS "angstrom.0.16.1 arg-complete.0.2.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base batteries.3.10.0 bigstringaf.0.10.0 bos.0.2.1 camlp-streams.5.0.1 catapult.0.1.1 catapult-file.0.1.1 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 dune.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 fmt.0.11.0 fpath.0.7.3 fs-io.3.21.1 goblint.2.1.0 goblint-cil.2.0.1 hex.1.5.0 integers.0.7.0 json-data-encoding.1.0.1 jsonm.1.0.2 jsonrpc.1.25.0 lintcstubs-arity.0.5.1 logs.0.10.0 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ordering.3.21.1 parsexp.v0.16.0 pp.2.0.0 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_deriving_hash.0.1.3 ppx_deriving_yojson.3.10.0 ppxlib.0.37.0 qcheck-core.0.25 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 stdlib-shims.0.3.0 stdune.3.21.1 stringext.1.6.0 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (network host) (shell "opam install $DEPS")) (copy (src .) (dst ./src)) (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build")) ) 2026-02-14 19:53.58: Waiting for resource in pool OCluster 2026-02-14 19:53.58: Waiting for worker… 2026-02-14 19:53.58: Got resource from pool OCluster Building on i7-worker-02 All commits already cached HEAD is now at c627ceb Merge pull request #3 from Leonidas-from-XIV/goblint-constraint (from macos-homebrew-ocaml-4.14) 2026-02-14 19:53.59 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache /: (comment macos-homebrew-4.14_opam-2.5) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam")) 2026-02-14 19:54.00 ---> using "75b1629629d7f21c50a7e1e39b2ef83e2edb8ace81aab34254c0c8782b814749" from cache /: (run (shell "opam init --reinit -ni")) No configuration file found, using 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 /Users/mac1000/.opam from version 2.1 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 1 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=1 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] no changes from git+file:///Users/mac1000/opam-repository 2026-02-14 19:54.00 ---> using "a61e945ab7671a6fff400f946e3fe88df4d67a783ea1f56fa59dc21595ef1b19" from cache /: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Darwin 24.5.0 The OCaml toplevel, version 4.14.2 2.5.0 2026-02-14 19:54.00 ---> using "11a9923a4c4f0ab256d15330129e4c4938459d2e6239eb4f7bdf0f2620300e09" from cache /: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (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 4c9d80b731..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:///Users/mac1000/opam-repository Everything as up-to-date as possible The following packages are not being upgraded because the new versions conflict with other installed packages: - ocaml.5.4.0 - ocaml-config.3 However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.4.0"), which will ask permission to downgrade or uninstall the conflicting packages. Nothing to do. # To update the current shell environment, run: eval $(opam env) 2026-02-14 19:54.46 ---> saved as "29428b10a6121308c71f0ab3ce32dfea5ac0b9b1002ab22d8a2964e1d2fc7787" /: (copy (src lintcstubs.opam lintcstubs-gen.opam) (dst ./src/./)) 2026-02-14 19:54.48 ---> saved as "df9b2743912be2c31adbec008ee2c77a542ea58e7da970811d9d9f673110b870" /: (run (network host) (shell "opam pin add -yn lintcstubs.dev './src/./' && \ \nopam pin add -yn lintcstubs-gen.dev './src/./'")) [lintcstubs.dev] synchronised (file:///Users/mac1000/src) lintcstubs is now pinned to file:///Users/mac1000/src (version dev) [lintcstubs-gen.dev] synchronised (file:///Users/mac1000/src) lintcstubs-gen is now pinned to file:///Users/mac1000/src (version dev) 2026-02-14 19:55.03 ---> saved as "4b14861f0fa6ee11b47b75f207e543652b7572d7194f3678bd8978a1df270a10" /: (run (network host) (shell "echo '(lang dune 3.0)' > './src/./dune-project'")) 2026-02-14 19:55.05 ---> saved as "26374afc8ddaf520f8824455fa81ecdd2207f5c7558de3be22254c78ca0842f0" /: (env DEPS "angstrom.0.16.1 arg-complete.0.2.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base batteries.3.10.0 bigstringaf.0.10.0 bos.0.2.1 camlp-streams.5.0.1 catapult.0.1.1 catapult-file.0.1.1 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 dune.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 fmt.0.11.0 fpath.0.7.3 fs-io.3.21.1 goblint.2.1.0 goblint-cil.2.0.1 hex.1.5.0 integers.0.7.0 json-data-encoding.1.0.1 jsonm.1.0.2 jsonrpc.1.25.0 lintcstubs-arity.0.5.1 logs.0.10.0 num.1.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ordering.3.21.1 parsexp.v0.16.0 pp.2.0.0 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppx_deriving.6.1.1 ppx_deriving_hash.0.1.3 ppx_deriving_yojson.3.10.0 ppxlib.0.37.0 qcheck-core.0.25 rresult.0.7.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 sha.1.15.4 stdlib-shims.0.3.0 stdune.3.21.1 stringext.1.6.0 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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (network host) (shell "opam update --depexts && opam install --cli=2.5 --depext-only -y lintcstubs.dev lintcstubs-gen.dev $DEPS")) + /usr/local/bin/brew "update" - ==> Updating Homebrew... - ==> Downloading https://ghcr.io/v2/homebrew/core/portable-ruby/blobs/sha256:80c194381e990a4967a1ae44b8242b688e6a17ab590865a38671137677411469 - Already downloaded: /Users/mac1000/Library/Caches/Homebrew/portable-ruby-3.4.8.catalina.bottle.tar.gz - ==> Pouring portable-ruby-3.4.8.catalina.bottle.tar.gz - ==> Homebrew collects anonymous analytics. - Read the analytics documentation (and how to opt-out) here: - https://docs.brew.sh/Analytics - No analytics have been recorded yet (nor will be during this `brew` run). - - ==> Homebrew is run entirely by unpaid volunteers. Please consider donating: - https://github.com/Homebrew/brew#donations - - Already up-to-date. <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [lintcstubs-gen.dev] synchronised (file:///Users/mac1000/src) [lintcstubs.dev] synchronised (file:///Users/mac1000/src) [NOTE] Package ocaml-options-vanilla is already installed (current version is 1). [NOTE] Package ocaml-config is already installed (current version is 2). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2). [NOTE] Package ocaml is already installed (current version is 4.14.2). [NOTE] Package base-unix is already installed (current version is base). [NOTE] Package base-threads is already installed (current version is base). [NOTE] Package base-bigarray is already installed (current version is base). The following system packages will first need to be installed: autoconf gcc gmp pkgconf <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /usr/local/bin/brew "install" "autoconf" "gcc" "gmp" "pkgconf" - ==> Fetching downloads for: autoconf, gcc, gmp and pkgconf - ✔︎ Bottle Manifest autoconf (2.72) - ✔︎ Bottle Manifest gmp (6.3.0) - ✔︎ Bottle Manifest pkgconf (2.5.1) - ✔︎ Bottle Manifest pkgconf (2.5.1) - ✔︎ Bottle Manifest gcc (15.2.0_1) - ✔︎ Bottle Manifest m4 (1.4.21) - ✔︎ Bottle m4 (1.4.21) - ✔︎ Bottle autoconf (2.72) - ✔︎ Bottle Manifest gmp (6.3.0) - ✔︎ Bottle gmp (6.3.0) - ✔︎ Bottle Manifest isl (0.27) - ✔︎ Bottle isl (0.27) - ✔︎ Bottle Manifest mpfr (4.2.2) - ✔︎ Bottle mpfr (4.2.2) - ✔︎ Bottle Manifest libmpc (1.3.1) - ✔︎ Bottle libmpc (1.3.1) - ✔︎ Bottle Manifest lz4 (1.10.0) - ✔︎ Bottle lz4 (1.10.0) - ✔︎ Bottle Manifest xz (5.8.2) - ✔︎ Bottle Manifest zstd (1.5.7_1) - ✔︎ Bottle zstd (1.5.7_1) - ✔︎ Bottle xz (5.8.2) - ✔︎ Bottle pkgconf (2.5.1) - ✔︎ Bottle gcc (15.2.0_1) - ==> Installing autoconf dependency: m4 - ==> Pouring m4--1.4.21.sequoia.bottle.tar.gz - 🍺 /usr/local/Cellar/m4/1.4.21: 14 files, 787.2KB - ==> Pouring autoconf--2.72.sequoia.bottle.1.tar.gz - 🍺 /usr/local/Cellar/autoconf/2.72: 72 files, 3.8MB - ==> Running `brew cleanup autoconf`... - Disable this behaviour by setting `HOMEBREW_NO_INSTALL_CLEANUP=1`. - Hide these hints with `HOMEBREW_NO_ENV_HINTS=1` (see `man brew`). - ==> Installing dependencies for gcc: gmp, isl, mpfr, libmpc, lz4, xz and zstd - ==> Installing gcc dependency: gmp - ==> Pouring gmp--6.3.0.sequoia.bottle.tar.gz - 🍺 /usr/local/Cellar/gmp/6.3.0: 22 files, 3.4MB - ==> Installing gcc dependency: isl - ==> Pouring isl--0.27.sequoia.bottle.tar.gz - 🍺 /usr/local/Cellar/isl/0.27: 74 files, 8MB - ==> Installing gcc dependency: mpfr - ==> Pouring mpfr--4.2.2.sequoia.bottle.tar.gz - 🍺 /usr/local/Cellar/mpfr/4.2.2: 31 files, 3.3MB - ==> Installing gcc dependency: libmpc - ==> Pouring libmpc--1.3.1.sequoia.bottle.tar.gz - 🍺 /usr/local/Cellar/libmpc/1.3.1: 13 files, 476.5KB - ==> Installing gcc dependency: lz4 - ==> Pouring lz4--1.10.0.sequoia.bottle.1.tar.gz - 🍺 /usr/local/Cellar/lz4/1.10.0: 24 files, 678.2KB - ==> Installing gcc dependency: xz - ==> Pouring xz--5.8.2.sequoia.bottle.tar.gz - 🍺 /usr/local/Cellar/xz/5.8.2: 96 files, 2.4MB - ==> Installing gcc dependency: zstd - ==> Pouring zstd--1.5.7_1.sequoia.bottle.tar.gz - 🍺 /usr/local/Cellar/zstd/1.5.7_1: 32 files, 2.5MB - ==> Installing gcc - ==> Pouring gcc--15.2.0_1.sequoia.bottle.tar.gz - 🍺 /usr/local/Cellar/gcc/15.2.0_1: 1,715 files, 513.7MB - ==> Running `brew cleanup gcc`... - Removing: /Users/mac1000/Library/Caches/Homebrew/gcc_bottle_manifest--15.2.0... (23.4KB) - ==> Running `brew cleanup gmp`... - ==> Pouring pkgconf--2.5.1.sequoia.bottle.tar.gz - 🍺 /usr/local/Cellar/pkgconf/2.5.1: 28 files, 383.2KB - ==> Running `brew cleanup pkgconf`... # To update the current shell environment, run: eval $(opam env) 2026-02-14 19:59.00 ---> saved as "106ddd3c54cb5bd104401f717f63db8c9e5772ea29a9b006c555b5a4e2e70d1b" /: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew))) (network host) (shell "opam install $DEPS")) [NOTE] Package ocaml-options-vanilla is already installed (current version is 1). [NOTE] Package ocaml-config is already installed (current version is 2). [NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2). [NOTE] Package ocaml is already installed (current version is 4.14.2). [NOTE] Package base-unix is already installed (current version is base). [NOTE] Package base-threads is already installed (current version is base). [NOTE] Package base-bigarray is already installed (current version is base). The following actions will be performed: === install 69 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.1.1 - install catapult-file 0.1.1 - 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 dune 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 fmt 0.11.0 - install fpath 0.7.3 - install fs-io 3.21.1 - install goblint 2.1.0 - install goblint-cil 2.0.1 - install hex 1.5.0 - install integers 0.7.0 - install json-data-encoding 1.0.1 - install jsonm 1.0.2 - install jsonrpc 1.25.0 - install lintcstubs-arity 0.5.1 - install logs 0.10.0 - install num 1.6 - install ocaml-compiler-libs v0.12.4 - install ocaml-syntax-shims 1.0.0 - install ocamlbuild 0.16.1 - install ocamlfind 1.9.8 - install ordering 3.21.1 - install parsexp v0.16.0 - install pp 2.0.0 - install ppx_blob 0.9.0 - install ppx_derivers 1.2.1 - install ppx_deriving 6.1.1 - install ppx_deriving_hash 0.1.3 - install ppx_deriving_yojson 3.10.0 - install ppxlib 0.37.0 - install qcheck-core 0.25 - install rresult 0.7.0 - install seq base - install sexplib v0.16.0 - install sexplib0 v0.16.0 - install sha 1.15.4 - install stdlib-shims 0.3.0 - install stdune 3.21.1 - install stringext 1.6.0 - install 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 astring.0.8.5 (cached) -> retrieved arg-complete.0.2.1 (cached) -> retrieved angstrom.0.16.1 (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 catapult.0.1.1, catapult-file.0.1.1 (cached) -> installed conf-gcc.1.0 -> installed conf-perl.2 -> installed conf-pkg-config.4 -> retrieved cppo.1.8.0 (cached) -> retrieved cpu.2.0.0 (cached) -> retrieved batteries.3.10.0 (cached) -> retrieved cstruct.6.2.0 (cached) -> retrieved ctypes.0.24.0 (cached) -> installed conf-gmp.5 -> retrieved dune-compiledb.0.6.0 (cached) -> retrieved csexp.1.5.2 (cached) -> installed conf-autoconf.0.2 -> retrieved ezjsonm.1.3.0 (cached) -> retrieved fmt.0.11.0 (cached) -> retrieved fpath.0.7.3 (cached) -> retrieved goblint-cil.2.0.1 (cached) -> retrieved goblint.2.1.0 (cached) -> retrieved hex.1.5.0 (cached) -> retrieved integers.0.7.0 (cached) -> retrieved jsonm.1.0.2 (cached) -> retrieved json-data-encoding.1.0.1 (cached) -> retrieved lintcstubs-arity.0.5.1 (cached) -> retrieved logs.0.10.0 (cached) -> retrieved num.1.6 (cached) -> retrieved ocaml-compiler-libs.v0.12.4 (cached) -> retrieved ocaml-syntax-shims.1.0.0 (cached) -> retrieved ocamlbuild.0.16.1 (cached) -> retrieved jsonrpc.1.25.0 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved pp.2.0.0 (cached) -> retrieved parsexp.v0.16.0 (cached) -> retrieved ppx_blob.0.9.0 (cached) -> retrieved ppx_derivers.1.2.1 (cached) -> retrieved ppx_deriving_hash.0.1.3 (cached) -> retrieved ppx_deriving.6.1.1 (cached) -> retrieved ppx_deriving_yojson.3.10.0 (cached) -> retrieved qcheck-core.0.25 (cached) -> retrieved dune.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 seq.base (cached) -> installed seq.base -> retrieved sexplib.v0.16.0 (cached) -> retrieved rresult.0.7.0 (cached) -> retrieved ppxlib.0.37.0 (cached) -> retrieved sha.1.15.4 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved sexplib0.v0.16.0 (cached) -> retrieved stringext.1.6.0 (cached) -> installed ocamlbuild.0.16.1 -> retrieved uuidm.0.9.10 (cached) -> retrieved topkg.1.1.1 (cached) -> retrieved uutf.1.0.4 (cached) -> retrieved uri.4.4.0 (cached) -> installed num.1.6 -> retrieved zarith.1.14 (cached) -> retrieved yaml.3.2.0 (cached) -> retrieved yojson.2.2.2 (cached) -> installed ocamlfind.1.9.8 -> 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 jsonm.1.0.2 -> installed astring.0.8.5 -> installed logs.0.10.0 -> installed fpath.0.7.3 -> installed bos.0.2.1 -> installed dune.3.21.1 -> installed ocaml-syntax-shims.1.0.0 -> installed ocaml-compiler-libs.v0.12.4 -> installed lintcstubs-arity.0.5.1 -> installed cstruct.6.2.0 -> installed csexp.1.5.2 -> installed cppo.1.8.0 -> installed fs-io.3.21.1 -> installed hex.1.5.0 -> installed sexplib0.v0.16.0 -> installed qcheck-core.0.25 -> installed ordering.3.21.1 -> installed ppx_derivers.1.2.1 -> installed dune-configurator.3.21.1 -> installed parsexp.v0.16.0 -> installed ezjsonm.1.3.0 -> installed stringext.1.6.0 -> installed stdlib-shims.0.3.0 -> installed arg-complete.0.2.1 -> installed pp.2.0.0 -> installed integers.0.7.0 -> installed sha.1.15.4 -> installed sexplib.v0.16.0 -> installed top-closure.3.21.1 -> installed bigstringaf.0.10.0 -> installed yojson.2.2.2 -> installed catapult.0.1.1 -> installed camlp-streams.5.0.1 -> installed dune-compiledb.0.6.0 -> installed cpu.2.0.0 -> installed catapult-file.0.1.1 -> installed angstrom.0.16.1 -> installed jsonrpc.1.25.0 -> installed dyn.3.21.1 -> installed uri.4.4.0 -> installed json-data-encoding.1.0.1 -> installed batteries.3.10.0 -> installed stdune.3.21.1 -> installed ctypes.0.24.0 -> installed dune-private-libs.3.21.1 -> installed yaml.3.2.0 -> installed ppxlib.0.37.0 -> installed dune-site.3.21.1 -> 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.1 -> installed goblint.2.1.0 Done. # To update the current shell environment, run: eval $(opam env) 2026-02-14 20:01.41 ---> saved as "39adfd14c865fc13cbd18e08784b5e92029478bedbabafaf4721f4dcd2665d15" /: (copy (src .) (dst ./src)) 2026-02-14 20:01.42 ---> saved as "60e48e8a1c1b55175590dc6833a1d1709496f34f80c734f176a5dfb27954c542" /: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build")) (cd _build/default/model && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -Wno-attributes -g -I /Users/mac1000/.opam/4.14.2/lib/ocaml -I include -o ocaml_runtime.model.o -c ocaml_runtime.model.c) ocaml_runtime.model.c:157:21: warning: variable 'val' is uninitialized when used here [-Wuninitialized] 157 | { value val; return val; } | ^~~ ocaml_runtime.model.c:157:12: note: initialize the variable 'val' to silence this warning 157 | { value val; return val; } | ^ | = 0 ocaml_runtime.model.c:213:21: warning: unused variable 'ret' [-Wunused-variable] 213 | uintnat ret = ops->deserialize(dst); | ^~~ ocaml_runtime.model.c:266:40: warning: address of array 'lr->tables' will always evaluate to 'true' [-Wpointer-bool-conversion] 266 | __goblint_assume(!!lr->tables); | ~~~~~^~~~~~ ocaml_runtime.model.c:312:14: warning: unused variable 'i' [-Wunused-variable] 312 | unsigned i; | ^ ocaml_runtime.model.c:599:23: warning: variable 'val' is uninitialized when used here [-Wuninitialized] 599 | { int32_t val; return val; } | ^~~ ocaml_runtime.model.c:599:14: note: initialize the variable 'val' to silence this warning 599 | { int32_t val; return val; } | ^ | = 0 ocaml_runtime.model.c:602:23: warning: variable 'val' is uninitialized when used here [-Wuninitialized] 602 | { int64_t val; return val; } | ^~~ ocaml_runtime.model.c:602:14: note: initialize the variable 'val' to silence this warning 602 | { int64_t val; return val; } | ^ | = 0 6 warnings generated. File "example/dune/dune", lines 33-49, characters 0-296: 33 | (rule 34 | (target foo.sarif) 35 | (enabled_if %{bin-available:lintcstubs}) .... 47 | %{ocaml_where} 48 | -o 49 | %{target})))) (cd _build/default/example/dune && ../../../install/default/bin/lintcstubs --conf lintcstubs.json foostubs.c primitives.model.c -I /Users/mac1000/.opam/4.14.2/lib/ocaml -o foo.sarif) > _build/default/example/dune/foo.log /usr/local/Cellar/gcc/15.2.0_1/lib/gcc/current/gcc/x86_64-apple-darwin24/15/include/stddef.h:464: Error: Cannot resolve variable nullptr. /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/_time.h[157:0-0] : syntax error Parsing errorFatal error: exception GoblintCil__Frontc.ParseError("Parse error") File "model/ranges.t", line 1, characters 0-0: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/model/ranges.t _build/default/model/ranges.t.corrected diff --git a/_build/default/model/ranges.t b/_build/default/model/ranges.t.corrected index 7b2a1c7..db85106 100644 --- a/_build/default/model/ranges.t +++ b/_build/default/model/ranges.t.corrected @@ -65,12 +65,16 @@ Test primitive types: > EOF $ goblint -I $(ocamlc -where) --enable dbg.regression --disable warn.deadcode --disable warn.info test_main.c test_stubs.c - [Error][Assert] Assertion "(res & 1L) != 0L" will fail. Expected: SUCCESS -> failed (test_main.c:84:4-84:40) - [Error][Assert] Assertion "res >> 1 <= 255L" will fail. Expected: SUCCESS -> failed (test_main.c:126:4-126:42) + /usr/local/Cellar/gcc/15.2.0_1/lib/gcc/current/gcc/x86_64-apple-darwin24/15/include/stddef.h:464: Error: Cannot resolve variable nullptr. + /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/_time.h[157:0-0] : syntax error + Parsing errorFatal error: exception GoblintCil__Frontc.ParseError("Parse error") + [2] Now generate a main function, this introduces multi-threading: $ lintcstubs_genmain test.cmt >>test_analyze.c $ goblint --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.unsound --disable warn.deadcode test_analyze.c test_stubs.c ocaml_runtime.model.c - [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) + /usr/local/Cellar/gcc/15.2.0_1/lib/gcc/current/gcc/x86_64-apple-darwin24/15/include/stddef.h:464: Error: Cannot resolve variable nullptr. + /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/_time.h[157:0-0] : syntax error + Parsing errorFatal error: exception GoblintCil__Frontc.ParseError("Parse error") + [2] 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 44d73f1..27c646d 100644 --- a/_build/default/analyses.t +++ b/_build/default/analyses.t.corrected @@ -12,6 +12,10 @@ Rule 1. CAMLparam > EOF $ lintcstubs --set mainfun[+] foo --disable warn.deadcode -I $(ocamlc -where) test.c + /usr/local/Cellar/gcc/15.2.0_1/lib/gcc/current/gcc/x86_64-apple-darwin24/15/include/stddef.h:464: Error: Cannot resolve variable nullptr. + /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/_time.h[157:0-0] : syntax error + Parsing errorFatal error: exception GoblintCil__Frontc.ParseError("Parse error") + [2] $ cat >test.c <<EOF > #include <caml/memory.h> @@ -23,6 +27,10 @@ Rule 1. CAMLparam > } > EOF $ lintcstubs --set mainfun[+] foo --disable warn.info --disable warn.deadcode -I $(ocamlc -where) test.c + /usr/local/Cellar/gcc/15.2.0_1/lib/gcc/current/gcc/x86_64-apple-darwin24/15/include/stddef.h:464: Error: Cannot resolve variable nullptr. + /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/_time.h[157:0-0] : syntax error + Parsing errorFatal error: exception GoblintCil__Frontc.ParseError("Parse error") + [2] $ cat >test.c <<EOF > #include <caml/memory.h> @@ -31,6 +39,10 @@ Rule 1. CAMLparam > } > EOF $ lintcstubs --set mainfun[+] foo --disable warn.info --disable warn.deadcode -I $(ocamlc -where) test.c + /usr/local/Cellar/gcc/15.2.0_1/lib/gcc/current/gcc/x86_64-apple-darwin24/15/include/stddef.h:464: Error: Cannot resolve variable nullptr. + /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/_time.h[157:0-0] : syntax error + Parsing errorFatal error: exception GoblintCil__Frontc.ParseError("Parse error") + [2] $ cat >test.c <<EOF > #include <caml/memory.h> @@ -43,6 +55,9 @@ Rule 1. CAMLparam > } > EOF $ lintcstubs --conf lintcstubs.json --set mainfun[+] foo -I $(ocamlc -where) test.c | sed -e '/unroll.*/d' + /usr/local/Cellar/gcc/15.2.0_1/lib/gcc/current/gcc/x86_64-apple-darwin24/15/include/stddef.h:464: Error: Cannot resolve variable nullptr. + /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/_time.h[157:0-0] : syntax error + Parsing errorFatal error: exception GoblintCil__Frontc.ParseError("Parse error") Cannot dereference OCaml values after releasing the runtime lock: $ cat >test.c <<EOF @@ -61,8 +76,9 @@ Cannot dereference OCaml values after releasing the runtime lock: > EOF $ lintcstubs --set mainfun[+] foo --disable warn.imprecise --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 (test.c:9:3-9:39) - [Error][Race] DomainLock: must be held when dereferencing OCaml value v (test.c:9:3-9:39) + stddef.h:464: Error: Cannot resolve variable nullptr. + _time.h[157:0-0] : syntax error + Parsing errorFatal error: exception GoblintCil__Frontc.ParseError("Parse error") Correct would be: $ cat >test.c <<EOF @@ -80,5 +96,8 @@ Correct would be: > EOF $ lintcstubs --set mainfun[+] foo --disable warn.imprecise --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) + /usr/local/Cellar/gcc/15.2.0_1/lib/gcc/current/gcc/x86_64-apple-darwin24/15/include/stddef.h:464: Error: Cannot resolve variable nullptr. + /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/_time.h[157:0-0] : syntax error + Parsing errorFatal error: exception GoblintCil__Frontc.ParseError("Parse error") + [2] "/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2026-02-14 20:01.54: Job failed: Failed: Build failed