Build:
  1. 0
2026-01-13 04:05.02: New job: test ctypes.0.20.0 with dune.3.21.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29216/head (001b427da21d4d746e124eaaffab7b4134813f6d)
                              on debian-13-ocaml-4.14/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29216/head" && git reset --hard 001b427d
git fetch origin master
git merge --no-edit 1c361fac36225534ee877701522e296785f9a9db
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn dune.3.21.0 3.21.0
RUN opam reinstall dune.3.21.0; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'dune.3.21.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall ctypes.0.20.0; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ctypes.0.20.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test ctypes.0.20.0) || true
RUN opam reinstall --with-test --verbose ctypes.0.20.0; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ctypes.0.20.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2026-01-13 04:05.02: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa-dune.3.21.0-ctypes.0.20.0-001b427da21d4d746e124eaaffab7b4134813f6d"
2026-01-13 04:05.02: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn dune.3.21.0 3.21.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune.3.21.0;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'dune.3.21.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ctypes.0.20.0;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'ctypes.0.20.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test ctypes.0.20.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose ctypes.0.20.0;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'ctypes.0.20.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-01-13 04:05.02: Waiting for resource in pool OCluster
2026-01-13 19:05.56: Waiting for worker…
2026-01-13 19:09.36: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 1c361fac36 Merge pull request #29210 from dinosaure/release-miou-v0.5.1
Merge made by the 'ort' strategy.
 packages/chrome-trace/chrome-trace.3.21.0/opam     | 41 ++++++++++++
 .../dune-action-plugin.3.21.0/opam                 | 54 ++++++++++++++++
 .../dune-build-info/dune-build-info.3.21.0/opam    | 47 ++++++++++++++
 .../dune-configurator.3.21.0/opam                  | 51 +++++++++++++++
 packages/dune-glob/dune-glob.3.21.0/opam           | 44 +++++++++++++
 .../dune-private-libs.3.21.0/opam                  | 52 +++++++++++++++
 packages/dune-rpc-lwt/dune-rpc-lwt.3.21.0/opam     | 43 +++++++++++++
 packages/dune-rpc/dune-rpc.3.21.0/opam             | 46 +++++++++++++
 packages/dune-site/dune-site.3.21.0/opam           | 39 +++++++++++
 packages/dune/dune.3.21.0/opam                     | 75 ++++++++++++++++++++++
 packages/dyn/dyn.3.21.0/opam                       | 42 ++++++++++++
 packages/fs-io/fs-io.3.21.0/opam                   | 41 ++++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.21.0/opam         | 45 +++++++++++++
 packages/ordering/ordering.3.21.0/opam             | 40 ++++++++++++
 packages/stdune/stdune.3.21.0/opam                 | 48 ++++++++++++++
 packages/top-closure/top-closure.3.21.0/opam       | 40 ++++++++++++
 packages/xdg/xdg.3.21.0/opam                       | 41 ++++++++++++
 17 files changed, 789 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.21.0/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.21.0/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.21.0/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.21.0/opam
 create mode 100644 packages/dune-glob/dune-glob.3.21.0/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.21.0/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.21.0/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.21.0/opam
 create mode 100644 packages/dune-site/dune-site.3.21.0/opam
 create mode 100644 packages/dune/dune.3.21.0/opam
 create mode 100644 packages/dyn/dyn.3.21.0/opam
 create mode 100644 packages/fs-io/fs-io.3.21.0/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.21.0/opam
 create mode 100644 packages/ordering/ordering.3.21.0/opam
 create mode 100644 packages/stdune/stdune.3.21.0/opam
 create mode 100644 packages/top-closure/top-closure.3.21.0/opam
 create mode 100644 packages/xdg/xdg.3.21.0/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:d765b54c014ef238f3a84185055fd22f6a5e5bea6d6bbe9ec94a1c7ac9087afa)
2026-01-13 19:10.11 ---> using "2ecda48447fc68e8dcd256d2898af0a11126a077e05d747a0dcdff2845100de1" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-13 19:10.11 ---> using "79eb1218297339daa5e94be48ad16ae73f417b872defa106efeff5b5f3323e6e" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.

This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 71 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=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-13 19:10.11 ---> using "bf81485066c79fc9faf7a51b95869ba9d998fe2bf3de5ff7f59b253fc915122f" from cache

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2026-01-13 19:10.11 ---> using "f7c0c02658daf7a6d6c7671a8028e0e553264100bd569724894645b7844f6d7f" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2026-01-13 19:10.11 ---> using "9b3e592c65565b9b3dc8b88c605e54ddba818eb105df981d794040a64c2f9916" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-13 19:10.12 ---> using "09c39d7126e88ed573ca8f78acbffb48c0088baecebf7a9155a91c3290ace20b" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-13 19:10.12 ---> using "1f9ebb837e22c3f42b1c3f6e7178a2aa2fcb8206685e62bba70fde550083c584" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [95.5 kB]
- Fetched 9997 kB in 1s (11.2 MB/s)
- Reading package lists...
- 
2026-01-13 19:10.12 ---> using "bc5a313c83583d746179a868806b410c236b5a3d4895b7d8bc464eed6cfe706e" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune.3.21.0 3.21.0"))
dune is now pinned to version 3.21.0
2026-01-13 19:10.12 ---> using "448b2b0e77526967dc1d84c9cd1fd4fdf010f08d862d127b94c63a52bbc324d1" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dune.3.21.0;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'dune.3.21.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
dune.3.21.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install dune 3.21.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0  (cached)
-> installed dune.3.21.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-13 19:10.12 ---> using "5acb627376dc8b6ecaceedd8635589b9dfb44ea06abcf3fc03092c3e94ea4126" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ctypes.0.20.0;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'ctypes.0.20.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ctypes.0.20.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 5 packages
  - install bigarray-compat 1.1.0  [required by ctypes]
  - install ctypes          0.20.0
  - install integers        0.7.0  [required by ctypes]
  - install ocamlfind       1.9.8  [required by ctypes]
  - install stdlib-shims    0.3.0  [required by integers]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved ctypes.0.20.0  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed bigarray-compat.1.1.0
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed ocamlfind.1.9.8
-> installed ctypes.0.20.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-13 19:10.28 ---> saved as "6c62d79abcc7f2e98911df4d1663f3112a26f800afaee4d5c67e7aebd41b9e47"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test ctypes.0.20.0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile ctypes            0.20.0
=== install 13 packages
  - install   base-bytes        base   [required by ocplib-endian]
  - install   conf-libffi       2.0.0  [required by ctypes-foreign]
  - install   conf-ncurses      1      [required by ctypes]
  - install   conf-pkg-config   4      [required by conf-ncurses, ctypes-foreign]
  - install   cppo              1.8.0  [required by lwt]
  - install   csexp             1.5.2  [required by dune-configurator]
  - install   ctypes-foreign    0.18.0 [required by ctypes]
  - install   dune-configurator 3.21.0 [required by lwt]
  - install   lwt               6.0.0  [required by ctypes]
  - install   ocplib-endian     1.2    [required by lwt]
  - install   ounit             2.2.7  [required by ctypes]
  - install   ounit2            2.2.7  [required by ounit]
  - install   seq               base   [required by ounit2]

