Organisationsedwintoroklintcstubs0e6ae6 ()macos-homebrew-5.4_arm64_opam-2.5

macos-homebrew-5.4_arm64_opam-2.5

Logs

Show full logs
2026-02-15 18:11.54: New job: test edwintorok/lintcstubs https://github.com/edwintorok/lintcstubs.git#refs/heads/ocaml5.4 (0e6ae65086f995c171580549480d5b33166625b0) (macos-arm64:macos-homebrew-5.4_arm64_opam-2.5)
Base: macos-homebrew-ocaml-5.4
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 macos-homebrew-ocaml-5.4
# macos-homebrew-5.4_arm64_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-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 cd ./src && 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-macos-homebrew-ocaml-5.4-macos-homebrew-5.4_arm64_opam-2.5-4251b7e10f26e6cee7d7f058902ff7e9"
2026-02-15 18:11.54: Using OBuilder spec:
((from macos-homebrew-ocaml-5.4)
 (comment macos-homebrew-5.4_arm64_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-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 /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-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 m1-worker-02
HEAD is now at 753d602 Fix doc lint warning
HEAD is now at 0e6ae65 CI: add OCaml 5.4

(from macos-homebrew-ocaml-5.4)
2026-02-15 18:11.55 ---> using "338135fbf1889e924a607b47198b8b308c32a925cc9436066d65a9bdc402cad5" from cache

/: (comment macos-homebrew-5.4_arm64_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-15 18:11.55 ---> using "0e9d0f8ed44ab1f77ef30c8d8456629e6c63f869a24319cbb64657a84e315111" 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-15 18:11.55 ---> using "06effe220fa63e5f9fae9bf4643255961d59bf292a94931a0e1dd6d81a9fa7c6" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 5.4.0
2.5.0
2026-02-15 18:11.55 ---> using "78e99acc02a52806060d0075d40f6ea681e9ef77eb60ecbbaff6e5155272646b" 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
   95f7875db7..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

Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-02-15 18:11.56 ---> using "626505da901cd1352340495f00b53ae651ca3c59fbb3615141b09fbc1840a213" from cache

/: (copy (src lintcstubs.opam lintcstubs-gen.opam) (dst ./src/./))
2026-02-15 18:11.56 ---> using "5df59e2581acfca8dfc0a69fcf4da897094c4b2893b408f5a2ae576e0da26a95" from cache

/: (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-15 18:11.56 ---> using "bd992a97f50c347a5f2cc4934bc4278733cf68b475e5b3cfd134f7e7a7346c3d" from cache

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2026-02-15 18:11.56 ---> using "e9b98747655d701bb79ae74c5fc49880e5c41b5f029582bb42bf3b2da24fb6ca" from cache

/: (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 /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"))
2026-02-15 18:11.56 Waiting for previous build to finish cancelling
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- 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 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 gcc gmp pkgconf

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ /opt/homebrew/bin/brew "install" "autoconf" "gcc" "gmp" "pkgconf"
- ==> Fetching downloads for: autoconf, gcc, gmp and pkgconf
- ✔︎ Bottle Manifest autoconf (2.72)
- ✔︎ Bottle Manifest gcc (15.2.0_1)
- ✔︎ Bottle Manifest gmp (6.3.0)
- ✔︎ Bottle Manifest pkgconf (2.5.1)
- ✔︎ Bottle Manifest pkgconf (2.5.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 Manifest xz (5.8.2)
- ✔︎ Bottle Manifest zstd (1.5.7_1)
- ✔︎ Bottle lz4 (1.10.0)
- ✔︎ Bottle xz (5.8.2)
- ✔︎ Bottle zstd (1.5.7_1)
- ✔︎ Bottle pkgconf (2.5.1)
- ✔︎ Bottle gcc (15.2.0_1)
- ==> Installing autoconf dependency: m4
- ==> Pouring m4--1.4.21.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/m4/1.4.21: 14 files, 816.5KB
- ==> Pouring autoconf--2.72.arm64_sequoia.bottle.1.tar.gz
- 🍺  /opt/homebrew/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.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/gmp/6.3.0: 22 files, 3.4MB
- ==> Installing gcc dependency: isl
- ==> Pouring isl--0.27.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/isl/0.27: 74 files, 8.0MB
- ==> Installing gcc dependency: mpfr
- ==> Pouring mpfr--4.2.2.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/mpfr/4.2.2: 31 files, 3.3MB
- ==> Installing gcc dependency: libmpc
- ==> Pouring libmpc--1.3.1.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/libmpc/1.3.1: 13 files, 503.2KB
- ==> Installing gcc dependency: lz4
- ==> Pouring lz4--1.10.0.arm64_sequoia.bottle.1.tar.gz
- 🍺  /opt/homebrew/Cellar/lz4/1.10.0: 24 files, 729.1KB
- ==> Installing gcc dependency: xz
- ==> Pouring xz--5.8.2.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/xz/5.8.2: 96 files, 2.7MB
- ==> Installing gcc dependency: zstd
- ==> Pouring zstd--1.5.7_1.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/zstd/1.5.7_1: 32 files, 2.3MB
- ==> Installing gcc
- ==> Pouring gcc--15.2.0_1.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/gcc/15.2.0_1: 1,602 files, 476.1MB
- ==> 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.arm64_sequoia.bottle.tar.gz
- 🍺  /opt/homebrew/Cellar/pkgconf/2.5.1: 28 files, 531.1KB
- ==> Running `brew cleanup pkgconf`...
# To update the current shell environment, run: eval $(opam env)
2026-02-15 18:18.22 ---> saved as "0ca2a0aa850ca6f4b8571f5e59eb1478e537c946d8900a5e8b53d5c89ba5124c"

/: (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 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 astring.0.8.5  (cached)
-> retrieved angstrom.0.16.1  (cached)
-> retrieved arg-complete.0.2.1  (https://github.com/sim642/ocaml-arg-complete/releases/download/0.2.1/arg-complete-0.2.1.tbz)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved batteries.3.10.0  (cached)
-> installed conf-gcc.1.0
-> installed conf-pkg-config.4
-> installed conf-perl.2
-> retrieved cppo.1.8.0  (cached)
-> installed conf-autoconf.0.2
-> installed conf-gmp.5
-> 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 cpu.2.0.0  (https://github.com/UnixJunkie/cpu/archive/v2.0.0.tar.gz)
-> 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 catapult.0.2, catapult-file.0.2  (https://github.com/AestheticIntegration/catapult/archive/v0.2.tar.gz)
-> 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 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-cil.2.0.9  (https://github.com/goblint/cil/releases/download/2.0.9/goblint-cil-2.0.9.tbz)
-> retrieved jsonrpc.1.25.0  (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 goblint.2.7.1  (https://github.com/goblint/analyzer/releases/download/v2.7.1/goblint-2.7.1.tbz)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved parsexp.v0.17.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ppx_blob.0.9.0  (cached)
-> retrieved pp.2.0.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved lintcstubs-arity.0.5.1  (https://github.com/edwintorok/lintcstubs-arity/releases/download/0.5.1/lintcstubs-arity-0.5.1.tbz)
-> retrieved ppx_deriving.6.1.1  (cached)
-> retrieved ppx_deriving_yojson.3.10.0  (cached)
-> retrieved ppx_deriving_hash.0.1.3  (https://github.com/sim642/ppx_deriving_hash/releases/download/0.1.3/ppx_deriving_hash-0.1.3.tbz)
-> retrieved rresult.0.7.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib.v0.17.0  (cached)
-> retrieved qcheck-core.0.91  (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 ppxlib.0.37.0  (cached)
-> retrieved uri.4.4.0  (cached)
-> retrieved uuidm.0.9.10  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved yaml.3.2.0  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved zarith.1.14  (cached)
-> retrieved uutf.1.0.4  (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 uutf.1.0.4
-> installed rresult.0.7.0
-> 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 domain_shims.0.1.0
-> installed cstruct.6.2.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed dune-build-info.3.21.1
-> installed fileutils.0.6.6
-> installed catapult.0.2
-> installed camlp-streams.5.0.1
-> installed arg-complete.0.2.1
-> installed hex.1.5.0
-> installed cpu.2.0.0
-> installed catapult-file.0.2
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed fs-io.3.21.1
-> installed lintcstubs-arity.0.5.1
-> installed dune-configurator.3.21.1
-> installed ppx_derivers.1.2.1
-> installed pp.2.0.0
-> installed stdlib-shims.0.3.0
-> installed bigstringaf.0.10.0
-> installed stringext.1.6.0
-> installed sexplib0.v0.17.0
-> installed thread-table.1.0.0
-> installed integers.0.7.0
-> installed ezjsonm.1.3.0
-> installed angstrom.0.16.1
-> installed ordering.3.21.1
-> installed sha.1.15.4
-> installed domain-local-await.1.0.1
-> installed parsexp.v0.17.0
-> installed qcheck-core.0.91
-> installed batteries.3.10.0
-> installed dyn.3.21.1
-> installed top-closure.3.21.1
-> installed yojson.2.2.2
-> installed sexplib.v0.17.0
-> installed uri.4.4.0
-> installed ctypes.0.24.0
-> installed dune-compiledb.0.6.0
-> installed jsonrpc.1.25.0
-> installed json-data-encoding.1.0.1
-> installed yaml.3.2.0
-> installed stdune.3.21.1
-> installed ppxlib.0.37.0
-> installed ppx_blob.0.9.0
-> installed dune-private-libs.3.21.1
-> installed ppx_deriving.6.1.1
-> installed ppx_deriving_hash.0.1.3
-> installed dune-site.3.21.1
-> 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:20.23 ---> saved as "1e0f9aca8efa0cfbbad7d66130c97f61f0a38069bfceda6ce8dcf240ba1c406b"

/: (copy (src .) (dst ./src))
2026-02-15 18:20.24 ---> saved as "b44b945e76da648d88b4a7080ba39d5218200df460ad3f6b2faaf1970adcb93f"

/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "model/stub/src/dune", line 10, characters 9-28:
10 |   (names ocaml_runtime.model))
              ^^^^^^^^^^^^^^^^^^^
(cd _build/default/model/stub/src && /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/5.4.0/lib/ocaml -I ../../include -o ocaml_runtime.model.o -c ocaml_runtime.model.c)
ocaml_runtime.model.c:79:1: error: '__thread' is only allowed on variable declarations
   79 | __thread caml_domain_state *Caml_state_opt = &mainstate;
      | ^
ocaml_runtime.model.c:79:29: error: illegal initializer (only variables can be initialized)
   79 | __thread caml_domain_state *Caml_state_opt = &mainstate;
      |                             ^
/Users/mac1000/.opam/5.4.0/lib/ocaml/caml/domain_state.h:57:27: note: expanded from macro 'Caml_state_opt'
   57 |   #define Caml_state_opt (caml_get_domain_state())
      |                           ^
ocaml_runtime.model.c:220:21: warning: unused variable 'ret' [-Wunused-variable]
  220 |             uintnat ret = ops->deserialize(dst);
      |                     ^~~
ocaml_runtime.model.c:247:11: warning: initializing 'void *' with an expression of type 'volatile header_t *' (aka 'volatile unsigned long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  247 |     void *orig = Hp_val(arg);
      |           ^      ~~~~~~~~~~~
ocaml_runtime.model.c:277:40: warning: address of array 'lr->tables' will always evaluate to 'true' [-Wpointer-bool-conversion]
  277 |                 __goblint_assume(!!lr->tables);
      |                                   ~~~~~^~~~~~
ocaml_runtime.model.c:323:14: warning: unused variable 'i' [-Wunused-variable]
  323 |     unsigned i;
      |              ^
4 warnings and 2 errors generated.
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..bd4b329 100644
--- a/_build/default/model/stub/src/ranges.t
+++ b/_build/default/model/stub/src/ranges.t.corrected
@@ -66,16 +66,19 @@ Test primitive types:
   > EOF
 
   $ goblint --set 'pre.cppflags[+]' '-D_Thread_local=__thread' -I $(ocamlc -where) --enable dbg.regression --disable warn.deadcode --disable warn.info test_main.c test_stubs.c
+  [Error][Imprecise][Unsound] Function definition missing for caml_get_domain_state (test_main.c:67:5-67:43)
   [Error][Assert] Assertion "(res & 1L) != 0L" will fail. Expected: SUCCESS -> failed (test_main.c:84:4-84:40)
+  [Error][Imprecise][Unsound] Function definition missing for caml_get_domain_state (test_main.c:86:5-86:43)
+  [Error][Imprecise][Unsound] Function definition missing for caml_get_domain_state (test_main.c:107:5-107:43)
   [Error][Assert] Assertion "res >> 1 <= 255L" will fail. Expected: SUCCESS -> failed (test_main.c:126:4-126:42)
+  [Error][Imprecise][Unsound] Function definition missing for caml_get_domain_state (test_main.c:128:5-128:43)
+  [Error][Imprecise][Unsound] Function definition missing
 
 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: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)
-  [Error][Imprecise][Unsound] Function definition missing
+  ocaml_runtime.model.c:79: Error: Function declaration with initializer (caml_get_domain_state)
+  error in createGlobal(caml_get_domain_state: ocaml_runtime.model.c:79): GoblintCil__Errormsg.ErrorError: There were parsing errors in .goblint/preprocessed/ocaml_runtime.model.i
+  Fatal error: exception Goblint_lib__Maingoblint.FrontendError("Errormsg.Error")
+  [2]
 
File "example/dune/dune", lines 33-52, characters 0-338:
33 | (rule
34 |  (target foo.sarif)
35 |  (enabled_if %{bin-available:lintcstubs})
....
50 |     %{ocaml_where}
51 |     -o
52 |     %{target}))))
(cd _build/default/example/dune && ../../../install/default/bin/lintcstubs --conf lintcstubs.json --set warn.race-threshold 200 foostubs.c primitives.model.c -I /Users/mac1000/.opam/5.4.0/lib/ocaml -o foo.sarif) > _build/default/example/dune/foo.log
/Users/mac1000/src/_build/install/default/share/goblint/lib/stub/src/ocaml_runtime.model.c:79: Error: Function declaration with initializer (caml_get_domain_state)
error in createGlobal(caml_get_domain_state: /Users/mac1000/src/_build/install/default/share/goblint/lib/stub/src/ocaml_runtime.model.c:79): GoblintCil__Errormsg.ErrorError: There were parsing errors in .goblint/preprocessed/ocaml_runtime.model.i
Fatal error: exception Goblint_lib__Maingoblint.FrontendError("Errormsg.Error")
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-02-15 18:20.31: Job failed: Failed: Build failed