The following system packages will first need to be installed:
    libffi-dev ncurses-dev pkg-config

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

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "ncurses-dev" "pkg-config"
- Selecting previously unselected package libffi-dev:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20622 files and directories currently installed.)
- Preparing to unpack .../0-libffi-dev_3.4.8-2_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.8-2) ...
- Selecting previously unselected package libncurses6:amd64.
- Preparing to unpack .../1-libncurses6_6.5+20250216-2_amd64.deb ...
- Unpacking libncurses6:amd64 (6.5+20250216-2) ...
- Selecting previously unselected package libncurses-dev:amd64.
- Preparing to unpack .../2-libncurses-dev_6.5+20250216-2_amd64.deb ...
- Unpacking libncurses-dev:amd64 (6.5+20250216-2) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../3-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../4-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../5-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../6-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libffi-dev:amd64 (3.4.8-2) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libncurses6:amd64 (6.5+20250216-2) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libncurses-dev:amd64 (6.5+20250216-2) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bytes.base
-> installed conf-pkg-config.4
-> retrieved cppo.1.8.0  (https://opam.ocaml.org/cache)
-> retrieved csexp.1.5.2  (https://opam.ocaml.org/cache)
-> installed conf-libffi.2.0.0
-> installed conf-ncurses.1
-> retrieved ctypes.0.20.0  (https://opam.ocaml.org/cache)
-> installed ctypes-foreign.0.18.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> retrieved dune-configurator.3.21.0  (https://github.com/ocaml/dune/releases/download/3.21.0/dune-3.21.0.tbz)
-> retrieved lwt.6.0.0  (https://opam.ocaml.org/cache)
-> retrieved ocplib-endian.1.2  (https://opam.ocaml.org/cache)
-> retrieved ounit.2.2.7, ounit2.2.2.7  (https://opam.ocaml.org/cache)
-> retrieved seq.base  (2 extra sources)
-> retrieved seq.base  (2 extra sources)
-> removed   ctypes.0.20.0
-> installed seq.base
-> installed ocplib-endian.1.2
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed dune-configurator.3.21.0
-> installed lwt.6.0.0
[ERROR] The compilation of ctypes.0.20.0 failed at "make test".

#=== ERROR while compiling ctypes.0.20.0 ======================================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/ctypes.0.20.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build make test
# exit-code            2
# env-file             ~/.opam/log/ctypes-7-50c5d6.env
# output-file          ~/.opam/log/ctypes-7-50c5d6.out
### output ###
# gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64  -c -fPIC -Wall -g  "-I/home/opam/.opam/4.14/lib/integers" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -I `ocamlfind  ocamlc -where | sed 's|\r$||'` -o _build/clib/test_functions.o tests/clib/test_functions.c
# In file included from tests/clib/test_functions.c:33:
# tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# tests/clib/test_functions.c:38:13: warning: "callback" is deprecated: use "caml_callback" instead
#    38 | int higher_order_1(intfun *callback, int x, int y)
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                     
# tests/clib/test_functions.c: In function 'higher_order_1':
# tests/clib/test_functions.c:40:13: warning: "callback" is deprecated: use "caml_callback" instead
#    40 |   return callback(x, y) == x + y;
#       |             ^~~~~~~~~~~~~~~~~~~~~                                      
# tests/clib/test_functions.c: At top level:
# tests/clib/test_functions.c:43:13: warning: "callback" is deprecated: use "caml_callback" instead
#    43 | int higher_order_3(acceptor *callback, intfun *fn, int x, int y)
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~       
# tests/clib/test_functions.c: In function 'higher_order_3':
# tests/clib/test_functions.c:45:13: warning: "callback" is deprecated: use "caml_callback" instead
#    45 |   return callback(fn, x, y);
#       |             ^~~~~~~~~~~~~~~~                                           
# tests/clib/test_functions.c: At top level:
# tests/clib/test_functions.c:48:13: warning: "callback" is deprecated: use "caml_callback" instead
#    48 | int higher_order_simplest(vintfun *callback)
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                           
# tests/clib/test_functions.c: In function 'higher_order_simplest':
# tests/clib/test_functions.c:50:13: warning: "callback" is deprecated: use "caml_callback" instead
#    50 |   return callback(22);
#       |             ^~~~~~~~~~                                                 
# tests/clib/test_functions.c: At top level:
# tests/clib/test_functions.c:99:13: warning: "callback" is deprecated: use "caml_callback" instead
#    99 | int callback_returns_funptr(vintfun *(*callback)(int), int x)
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~          
# tests/clib/test_functions.c: In function 'callback_returns_funptr':
# tests/clib/test_functions.c:101:13: warning: "callback" is deprecated: use "caml_callback" instead
#   101 |   vintfun *v1 = callback(x);
#       |             ^~~~~~~~~~~~~~~~                                           
# tests/clib/test_functions.c:102:13: warning: "callback" is deprecated: use "caml_callback" instead
#   102 |   vintfun *v2 = callback(x + 1);
#       |             ^~~~~~~~~~~~~~~~~~~~                                       
# tests/clib/test_functions.c: At top level:
# tests/clib/test_functions.c:499:13: warning: "callback" is deprecated: use "caml_callback" instead
#   499 | void store_callback(int (*callback)(int))
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~                              
# tests/clib/test_functions.c: In function 'store_callback':
# tests/clib/test_functions.c:501:13: warning: "callback" is deprecated: use "caml_callback" instead
#   501 |   global_stored_callback = callback;
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~                                   
# tests/clib/test_functions.c: At top level:
# tests/clib/test_functions.c:509:13: warning: "callback" is deprecated: use "caml_callback" instead
#   509 | vintfun *return_callback(vintfun *callback)
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                            
# tests/clib/test_functions.c: In function 'return_callback':
# tests/clib/test_functions.c:511:13: warning: "callback" is deprecated: use "caml_callback" instead
#   511 |   return callback;
#       |             ^~~~~~                                                     
# tests/clib/test_functions.c: At top level:
# tests/clib/test_functions.c:561:13: warning: "callback" is deprecated: use "caml_callback" instead
#   561 | void register_callback(callback_t *callback)
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                           
# tests/clib/test_functions.c: In function 'register_callback':
# tests/clib/test_functions.c:563:13: warning: "callback" is deprecated: use "caml_callback" instead
#   563 |   registered_callback = callback;
#       |             ^~~~~~~~~~~~~~~~~~~~~                                      
# gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64  -shared   -o _build/clib/libtest_functions.so _build/clib/test_functions.o -lm
# ocamlfind  ocamlc    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/tests/tests-common/tests_common.cmo -I _build/tests/tests-common  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign tests/tests-common/tests_common.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"       -o _build/tests-common.cma _build/tests/tests-common/tests_common.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/tests-common/tests_common.cmx    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"      -I _build/tests/tests-common  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign tests/tests-common/tests_common.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"       -o _build/tests-common.cmxa _build/tests/tests-common/tests_common.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"     -o _build/tests-common.cmxs _build/tests/tests-common/tests_common.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-raw/test_raw.cmx -package bigarray-compat -package oUnit -package str -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package bigarray-compat -package oUnit -package str -package integers -thread -package threads   -I _build/tests/test-raw  -I _build/src/ctypes  -I _build/src/ctypes-foreign tests/test-raw/test_raw.ml
# File "tests/test-raw/test_raw.ml", line 36, characters 46-54:
# 36 |     let dlfabs = Ctypes_ptr.Raw.of_nativeint (Dl.dlsym "fabs") in
#                                                    ^^^^^^^^
# Warning 6 [labels-omitted]: label symbol was omitted in the application of this function.
# File "tests/test-raw/test_raw.ml", line 71, characters 45-53:
# 71 |     let dlpow = Ctypes_ptr.Raw.of_nativeint (Dl.dlsym "pow") in
#                                                   ^^^^^^^^
# Warning 6 [labels-omitted]: label symbol was omitted in the application of this function.
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package bigarray-compat -package oUnit -package str -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa -o _build/test-raw.native _build/tests/test-raw/test_raw.cmx  -cclib -Wl,--no-as-needed 
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-pointers/stubs/functions.cmo -I _build/tests/test-pointers/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-pointers/stubs/functions.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-pointers-stubs.cma _build/tests/test-pointers/stubs/functions.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-pointers/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-pointers/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-pointers/stubs/functions.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-pointers-stubs.cmxa _build/tests/test-pointers/stubs/functions.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-pointers-stubs.cmxs _build/tests/test-pointers/stubs/functions.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-pointers/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-pointers/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-pointers/stubs  -I _build/tests/tests-common tests/test-pointers/stub-generator/driver.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-pointers-stubs.cmxa _build/tests-common.cmxa -o _build/test-pointers-stub-generator.native _build/tests/test-pointers/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
# _build/test-pointers-stub-generator.native --ml-file tests/test-pointers/generated_bindings.ml
# _build/test-pointers-stub-generator.native --c-file tests/test-pointers/generated_stubs.c
# ocamlfind  opt -bin-annot -c -o _build/tests/test-pointers/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-pointers  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/tests-common  -I _build/tests/test-pointers/stubs tests/test-pointers/generated_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-pointers/test_pointers.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-pointers  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/tests-common  -I _build/tests/test-pointers/stubs tests/test-pointers/test_pointers.ml
# File "tests/test-pointers/test_pointers.ml", line 64, characters 6-16:
# 64 |       Pervasives.(1 + 2 + 3 + 4)
#            ^^^^^^^^^^
# Alert deprecated: module Stdlib.Pervasives
# Use Stdlib instead.
# 
# If you need to stay compatible with OCaml < 4.07, you can use the 
# stdlib-shims library: https://github.com/ocaml/stdlib-shims
# File "tests/test-pointers/test_pointers.ml", line 381, characters 10-20:
# 381 |   let p = allocate_n char 26 in begin
#                 ^^^^^^^^^^
# Warning 6 [labels-omitted]: label count was omitted in the application of this function.
# File "tests/test-pointers/test_pointers.ml", line 384, characters 18-33:
# 384 |     assert_equal (string_from_ptr p 5) "abcde";
#                         ^^^^^^^^^^^^^^^
# Warning 6 [labels-omitted]: label length was omitted in the application of this function.
# File "tests/test-pointers/test_pointers.ml", line 385, characters 18-33:
# 385 |     assert_equal (string_from_ptr p 26) "abcdefghijklmnoprwstuvwxyz";
#                         ^^^^^^^^^^^^^^^
# Warning 6 [labels-omitted]: label length was omitted in the application of this function.
# File "tests/test-pointers/test_pointers.ml", line 386, characters 18-33:
# 386 |     assert_equal (string_from_ptr p 0) "";
#                         ^^^^^^^^^^^^^^^
# Warning 6 [labels-omitted]: label length was omitted in the application of this function.
# File "tests/test-pointers/test_pointers.ml", line 388, characters 17-32:
# 388 |       (fun () -> string_from_ptr p (-1));
#                        ^^^^^^^^^^^^^^^
# Warning 6 [labels-omitted]: label length was omitted in the application of this function.
# cd _build/tests/test-pointers && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-pointers/generated_stubs.c
# In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-pointers/generated_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa _build/cstubs.cmxa _build/tests-common.cmxa _build/test-pointers-stubs.cmxa -o _build/test-pointers.native _build/tests/test-pointers/generated_bindings.cmx _build/tests/test-pointers/test_pointers.cmx _build/tests/test-pointers/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-integers/stubs/functions.cmo -I _build/tests/test-integers/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-integers/stubs/functions.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-integers-stubs.cma _build/tests/test-integers/stubs/functions.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-integers/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-integers/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-integers/stubs/functions.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-integers-stubs.cmxa _build/tests/test-integers/stubs/functions.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-integers-stubs.cmxs _build/tests/test-integers/stubs/functions.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-integers/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-integers/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-integers/stubs  -I _build/tests/tests-common tests/test-integers/stub-generator/driver.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-integers-stubs.cmxa _build/tests-common.cmxa -o _build/test-integers-stub-generator.native _build/tests/test-integers/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
# _build/test-integers-stub-generator.native --ml-file tests/test-integers/generated_bindings.ml
# _build/test-integers-stub-generator.native --c-file tests/test-integers/generated_stubs.c
# ocamlfind  opt -bin-annot -c -o _build/tests/test-integers/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-integers  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/tests-common  -I _build/tests/test-integers/stubs tests/test-integers/generated_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-integers/test_integers.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-integers  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/tests-common  -I _build/tests/test-integers/stubs tests/test-integers/test_integers.ml
# cd _build/tests/test-integers && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-integers/generated_stubs.c
# In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-integers/generated_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa _build/cstubs.cmxa _build/tests-common.cmxa _build/test-integers-stubs.cmxa -o _build/test-integers.native _build/tests/test-integers/generated_bindings.cmx _build/tests/test-integers/test_integers.cmx _build/tests/test-integers/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
# ocamlfind  ocamlc -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-variadic/stubs/functions.cmo -I _build/tests/test-variadic/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-variadic/stubs/functions.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread   -package integers -thread -package threads  -o _build/test-variadic-stubs.cma _build/tests/test-variadic/stubs/functions.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-variadic/stubs/functions.cmx -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package integers -thread -package threads   -I _build/tests/test-variadic/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-variadic/stubs/functions.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package integers -thread -package threads    -o _build/test-variadic-stubs.cmxa _build/tests/test-variadic/stubs/functions.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package integers -thread -package threads  -o _build/test-variadic-stubs.cmxs _build/tests/test-variadic/stubs/functions.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-variadic/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-variadic/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-variadic/stubs  -I _build/tests/tests-common tests/test-variadic/stub-generator/driver.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-variadic-stubs.cmxa _build/tests-common.cmxa -o _build/test-variadic-stub-generator.native _build/tests/test-variadic/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
# _build/test-variadic-stub-generator.native --ml-file tests/test-variadic/generated_bindings.ml
# _build/test-variadic-stub-generator.native --c-file tests/test-variadic/generated_stubs.c
# ocamlfind  opt -bin-annot -c -o _build/tests/test-variadic/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-variadic  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/tests-common  -I _build/tests/test-variadic/stubs tests/test-variadic/generated_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-variadic/test_variadic.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-variadic  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/tests-common  -I _build/tests/test-variadic/stubs tests/test-variadic/test_variadic.ml
# File "tests/test-variadic/test_variadic.ml", line 28, characters 16-26:
# 28 |       let buf = allocate_n char bufsz in
#                      ^^^^^^^^^^
# Warning 6 [labels-omitted]: label count was omitted in the application of this function.
# cd _build/tests/test-variadic && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-variadic/generated_stubs.c
# In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-variadic/generated_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa _build/cstubs.cmxa _build/tests-common.cmxa _build/test-variadic-stubs.cmxa -o _build/test-variadic.native _build/tests/test-variadic/generated_bindings.cmx _build/tests/test-variadic/test_variadic.cmx _build/tests/test-variadic/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-builtins/stubs/functions.cmo -I _build/tests/test-builtins/stubs  -I _build/src/ctypes  -I _build/tests/tests-common tests/test-builtins/stubs/functions.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-builtins-stubs.cma _build/tests/test-builtins/stubs/functions.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-builtins/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-builtins/stubs  -I _build/src/ctypes  -I _build/tests/tests-common tests/test-builtins/stubs/functions.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-builtins-stubs.cmxa _build/tests/test-builtins/stubs/functions.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-builtins-stubs.cmxs _build/tests/test-builtins/stubs/functions.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-builtins/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-builtins/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/tests/test-builtins/stubs  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-builtins/stub-generator/driver.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/test-builtins-stubs.cmxa _build/ctypes-foreign.cmxa _build/tests-common.cmxa -o _build/test-builtins-stub-generator.native _build/tests/test-builtins/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
# _build/test-builtins-stub-generator.native --ml-file tests/test-builtins/generated_bindings.ml
# _build/test-builtins-stub-generator.native --c-file tests/test-builtins/generated_stubs.c
# ocamlfind  opt -bin-annot -c -o _build/tests/test-builtins/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-builtins  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/tests/test-builtins/stubs  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-builtins/generated_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-builtins/test_builtins.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-builtins  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/tests/test-builtins/stubs  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-builtins/test_builtins.ml
# cd _build/tests/test-builtins && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-builtins/generated_stubs.c
# In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-builtins/generated_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/test-builtins-stubs.cmxa _build/ctypes-foreign.cmxa _build/tests-common.cmxa -o _build/test-builtins.native _build/tests/test-builtins/generated_bindings.cmx _build/tests/test-builtins/test_builtins.cmx _build/tests/test-builtins/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-macros/stubs/functions.cmo -I _build/tests/test-macros/stubs  -I _build/src/ctypes  -I _build/tests/tests-common tests/test-macros/stubs/functions.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-macros-stubs.cma _build/tests/test-macros/stubs/functions.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-macros/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-macros/stubs  -I _build/src/ctypes  -I _build/tests/tests-common tests/test-macros/stubs/functions.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-macros-stubs.cmxa _build/tests/test-macros/stubs/functions.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-macros-stubs.cmxs _build/tests/test-macros/stubs/functions.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-macros/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-macros/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/tests/test-macros/stubs  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-macros/stub-generator/driver.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/test-macros-stubs.cmxa _build/ctypes-foreign.cmxa _build/tests-common.cmxa -o _build/test-macros-stub-generator.native _build/tests/test-macros/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
# _build/test-macros-stub-generator.native --ml-file tests/test-macros/generated_bindings.ml
# _build/test-macros-stub-generator.native --c-file tests/test-macros/generated_stubs.c
# ocamlfind  opt -bin-annot -c -o _build/tests/test-macros/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-macros  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/tests/test-macros/stubs  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-macros/generated_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-macros/test_macros.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-macros  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/tests/test-macros/stubs  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-macros/test_macros.ml
# cd _build/tests/test-macros && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-macros/generated_stubs.c
# In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-macros/generated_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/test-macros-stubs.cmxa _build/ctypes-foreign.cmxa _build/tests-common.cmxa -o _build/test-macros.native _build/tests/test-macros/generated_bindings.cmx _build/tests/test-macros/test_macros.cmx _build/tests/test-macros/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-higher_order/stubs/functions.cmo -I _build/tests/test-higher_order/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-higher_order/stubs/functions.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-higher_order-stubs.cma _build/tests/test-higher_order/stubs/functions.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-higher_order/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-higher_order/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-higher_order/stubs/functions.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-higher_order-stubs.cmxa _build/tests/test-higher_order/stubs/functions.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-higher_order-stubs.cmxs _build/tests/test-higher_order/stubs/functions.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-higher_order/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-higher_order/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-higher_order/stubs  -I _build/tests/tests-common tests/test-higher_order/stub-generator/driver.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-higher_order-stubs.cmxa _build/tests-common.cmxa -o _build/test-higher_order-stub-generator.native _build/tests/test-higher_order/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
# _build/test-higher_order-stub-generator.native --ml-file tests/test-higher_order/generated_bindings.ml
# _build/test-higher_order-stub-generator.native --c-file tests/test-higher_order/generated_stubs.c
# ocamlfind  opt -bin-annot -c -o _build/tests/test-higher_order/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-higher_order  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-higher_order/stubs  -I _build/tests/tests-common tests/test-higher_order/generated_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-higher_order/test_higher_order.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-higher_order  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-higher_order/stubs  -I _build/tests/tests-common tests/test-higher_order/test_higher_order.ml
# cd _build/tests/test-higher_order && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-higher_order/generated_stubs.c
# In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-higher_order/generated_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa _build/cstubs.cmxa _build/test-higher_order-stubs.cmxa _build/tests-common.cmxa -o _build/test-higher_order.native _build/tests/test-higher_order/generated_bindings.cmx _build/tests/test-higher_order/test_higher_order.cmx _build/tests/test-higher_order/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-enums/struct-stubs/types.cmo -I _build/tests/test-enums/struct-stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-enums/struct-stubs/types.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-enums-struct-stubs.cma _build/tests/test-enums/struct-stubs/types.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-enums/struct-stubs/types.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-enums/struct-stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-enums/struct-stubs/types.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-enums-struct-stubs.cmxa _build/tests/test-enums/struct-stubs/types.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-enums-struct-stubs.cmxs _build/tests/test-enums/struct-stubs/types.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-enums/struct-stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-enums/struct-stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-enums/struct-stubs  -I _build/tests/tests-common tests/test-enums/struct-stub-generator/driver.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-enums-struct-stubs.cmxa _build/tests-common.cmxa -o _build/test-enums-struct-stub-generator.native _build/tests/test-enums/struct-stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
# _build/test-enums-struct-stub-generator.native --c-struct-file _build/tests/test-enums/generated_struct_stubs.c
# gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64  -I `ocamlfind  ocamlc -where | sed 's|\r$||'` -fPIC -Wall -g  "-I/home/opam/.opam/4.14/lib/integers" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests"   -o _build/test-enums-ml-struct-stub-generator.native _build/tests/test-enums/generated_struct_stubs.c
# In file included from _build/tests/test-enums/generated_struct_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# _build/test-enums-ml-struct-stub-generator.native > tests/test-enums/stubs/generated_struct_bindings.ml
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-enums/stubs/generated_struct_bindings.cmo -I _build/tests/test-enums/stubs  -I _build/src/ctypes  -I _build/tests/test-enums/struct-stubs  -I _build/  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-enums/stubs/generated_struct_bindings.ml
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-enums/stubs/functions.cmo -I _build/tests/test-enums/stubs  -I _build/src/ctypes  -I _build/tests/test-enums/struct-stubs  -I _build/  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-enums/stubs/functions.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-enums-stubs.cma _build/tests/test-enums/stubs/generated_struct_bindings.cmo _build/tests/test-enums/stubs/functions.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-enums/stubs/generated_struct_bindings.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-enums/stubs  -I _build/src/ctypes  -I _build/tests/test-enums/struct-stubs  -I _build/  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-enums/stubs/generated_struct_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-enums/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-enums/stubs  -I _build/src/ctypes  -I _build/tests/test-enums/struct-stubs  -I _build/  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-enums/stubs/functions.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-enums-stubs.cmxa _build/tests/test-enums/stubs/generated_struct_bindings.cmx _build/tests/test-enums/stubs/functions.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-enums-stubs.cmxs _build/tests/test-enums/stubs/generated_struct_bindings.cmx _build/tests/test-enums/stubs/functions.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-enums/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-enums/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/tests/test-enums/struct-stubs  -I _build/src/ctypes-foreign  -I _build/tests/test-enums/stubs  -I _build/tests/tests-common tests/test-enums/stub-generator/driver.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/test-enums-struct-stubs.cmxa _build/ctypes-foreign.cmxa _build/test-enums-stubs.cmxa _build/tests-common.cmxa -o _build/test-enums-stub-generator.native _build/tests/test-enums/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
# _build/test-enums-stub-generator.native --ml-file tests/test-enums/generated_bindings.ml
# _build/test-enums-stub-generator.native --c-file tests/test-enums/generated_stubs.c
# ocamlfind  opt -bin-annot -c -o _build/tests/test-enums/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-enums  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-enums/struct-stubs  -I _build/tests/test-enums/stubs  -I _build/tests/tests-common tests/test-enums/generated_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-enums/test_enums.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-enums  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-enums/struct-stubs  -I _build/tests/test-enums/stubs  -I _build/tests/tests-common tests/test-enums/test_enums.ml
# cd _build/tests/test-enums && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-enums/generated_stubs.c
# In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-enums/generated_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa _build/cstubs.cmxa _build/test-enums-struct-stubs.cmxa _build/test-enums-stubs.cmxa _build/tests-common.cmxa -o _build/test-enums.native _build/tests/test-enums/generated_bindings.cmx _build/tests/test-enums/test_enums.cmx _build/tests/test-enums/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-structs/stubs/functions.cmo -I _build/tests/test-structs/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-structs/stubs/functions.ml
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-structs/stubs/types.cmo -I _build/tests/test-structs/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-structs/stubs/types.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-structs-stubs.cma _build/tests/test-structs/stubs/functions.cmo _build/tests/test-structs/stubs/types.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-structs/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-structs/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-structs/stubs/functions.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-structs/stubs/types.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-structs/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-structs/stubs/types.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-structs-stubs.cmxa _build/tests/test-structs/stubs/functions.cmx _build/tests/test-structs/stubs/types.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-structs-stubs.cmxs _build/tests/test-structs/stubs/functions.cmx _build/tests/test-structs/stubs/types.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-structs/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-structs/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-structs/stubs  -I _build/tests/tests-common tests/test-structs/stub-generator/driver.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-structs-stubs.cmxa _build/tests-common.cmxa -o _build/test-structs-stub-generator.native _build/tests/test-structs/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
# _build/test-structs-stub-generator.native --ml-file tests/test-structs/generated_bindings.ml
# _build/test-structs-stub-generator.native --c-file tests/test-structs/generated_stubs.c
# _build/test-structs-stub-generator.native --c-struct-file _build/tests/test-structs/generated_struct_stubs.c
# gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64  -I `ocamlfind  ocamlc -where | sed 's|\r$||'` -fPIC -Wall -g  "-I/home/opam/.opam/4.14/lib/integers" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests"   -o _build/test-structs-ml-stub-generator.native _build/tests/test-structs/generated_struct_stubs.c
# In file included from _build/tests/test-structs/generated_struct_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# _build/test-structs-ml-stub-generator.native > tests/test-structs/generated_struct_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-structs/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-structs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-structs/stubs  -I _build/tests/tests-common tests/test-structs/generated_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-structs/generated_struct_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-structs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-structs/stubs  -I _build/tests/tests-common tests/test-structs/generated_struct_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-structs/test_structs.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-structs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-structs/stubs  -I _build/tests/tests-common tests/test-structs/test_structs.ml
# cd _build/tests/test-structs && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-structs/generated_stubs.c
# In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-structs/generated_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa _build/cstubs.cmxa _build/test-structs-stubs.cmxa _build/tests-common.cmxa -o _build/test-structs.native _build/tests/test-structs/generated_bindings.cmx _build/tests/test-structs/generated_struct_bindings.cmx _build/tests/test-structs/test_structs.cmx _build/tests/test-structs/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-constants/stubs/types.cmo -I _build/tests/test-constants/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-constants/stubs/types.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-constants-stubs.cma _build/tests/test-constants/stubs/types.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-constants/stubs/types.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-constants/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-constants/stubs/types.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-constants-stubs.cmxa _build/tests/test-constants/stubs/types.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-constants-stubs.cmxs _build/tests/test-constants/stubs/types.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-constants/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-constants/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-constants/stubs  -I _build/tests/tests-common tests/test-constants/stub-generator/driver.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-constants-stubs.cmxa _build/tests-common.cmxa -o _build/test-constants-stub-generator.native _build/tests/test-constants/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
# _build/test-constants-stub-generator.native --ml-file tests/test-constants/generated_bindings.ml
# _build/test-constants-stub-generator.native --c-file tests/test-constants/generated_stubs.c
# _build/test-constants-stub-generator.native --c-struct-file _build/tests/test-constants/generated_struct_stubs.c
# gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64  -I `ocamlfind  ocamlc -where | sed 's|\r$||'` -fPIC -Wall -g  "-I/home/opam/.opam/4.14/lib/integers" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests"   -o _build/test-constants-ml-stub-generator.native _build/tests/test-constants/generated_struct_stubs.c
# In file included from _build/tests/test-constants/generated_struct_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# _build/test-constants-ml-stub-generator.native > tests/test-constants/generated_struct_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-constants/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-constants  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-constants/stubs  -I _build/tests/tests-common tests/test-constants/generated_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-constants/generated_struct_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-constants  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-constants/stubs  -I _build/tests/tests-common tests/test-constants/generated_struct_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-constants/test_constants.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-constants  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-constants/stubs  -I _build/tests/tests-common tests/test-constants/test_constants.ml
# cd _build/tests/test-constants && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-constants/generated_stubs.c
# In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-constants/generated_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa _build/cstubs.cmxa _build/test-constants-stubs.cmxa _build/tests-common.cmxa -o _build/test-constants.native _build/tests/test-constants/generated_bindings.cmx _build/tests/test-constants/generated_struct_bindings.cmx _build/tests/test-constants/test_constants.cmx _build/tests/test-constants/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
# ocamlfind  opt -bin-annot -c -o _build/tests/test-finalisers/test_finalisers.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-finalisers  -I _build/src/ctypes  -I _build/src/ctypes-foreign tests/test-finalisers/test_finalisers.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa -o _build/test-finalisers.native _build/tests/test-finalisers/test_finalisers.cmx  -cclib -Wl,--no-as-needed 
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-cstdlib/stubs/functions.cmo -I _build/tests/test-cstdlib/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-cstdlib/stubs/functions.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-cstdlib-stubs.cma _build/tests/test-cstdlib/stubs/functions.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-cstdlib/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-cstdlib/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-cstdlib/stubs/functions.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-cstdlib-stubs.cmxa _build/tests/test-cstdlib/stubs/functions.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-cstdlib-stubs.cmxs _build/tests/test-cstdlib/stubs/functions.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-cstdlib/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-cstdlib/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-cstdlib/stubs  -I _build/tests/tests-common tests/test-cstdlib/stub-generator/driver.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-cstdlib-stubs.cmxa _build/tests-common.cmxa -o _build/test-cstdlib-stub-generator.native _build/tests/test-cstdlib/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
# _build/test-cstdlib-stub-generator.native --ml-file tests/test-cstdlib/generated_bindings.ml
# _build/test-cstdlib-stub-generator.native --c-file tests/test-cstdlib/generated_stubs.c
# ocamlfind  opt -bin-annot -c -o _build/tests/test-cstdlib/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-cstdlib  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-cstdlib/stubs  -I _build/tests/tests-common tests/test-cstdlib/generated_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-cstdlib/test_cstdlib.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-cstdlib  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-cstdlib/stubs  -I _build/tests/tests-common tests/test-cstdlib/test_cstdlib.ml
# File "tests/test-cstdlib/test_cstdlib.ml", line 98, characters 12-22:
# 98 |     let p = allocate_n uchar 12 in
#                  ^^^^^^^^^^
# Warning 6 [labels-omitted]: label count was omitted in the application of this function.
# File "tests/test-cstdlib/test_cstdlib.ml", line 183, characters 6-24:
# 183 |       Pervasives.compare
#             ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Pervasives
# Use Stdlib instead.
# 
# If you need to stay compatible with OCaml < 4.07, you can use the 
# stdlib-shims library: https://github.com/ocaml/stdlib-shims
# cd _build/tests/test-cstdlib && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-cstdlib/generated_stubs.c
# In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-cstdlib/generated_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-cstdlib/generated_stubs.c: In function 'cstubs_tests_16_qsort':
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-cstdlib/generated_stubs.c:110:25: error: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types]
#   110 |    qsort(x92, x93, x96, x99);
#       |                         ^~~
#       |                         |
#       |                         int (*)(void *, void *)
# In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:13:
# /usr/include/stdlib.h:971:34: note: expected '__compar_fn_t' {aka 'int (*)(const void *, const void *)'} but argument is of type 'int (*)(void *, void *)'
#   971 |                    __compar_fn_t __compar) __nonnull ((1, 4));
#       |                    ~~~~~~~~~~~~~~^~~~~~~~
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-cstdlib/generated_stubs.c: In function 'cstubs_tests_17_bsearch':
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-cstdlib/generated_stubs.c:121:49: error: passing argument 5 of 'bsearch' from incompatible pointer type [-Wincompatible-pointer-types]
#   121 |    void* x115 = bsearch(x106, x107, x108, x111, x114);
#       |                                                 ^~~~
#       |                                                 |
#       |                                                 int (*)(void *, void *)
# In file included from /usr/include/stdlib.h:965:
# /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:21:24: note: expected 'int (*)(const void *, const void *)' but argument is of type 'int (*)(void *, void *)'
#    21 |          __compar_fn_t __compar)
#       |          ~~~~~~~~~~~~~~^~~~~~~~
# make: *** [Makefile.rules:118: _build/tests/test-cstdlib/generated_stubs.o] Error 2



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ctypes 0.20.0
+- 
+- The following changes have been performed
| - remove  ctypes            0.20.0
| - install base-bytes        base
| - install conf-libffi       2.0.0
| - install conf-ncurses      1
| - install conf-pkg-config   4
| - install cppo              1.8.0
| - install csexp             1.5.2
| - install ctypes-foreign    0.18.0
| - install dune-configurator 3.21.0
| - install lwt               6.0.0
| - install ocplib-endian     1.2
| - install ounit             2.2.7
| - install ounit2            2.2.7
| - install seq               base
+- 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20260113191029.export"
Or you can retry to install your package selection with:
    /usr/bin/opam install --restore
2026-01-13 19:11.14 ---> saved as "fff7b956f9c1d39b27e7453abb8f13038d28da2d8f11926d4dc87cdd6daa4db0"

/home/opam: (run (shell  "opam reinstall --with-test --verbose ctypes.0.20.0;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'ctypes.0.20.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ctypes.0.20.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install ctypes 0.20.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3: [ctypes.0.20.0: extract]
-> retrieved ctypes.0.20.0  (cached)
Processing  2/3: [ctypes: make libffi.config]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "XEN=disable" "libffi.config" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0)
- ocamlfind  ocamlc -o discover -package str -strict-sequence -linkpkg src/discover/commands.mli src/discover/commands.ml src/discover/discover.ml -I src/discover
- File "src/discover/commands.ml", line 62, characters 20-33:
- 62 |        let stdout = file_contents stdout_filename in
-                          ^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label filename was omitted in the application of this function.
- File "src/discover/commands.ml", line 63, characters 20-33:
- 63 |        let stderr = file_contents stderr_filename in
-                          ^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label filename was omitted in the application of this function.
- ./discover -ocamlc "ocamlfind  ocamlc" > libffi.config || (rm libffi.config && false)
- testing for brew: .............................. unavailable
- testing for MacPorts: .......................... unavailable
- testing for pkg-config: ........................ available
- testing for libffi: ............................ available
- ./src/discover/determine_as_needed_flags.sh >> asneeded.config
- make: 'libffi.config' is up to date.
Processing  2/3: [ctypes: make ctypes-base]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "XEN=disable" "ctypes-base" "ctypes-stubs" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0)
- ocamlfind  ocamlc -o gen_c_primitives -package str -strict-sequence -linkpkg src/configure/extract_from_c.ml src/configure/gen_c_primitives.ml -I src/configure
- ./gen_c_primitives > src/ctypes/ctypes_primitives.ml 2> gen_c_primitives.log || (rm src/ctypes/ctypes_primitives.ml && cat gen_c_primitives.log || false)
- ocamlfind  ocamlc -o gen_libffi_abi -package str -strict-sequence -linkpkg src/configure/extract_from_c.ml src/configure/gen_libffi_abi.ml -I src/configure
- ./gen_libffi_abi > src/ctypes-foreign/libffi_abi.ml 2> gen_c_primitives.log || (rm src/ctypes-foreign/libffi_abi.ml && cat gen_c_primitives.log || false)
- cp src/ctypes-foreign/dl.ml.unix src/ctypes-foreign/dl.ml
- cp src/ctypes-foreign/dl_stubs.c.unix src/ctypes-foreign/dl_stubs.c
- ocamlfind  ocamlc -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes/ctypes_ptr.cmo -I _build/src/ctypes  src/ctypes/ctypes_ptr.ml
- ocamlfind  ocamlc -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes/ctypes_roots_stubs.cmo -I _build/src/ctypes  src/ctypes/ctypes_roots_stubs.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/ctypes/lDouble.cmi -package bigarray-compat -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/ctypes  src/ctypes/lDouble.mli
- ocamlfind  ocamlc -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes/lDouble.cmo -I _build/src/ctypes  src/ctypes/lDouble.ml
- ocamlfind  ocamlc -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes/ctypes_bigarray_stubs.cmo -I _build/src/ctypes  src/ctypes/ctypes_bigarray_stubs.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/ctypes/complexL.cmi -package bigarray-compat -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/ctypes  src/ctypes/complexL.mli
- ocamlfind  ocamlc -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes/complexL.cmo -I _build/src/ctypes  src/ctypes/complexL.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/ctypes/ctypes_primitive_types.cmi -package bigarray-compat -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/ctypes  src/ctypes/ctypes_primitive_types.mli
- ocamlfind  ocamlc -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes/ctypes_primitive_types.cmo -I _build/src/ctypes  src/ctypes/ctypes_primitive_types.ml
- ocamlfind  ocamlc -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes/ctypes_primitives.cmo -I _build/src/ctypes  src/ctypes/ctypes_primitives.ml
- ocamlfind  ocamlc -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes/ctypes_value_printing_stubs.cmo -I _build/src/ctypes  src/ctypes/ctypes_value_printing_stubs.ml
- ocamlfind  ocamlc -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes/ctypes_memory_stubs.cmo -I _build/src/ctypes  src/ctypes/ctypes_memory_stubs.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/ctypes/ctypes_bigarray.cmi -package bigarray-compat -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/ctypes  src/ctypes/ctypes_bigarray.mli
- ocamlfind  ocamlc -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes/ctypes_bigarray.cmo -I _build/src/ctypes  src/ctypes/ctypes_bigarray.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/ctypes/ctypes_static.cmi -package bigarray-compat -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/ctypes  src/ctypes/ctypes_static.mli
- ocamlfind  ocamlc -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes/ctypes_static.cmo -I _build/src/ctypes  src/ctypes/ctypes_static.ml
- ocamlfind  ocamlc -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes/ctypes_std_view_stubs.cmo -I _build/src/ctypes  src/ctypes/ctypes_std_view_stubs.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/ctypes/ctypes_structs.cmi -package bigarray-compat -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/ctypes  src/ctypes/ctypes_structs.mli
- ocamlfind  ocamlc -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes/ctypes_structs.cmo -I _build/src/ctypes  src/ctypes/ctypes_structs.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/ctypes/ctypes_structs_computed.cmi -package bigarray-compat -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/ctypes  src/ctypes/ctypes_structs_computed.mli
- ocamlfind  ocamlc -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes/ctypes_structs_computed.cmo -I _build/src/ctypes  src/ctypes/ctypes_structs_computed.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/ctypes/ctypes_type_printing.cmi -package bigarray-compat -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/ctypes  src/ctypes/ctypes_type_printing.mli
- ocamlfind  ocamlc -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes/ctypes_type_printing.cmo -I _build/src/ctypes  src/ctypes/ctypes_type_printing.ml
- ocamlfind  ocamlc -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes/ctypes_memory.cmo -I _build/src/ctypes  src/ctypes/ctypes_memory.ml
- File "src/ctypes/ctypes_memory.ml", line 211, characters 30-40:
- 211 |       let CPointer dst as r = allocate_n reftyp alength in
-                                     ^^^^^^^^^^
- Warning 6 [labels-omitted]: label count was omitted in the application of this function.
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/ctypes/ctypes_coerce.cmi -package bigarray-compat -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/ctypes  src/ctypes/ctypes_coerce.mli
- ocamlfind  ocamlc -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes/ctypes_coerce.cmo -I _build/src/ctypes  src/ctypes/ctypes_coerce.ml
- ocamlfind  ocamlc -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes/ctypes_std_views.cmo -I _build/src/ctypes  src/ctypes/ctypes_std_views.ml
- ocamlfind  ocamlc -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes/ctypes_value_printing.cmo -I _build/src/ctypes  src/ctypes/ctypes_value_printing.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/ctypes/ctypes_types.cmi -package bigarray-compat -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/ctypes  src/ctypes/ctypes_types.mli
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/ctypes/ctypes.cmi -package bigarray-compat -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/ctypes  src/ctypes/ctypes.mli
- ocamlfind  ocamlc -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes/ctypes.cmo -I _build/src/ctypes  src/ctypes/ctypes.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/ctypes/cstubs_internals.cmi -package bigarray-compat -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/ctypes  src/ctypes/cstubs_internals.mli
- ocamlfind  ocamlc -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes/cstubs_internals.cmo -I _build/src/ctypes  src/ctypes/cstubs_internals.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/ctypes/posixTypes.cmi -package bigarray-compat -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/ctypes  src/ctypes/posixTypes.mli
- ocamlfind  ocamlc -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes/posixTypes.cmo -I _build/src/ctypes  src/ctypes/posixTypes.ml
- ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -cclib -lctypes_stubs -dllib -lctypes_stubs  -cclib -lintegers_stubs -dllib -lintegers_stubs -package bigarray-compat -package integers   -o _build/ctypes.cma _build/src/ctypes/ctypes_ptr.cmo _build/src/ctypes/ctypes_roots_stubs.cmo _build/src/ctypes/lDouble.cmo _build/src/ctypes/ctypes_bigarray_stubs.cmo _build/src/ctypes/complexL.cmo _build/src/ctypes/ctypes_primitive_types.cmo _build/src/ctypes/ctypes_primitives.cmo _build/src/ctypes/ctypes_value_printing_stubs.cmo _build/src/ctypes/ctypes_memory_stubs.cmo _build/src/ctypes/ctypes_bigarray.cmo _build/src/ctypes/ctypes_static.cmo _build/src/ctypes/ctypes_std_view_stubs.cmo _build/src/ctypes/ctypes_structs.cmo _build/src/ctypes/ctypes_structs_computed.cmo _build/src/ctypes/ctypes_type_printing.cmo _build/src/ctypes/ctypes_memory.cmo _build/src/ctypes/ctypes_coerce.cmo _build/src/ctypes/ctypes_std_views.cmo _build/src/ctypes/ctypes_value_printing.cmo _build/src/ctypes/ctypes.cmo _build/src/ctypes/cstubs_internals.cmo _build/src/ctypes/posixTypes.cmo -cclib -Wl,--no-as-needed
- cd _build/src/ctypes && ocamlfind  ocamlc -c -package bigarray-compat -package integers   -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o complex_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes/complex_stubs.c
- cd _build/src/ctypes && ocamlfind  ocamlc -c -package bigarray-compat -package integers   -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o ctypes_bigarrays.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes/ctypes_bigarrays.c
- cd _build/src/ctypes && ocamlfind  ocamlc -c -package bigarray-compat -package integers   -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o ctypes_roots.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes/ctypes_roots.c
- cd _build/src/ctypes && ocamlfind  ocamlc -c -package bigarray-compat -package integers   -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o ldouble_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes/ldouble_stubs.c
- cd _build/src/ctypes && ocamlfind  ocamlc -c -package bigarray-compat -package integers   -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o managed_buffer_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes/managed_buffer_stubs.c
- cd _build/src/ctypes && ocamlfind  ocamlc -c -package bigarray-compat -package integers   -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o posix_types_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes/posix_types_stubs.c
- cd _build/src/ctypes && ocamlfind  ocamlc -c -package bigarray-compat -package integers   -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o raw_pointer_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes/raw_pointer_stubs.c
- cd _build/src/ctypes && ocamlfind  ocamlc -c -package bigarray-compat -package integers   -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o type_info_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes/type_info_stubs.c
- ocamlfind  ocamlmklib -o _build/ctypes_stubs _build/src/ctypes/complex_stubs.o _build/src/ctypes/ctypes_bigarrays.o _build/src/ctypes/ctypes_roots.o _build/src/ctypes/ldouble_stubs.o _build/src/ctypes/managed_buffer_stubs.o _build/src/ctypes/posix_types_stubs.o _build/src/ctypes/raw_pointer_stubs.o _build/src/ctypes/type_info_stubs.o  
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes/ctypes_ptr.cmx -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers    -I _build/src/ctypes  src/ctypes/ctypes_ptr.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes/ctypes_roots_stubs.cmx -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers    -I _build/src/ctypes  src/ctypes/ctypes_roots_stubs.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes/lDouble.cmx -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers    -I _build/src/ctypes  src/ctypes/lDouble.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes/ctypes_bigarray_stubs.cmx -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers    -I _build/src/ctypes  src/ctypes/ctypes_bigarray_stubs.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes/complexL.cmx -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers    -I _build/src/ctypes  src/ctypes/complexL.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes/ctypes_primitive_types.cmx -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers    -I _build/src/ctypes  src/ctypes/ctypes_primitive_types.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes/ctypes_primitives.cmx -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers    -I _build/src/ctypes  src/ctypes/ctypes_primitives.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes/ctypes_value_printing_stubs.cmx -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers    -I _build/src/ctypes  src/ctypes/ctypes_value_printing_stubs.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes/ctypes_memory_stubs.cmx -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers    -I _build/src/ctypes  src/ctypes/ctypes_memory_stubs.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes/ctypes_bigarray.cmx -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers    -I _build/src/ctypes  src/ctypes/ctypes_bigarray.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes/ctypes_static.cmx -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers    -I _build/src/ctypes  src/ctypes/ctypes_static.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes/ctypes_std_view_stubs.cmx -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers    -I _build/src/ctypes  src/ctypes/ctypes_std_view_stubs.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes/ctypes_structs.cmx -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers    -I _build/src/ctypes  src/ctypes/ctypes_structs.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes/ctypes_structs_computed.cmx -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers    -I _build/src/ctypes  src/ctypes/ctypes_structs_computed.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes/ctypes_type_printing.cmx -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers    -I _build/src/ctypes  src/ctypes/ctypes_type_printing.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes/ctypes_memory.cmx -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers    -I _build/src/ctypes  src/ctypes/ctypes_memory.ml
- File "src/ctypes/ctypes_memory.ml", line 211, characters 30-40:
- 211 |       let CPointer dst as r = allocate_n reftyp alength in
-                                     ^^^^^^^^^^
- Warning 6 [labels-omitted]: label count was omitted in the application of this function.
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes/ctypes_coerce.cmx -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers    -I _build/src/ctypes  src/ctypes/ctypes_coerce.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes/ctypes_std_views.cmx -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers    -I _build/src/ctypes  src/ctypes/ctypes_std_views.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes/ctypes_value_printing.cmx -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers    -I _build/src/ctypes  src/ctypes/ctypes_value_printing.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes/ctypes.cmx -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers    -I _build/src/ctypes  src/ctypes/ctypes.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes/cstubs_internals.cmx -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers    -I _build/src/ctypes  src/ctypes/cstubs_internals.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes/posixTypes.cmx -package bigarray-compat -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers    -I _build/src/ctypes  src/ctypes/posixTypes.ml
- ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers   -cclib -lctypes_stubs  -cclib -lintegers_stubs -o _build/ctypes.cmxa _build/src/ctypes/ctypes_ptr.cmx _build/src/ctypes/ctypes_roots_stubs.cmx _build/src/ctypes/lDouble.cmx _build/src/ctypes/ctypes_bigarray_stubs.cmx _build/src/ctypes/complexL.cmx _build/src/ctypes/ctypes_primitive_types.cmx _build/src/ctypes/ctypes_primitives.cmx _build/src/ctypes/ctypes_value_printing_stubs.cmx _build/src/ctypes/ctypes_memory_stubs.cmx _build/src/ctypes/ctypes_bigarray.cmx _build/src/ctypes/ctypes_static.cmx _build/src/ctypes/ctypes_std_view_stubs.cmx _build/src/ctypes/ctypes_structs.cmx _build/src/ctypes/ctypes_structs_computed.cmx _build/src/ctypes/ctypes_type_printing.cmx _build/src/ctypes/ctypes_memory.cmx _build/src/ctypes/ctypes_coerce.cmx _build/src/ctypes/ctypes_std_views.cmx _build/src/ctypes/ctypes_value_printing.cmx _build/src/ctypes/ctypes.cmx _build/src/ctypes/cstubs_internals.cmx _build/src/ctypes/posixTypes.cmx -cclib -Wl,--no-as-needed
- ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package bigarray-compat -package integers   -o _build/ctypes.cmxs _build/src/ctypes/ctypes_ptr.cmx _build/src/ctypes/ctypes_roots_stubs.cmx _build/src/ctypes/lDouble.cmx _build/src/ctypes/ctypes_bigarray_stubs.cmx _build/src/ctypes/complexL.cmx _build/src/ctypes/ctypes_primitive_types.cmx _build/src/ctypes/ctypes_primitives.cmx _build/src/ctypes/ctypes_value_printing_stubs.cmx _build/src/ctypes/ctypes_memory_stubs.cmx _build/src/ctypes/ctypes_bigarray.cmx _build/src/ctypes/ctypes_static.cmx _build/src/ctypes/ctypes_std_view_stubs.cmx _build/src/ctypes/ctypes_structs.cmx _build/src/ctypes/ctypes_structs_computed.cmx _build/src/ctypes/ctypes_type_printing.cmx _build/src/ctypes/ctypes_memory.cmx _build/src/ctypes/ctypes_coerce.cmx _build/src/ctypes/ctypes_std_views.cmx _build/src/ctypes/ctypes_value_printing.cmx _build/src/ctypes/ctypes.cmx _build/src/ctypes/cstubs_internals.cmx _build/src/ctypes/posixTypes.cmx _build/src/ctypes/complex_stubs.o _build/src/ctypes/ctypes_bigarrays.o _build/src/ctypes/ctypes_roots.o _build/src/ctypes/ldouble_stubs.o _build/src/ctypes/managed_buffer_stubs.o _build/src/ctypes/posix_types_stubs.o _build/src/ctypes/raw_pointer_stubs.o _build/src/ctypes/type_info_stubs.o -cclib -Wl,--no-as-needed
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/ctypes-top/ctypes_printers.cmi -package compiler-libs -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/ctypes-top  -I _build/src/ctypes src/ctypes-top/ctypes_printers.mli
- findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/ocaml/compiler-libs
- ocamlfind  ocamlc -package compiler-libs -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes-top/ctypes_printers.cmo -I _build/src/ctypes-top  -I _build/src/ctypes src/ctypes-top/ctypes_printers.ml
- findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/ocaml/compiler-libs
- ocamlfind  ocamlc -package compiler-libs -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/ctypes-top/install_ctypes_printers.cmo -I _build/src/ctypes-top  -I _build/src/ctypes src/ctypes-top/install_ctypes_printers.ml
- findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/ocaml/compiler-libs
- ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"    -package compiler-libs -package integers   -o _build/ctypes-top.cma _build/src/ctypes-top/ctypes_printers.cmo _build/src/ctypes-top/install_ctypes_printers.cmo -cclib -Wl,--no-as-needed
- findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/ocaml/compiler-libs
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes-top/ctypes_printers.cmx -package compiler-libs -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package compiler-libs -package integers    -I _build/src/ctypes-top  -I _build/src/ctypes src/ctypes-top/ctypes_printers.ml
- findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/ocaml/compiler-libs
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes-top/install_ctypes_printers.cmx -package compiler-libs -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package compiler-libs -package integers    -I _build/src/ctypes-top  -I _build/src/ctypes src/ctypes-top/install_ctypes_printers.ml
- findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/ocaml/compiler-libs
- ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package compiler-libs -package integers     -o _build/ctypes-top.cmxa _build/src/ctypes-top/ctypes_printers.cmx _build/src/ctypes-top/install_ctypes_printers.cmx -cclib -Wl,--no-as-needed
- findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/ocaml/compiler-libs
- ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package compiler-libs -package integers   -o _build/ctypes-top.cmxs _build/src/ctypes-top/ctypes_printers.cmx _build/src/ctypes-top/install_ctypes_printers.cmx  -cclib -Wl,--no-as-needed
- findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /home/opam/.opam/4.14/lib/ocaml, /home/opam/.opam/4.14/lib/ocaml/compiler-libs
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/cstubs/cstubs_analysis.cmi -package str -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_analysis.mli
- ocamlfind  ocamlc -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/cstubs/cstubs_analysis.cmo -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_analysis.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/cstubs/cstubs_errors.cmi -package str -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_errors.mli
- ocamlfind  ocamlc -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/cstubs/cstubs_errors.cmo -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_errors.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/cstubs/ctypes_path.cmi -package str -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/ctypes_path.mli
- ocamlfind  ocamlc -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/cstubs/ctypes_path.cmo -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/ctypes_path.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/cstubs/cstubs_public_name.cmi -package str -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_public_name.mli
- ocamlfind  ocamlc -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/cstubs/cstubs_public_name.cmo -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_public_name.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/cstubs/cstubs_generate_ml.cmi -package str -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_generate_ml.mli
- ocamlfind  ocamlc -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/cstubs/cstubs_generate_ml.cmo -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_generate_ml.ml
- ocamlfind  ocamlc -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/cstubs/cstubs_c_language.cmo -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_c_language.ml
- ocamlfind  ocamlc -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/cstubs/cstubs_emit_c.cmo -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_emit_c.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/cstubs/cstubs_generate_c.cmi -package str -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_generate_c.mli
- ocamlfind  ocamlc -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/cstubs/cstubs_generate_c.cmo -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_generate_c.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/cstubs/cstubs_inverted.cmi -package str -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_inverted.mli
- ocamlfind  ocamlc -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/cstubs/cstubs_inverted.cmo -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_inverted.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/cstubs/cstubs_structs.cmi -package str -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_structs.mli
- ocamlfind  ocamlc -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/cstubs/cstubs_structs.cmo -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_structs.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/cstubs/cstubs.cmi -package str -package integers    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs.mli
- ocamlfind  ocamlc -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/src/cstubs/cstubs.cmo -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs.ml
- ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"    -package str -package integers   -o _build/cstubs.cma _build/src/cstubs/cstubs_analysis.cmo _build/src/cstubs/cstubs_errors.cmo _build/src/cstubs/ctypes_path.cmo _build/src/cstubs/cstubs_public_name.cmo _build/src/cstubs/cstubs_generate_ml.cmo _build/src/cstubs/cstubs_c_language.cmo _build/src/cstubs/cstubs_emit_c.cmo _build/src/cstubs/cstubs_generate_c.cmo _build/src/cstubs/cstubs_inverted.cmo _build/src/cstubs/cstubs_structs.cmo _build/src/cstubs/cstubs.cmo -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/src/cstubs/cstubs_analysis.cmx -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package str -package integers    -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_analysis.ml
- ocamlfind  opt -bin-annot -c -o _build/src/cstubs/cstubs_errors.cmx -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package str -package integers    -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_errors.ml
- ocamlfind  opt -bin-annot -c -o _build/src/cstubs/ctypes_path.cmx -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package str -package integers    -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/ctypes_path.ml
- ocamlfind  opt -bin-annot -c -o _build/src/cstubs/cstubs_public_name.cmx -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package str -package integers    -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_public_name.ml
- ocamlfind  opt -bin-annot -c -o _build/src/cstubs/cstubs_generate_ml.cmx -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package str -package integers    -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_generate_ml.ml
- ocamlfind  opt -bin-annot -c -o _build/src/cstubs/cstubs_c_language.cmx -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package str -package integers    -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_c_language.ml
- ocamlfind  opt -bin-annot -c -o _build/src/cstubs/cstubs_emit_c.cmx -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package str -package integers    -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_emit_c.ml
- ocamlfind  opt -bin-annot -c -o _build/src/cstubs/cstubs_generate_c.cmx -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package str -package integers    -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_generate_c.ml
- ocamlfind  opt -bin-annot -c -o _build/src/cstubs/cstubs_inverted.cmx -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package str -package integers    -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_inverted.ml
- ocamlfind  opt -bin-annot -c -o _build/src/cstubs/cstubs_structs.cmx -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package str -package integers    -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs_structs.ml
- ocamlfind  opt -bin-annot -c -o _build/src/cstubs/cstubs.cmx -package str -package integers   -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package str -package integers    -I _build/src/cstubs  -I _build/src/ctypes src/cstubs/cstubs.ml
- ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package str -package integers     -o _build/cstubs.cmxa _build/src/cstubs/cstubs_analysis.cmx _build/src/cstubs/cstubs_errors.cmx _build/src/cstubs/ctypes_path.cmx _build/src/cstubs/cstubs_public_name.cmx _build/src/cstubs/cstubs_generate_ml.cmx _build/src/cstubs/cstubs_c_language.cmx _build/src/cstubs/cstubs_emit_c.cmx _build/src/cstubs/cstubs_generate_c.cmx _build/src/cstubs/cstubs_inverted.cmx _build/src/cstubs/cstubs_structs.cmx _build/src/cstubs/cstubs.cmx -cclib -Wl,--no-as-needed
- ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"  -package str -package integers   -o _build/cstubs.cmxs _build/src/cstubs/cstubs_analysis.cmx _build/src/cstubs/cstubs_errors.cmx _build/src/cstubs/ctypes_path.cmx _build/src/cstubs/cstubs_public_name.cmx _build/src/cstubs/cstubs_generate_ml.cmx _build/src/cstubs/cstubs_c_language.cmx _build/src/cstubs/cstubs_emit_c.cmx _build/src/cstubs/cstubs_generate_c.cmx _build/src/cstubs/cstubs_inverted.cmx _build/src/cstubs/cstubs_structs.cmx _build/src/cstubs/cstubs.cmx  -cclib -Wl,--no-as-needed
Processing  2/3: [ctypes: make ctypes-foreign]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "XEN=disable" "ctypes-foreign" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0)
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/ctypes-foreign/ctypes_closure_properties.cmi -package integers -thread -package threads  -opaque  -no-keep-locs  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/ctypes_closure_properties.mli
- ocamlfind  ocamlc -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/src/ctypes-foreign/ctypes_closure_properties.cmo -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/ctypes_closure_properties.ml
- ocamlfind  ocamlc -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/src/ctypes-foreign/ctypes_ffi_stubs.cmo -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/ctypes_ffi_stubs.ml
- ocamlfind  ocamlc -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/src/ctypes-foreign/ctypes_foreign_threaded_stubs.cmo -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/ctypes_foreign_threaded_stubs.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/ctypes-foreign/ctypes_weak_ref.cmi -package integers -thread -package threads  -opaque  -no-keep-locs  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/ctypes_weak_ref.mli
- ocamlfind  ocamlc -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/src/ctypes-foreign/ctypes_weak_ref.cmo -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/ctypes_weak_ref.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/ctypes-foreign/dl.cmi -package integers -thread -package threads  -opaque  -no-keep-locs  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/dl.mli
- ocamlfind  ocamlc -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/src/ctypes-foreign/dl.cmo -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/dl.ml
- File "src/ctypes-foreign/dl.ml", line 51, characters 12-20:
- 51 | let dlopen ?filename ~flags =
-                  ^^^^^^^^
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- File "src/ctypes-foreign/dl.ml", line 61, characters 11-17:
- 61 | let dlsym ?handle ~symbol =
-                 ^^^^^^
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/ctypes-foreign/libffi_abi.cmi -package integers -thread -package threads  -opaque  -no-keep-locs  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/libffi_abi.mli
- ocamlfind  ocamlc -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/src/ctypes-foreign/libffi_abi.cmo -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/libffi_abi.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/ctypes-foreign/ctypes_ffi.cmi -package integers -thread -package threads  -opaque  -no-keep-locs  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/ctypes_ffi.mli
- ocamlfind  ocamlc -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/src/ctypes-foreign/ctypes_ffi.cmo -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/ctypes_ffi.ml
- ocamlfind  ocamlc -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/src/ctypes-foreign/ctypes_foreign_basis.cmo -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/ctypes_foreign_basis.ml
- ocamlfind  ocamlopt -bin-annot -c -o _build/src/ctypes-foreign/foreign.cmi -package integers -thread -package threads  -opaque  -no-keep-locs  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/foreign.mli
- ocamlfind  ocamlc -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/src/ctypes-foreign/foreign.cmo -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/foreign.ml
- ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -cclib -lctypes-foreign_stubs -dllib -lctypes-foreign_stubs  -package integers -thread -package threads  -o _build/ctypes-foreign.cma _build/src/ctypes-foreign/ctypes_closure_properties.cmo _build/src/ctypes-foreign/ctypes_ffi_stubs.cmo _build/src/ctypes-foreign/ctypes_foreign_threaded_stubs.cmo _build/src/ctypes-foreign/ctypes_weak_ref.cmo _build/src/ctypes-foreign/dl.cmo _build/src/ctypes-foreign/libffi_abi.cmo _build/src/ctypes-foreign/ctypes_ffi.cmo _build/src/ctypes-foreign/ctypes_foreign_basis.cmo _build/src/ctypes-foreign/foreign.cmo -cclib -Wl,--no-as-needed -cclib -lffi
- cd _build/src/ctypes-foreign && ocamlfind  ocamlc -c -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o dl_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes-foreign/dl_stubs.c
- cd _build/src/ctypes-foreign && ocamlfind  ocamlc -c -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o ffi_call_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes-foreign/ffi_call_stubs.c
- cd _build/src/ctypes-foreign && ocamlfind  ocamlc -c -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o ffi_type_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes-foreign/ffi_type_stubs.c
- cd _build/src/ctypes-foreign && ocamlfind  ocamlc -c -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o foreign_threaded_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes-foreign/foreign_threaded_stubs.c
- ocamlfind  ocamlmklib -o _build/ctypes-foreign_stubs _build/src/ctypes-foreign/dl_stubs.o _build/src/ctypes-foreign/ffi_call_stubs.o _build/src/ctypes-foreign/ffi_type_stubs.o _build/src/ctypes-foreign/foreign_threaded_stubs.o -ldopt -lffi 
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes-foreign/ctypes_closure_properties.cmx -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package integers -thread -package threads   -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/ctypes_closure_properties.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes-foreign/ctypes_ffi_stubs.cmx -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package integers -thread -package threads   -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/ctypes_ffi_stubs.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes-foreign/ctypes_foreign_threaded_stubs.cmx -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package integers -thread -package threads   -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/ctypes_foreign_threaded_stubs.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes-foreign/ctypes_weak_ref.cmx -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package integers -thread -package threads   -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/ctypes_weak_ref.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes-foreign/dl.cmx -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package integers -thread -package threads   -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/dl.ml
- File "src/ctypes-foreign/dl.ml", line 51, characters 12-20:
- 51 | let dlopen ?filename ~flags =
-                  ^^^^^^^^
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- File "src/ctypes-foreign/dl.ml", line 61, characters 11-17:
- 61 | let dlsym ?handle ~symbol =
-                 ^^^^^^
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes-foreign/libffi_abi.cmx -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package integers -thread -package threads   -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/libffi_abi.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes-foreign/ctypes_ffi.cmx -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package integers -thread -package threads   -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/ctypes_ffi.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes-foreign/ctypes_foreign_basis.cmx -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package integers -thread -package threads   -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/ctypes_foreign_basis.ml
- ocamlfind  opt -bin-annot -c -o _build/src/ctypes-foreign/foreign.cmx -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package integers -thread -package threads   -I _build/src/ctypes-foreign  -I _build/src/ctypes src/ctypes-foreign/foreign.ml
- ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package integers -thread -package threads  -cclib -lctypes-foreign_stubs  -o _build/ctypes-foreign.cmxa _build/src/ctypes-foreign/ctypes_closure_properties.cmx _build/src/ctypes-foreign/ctypes_ffi_stubs.cmx _build/src/ctypes-foreign/ctypes_foreign_threaded_stubs.cmx _build/src/ctypes-foreign/ctypes_weak_ref.cmx _build/src/ctypes-foreign/dl.cmx _build/src/ctypes-foreign/libffi_abi.cmx _build/src/ctypes-foreign/ctypes_ffi.cmx _build/src/ctypes-foreign/ctypes_foreign_basis.cmx _build/src/ctypes-foreign/foreign.cmx -cclib -Wl,--no-as-needed -cclib -lffi
- ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package integers -thread -package threads  -o _build/ctypes-foreign.cmxs _build/src/ctypes-foreign/ctypes_closure_properties.cmx _build/src/ctypes-foreign/ctypes_ffi_stubs.cmx _build/src/ctypes-foreign/ctypes_foreign_threaded_stubs.cmx _build/src/ctypes-foreign/ctypes_weak_ref.cmx _build/src/ctypes-foreign/dl.cmx _build/src/ctypes-foreign/libffi_abi.cmx _build/src/ctypes-foreign/ctypes_ffi.cmx _build/src/ctypes-foreign/ctypes_foreign_basis.cmx _build/src/ctypes-foreign/foreign.cmx _build/src/ctypes-foreign/dl_stubs.o _build/src/ctypes-foreign/ffi_call_stubs.o _build/src/ctypes-foreign/ffi_type_stubs.o _build/src/ctypes-foreign/foreign_threaded_stubs.o -cclib -Wl,--no-as-needed -cclib -lffi
Processing  2/3: [ctypes: make test]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "test" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0)
- gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64  -c -fPIC -Wall -g  "-I/home/opam/.opam/4.14/lib/integers" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -I `ocamlfind  ocamlc -where | sed 's|\r$||'` -o _build/clib/test_functions.o tests/clib/test_functions.c
- In file included from tests/clib/test_functions.c:33:
- tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
-   161 | void store_callback(int (*callback)(int));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
- tests/clib/test_functions.c:38:13: warning: "callback" is deprecated: use "caml_callback" instead
-    38 | int higher_order_1(intfun *callback, int x, int y)
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                     
- tests/clib/test_functions.c: In function 'higher_order_1':
- tests/clib/test_functions.c:40:13: warning: "callback" is deprecated: use "caml_callback" instead
-    40 |   return callback(x, y) == x + y;
-       |             ^~~~~~~~~~~~~~~~~~~~~                                      
- tests/clib/test_functions.c: At top level:
- tests/clib/test_functions.c:43:13: warning: "callback" is deprecated: use "caml_callback" instead
-    43 | int higher_order_3(acceptor *callback, intfun *fn, int x, int y)
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~       
- tests/clib/test_functions.c: In function 'higher_order_3':
- tests/clib/test_functions.c:45:13: warning: "callback" is deprecated: use "caml_callback" instead
-    45 |   return callback(fn, x, y);
-       |             ^~~~~~~~~~~~~~~~                                           
- tests/clib/test_functions.c: At top level:
- tests/clib/test_functions.c:48:13: warning: "callback" is deprecated: use "caml_callback" instead
-    48 | int higher_order_simplest(vintfun *callback)
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                           
- tests/clib/test_functions.c: In function 'higher_order_simplest':
- tests/clib/test_functions.c:50:13: warning: "callback" is deprecated: use "caml_callback" instead
-    50 |   return callback(22);
-       |             ^~~~~~~~~~                                                 
- tests/clib/test_functions.c: At top level:
- tests/clib/test_functions.c:99:13: warning: "callback" is deprecated: use "caml_callback" instead
-    99 | int callback_returns_funptr(vintfun *(*callback)(int), int x)
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~          
- tests/clib/test_functions.c: In function 'callback_returns_funptr':
- tests/clib/test_functions.c:101:13: warning: "callback" is deprecated: use "caml_callback" instead
-   101 |   vintfun *v1 = callback(x);
-       |             ^~~~~~~~~~~~~~~~                                           
- tests/clib/test_functions.c:102:13: warning: "callback" is deprecated: use "caml_callback" instead
-   102 |   vintfun *v2 = callback(x + 1);
-       |             ^~~~~~~~~~~~~~~~~~~~                                       
- tests/clib/test_functions.c: At top level:
- tests/clib/test_functions.c:499:13: warning: "callback" is deprecated: use "caml_callback" instead
-   499 | void store_callback(int (*callback)(int))
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~                              
- tests/clib/test_functions.c: In function 'store_callback':
- tests/clib/test_functions.c:501:13: warning: "callback" is deprecated: use "caml_callback" instead
-   501 |   global_stored_callback = callback;
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~                                   
- tests/clib/test_functions.c: At top level:
- tests/clib/test_functions.c:509:13: warning: "callback" is deprecated: use "caml_callback" instead
-   509 | vintfun *return_callback(vintfun *callback)
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                            
- tests/clib/test_functions.c: In function 'return_callback':
- tests/clib/test_functions.c:511:13: warning: "callback" is deprecated: use "caml_callback" instead
-   511 |   return callback;
-       |             ^~~~~~                                                     
- tests/clib/test_functions.c: At top level:
- tests/clib/test_functions.c:561:13: warning: "callback" is deprecated: use "caml_callback" instead
-   561 | void register_callback(callback_t *callback)
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                           
- tests/clib/test_functions.c: In function 'register_callback':
- tests/clib/test_functions.c:563:13: warning: "callback" is deprecated: use "caml_callback" instead
-   563 |   registered_callback = callback;
-       |             ^~~~~~~~~~~~~~~~~~~~~                                      
- gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64  -shared   -o _build/clib/libtest_functions.so _build/clib/test_functions.o -lm
- ocamlfind  ocamlc    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/tests/tests-common/tests_common.cmo -I _build/tests/tests-common  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign tests/tests-common/tests_common.ml
- ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"       -o _build/tests-common.cma _build/tests/tests-common/tests_common.cmo -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/tests-common/tests_common.cmx    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"      -I _build/tests/tests-common  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign tests/tests-common/tests_common.ml
- ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"       -o _build/tests-common.cmxa _build/tests/tests-common/tests_common.cmx -cclib -Wl,--no-as-needed
- ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"     -o _build/tests-common.cmxs _build/tests/tests-common/tests_common.cmx  -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-raw/test_raw.cmx -package bigarray-compat -package oUnit -package str -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package bigarray-compat -package oUnit -package str -package integers -thread -package threads   -I _build/tests/test-raw  -I _build/src/ctypes  -I _build/src/ctypes-foreign tests/test-raw/test_raw.ml
- File "tests/test-raw/test_raw.ml", line 36, characters 46-54:
- 36 |     let dlfabs = Ctypes_ptr.Raw.of_nativeint (Dl.dlsym "fabs") in
-                                                    ^^^^^^^^
- Warning 6 [labels-omitted]: label symbol was omitted in the application of this function.
- File "tests/test-raw/test_raw.ml", line 71, characters 45-53:
- 71 |     let dlpow = Ctypes_ptr.Raw.of_nativeint (Dl.dlsym "pow") in
-                                                   ^^^^^^^^
- Warning 6 [labels-omitted]: label symbol was omitted in the application of this function.
- ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package bigarray-compat -package oUnit -package str -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa -o _build/test-raw.native _build/tests/test-raw/test_raw.cmx  -cclib -Wl,--no-as-needed 
- ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-pointers/stubs/functions.cmo -I _build/tests/test-pointers/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-pointers/stubs/functions.ml
- ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-pointers-stubs.cma _build/tests/test-pointers/stubs/functions.cmo -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-pointers/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-pointers/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-pointers/stubs/functions.ml
- ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-pointers-stubs.cmxa _build/tests/test-pointers/stubs/functions.cmx -cclib -Wl,--no-as-needed
- ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-pointers-stubs.cmxs _build/tests/test-pointers/stubs/functions.cmx  -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-pointers/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-pointers/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-pointers/stubs  -I _build/tests/tests-common tests/test-pointers/stub-generator/driver.ml
- ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-pointers-stubs.cmxa _build/tests-common.cmxa -o _build/test-pointers-stub-generator.native _build/tests/test-pointers/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
- _build/test-pointers-stub-generator.native --ml-file tests/test-pointers/generated_bindings.ml
- _build/test-pointers-stub-generator.native --c-file tests/test-pointers/generated_stubs.c
- ocamlfind  opt -bin-annot -c -o _build/tests/test-pointers/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-pointers  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/tests-common  -I _build/tests/test-pointers/stubs tests/test-pointers/generated_bindings.ml
- ocamlfind  opt -bin-annot -c -o _build/tests/test-pointers/test_pointers.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-pointers  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/tests-common  -I _build/tests/test-pointers/stubs tests/test-pointers/test_pointers.ml
- File "tests/test-pointers/test_pointers.ml", line 64, characters 6-16:
- 64 |       Pervasives.(1 + 2 + 3 + 4)
-            ^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "tests/test-pointers/test_pointers.ml", line 381, characters 10-20:
- 381 |   let p = allocate_n char 26 in begin
-                 ^^^^^^^^^^
- Warning 6 [labels-omitted]: label count was omitted in the application of this function.
- File "tests/test-pointers/test_pointers.ml", line 384, characters 18-33:
- 384 |     assert_equal (string_from_ptr p 5) "abcde";
-                         ^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label length was omitted in the application of this function.
- File "tests/test-pointers/test_pointers.ml", line 385, characters 18-33:
- 385 |     assert_equal (string_from_ptr p 26) "abcdefghijklmnoprwstuvwxyz";
-                         ^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label length was omitted in the application of this function.
- File "tests/test-pointers/test_pointers.ml", line 386, characters 18-33:
- 386 |     assert_equal (string_from_ptr p 0) "";
-                         ^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label length was omitted in the application of this function.
- File "tests/test-pointers/test_pointers.ml", line 388, characters 17-32:
- 388 |       (fun () -> string_from_ptr p (-1));
-                        ^^^^^^^^^^^^^^^
- Warning 6 [labels-omitted]: label length was omitted in the application of this function.
- cd _build/tests/test-pointers && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-pointers/generated_stubs.c
- In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-pointers/generated_stubs.c:1:
- /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
-   161 | void store_callback(int (*callback)(int));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
- ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa _build/cstubs.cmxa _build/tests-common.cmxa _build/test-pointers-stubs.cmxa -o _build/test-pointers.native _build/tests/test-pointers/generated_bindings.cmx _build/tests/test-pointers/test_pointers.cmx _build/tests/test-pointers/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
- ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-integers/stubs/functions.cmo -I _build/tests/test-integers/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-integers/stubs/functions.ml
- ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-integers-stubs.cma _build/tests/test-integers/stubs/functions.cmo -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-integers/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-integers/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-integers/stubs/functions.ml
- ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-integers-stubs.cmxa _build/tests/test-integers/stubs/functions.cmx -cclib -Wl,--no-as-needed
- ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-integers-stubs.cmxs _build/tests/test-integers/stubs/functions.cmx  -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-integers/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-integers/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-integers/stubs  -I _build/tests/tests-common tests/test-integers/stub-generator/driver.ml
- ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-integers-stubs.cmxa _build/tests-common.cmxa -o _build/test-integers-stub-generator.native _build/tests/test-integers/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
- _build/test-integers-stub-generator.native --ml-file tests/test-integers/generated_bindings.ml
- _build/test-integers-stub-generator.native --c-file tests/test-integers/generated_stubs.c
- ocamlfind  opt -bin-annot -c -o _build/tests/test-integers/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-integers  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/tests-common  -I _build/tests/test-integers/stubs tests/test-integers/generated_bindings.ml
- ocamlfind  opt -bin-annot -c -o _build/tests/test-integers/test_integers.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-integers  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/tests-common  -I _build/tests/test-integers/stubs tests/test-integers/test_integers.ml
- cd _build/tests/test-integers && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-integers/generated_stubs.c
- In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-integers/generated_stubs.c:1:
- /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
-   161 | void store_callback(int (*callback)(int));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
- ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa _build/cstubs.cmxa _build/tests-common.cmxa _build/test-integers-stubs.cmxa -o _build/test-integers.native _build/tests/test-integers/generated_bindings.cmx _build/tests/test-integers/test_integers.cmx _build/tests/test-integers/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
- ocamlfind  ocamlc -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-variadic/stubs/functions.cmo -I _build/tests/test-variadic/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-variadic/stubs/functions.ml
- ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread   -package integers -thread -package threads  -o _build/test-variadic-stubs.cma _build/tests/test-variadic/stubs/functions.cmo -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-variadic/stubs/functions.cmx -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package integers -thread -package threads   -I _build/tests/test-variadic/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-variadic/stubs/functions.ml
- ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package integers -thread -package threads    -o _build/test-variadic-stubs.cmxa _build/tests/test-variadic/stubs/functions.cmx -cclib -Wl,--no-as-needed
- ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package integers -thread -package threads  -o _build/test-variadic-stubs.cmxs _build/tests/test-variadic/stubs/functions.cmx  -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-variadic/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-variadic/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-variadic/stubs  -I _build/tests/tests-common tests/test-variadic/stub-generator/driver.ml
- ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-variadic-stubs.cmxa _build/tests-common.cmxa -o _build/test-variadic-stub-generator.native _build/tests/test-variadic/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
- _build/test-variadic-stub-generator.native --ml-file tests/test-variadic/generated_bindings.ml
- _build/test-variadic-stub-generator.native --c-file tests/test-variadic/generated_stubs.c
- ocamlfind  opt -bin-annot -c -o _build/tests/test-variadic/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-variadic  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/tests-common  -I _build/tests/test-variadic/stubs tests/test-variadic/generated_bindings.ml
- ocamlfind  opt -bin-annot -c -o _build/tests/test-variadic/test_variadic.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-variadic  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/tests-common  -I _build/tests/test-variadic/stubs tests/test-variadic/test_variadic.ml
- File "tests/test-variadic/test_variadic.ml", line 28, characters 16-26:
- 28 |       let buf = allocate_n char bufsz in
-                      ^^^^^^^^^^
- Warning 6 [labels-omitted]: label count was omitted in the application of this function.
- cd _build/tests/test-variadic && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-variadic/generated_stubs.c
- In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-variadic/generated_stubs.c:1:
- /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
-   161 | void store_callback(int (*callback)(int));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
- ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa _build/cstubs.cmxa _build/tests-common.cmxa _build/test-variadic-stubs.cmxa -o _build/test-variadic.native _build/tests/test-variadic/generated_bindings.cmx _build/tests/test-variadic/test_variadic.cmx _build/tests/test-variadic/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
- ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-builtins/stubs/functions.cmo -I _build/tests/test-builtins/stubs  -I _build/src/ctypes  -I _build/tests/tests-common tests/test-builtins/stubs/functions.ml
- ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-builtins-stubs.cma _build/tests/test-builtins/stubs/functions.cmo -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-builtins/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-builtins/stubs  -I _build/src/ctypes  -I _build/tests/tests-common tests/test-builtins/stubs/functions.ml
- ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-builtins-stubs.cmxa _build/tests/test-builtins/stubs/functions.cmx -cclib -Wl,--no-as-needed
- ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-builtins-stubs.cmxs _build/tests/test-builtins/stubs/functions.cmx  -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-builtins/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-builtins/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/tests/test-builtins/stubs  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-builtins/stub-generator/driver.ml
- ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/test-builtins-stubs.cmxa _build/ctypes-foreign.cmxa _build/tests-common.cmxa -o _build/test-builtins-stub-generator.native _build/tests/test-builtins/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
- _build/test-builtins-stub-generator.native --ml-file tests/test-builtins/generated_bindings.ml
- _build/test-builtins-stub-generator.native --c-file tests/test-builtins/generated_stubs.c
- ocamlfind  opt -bin-annot -c -o _build/tests/test-builtins/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-builtins  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/tests/test-builtins/stubs  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-builtins/generated_bindings.ml
- ocamlfind  opt -bin-annot -c -o _build/tests/test-builtins/test_builtins.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-builtins  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/tests/test-builtins/stubs  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-builtins/test_builtins.ml
- cd _build/tests/test-builtins && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-builtins/generated_stubs.c
- In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-builtins/generated_stubs.c:1:
- /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
-   161 | void store_callback(int (*callback)(int));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
- ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/test-builtins-stubs.cmxa _build/ctypes-foreign.cmxa _build/tests-common.cmxa -o _build/test-builtins.native _build/tests/test-builtins/generated_bindings.cmx _build/tests/test-builtins/test_builtins.cmx _build/tests/test-builtins/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
- ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-macros/stubs/functions.cmo -I _build/tests/test-macros/stubs  -I _build/src/ctypes  -I _build/tests/tests-common tests/test-macros/stubs/functions.ml
- ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-macros-stubs.cma _build/tests/test-macros/stubs/functions.cmo -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-macros/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-macros/stubs  -I _build/src/ctypes  -I _build/tests/tests-common tests/test-macros/stubs/functions.ml
- ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-macros-stubs.cmxa _build/tests/test-macros/stubs/functions.cmx -cclib -Wl,--no-as-needed
- ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-macros-stubs.cmxs _build/tests/test-macros/stubs/functions.cmx  -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-macros/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-macros/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/tests/test-macros/stubs  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-macros/stub-generator/driver.ml
- ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/test-macros-stubs.cmxa _build/ctypes-foreign.cmxa _build/tests-common.cmxa -o _build/test-macros-stub-generator.native _build/tests/test-macros/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
- _build/test-macros-stub-generator.native --ml-file tests/test-macros/generated_bindings.ml
- _build/test-macros-stub-generator.native --c-file tests/test-macros/generated_stubs.c
- ocamlfind  opt -bin-annot -c -o _build/tests/test-macros/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-macros  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/tests/test-macros/stubs  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-macros/generated_bindings.ml
- ocamlfind  opt -bin-annot -c -o _build/tests/test-macros/test_macros.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-macros  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/tests/test-macros/stubs  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-macros/test_macros.ml
- cd _build/tests/test-macros && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-macros/generated_stubs.c
- In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-macros/generated_stubs.c:1:
- /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
-   161 | void store_callback(int (*callback)(int));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
- ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/test-macros-stubs.cmxa _build/ctypes-foreign.cmxa _build/tests-common.cmxa -o _build/test-macros.native _build/tests/test-macros/generated_bindings.cmx _build/tests/test-macros/test_macros.cmx _build/tests/test-macros/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
- ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-higher_order/stubs/functions.cmo -I _build/tests/test-higher_order/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-higher_order/stubs/functions.ml
- ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-higher_order-stubs.cma _build/tests/test-higher_order/stubs/functions.cmo -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-higher_order/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-higher_order/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-higher_order/stubs/functions.ml
- ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-higher_order-stubs.cmxa _build/tests/test-higher_order/stubs/functions.cmx -cclib -Wl,--no-as-needed
- ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-higher_order-stubs.cmxs _build/tests/test-higher_order/stubs/functions.cmx  -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-higher_order/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-higher_order/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-higher_order/stubs  -I _build/tests/tests-common tests/test-higher_order/stub-generator/driver.ml
- ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-higher_order-stubs.cmxa _build/tests-common.cmxa -o _build/test-higher_order-stub-generator.native _build/tests/test-higher_order/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
- _build/test-higher_order-stub-generator.native --ml-file tests/test-higher_order/generated_bindings.ml
- _build/test-higher_order-stub-generator.native --c-file tests/test-higher_order/generated_stubs.c
- ocamlfind  opt -bin-annot -c -o _build/tests/test-higher_order/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-higher_order  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-higher_order/stubs  -I _build/tests/tests-common tests/test-higher_order/generated_bindings.ml
- ocamlfind  opt -bin-annot -c -o _build/tests/test-higher_order/test_higher_order.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-higher_order  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-higher_order/stubs  -I _build/tests/tests-common tests/test-higher_order/test_higher_order.ml
- cd _build/tests/test-higher_order && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-higher_order/generated_stubs.c
- In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-higher_order/generated_stubs.c:1:
- /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
-   161 | void store_callback(int (*callback)(int));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
- ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa _build/cstubs.cmxa _build/test-higher_order-stubs.cmxa _build/tests-common.cmxa -o _build/test-higher_order.native _build/tests/test-higher_order/generated_bindings.cmx _build/tests/test-higher_order/test_higher_order.cmx _build/tests/test-higher_order/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
- ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-enums/struct-stubs/types.cmo -I _build/tests/test-enums/struct-stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-enums/struct-stubs/types.ml
- ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-enums-struct-stubs.cma _build/tests/test-enums/struct-stubs/types.cmo -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-enums/struct-stubs/types.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-enums/struct-stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-enums/struct-stubs/types.ml
- ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-enums-struct-stubs.cmxa _build/tests/test-enums/struct-stubs/types.cmx -cclib -Wl,--no-as-needed
- ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-enums-struct-stubs.cmxs _build/tests/test-enums/struct-stubs/types.cmx  -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-enums/struct-stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-enums/struct-stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-enums/struct-stubs  -I _build/tests/tests-common tests/test-enums/struct-stub-generator/driver.ml
- ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-enums-struct-stubs.cmxa _build/tests-common.cmxa -o _build/test-enums-struct-stub-generator.native _build/tests/test-enums/struct-stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
- _build/test-enums-struct-stub-generator.native --c-struct-file _build/tests/test-enums/generated_struct_stubs.c
- gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64  -I `ocamlfind  ocamlc -where | sed 's|\r$||'` -fPIC -Wall -g  "-I/home/opam/.opam/4.14/lib/integers" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests"   -o _build/test-enums-ml-struct-stub-generator.native _build/tests/test-enums/generated_struct_stubs.c
- In file included from _build/tests/test-enums/generated_struct_stubs.c:1:
- /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
-   161 | void store_callback(int (*callback)(int));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
- _build/test-enums-ml-struct-stub-generator.native > tests/test-enums/stubs/generated_struct_bindings.ml
- ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-enums/stubs/generated_struct_bindings.cmo -I _build/tests/test-enums/stubs  -I _build/src/ctypes  -I _build/tests/test-enums/struct-stubs  -I _build/  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-enums/stubs/generated_struct_bindings.ml
- ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-enums/stubs/functions.cmo -I _build/tests/test-enums/stubs  -I _build/src/ctypes  -I _build/tests/test-enums/struct-stubs  -I _build/  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-enums/stubs/functions.ml
- ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-enums-stubs.cma _build/tests/test-enums/stubs/generated_struct_bindings.cmo _build/tests/test-enums/stubs/functions.cmo -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-enums/stubs/generated_struct_bindings.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-enums/stubs  -I _build/src/ctypes  -I _build/tests/test-enums/struct-stubs  -I _build/  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-enums/stubs/generated_struct_bindings.ml
- ocamlfind  opt -bin-annot -c -o _build/tests/test-enums/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-enums/stubs  -I _build/src/ctypes  -I _build/tests/test-enums/struct-stubs  -I _build/  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-enums/stubs/functions.ml
- ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-enums-stubs.cmxa _build/tests/test-enums/stubs/generated_struct_bindings.cmx _build/tests/test-enums/stubs/functions.cmx -cclib -Wl,--no-as-needed
- ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-enums-stubs.cmxs _build/tests/test-enums/stubs/generated_struct_bindings.cmx _build/tests/test-enums/stubs/functions.cmx  -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-enums/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-enums/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/tests/test-enums/struct-stubs  -I _build/src/ctypes-foreign  -I _build/tests/test-enums/stubs  -I _build/tests/tests-common tests/test-enums/stub-generator/driver.ml
- ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/test-enums-struct-stubs.cmxa _build/ctypes-foreign.cmxa _build/test-enums-stubs.cmxa _build/tests-common.cmxa -o _build/test-enums-stub-generator.native _build/tests/test-enums/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
- _build/test-enums-stub-generator.native --ml-file tests/test-enums/generated_bindings.ml
- _build/test-enums-stub-generator.native --c-file tests/test-enums/generated_stubs.c
- ocamlfind  opt -bin-annot -c -o _build/tests/test-enums/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-enums  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-enums/struct-stubs  -I _build/tests/test-enums/stubs  -I _build/tests/tests-common tests/test-enums/generated_bindings.ml
- ocamlfind  opt -bin-annot -c -o _build/tests/test-enums/test_enums.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-enums  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-enums/struct-stubs  -I _build/tests/test-enums/stubs  -I _build/tests/tests-common tests/test-enums/test_enums.ml
- cd _build/tests/test-enums && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-enums/generated_stubs.c
- In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-enums/generated_stubs.c:1:
- /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
-   161 | void store_callback(int (*callback)(int));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
- ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa _build/cstubs.cmxa _build/test-enums-struct-stubs.cmxa _build/test-enums-stubs.cmxa _build/tests-common.cmxa -o _build/test-enums.native _build/tests/test-enums/generated_bindings.cmx _build/tests/test-enums/test_enums.cmx _build/tests/test-enums/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
- ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-structs/stubs/functions.cmo -I _build/tests/test-structs/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-structs/stubs/functions.ml
- ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-structs/stubs/types.cmo -I _build/tests/test-structs/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-structs/stubs/types.ml
- ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-structs-stubs.cma _build/tests/test-structs/stubs/functions.cmo _build/tests/test-structs/stubs/types.cmo -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-structs/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-structs/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-structs/stubs/functions.ml
- ocamlfind  opt -bin-annot -c -o _build/tests/test-structs/stubs/types.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-structs/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-structs/stubs/types.ml
- ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-structs-stubs.cmxa _build/tests/test-structs/stubs/functions.cmx _build/tests/test-structs/stubs/types.cmx -cclib -Wl,--no-as-needed
- ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-structs-stubs.cmxs _build/tests/test-structs/stubs/functions.cmx _build/tests/test-structs/stubs/types.cmx  -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-structs/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-structs/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-structs/stubs  -I _build/tests/tests-common tests/test-structs/stub-generator/driver.ml
- ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-structs-stubs.cmxa _build/tests-common.cmxa -o _build/test-structs-stub-generator.native _build/tests/test-structs/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
- _build/test-structs-stub-generator.native --ml-file tests/test-structs/generated_bindings.ml
- _build/test-structs-stub-generator.native --c-file tests/test-structs/generated_stubs.c
- _build/test-structs-stub-generator.native --c-struct-file _build/tests/test-structs/generated_struct_stubs.c
- gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64  -I `ocamlfind  ocamlc -where | sed 's|\r$||'` -fPIC -Wall -g  "-I/home/opam/.opam/4.14/lib/integers" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests"   -o _build/test-structs-ml-stub-generator.native _build/tests/test-structs/generated_struct_stubs.c
- In file included from _build/tests/test-structs/generated_struct_stubs.c:1:
- /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
-   161 | void store_callback(int (*callback)(int));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
- _build/test-structs-ml-stub-generator.native > tests/test-structs/generated_struct_bindings.ml
- ocamlfind  opt -bin-annot -c -o _build/tests/test-structs/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-structs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-structs/stubs  -I _build/tests/tests-common tests/test-structs/generated_bindings.ml
- ocamlfind  opt -bin-annot -c -o _build/tests/test-structs/generated_struct_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-structs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-structs/stubs  -I _build/tests/tests-common tests/test-structs/generated_struct_bindings.ml
- ocamlfind  opt -bin-annot -c -o _build/tests/test-structs/test_structs.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-structs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-structs/stubs  -I _build/tests/tests-common tests/test-structs/test_structs.ml
- cd _build/tests/test-structs && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-structs/generated_stubs.c
- In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-structs/generated_stubs.c:1:
- /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
-   161 | void store_callback(int (*callback)(int));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
- ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa _build/cstubs.cmxa _build/test-structs-stubs.cmxa _build/tests-common.cmxa -o _build/test-structs.native _build/tests/test-structs/generated_bindings.cmx _build/tests/test-structs/generated_struct_bindings.cmx _build/tests/test-structs/test_structs.cmx _build/tests/test-structs/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
- ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-constants/stubs/types.cmo -I _build/tests/test-constants/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-constants/stubs/types.ml
- ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-constants-stubs.cma _build/tests/test-constants/stubs/types.cmo -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-constants/stubs/types.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-constants/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-constants/stubs/types.ml
- ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-constants-stubs.cmxa _build/tests/test-constants/stubs/types.cmx -cclib -Wl,--no-as-needed
- ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-constants-stubs.cmxs _build/tests/test-constants/stubs/types.cmx  -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-constants/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-constants/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-constants/stubs  -I _build/tests/tests-common tests/test-constants/stub-generator/driver.ml
- ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-constants-stubs.cmxa _build/tests-common.cmxa -o _build/test-constants-stub-generator.native _build/tests/test-constants/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
- _build/test-constants-stub-generator.native --ml-file tests/test-constants/generated_bindings.ml
- _build/test-constants-stub-generator.native --c-file tests/test-constants/generated_stubs.c
- _build/test-constants-stub-generator.native --c-struct-file _build/tests/test-constants/generated_struct_stubs.c
- gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64  -I `ocamlfind  ocamlc -where | sed 's|\r$||'` -fPIC -Wall -g  "-I/home/opam/.opam/4.14/lib/integers" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests"   -o _build/test-constants-ml-stub-generator.native _build/tests/test-constants/generated_struct_stubs.c
- In file included from _build/tests/test-constants/generated_struct_stubs.c:1:
- /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
-   161 | void store_callback(int (*callback)(int));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
- _build/test-constants-ml-stub-generator.native > tests/test-constants/generated_struct_bindings.ml
- ocamlfind  opt -bin-annot -c -o _build/tests/test-constants/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-constants  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-constants/stubs  -I _build/tests/tests-common tests/test-constants/generated_bindings.ml
- ocamlfind  opt -bin-annot -c -o _build/tests/test-constants/generated_struct_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-constants  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-constants/stubs  -I _build/tests/tests-common tests/test-constants/generated_struct_bindings.ml
- ocamlfind  opt -bin-annot -c -o _build/tests/test-constants/test_constants.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-constants  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-constants/stubs  -I _build/tests/tests-common tests/test-constants/test_constants.ml
- cd _build/tests/test-constants && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-constants/generated_stubs.c
- In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-constants/generated_stubs.c:1:
- /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
-   161 | void store_callback(int (*callback)(int));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
- ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa _build/cstubs.cmxa _build/test-constants-stubs.cmxa _build/tests-common.cmxa -o _build/test-constants.native _build/tests/test-constants/generated_bindings.cmx _build/tests/test-constants/generated_struct_bindings.cmx _build/tests/test-constants/test_constants.cmx _build/tests/test-constants/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
- ocamlfind  opt -bin-annot -c -o _build/tests/test-finalisers/test_finalisers.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-finalisers  -I _build/src/ctypes  -I _build/src/ctypes-foreign tests/test-finalisers/test_finalisers.ml
- ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa -o _build/test-finalisers.native _build/tests/test-finalisers/test_finalisers.cmx  -cclib -Wl,--no-as-needed 
- ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-cstdlib/stubs/functions.cmo -I _build/tests/test-cstdlib/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-cstdlib/stubs/functions.ml
- ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-cstdlib-stubs.cma _build/tests/test-cstdlib/stubs/functions.cmo -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-cstdlib/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-cstdlib/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-cstdlib/stubs/functions.ml
- ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-cstdlib-stubs.cmxa _build/tests/test-cstdlib/stubs/functions.cmx -cclib -Wl,--no-as-needed
- ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-cstdlib-stubs.cmxs _build/tests/test-cstdlib/stubs/functions.cmx  -cclib -Wl,--no-as-needed
- ocamlfind  opt -bin-annot -c -o _build/tests/test-cstdlib/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-cstdlib/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-cstdlib/stubs  -I _build/tests/tests-common tests/test-cstdlib/stub-generator/driver.ml
- ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-cstdlib-stubs.cmxa _build/tests-common.cmxa -o _build/test-cstdlib-stub-generator.native _build/tests/test-cstdlib/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
- _build/test-cstdlib-stub-generator.native --ml-file tests/test-cstdlib/generated_bindings.ml
- _build/test-cstdlib-stub-generator.native --c-file tests/test-cstdlib/generated_stubs.c
- ocamlfind  opt -bin-annot -c -o _build/tests/test-cstdlib/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-cstdlib  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-cstdlib/stubs  -I _build/tests/tests-common tests/test-cstdlib/generated_bindings.ml
- ocamlfind  opt -bin-annot -c -o _build/tests/test-cstdlib/test_cstdlib.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-cstdlib  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-cstdlib/stubs  -I _build/tests/tests-common tests/test-cstdlib/test_cstdlib.ml
- File "tests/test-cstdlib/test_cstdlib.ml", line 98, characters 12-22:
- 98 |     let p = allocate_n uchar 12 in
-                  ^^^^^^^^^^
- Warning 6 [labels-omitted]: label count was omitted in the application of this function.
- File "tests/test-cstdlib/test_cstdlib.ml", line 183, characters 6-24:
- 183 |       Pervasives.compare
-             ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- cd _build/tests/test-cstdlib && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-cstdlib/generated_stubs.c
- In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-cstdlib/generated_stubs.c:1:
- /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
-   161 | void store_callback(int (*callback)(int));
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
- /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-cstdlib/generated_stubs.c: In function 'cstubs_tests_16_qsort':
- /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-cstdlib/generated_stubs.c:110:25: error: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types]
-   110 |    qsort(x92, x93, x96, x99);
-       |                         ^~~
-       |                         |
-       |                         int (*)(void *, void *)
- In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:13:
- /usr/include/stdlib.h:971:34: note: expected '__compar_fn_t' {aka 'int (*)(const void *, const void *)'} but argument is of type 'int (*)(void *, void *)'
-   971 |                    __compar_fn_t __compar) __nonnull ((1, 4));
-       |                    ~~~~~~~~~~~~~~^~~~~~~~
- /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-cstdlib/generated_stubs.c: In function 'cstubs_tests_17_bsearch':
- /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-cstdlib/generated_stubs.c:121:49: error: passing argument 5 of 'bsearch' from incompatible pointer type [-Wincompatible-pointer-types]
-   121 |    void* x115 = bsearch(x106, x107, x108, x111, x114);
-       |                                                 ^~~~
-       |                                                 |
-       |                                                 int (*)(void *, void *)
- In file included from /usr/include/stdlib.h:965:
- /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:21:24: note: expected 'int (*)(const void *, const void *)' but argument is of type 'int (*)(void *, void *)'
-    21 |          __compar_fn_t __compar)
-       |          ~~~~~~~~~~~~~~^~~~~~~~
- make: *** [Makefile.rules:118: _build/tests/test-cstdlib/generated_stubs.o] Error 2
[ERROR] The compilation of ctypes.0.20.0 failed at "make test".

#=== ERROR while compiling ctypes.0.20.0 ======================================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/ctypes.0.20.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build make test
# exit-code            2
# env-file             ~/.opam/log/ctypes-7-341490.env
# output-file          ~/.opam/log/ctypes-7-341490.out
### output ###
# gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64  -c -fPIC -Wall -g  "-I/home/opam/.opam/4.14/lib/integers" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -I `ocamlfind  ocamlc -where | sed 's|\r$||'` -o _build/clib/test_functions.o tests/clib/test_functions.c
# In file included from tests/clib/test_functions.c:33:
# tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# tests/clib/test_functions.c:38:13: warning: "callback" is deprecated: use "caml_callback" instead
#    38 | int higher_order_1(intfun *callback, int x, int y)
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                     
# tests/clib/test_functions.c: In function 'higher_order_1':
# tests/clib/test_functions.c:40:13: warning: "callback" is deprecated: use "caml_callback" instead
#    40 |   return callback(x, y) == x + y;
#       |             ^~~~~~~~~~~~~~~~~~~~~                                      
# tests/clib/test_functions.c: At top level:
# tests/clib/test_functions.c:43:13: warning: "callback" is deprecated: use "caml_callback" instead
#    43 | int higher_order_3(acceptor *callback, intfun *fn, int x, int y)
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~       
# tests/clib/test_functions.c: In function 'higher_order_3':
# tests/clib/test_functions.c:45:13: warning: "callback" is deprecated: use "caml_callback" instead
#    45 |   return callback(fn, x, y);
#       |             ^~~~~~~~~~~~~~~~                                           
# tests/clib/test_functions.c: At top level:
# tests/clib/test_functions.c:48:13: warning: "callback" is deprecated: use "caml_callback" instead
#    48 | int higher_order_simplest(vintfun *callback)
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                           
# tests/clib/test_functions.c: In function 'higher_order_simplest':
# tests/clib/test_functions.c:50:13: warning: "callback" is deprecated: use "caml_callback" instead
#    50 |   return callback(22);
#       |             ^~~~~~~~~~                                                 
# tests/clib/test_functions.c: At top level:
# tests/clib/test_functions.c:99:13: warning: "callback" is deprecated: use "caml_callback" instead
#    99 | int callback_returns_funptr(vintfun *(*callback)(int), int x)
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~          
# tests/clib/test_functions.c: In function 'callback_returns_funptr':
# tests/clib/test_functions.c:101:13: warning: "callback" is deprecated: use "caml_callback" instead
#   101 |   vintfun *v1 = callback(x);
#       |             ^~~~~~~~~~~~~~~~                                           
# tests/clib/test_functions.c:102:13: warning: "callback" is deprecated: use "caml_callback" instead
#   102 |   vintfun *v2 = callback(x + 1);
#       |             ^~~~~~~~~~~~~~~~~~~~                                       
# tests/clib/test_functions.c: At top level:
# tests/clib/test_functions.c:499:13: warning: "callback" is deprecated: use "caml_callback" instead
#   499 | void store_callback(int (*callback)(int))
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~                              
# tests/clib/test_functions.c: In function 'store_callback':
# tests/clib/test_functions.c:501:13: warning: "callback" is deprecated: use "caml_callback" instead
#   501 |   global_stored_callback = callback;
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~                                   
# tests/clib/test_functions.c: At top level:
# tests/clib/test_functions.c:509:13: warning: "callback" is deprecated: use "caml_callback" instead
#   509 | vintfun *return_callback(vintfun *callback)
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                            
# tests/clib/test_functions.c: In function 'return_callback':
# tests/clib/test_functions.c:511:13: warning: "callback" is deprecated: use "caml_callback" instead
#   511 |   return callback;
#       |             ^~~~~~                                                     
# tests/clib/test_functions.c: At top level:
# tests/clib/test_functions.c:561:13: warning: "callback" is deprecated: use "caml_callback" instead
#   561 | void register_callback(callback_t *callback)
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                           
# tests/clib/test_functions.c: In function 'register_callback':
# tests/clib/test_functions.c:563:13: warning: "callback" is deprecated: use "caml_callback" instead
#   563 |   registered_callback = callback;
#       |             ^~~~~~~~~~~~~~~~~~~~~                                      
# gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64  -shared   -o _build/clib/libtest_functions.so _build/clib/test_functions.o -lm
# ocamlfind  ocamlc    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"   -c -o _build/tests/tests-common/tests_common.cmo -I _build/tests/tests-common  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign tests/tests-common/tests_common.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"       -o _build/tests-common.cma _build/tests/tests-common/tests_common.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/tests-common/tests_common.cmx    -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"      -I _build/tests/tests-common  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign tests/tests-common/tests_common.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"       -o _build/tests-common.cmxa _build/tests/tests-common/tests_common.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers"     -o _build/tests-common.cmxs _build/tests/tests-common/tests_common.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-raw/test_raw.cmx -package bigarray-compat -package oUnit -package str -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package bigarray-compat -package oUnit -package str -package integers -thread -package threads   -I _build/tests/test-raw  -I _build/src/ctypes  -I _build/src/ctypes-foreign tests/test-raw/test_raw.ml
# File "tests/test-raw/test_raw.ml", line 36, characters 46-54:
# 36 |     let dlfabs = Ctypes_ptr.Raw.of_nativeint (Dl.dlsym "fabs") in
#                                                    ^^^^^^^^
# Warning 6 [labels-omitted]: label symbol was omitted in the application of this function.
# File "tests/test-raw/test_raw.ml", line 71, characters 45-53:
# 71 |     let dlpow = Ctypes_ptr.Raw.of_nativeint (Dl.dlsym "pow") in
#                                                   ^^^^^^^^
# Warning 6 [labels-omitted]: label symbol was omitted in the application of this function.
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package bigarray-compat -package oUnit -package str -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa -o _build/test-raw.native _build/tests/test-raw/test_raw.cmx  -cclib -Wl,--no-as-needed 
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-pointers/stubs/functions.cmo -I _build/tests/test-pointers/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-pointers/stubs/functions.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-pointers-stubs.cma _build/tests/test-pointers/stubs/functions.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-pointers/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-pointers/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-pointers/stubs/functions.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-pointers-stubs.cmxa _build/tests/test-pointers/stubs/functions.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-pointers-stubs.cmxs _build/tests/test-pointers/stubs/functions.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-pointers/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-pointers/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-pointers/stubs  -I _build/tests/tests-common tests/test-pointers/stub-generator/driver.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-pointers-stubs.cmxa _build/tests-common.cmxa -o _build/test-pointers-stub-generator.native _build/tests/test-pointers/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
# _build/test-pointers-stub-generator.native --ml-file tests/test-pointers/generated_bindings.ml
# _build/test-pointers-stub-generator.native --c-file tests/test-pointers/generated_stubs.c
# ocamlfind  opt -bin-annot -c -o _build/tests/test-pointers/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-pointers  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/tests-common  -I _build/tests/test-pointers/stubs tests/test-pointers/generated_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-pointers/test_pointers.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-pointers  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/tests-common  -I _build/tests/test-pointers/stubs tests/test-pointers/test_pointers.ml
# File "tests/test-pointers/test_pointers.ml", line 64, characters 6-16:
# 64 |       Pervasives.(1 + 2 + 3 + 4)
#            ^^^^^^^^^^
# Alert deprecated: module Stdlib.Pervasives
# Use Stdlib instead.
# 
# If you need to stay compatible with OCaml < 4.07, you can use the 
# stdlib-shims library: https://github.com/ocaml/stdlib-shims
# File "tests/test-pointers/test_pointers.ml", line 381, characters 10-20:
# 381 |   let p = allocate_n char 26 in begin
#                 ^^^^^^^^^^
# Warning 6 [labels-omitted]: label count was omitted in the application of this function.
# File "tests/test-pointers/test_pointers.ml", line 384, characters 18-33:
# 384 |     assert_equal (string_from_ptr p 5) "abcde";
#                         ^^^^^^^^^^^^^^^
# Warning 6 [labels-omitted]: label length was omitted in the application of this function.
# File "tests/test-pointers/test_pointers.ml", line 385, characters 18-33:
# 385 |     assert_equal (string_from_ptr p 26) "abcdefghijklmnoprwstuvwxyz";
#                         ^^^^^^^^^^^^^^^
# Warning 6 [labels-omitted]: label length was omitted in the application of this function.
# File "tests/test-pointers/test_pointers.ml", line 386, characters 18-33:
# 386 |     assert_equal (string_from_ptr p 0) "";
#                         ^^^^^^^^^^^^^^^
# Warning 6 [labels-omitted]: label length was omitted in the application of this function.
# File "tests/test-pointers/test_pointers.ml", line 388, characters 17-32:
# 388 |       (fun () -> string_from_ptr p (-1));
#                        ^^^^^^^^^^^^^^^
# Warning 6 [labels-omitted]: label length was omitted in the application of this function.
# cd _build/tests/test-pointers && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-pointers/generated_stubs.c
# In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-pointers/generated_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa _build/cstubs.cmxa _build/tests-common.cmxa _build/test-pointers-stubs.cmxa -o _build/test-pointers.native _build/tests/test-pointers/generated_bindings.cmx _build/tests/test-pointers/test_pointers.cmx _build/tests/test-pointers/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-integers/stubs/functions.cmo -I _build/tests/test-integers/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-integers/stubs/functions.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-integers-stubs.cma _build/tests/test-integers/stubs/functions.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-integers/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-integers/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-integers/stubs/functions.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-integers-stubs.cmxa _build/tests/test-integers/stubs/functions.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-integers-stubs.cmxs _build/tests/test-integers/stubs/functions.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-integers/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-integers/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-integers/stubs  -I _build/tests/tests-common tests/test-integers/stub-generator/driver.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-integers-stubs.cmxa _build/tests-common.cmxa -o _build/test-integers-stub-generator.native _build/tests/test-integers/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
# _build/test-integers-stub-generator.native --ml-file tests/test-integers/generated_bindings.ml
# _build/test-integers-stub-generator.native --c-file tests/test-integers/generated_stubs.c
# ocamlfind  opt -bin-annot -c -o _build/tests/test-integers/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-integers  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/tests-common  -I _build/tests/test-integers/stubs tests/test-integers/generated_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-integers/test_integers.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-integers  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/tests-common  -I _build/tests/test-integers/stubs tests/test-integers/test_integers.ml
# cd _build/tests/test-integers && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-integers/generated_stubs.c
# In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-integers/generated_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa _build/cstubs.cmxa _build/tests-common.cmxa _build/test-integers-stubs.cmxa -o _build/test-integers.native _build/tests/test-integers/generated_bindings.cmx _build/tests/test-integers/test_integers.cmx _build/tests/test-integers/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
# ocamlfind  ocamlc -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-variadic/stubs/functions.cmo -I _build/tests/test-variadic/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-variadic/stubs/functions.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread   -package integers -thread -package threads  -o _build/test-variadic-stubs.cma _build/tests/test-variadic/stubs/functions.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-variadic/stubs/functions.cmx -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package integers -thread -package threads   -I _build/tests/test-variadic/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-variadic/stubs/functions.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package integers -thread -package threads    -o _build/test-variadic-stubs.cmxa _build/tests/test-variadic/stubs/functions.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package integers -thread -package threads  -o _build/test-variadic-stubs.cmxs _build/tests/test-variadic/stubs/functions.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-variadic/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-variadic/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-variadic/stubs  -I _build/tests/tests-common tests/test-variadic/stub-generator/driver.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-variadic-stubs.cmxa _build/tests-common.cmxa -o _build/test-variadic-stub-generator.native _build/tests/test-variadic/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
# _build/test-variadic-stub-generator.native --ml-file tests/test-variadic/generated_bindings.ml
# _build/test-variadic-stub-generator.native --c-file tests/test-variadic/generated_stubs.c
# ocamlfind  opt -bin-annot -c -o _build/tests/test-variadic/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-variadic  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/tests-common  -I _build/tests/test-variadic/stubs tests/test-variadic/generated_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-variadic/test_variadic.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-variadic  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/tests-common  -I _build/tests/test-variadic/stubs tests/test-variadic/test_variadic.ml
# File "tests/test-variadic/test_variadic.ml", line 28, characters 16-26:
# 28 |       let buf = allocate_n char bufsz in
#                      ^^^^^^^^^^
# Warning 6 [labels-omitted]: label count was omitted in the application of this function.
# cd _build/tests/test-variadic && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-variadic/generated_stubs.c
# In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-variadic/generated_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa _build/cstubs.cmxa _build/tests-common.cmxa _build/test-variadic-stubs.cmxa -o _build/test-variadic.native _build/tests/test-variadic/generated_bindings.cmx _build/tests/test-variadic/test_variadic.cmx _build/tests/test-variadic/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-builtins/stubs/functions.cmo -I _build/tests/test-builtins/stubs  -I _build/src/ctypes  -I _build/tests/tests-common tests/test-builtins/stubs/functions.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-builtins-stubs.cma _build/tests/test-builtins/stubs/functions.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-builtins/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-builtins/stubs  -I _build/src/ctypes  -I _build/tests/tests-common tests/test-builtins/stubs/functions.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-builtins-stubs.cmxa _build/tests/test-builtins/stubs/functions.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-builtins-stubs.cmxs _build/tests/test-builtins/stubs/functions.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-builtins/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-builtins/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/tests/test-builtins/stubs  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-builtins/stub-generator/driver.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/test-builtins-stubs.cmxa _build/ctypes-foreign.cmxa _build/tests-common.cmxa -o _build/test-builtins-stub-generator.native _build/tests/test-builtins/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
# _build/test-builtins-stub-generator.native --ml-file tests/test-builtins/generated_bindings.ml
# _build/test-builtins-stub-generator.native --c-file tests/test-builtins/generated_stubs.c
# ocamlfind  opt -bin-annot -c -o _build/tests/test-builtins/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-builtins  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/tests/test-builtins/stubs  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-builtins/generated_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-builtins/test_builtins.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-builtins  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/tests/test-builtins/stubs  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-builtins/test_builtins.ml
# cd _build/tests/test-builtins && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-builtins/generated_stubs.c
# In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-builtins/generated_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/test-builtins-stubs.cmxa _build/ctypes-foreign.cmxa _build/tests-common.cmxa -o _build/test-builtins.native _build/tests/test-builtins/generated_bindings.cmx _build/tests/test-builtins/test_builtins.cmx _build/tests/test-builtins/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-macros/stubs/functions.cmo -I _build/tests/test-macros/stubs  -I _build/src/ctypes  -I _build/tests/tests-common tests/test-macros/stubs/functions.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-macros-stubs.cma _build/tests/test-macros/stubs/functions.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-macros/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-macros/stubs  -I _build/src/ctypes  -I _build/tests/tests-common tests/test-macros/stubs/functions.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-macros-stubs.cmxa _build/tests/test-macros/stubs/functions.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-macros-stubs.cmxs _build/tests/test-macros/stubs/functions.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-macros/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-macros/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/tests/test-macros/stubs  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-macros/stub-generator/driver.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/test-macros-stubs.cmxa _build/ctypes-foreign.cmxa _build/tests-common.cmxa -o _build/test-macros-stub-generator.native _build/tests/test-macros/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
# _build/test-macros-stub-generator.native --ml-file tests/test-macros/generated_bindings.ml
# _build/test-macros-stub-generator.native --c-file tests/test-macros/generated_stubs.c
# ocamlfind  opt -bin-annot -c -o _build/tests/test-macros/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-macros  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/tests/test-macros/stubs  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-macros/generated_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-macros/test_macros.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-macros  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/tests/test-macros/stubs  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-macros/test_macros.ml
# cd _build/tests/test-macros && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-macros/generated_stubs.c
# In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-macros/generated_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/test-macros-stubs.cmxa _build/ctypes-foreign.cmxa _build/tests-common.cmxa -o _build/test-macros.native _build/tests/test-macros/generated_bindings.cmx _build/tests/test-macros/test_macros.cmx _build/tests/test-macros/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-higher_order/stubs/functions.cmo -I _build/tests/test-higher_order/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-higher_order/stubs/functions.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-higher_order-stubs.cma _build/tests/test-higher_order/stubs/functions.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-higher_order/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-higher_order/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-higher_order/stubs/functions.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-higher_order-stubs.cmxa _build/tests/test-higher_order/stubs/functions.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-higher_order-stubs.cmxs _build/tests/test-higher_order/stubs/functions.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-higher_order/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-higher_order/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-higher_order/stubs  -I _build/tests/tests-common tests/test-higher_order/stub-generator/driver.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-higher_order-stubs.cmxa _build/tests-common.cmxa -o _build/test-higher_order-stub-generator.native _build/tests/test-higher_order/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
# _build/test-higher_order-stub-generator.native --ml-file tests/test-higher_order/generated_bindings.ml
# _build/test-higher_order-stub-generator.native --c-file tests/test-higher_order/generated_stubs.c
# ocamlfind  opt -bin-annot -c -o _build/tests/test-higher_order/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-higher_order  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-higher_order/stubs  -I _build/tests/tests-common tests/test-higher_order/generated_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-higher_order/test_higher_order.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-higher_order  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-higher_order/stubs  -I _build/tests/tests-common tests/test-higher_order/test_higher_order.ml
# cd _build/tests/test-higher_order && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-higher_order/generated_stubs.c
# In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-higher_order/generated_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa _build/cstubs.cmxa _build/test-higher_order-stubs.cmxa _build/tests-common.cmxa -o _build/test-higher_order.native _build/tests/test-higher_order/generated_bindings.cmx _build/tests/test-higher_order/test_higher_order.cmx _build/tests/test-higher_order/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-enums/struct-stubs/types.cmo -I _build/tests/test-enums/struct-stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-enums/struct-stubs/types.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-enums-struct-stubs.cma _build/tests/test-enums/struct-stubs/types.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-enums/struct-stubs/types.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-enums/struct-stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-enums/struct-stubs/types.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-enums-struct-stubs.cmxa _build/tests/test-enums/struct-stubs/types.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-enums-struct-stubs.cmxs _build/tests/test-enums/struct-stubs/types.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-enums/struct-stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-enums/struct-stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-enums/struct-stubs  -I _build/tests/tests-common tests/test-enums/struct-stub-generator/driver.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-enums-struct-stubs.cmxa _build/tests-common.cmxa -o _build/test-enums-struct-stub-generator.native _build/tests/test-enums/struct-stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
# _build/test-enums-struct-stub-generator.native --c-struct-file _build/tests/test-enums/generated_struct_stubs.c
# gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64  -I `ocamlfind  ocamlc -where | sed 's|\r$||'` -fPIC -Wall -g  "-I/home/opam/.opam/4.14/lib/integers" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests"   -o _build/test-enums-ml-struct-stub-generator.native _build/tests/test-enums/generated_struct_stubs.c
# In file included from _build/tests/test-enums/generated_struct_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# _build/test-enums-ml-struct-stub-generator.native > tests/test-enums/stubs/generated_struct_bindings.ml
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-enums/stubs/generated_struct_bindings.cmo -I _build/tests/test-enums/stubs  -I _build/src/ctypes  -I _build/tests/test-enums/struct-stubs  -I _build/  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-enums/stubs/generated_struct_bindings.ml
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-enums/stubs/functions.cmo -I _build/tests/test-enums/stubs  -I _build/src/ctypes  -I _build/tests/test-enums/struct-stubs  -I _build/  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-enums/stubs/functions.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-enums-stubs.cma _build/tests/test-enums/stubs/generated_struct_bindings.cmo _build/tests/test-enums/stubs/functions.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-enums/stubs/generated_struct_bindings.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-enums/stubs  -I _build/src/ctypes  -I _build/tests/test-enums/struct-stubs  -I _build/  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-enums/stubs/generated_struct_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-enums/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-enums/stubs  -I _build/src/ctypes  -I _build/tests/test-enums/struct-stubs  -I _build/  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-enums/stubs/functions.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-enums-stubs.cmxa _build/tests/test-enums/stubs/generated_struct_bindings.cmx _build/tests/test-enums/stubs/functions.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-enums-stubs.cmxs _build/tests/test-enums/stubs/generated_struct_bindings.cmx _build/tests/test-enums/stubs/functions.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-enums/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-enums/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/tests/test-enums/struct-stubs  -I _build/src/ctypes-foreign  -I _build/tests/test-enums/stubs  -I _build/tests/tests-common tests/test-enums/stub-generator/driver.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/test-enums-struct-stubs.cmxa _build/ctypes-foreign.cmxa _build/test-enums-stubs.cmxa _build/tests-common.cmxa -o _build/test-enums-stub-generator.native _build/tests/test-enums/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
# _build/test-enums-stub-generator.native --ml-file tests/test-enums/generated_bindings.ml
# _build/test-enums-stub-generator.native --c-file tests/test-enums/generated_stubs.c
# ocamlfind  opt -bin-annot -c -o _build/tests/test-enums/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-enums  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-enums/struct-stubs  -I _build/tests/test-enums/stubs  -I _build/tests/tests-common tests/test-enums/generated_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-enums/test_enums.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-enums  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-enums/struct-stubs  -I _build/tests/test-enums/stubs  -I _build/tests/tests-common tests/test-enums/test_enums.ml
# cd _build/tests/test-enums && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-enums/generated_stubs.c
# In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-enums/generated_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa _build/cstubs.cmxa _build/test-enums-struct-stubs.cmxa _build/test-enums-stubs.cmxa _build/tests-common.cmxa -o _build/test-enums.native _build/tests/test-enums/generated_bindings.cmx _build/tests/test-enums/test_enums.cmx _build/tests/test-enums/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-structs/stubs/functions.cmo -I _build/tests/test-structs/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-structs/stubs/functions.ml
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-structs/stubs/types.cmo -I _build/tests/test-structs/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-structs/stubs/types.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-structs-stubs.cma _build/tests/test-structs/stubs/functions.cmo _build/tests/test-structs/stubs/types.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-structs/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-structs/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-structs/stubs/functions.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-structs/stubs/types.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-structs/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-structs/stubs/types.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-structs-stubs.cmxa _build/tests/test-structs/stubs/functions.cmx _build/tests/test-structs/stubs/types.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-structs-stubs.cmxs _build/tests/test-structs/stubs/functions.cmx _build/tests/test-structs/stubs/types.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-structs/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-structs/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-structs/stubs  -I _build/tests/tests-common tests/test-structs/stub-generator/driver.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-structs-stubs.cmxa _build/tests-common.cmxa -o _build/test-structs-stub-generator.native _build/tests/test-structs/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
# _build/test-structs-stub-generator.native --ml-file tests/test-structs/generated_bindings.ml
# _build/test-structs-stub-generator.native --c-file tests/test-structs/generated_stubs.c
# _build/test-structs-stub-generator.native --c-struct-file _build/tests/test-structs/generated_struct_stubs.c
# gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64  -I `ocamlfind  ocamlc -where | sed 's|\r$||'` -fPIC -Wall -g  "-I/home/opam/.opam/4.14/lib/integers" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests"   -o _build/test-structs-ml-stub-generator.native _build/tests/test-structs/generated_struct_stubs.c
# In file included from _build/tests/test-structs/generated_struct_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# _build/test-structs-ml-stub-generator.native > tests/test-structs/generated_struct_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-structs/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-structs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-structs/stubs  -I _build/tests/tests-common tests/test-structs/generated_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-structs/generated_struct_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-structs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-structs/stubs  -I _build/tests/tests-common tests/test-structs/generated_struct_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-structs/test_structs.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-structs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-structs/stubs  -I _build/tests/tests-common tests/test-structs/test_structs.ml
# cd _build/tests/test-structs && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-structs/generated_stubs.c
# In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-structs/generated_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa _build/cstubs.cmxa _build/test-structs-stubs.cmxa _build/tests-common.cmxa -o _build/test-structs.native _build/tests/test-structs/generated_bindings.cmx _build/tests/test-structs/generated_struct_bindings.cmx _build/tests/test-structs/test_structs.cmx _build/tests/test-structs/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-constants/stubs/types.cmo -I _build/tests/test-constants/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-constants/stubs/types.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-constants-stubs.cma _build/tests/test-constants/stubs/types.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-constants/stubs/types.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-constants/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-constants/stubs/types.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-constants-stubs.cmxa _build/tests/test-constants/stubs/types.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-constants-stubs.cmxs _build/tests/test-constants/stubs/types.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-constants/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-constants/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-constants/stubs  -I _build/tests/tests-common tests/test-constants/stub-generator/driver.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-constants-stubs.cmxa _build/tests-common.cmxa -o _build/test-constants-stub-generator.native _build/tests/test-constants/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
# _build/test-constants-stub-generator.native --ml-file tests/test-constants/generated_bindings.ml
# _build/test-constants-stub-generator.native --c-file tests/test-constants/generated_stubs.c
# _build/test-constants-stub-generator.native --c-struct-file _build/tests/test-constants/generated_struct_stubs.c
# gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64  -I `ocamlfind  ocamlc -where | sed 's|\r$||'` -fPIC -Wall -g  "-I/home/opam/.opam/4.14/lib/integers" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -I "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests"   -o _build/test-constants-ml-stub-generator.native _build/tests/test-constants/generated_struct_stubs.c
# In file included from _build/tests/test-constants/generated_struct_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# _build/test-constants-ml-stub-generator.native > tests/test-constants/generated_struct_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-constants/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-constants  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-constants/stubs  -I _build/tests/tests-common tests/test-constants/generated_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-constants/generated_struct_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-constants  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-constants/stubs  -I _build/tests/tests-common tests/test-constants/generated_struct_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-constants/test_constants.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-constants  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-constants/stubs  -I _build/tests/tests-common tests/test-constants/test_constants.ml
# cd _build/tests/test-constants && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-constants/generated_stubs.c
# In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-constants/generated_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa _build/cstubs.cmxa _build/test-constants-stubs.cmxa _build/tests-common.cmxa -o _build/test-constants.native _build/tests/test-constants/generated_bindings.cmx _build/tests/test-constants/generated_struct_bindings.cmx _build/tests/test-constants/test_constants.cmx _build/tests/test-constants/generated_stubs.o -cclib -Wl,--no-as-needed -cclib -L_build/clib -cclib -ltest_functions 
# ocamlfind  opt -bin-annot -c -o _build/tests/test-finalisers/test_finalisers.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-finalisers  -I _build/src/ctypes  -I _build/src/ctypes-foreign tests/test-finalisers/test_finalisers.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  _build/ctypes.cmxa _build/ctypes-foreign.cmxa -o _build/test-finalisers.native _build/tests/test-finalisers/test_finalisers.cmx  -cclib -Wl,--no-as-needed 
# ocamlfind  ocamlc  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -c -o _build/tests/test-cstdlib/stubs/functions.cmo -I _build/tests/test-cstdlib/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-cstdlib/stubs/functions.ml
# ocamlfind  ocamlc -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread    -thread -package threads  -o _build/test-cstdlib-stubs.cma _build/tests/test-cstdlib/stubs/functions.cmo -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-cstdlib/stubs/functions.cmx  -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads   -I _build/tests/test-cstdlib/stubs  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/tests/tests-common tests/test-cstdlib/stubs/functions.ml
# ocamlfind  opt -a -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads    -o _build/test-cstdlib-stubs.cmxa _build/tests/test-cstdlib/stubs/functions.cmx -cclib -Wl,--no-as-needed
# ocamlfind  opt -shared -linkall -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread  -thread -package threads  -o _build/test-cstdlib-stubs.cmxs _build/tests/test-cstdlib/stubs/functions.cmx  -cclib -Wl,--no-as-needed
# ocamlfind  opt -bin-annot -c -o _build/tests/test-cstdlib/stub-generator/driver.cmx -package str -package bigarray-compat -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads   -I _build/tests/test-cstdlib/stub-generator  -I _build/src/ctypes  -I _build/src/cstubs  -I _build/src/ctypes-foreign  -I _build/tests/test-cstdlib/stubs  -I _build/tests/tests-common tests/test-cstdlib/stub-generator/driver.ml
# ocamlfind  opt -I _build -linkpkg -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package integers -thread -package threads  _build/ctypes.cmxa _build/cstubs.cmxa _build/ctypes-foreign.cmxa _build/test-cstdlib-stubs.cmxa _build/tests-common.cmxa -o _build/test-cstdlib-stub-generator.native _build/tests/test-cstdlib/stub-generator/driver.cmx  -cclib -Wl,--no-as-needed 
# _build/test-cstdlib-stub-generator.native --ml-file tests/test-cstdlib/generated_bindings.ml
# _build/test-cstdlib-stub-generator.native --c-file tests/test-cstdlib/generated_stubs.c
# ocamlfind  opt -bin-annot -c -o _build/tests/test-cstdlib/generated_bindings.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-cstdlib  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-cstdlib/stubs  -I _build/tests/tests-common tests/test-cstdlib/generated_bindings.ml
# ocamlfind  opt -bin-annot -c -o _build/tests/test-cstdlib/test_cstdlib.cmx -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -thread -package str -package bigarray-compat -package oUnit -package integers -thread -package threads   -I _build/tests/test-cstdlib  -I _build/src/ctypes  -I _build/src/ctypes-foreign  -I _build/src/cstubs  -I _build/tests/test-cstdlib/stubs  -I _build/tests/tests-common tests/test-cstdlib/test_cstdlib.ml
# File "tests/test-cstdlib/test_cstdlib.ml", line 98, characters 12-22:
# 98 |     let p = allocate_n uchar 12 in
#                  ^^^^^^^^^^
# Warning 6 [labels-omitted]: label count was omitted in the application of this function.
# File "tests/test-cstdlib/test_cstdlib.ml", line 183, characters 6-24:
# 183 |       Pervasives.compare
#             ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Pervasives
# Use Stdlib instead.
# 
# If you need to stay compatible with OCaml < 4.07, you can use the 
# stdlib-shims library: https://github.com/ocaml/stdlib-shims
# cd _build/tests/test-cstdlib && ocamlfind  ocamlc -c -package str -package bigarray-compat -package oUnit -package integers -thread -package threads  -ccopt -fPIC -ccopt -Wall -ccopt -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/src/ctypes" -ccopt -I -ccopt "/home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests" -o generated_stubs.o -principal -short-paths -strict-sequence -g -ccopt "-I/home/opam/.opam/4.14/lib/integers" /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-cstdlib/generated_stubs.c
# In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-cstdlib/generated_stubs.c:1:
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:161:13: warning: "callback" is deprecated: use "caml_callback" instead
#   161 | void store_callback(int (*callback)(int));
#       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-cstdlib/generated_stubs.c: In function 'cstubs_tests_16_qsort':
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-cstdlib/generated_stubs.c:110:25: error: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types]
#   110 |    qsort(x92, x93, x96, x99);
#       |                         ^~~
#       |                         |
#       |                         int (*)(void *, void *)
# In file included from /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/clib/test_functions.h:13:
# /usr/include/stdlib.h:971:34: note: expected '__compar_fn_t' {aka 'int (*)(const void *, const void *)'} but argument is of type 'int (*)(void *, void *)'
#   971 |                    __compar_fn_t __compar) __nonnull ((1, 4));
#       |                    ~~~~~~~~~~~~~~^~~~~~~~
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-cstdlib/generated_stubs.c: In function 'cstubs_tests_17_bsearch':
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-cstdlib/generated_stubs.c:121:49: error: passing argument 5 of 'bsearch' from incompatible pointer type [-Wincompatible-pointer-types]
#   121 |    void* x115 = bsearch(x106, x107, x108, x111, x114);
#       |                                                 ^~~~
#       |                                                 |
#       |                                                 int (*)(void *, void *)
# In file included from /usr/include/stdlib.h:965:
# /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:21:24: note: expected 'int (*)(const void *, const void *)' but argument is of type 'int (*)(void *, void *)'
#    21 |          __compar_fn_t __compar)
#       |          ~~~~~~~~~~~~~~^~~~~~~~
# make: *** [Makefile.rules:118: _build/tests/test-cstdlib/generated_stubs.o] Error 2



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ctypes 0.20.0
+- 
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
'opam reinstall --with-test --verbose ctypes.0.20.0' failed.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall --with-test --verbose ctypes.0.20.0;
        res=$?;
        test "$res" != 31 && exit "$res";
        export OPAMCLI=2.0;
        build_dir=$(opam var prefix)/.opam-switch/build;
        failed=$(ls "$build_dir");
        partial_fails="";
        for pkg in $failed; do
          if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'ctypes.0.20.0' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 1
2026-01-13 19:11.54: Job failed: Failed: Build failed
2026-01-13 19:11.54: Log analysis:
2026-01-13 19:11.54: >>> 
[ERROR] The compilation of ctypes.0.20.0 failed at "make test".
 (score = 20)
2026-01-13 19:11.54: >>> 
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-cstdlib/generated_stubs.c:110:25: error: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types]
 (score = 30)
2026-01-13 19:11.54: >>> 
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-cstdlib/generated_stubs.c:121:49: error: passing argument 5 of 'bsearch' from incompatible pointer type [-Wincompatible-pointer-types]
 (score = 30)
2026-01-13 19:11.54: >>> 
[ERROR] The compilation of ctypes.0.20.0 failed at "make test".
 (score = 20)
2026-01-13 19:11.54: >>> 
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-cstdlib/generated_stubs.c:110:25: error: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types]
 (score = 30)
2026-01-13 19:11.54: >>> 
# /home/opam/.opam/4.14/.opam-switch/build/ctypes.0.20.0/tests/test-cstdlib/generated_stubs.c:121:49: error: passing argument 5 of 'bsearch' from incompatible pointer type [-Wincompatible-pointer-types]
 (score = 30)
2026-01-13 19:11.54: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types]