Build:
- 0
2025-12-30 11:06.29: New job: test ctypes-foreign.0.23.0 with lwt.6.0.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29147/head (d83f510fcc6a430d62200d6223dcfcc5c92c0245)
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/29147/head" && git reset --hard d83f510f
git fetch origin master
git merge --no-edit c239a62d58deaede2e5dce17c2715a55397b73f2
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:036e77867422a8866af32fdb5a0ab537b7171bc6e32ad75d56b72d619d86227e
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 lwt.6.0.0 6.0.0
RUN opam reinstall lwt.6.0.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" != 'lwt.6.0.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-foreign.0.23.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-foreign.0.23.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-foreign.0.23.0) || true
RUN opam reinstall --with-test --verbose ctypes-foreign.0.23.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-foreign.0.23.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 .
2025-12-30 11:06.29: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:036e77867422a8866af32fdb5a0ab537b7171bc6e32ad75d56b72d619d86227e-lwt.6.0.0-ctypes-foreign.0.23.0-d83f510fcc6a430d62200d6223dcfcc5c92c0245"
2025-12-30 11:06.29: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:036e77867422a8866af32fdb5a0ab537b7171bc6e32ad75d56b72d619d86227e)
(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 lwt.6.0.0 6.0.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall lwt.6.0.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\" != 'lwt.6.0.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-foreign.0.23.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-foreign.0.23.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-foreign.0.23.0) || true"))
(run (shell "opam reinstall --with-test --verbose ctypes-foreign.0.23.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-foreign.0.23.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-12-30 11:06.29: Waiting for resource in pool OCluster
2025-12-30 11:59.38: Waiting for worker…
2025-12-30 12:03.09: Got resource from pool OCluster
Building on eumache
All commits already cached
Updating files: 73% (14048/19115)
Updating files: 74% (14146/19115)
Updating files: 75% (14337/19115)
Updating files: 76% (14528/19115)
Updating files: 77% (14719/19115)
Updating files: 78% (14910/19115)
Updating files: 79% (15101/19115)
Updating files: 80% (15292/19115)
Updating files: 81% (15484/19115)
Updating files: 82% (15675/19115)
Updating files: 83% (15866/19115)
Updating files: 84% (16057/19115)
Updating files: 85% (16248/19115)
Updating files: 86% (16439/19115)
Updating files: 87% (16631/19115)
Updating files: 88% (16822/19115)
Updating files: 89% (17013/19115)
Updating files: 90% (17204/19115)
Updating files: 91% (17395/19115)
Updating files: 92% (17586/19115)
Updating files: 93% (17777/19115)
Updating files: 94% (17969/19115)
Updating files: 95% (18160/19115)
Updating files: 96% (18351/19115)
Updating files: 97% (18542/19115)
Updating files: 98% (18733/19115)
Updating files: 99% (18924/19115)
Updating files: 100% (19115/19115)
Updating files: 100% (19115/19115), done.
HEAD is now at c239a62d58 Merge pull request #29143 from filipeom/opam-publish-smtml.0.18.0
Updating c239a62d58..d83f510fcc
Fast-forward
packages/lwt/lwt.6.0.0/opam | 64 ++++++++++++++++++++++
packages/lwt_direct/lwt_direct.6.0.0/opam | 41 ++++++++++++++
packages/lwt_ppx/lwt_ppx.6.0.0/opam | 42 ++++++++++++++
.../lwt_runtime_events.6.0.0/opam | 39 +++++++++++++
4 files changed, 186 insertions(+)
create mode 100644 packages/lwt/lwt.6.0.0/opam
create mode 100644 packages/lwt_direct/lwt_direct.6.0.0/opam
create mode 100644 packages/lwt_ppx/lwt_ppx.6.0.0/opam
create mode 100644 packages/lwt_runtime_events/lwt_runtime_events.6.0.0/opam
(from ocaml/opam:debian-13-ocaml-4.14@sha256:036e77867422a8866af32fdb5a0ab537b7171bc6e32ad75d56b72d619d86227e)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:036e77867422a8866af32fdb5a0ab537b7171bc6e32ad75d56b72d619d86227e' locally
docker.io/ocaml/opam@sha256:036e77867422a8866af32fdb5a0ab537b7171bc6e32ad75d56b72d619d86227e: Pulling from ocaml/opam
2981f7e8980b: Already exists
38c43a523031: Already exists
86b171e1f8bb: Already exists
c62328d491a4: Already exists
eff4af1ec9f9: Already exists
a8fb3d73c22a: Already exists
75059ed2c06e: Already exists
c838c080301e: Already exists
dfb14fb41cef: Already exists
df6d00addf67: Already exists
4f718223933a: Already exists
ccc6aa3cc5f0: Already exists
23e68f1bebf2: Already exists
bc8ede90ef45: Already exists
80af37328cf0: Already exists
709d603477b6: Already exists
0ccf30b070a2: Already exists
35aa2e416863: Already exists
00036f610596: Already exists
566836f020cc: Already exists
71b9e3f831b5: Already exists
8a58bb81444d: Already exists
4f4fb700ef54: Already exists
c914f6b1f746: Already exists
63d935813e47: Already exists
8ac9b4b966c0: Already exists
8001b3a2b5ac: Already exists
ab8c1074cdd7: Already exists
552a5e6f461a: Already exists
096d8d04315b: Already exists
8c2c8a96d5dd: Already exists
5e0e78b37cf0: Already exists
47f8c84cafbb: Already exists
ad98837138f6: Already exists
5ed1b7a005db: Already exists
ec30d9664bee: Already exists
fc40ea176f89: Already exists
120854320efc: Already exists
bc1b0459d6ad: Already exists
ae7d42bb164e: Already exists
e62afff751db: Already exists
e41c8188a018: Pulling fs layer
a68d3902b562: Pulling fs layer
4247127f452e: Pulling fs layer
a7e742daec37: Pulling fs layer
a7e742daec37: Waiting
a68d3902b562: Download complete
4247127f452e: Verifying Checksum
4247127f452e: Download complete
a7e742daec37: Download complete
e41c8188a018: Verifying Checksum
e41c8188a018: Download complete
e41c8188a018: Pull complete
a68d3902b562: Pull complete
4247127f452e: Pull complete
a7e742daec37: Pull complete
Digest: sha256:036e77867422a8866af32fdb5a0ab537b7171bc6e32ad75d56b72d619d86227e
Status: Downloaded newer image for ocaml/opam@sha256:036e77867422a8866af32fdb5a0ab537b7171bc6e32ad75d56b72d619d86227e
2025-12-30 12:03.12 ---> using "3693260be75be30570e295a8d96dbf271715706f1de21c754800bbb80cb23c02" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-30 12:03.12 ---> using "1901ce78037bddde71f95bdd22440cea4b65c64f109a6dc28a07d8f568d14fd5" 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
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-30 12:03.12 ---> using "2ffda47237486dfd42484e675442c43b64b4248da6fe38c8c6f6b73eaf77c7e4" 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 71
# 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
2025-12-30 12:03.12 ---> using "8d8441a28f4b5d60d384616bad3398ce82a06d7e454e61c9fb6c21023e1fdb63" 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/"))
2025-12-30 12:03.12 ---> using "991dc295f290cc56c9e5a21cee5fed1bc338c5aa668e8bacd9f2f3a05c89da27" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-30 12:03.14 ---> using "776cff223897cb507a6cca05f13b7b38f86aeef6aa201414b9cd7be8afcc28e7" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-30 12:03.14 ---> using "cbf57c3803cfeec426d6e6a91cffa6d3767d6fc9d7a11ee0a315b1f0a952711e" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- 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]
- Fetched 90.7 kB in 0s (1416 kB/s)
- Reading package lists...
2025-12-30 12:03.14 ---> using "199b83ec8646127fc85f887dd3966b58d3c2eb87bc6ced2ec90f99a90f0fc201" from cache
/home/opam: (run (shell "opam pin add -k version -yn lwt.6.0.0 6.0.0"))
lwt is now pinned to version 6.0.0
2025-12-30 12:03.14 ---> using "02da183fa752ce780cc86f04d2afaef60d98811376d928c76962de93d61003f4" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall lwt.6.0.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\" != 'lwt.6.0.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
lwt.6.0.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 8 packages
- install base-bytes base [required by ocplib-endian]
- install cppo 1.8.0 [required by lwt]
- install csexp 1.5.2 [required by dune-configurator]
- install dune 3.20.2 [required by lwt]
- install dune-configurator 3.20.2 [required by lwt]
- install lwt 6.0.0 (pinned)
- install ocamlfind 1.9.8 [required by base-bytes]
- install ocplib-endian 1.2 [required by lwt]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> retrieved lwt.6.0.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.20.2
-> installed lwt.6.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-30 12:03.14 ---> using "0edc687c209692261b33c408eee1f0531873c26e05d69a05585f83c7a66a7de0" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ctypes-foreign.0.23.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-foreign.0.23.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-foreign.0.23.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 7 packages
- install bigarray-compat 1.1.0 [required by ctypes]
- install conf-libffi 2.0.0 [required by ctypes-foreign]
- install conf-pkg-config 4 [required by ctypes-foreign]
- install ctypes 0.23.0 [required by ctypes-foreign]
- install ctypes-foreign 0.23.0
- install integers 0.7.0 [required by ctypes]
- install stdlib-shims 0.3.0 [required by integers]
The following system packages will first need to be installed:
libffi-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" "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 .../libffi-dev_3.4.8-2_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.8-2) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../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 pkgconf-bin (1.8.1-4) ...
- 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 <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0 (cached)
-> installed conf-pkg-config.4
-> installed conf-libffi.2.0.0
-> retrieved ctypes.0.23.0, ctypes-foreign.0.23.0 (https://opam.ocaml.org/cache)
-> retrieved integers.0.7.0 (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 ctypes.0.23.0
-> installed ctypes-foreign.0.23.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-30 12:03.40 ---> saved as "38a4e917576fe692f704e7c0cbb2878b16c46cd6841cfe92873f9ba260295345"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test ctypes-foreign.0.23.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile ctypes-foreign 0.23.0
=== install 4 packages
- install conf-fts 1 [required by ctypes-foreign]
- install conf-ncurses 1 [required by ctypes-foreign]
- install ounit2 2.2.7 [required by ctypes-foreign]
- install seq base [required by ounit2]
The following system packages will first need to be installed:
ncurses-dev
<><> 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" "ncurses-dev"
- Selecting previously unselected package libncurses6: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 ... 20694 files and directories currently installed.)
- Preparing to unpack .../libncurses6_6.5+20250216-2_amd64.deb ...
- Unpacking libncurses6:amd64 (6.5+20250216-2) ...
- Selecting previously unselected package libncurses-dev:amd64.
- Preparing to unpack .../libncurses-dev_6.5+20250216-2_amd64.deb ...
- Unpacking libncurses-dev:amd64 (6.5+20250216-2) ...
- Setting up libncurses6:amd64 (6.5+20250216-2) ...
- Setting up libncurses-dev:amd64 (6.5+20250216-2) ...
- Processing triggers for libc-bin (2.41-12) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-fts.1 (https://opam.ocaml.org/cache)
-> installed conf-ncurses.1
-> installed conf-fts.1
-> retrieved ctypes-foreign.0.23.0 (https://opam.ocaml.org/cache)
-> retrieved ounit2.2.2.7 (https://opam.ocaml.org/cache)
-> retrieved seq.base (2 extra sources)
-> retrieved seq.base (2 extra sources)
-> removed ctypes-foreign.0.23.0
-> installed seq.base
-> installed ounit2.2.2.7
[ERROR] The compilation of ctypes-foreign.0.23.0 failed at "dune build -p ctypes-foreign -j 71 --promote-install-files=false @install @runtest".
#=== ERROR while compiling ctypes-foreign.0.23.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-foreign.0.23.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ctypes-foreign -j 71 --promote-install-files=false @install @runtest
# exit-code 1
# env-file ~/.opam/log/ctypes-foreign-7-ef58c2.env
# output-file ~/.opam/log/ctypes-foreign-7-ef58c2.out
### output ###
# (cd _build/default/tests/test-finalisers && ./test_finalisers.exe)
# ..
# Ran: 2 tests in: 0.10 seconds.
# OK
# (cd _build/default/tests/test-marshal && ./test_marshal.exe)
# .
# Ran: 1 tests in: 0.10 seconds.
# OK
# (cd _build/default/tests/test-custom_ops && ./test_custom_ops.exe)
# ..
# Ran: 2 tests in: 0.10 seconds.
# OK
# (cd _build/default/tests/test-ldouble && ./test_ldouble.exe)
# .........
# Ran: 9 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-stubs && ./test_stubs.exe)
# .
# Ran: 1 tests in: 0.10 seconds.
# OK
# (cd _build/default/tests/test-foreign-errno && ./test_errno.exe)
# ...
# Ran: 3 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-raw && ./test_raw.exe)
# ..
# Ran: 2 tests in: 0.10 seconds.
# OK
# File "tests/test-oo_style/stub-generator/dune", line 21, characters 9-24:
# 21 | (names generated_stubs))
# ^^^^^^^^^^^^^^^
# (cd _build/default/tests/test-oo_style/stub-generator && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/stdlib-shims -I ../../clib -o generated_stubs.o -c generated_stubs.c)
# generated_stubs.c: In function 'cstubs_tests_2_new_chorse':
# generated_stubs.c:14:25: error: initialization of 'struct animal *' from incompatible pointer type 'struct chorse *' [-Wincompatible-pointer-types]
# 14 | struct animal* x10 = new_chorse(x7);
# | ^~~~~~~~~~
# (cd _build/default/tests/test-alignment && ./test_alignment.exe)
# .......
# Ran: 7 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-sizeof && ./test_sizeof.exe)
# ...........
# Ran: 11 tests in: 0.13 seconds.
# OK
# (cd _build/default/tests/test-passable && ./test_passable.exe)
# ............
# Ran: 12 tests in: 0.13 seconds.
# OK
# (cd _build/default/tests/test-roots && ./test_roots.exe)
# ..
# Ran: 2 tests in: 0.13 seconds.
# OK
# (cd _build/default/tests/test-builtins && ./test_builtins.exe)
# .
# Ran: 1 tests in: 0.10 seconds.
# OK
# (cd _build/default/tests/test-integers && ./test_integers.exe)
# ....
# Ran: 4 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-callback_lifetime && ./test_callback_lifetime.exe)
# ....
# Ran: 4 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-macros && ./test_macros.exe)
# .
# Ran: 1 tests in: 0.10 seconds.
# OK
# (cd _build/default/tests/test-bools && ./test_bools.exe)
# ..
# Ran: 2 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-variadic && ./test_variadic.exe)
# .
# Ran: 1 tests in: 0.10 seconds.
# OK
# (cd _build/default/tests/test-arrays && ./test_array.exe)
# ..................
# Ran: 18 tests in: 0.13 seconds.
# OK
# (cd _build/default/tests/test-returning-errno && ./test_returning_errno.exe -runner sequential)
# .
# Ran: 1 tests in: 0.00 seconds.
# OK
# (cd _build/default/tests/test-foreign_values && ./test_foreign_values.exe)
# .......
# Ran: 7 tests in: 0.12 seconds.
# OK
# (cd _build/default/tests/test-funptrs && ./test_funptrs.exe)
# ..................
# Ran: 18 tests in: 0.15 seconds.
# OK
# (cd _build/default/tests/test-passing-ocaml-values && ./test_passing_ocaml_values.exe)
# ........
# Ran: 8 tests in: 0.12 seconds.
# OK
# (cd _build/default/tests/test-complex && ./test_complex.exe)
# ...
# Ran: 3 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-coercions && ./test_coercions.exe)
# .........
# Ran: 9 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-lwt-preemptive && ./test_lwt_jobs.exe -runner sequential)
# ......
# Ran: 6 tests in: 0.01 seconds.
# OK
# (cd _build/default/tests/test-closure-type-promotion && ./test_closure_type_promotion.exe)
# ..........
# Ran: 10 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-bigarrays && ./test_bigarrays.exe)
# .........
# Ran: 9 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-lwt-jobs && ./test_lwt_jobs.exe -runner sequential)
# ......
# Ran: 6 tests in: 0.01 seconds.
# OK
# (cd _build/default/tests/test-value_printing && ./test_value_printing.exe)
# .......
# Ran: 7 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-higher_order && ./test_higher_order.exe)
# ..............
# Ran: 14 tests in: 0.13 seconds.
# OK
# (cd _build/default/tests/test-returning-errno-lwt-preemptive && ./test_returning_errno.exe -runner sequential)
# ....
# Ran: 4 tests in: 0.00 seconds.
# OK
# (cd _build/default/tests/test-unions && ./test_unions.exe -runner sequential)
# ............
# Ran: 12 tests in: 0.01 seconds.
# OK
# (cd _build/default/tests/test-returning-errno-lwt-jobs && ./test_returning_errno.exe -runner sequential)
# ....
# Ran: 4 tests in: 0.00 seconds.
# OK
# (cd _build/default/tests/test-cstdlib && ./test_cstdlib.exe)
# .........
# Ran: 9 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-constants && ./test_constants.exe)
# ...
# Ran: 3 tests in: 0.10 seconds.
# OK
# (cd _build/default/tests/test-type_printing && ./test_type_printing.exe)
# ......S....
# Ran: 11 tests in: 0.11 seconds.
# OK: Cases: 11 Skip: 1
# (cd _build/default/tests/test-structs && ./test_structs.exe -runner sequential)
# ......................
# Ran: 22 tests in: 0.02 seconds.
# OK
# (cd _build/default/tests/test-views && ./test_views.exe)
# ..........
# Ran: 10 tests in: 0.41 seconds.
# OK
# (cd _build/default/tests/test-pointers && ./test_pointers.exe)
# ...........................
# Ran: 27 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-enums && ./test_enums.exe)
# .....
# Ran: 5 tests in: 0.10 seconds.
# OK
# (cd _build/default/tests/test-threads && ./test_threads.exe)
# .....
# Ran: 5 tests in: 1.61 seconds.
# OK
# (cd _build/default/tests/test-lifetime && ./test_lifetime.exe)
# ..
# Ran: 2 tests in: 7.25 seconds.
# OK
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ctypes-foreign 0.23.0
+-
+- The following changes have been performed
| - remove ctypes-foreign 0.23.0
| - install conf-fts 1
| - install conf-ncurses 1
| - 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-20251230120341.export"
Or you can retry to install your package selection with:
/usr/bin/opam install --restore
2025-12-30 12:04.04 ---> saved as "e6fa331c586f94e1b83a86aa6fe72b4a959c5fe98cf0531e00769f438775cd61"
/home/opam: (run (shell "opam reinstall --with-test --verbose ctypes-foreign.0.23.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-foreign.0.23.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-foreign.0.23.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
- install ctypes-foreign 0.23.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/3: [ctypes-foreign.0.23.0: extract]
-> retrieved ctypes-foreign.0.23.0 (cached)
Processing 2/3: [ctypes-foreign: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ctypes-foreign" "-j" "71" "--promote-install-files=false" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ctypes-foreign.0.23.0)
- (cd _build/default/tests/test-marshal && ./test_marshal.exe)
- .
- Ran: 1 tests in: 0.10 seconds.
- OK
- (cd _build/default/tests/test-finalisers && ./test_finalisers.exe)
- ..
- Ran: 2 tests in: 0.10 seconds.
- OK
- (cd _build/default/tests/test-ldouble && ./test_ldouble.exe)
- .........
- Ran: 9 tests in: 0.11 seconds.
- OK
- (cd _build/default/tests/test-custom_ops && ./test_custom_ops.exe)
- ..
- Ran: 2 tests in: 0.10 seconds.
- OK
- (cd _build/default/tests/test-stubs && ./test_stubs.exe)
- .
- Ran: 1 tests in: 0.10 seconds.
- OK
- (cd _build/default/tests/test-raw && ./test_raw.exe)
- ..
- Ran: 2 tests in: 0.10 seconds.
- OK
- (cd _build/default/tests/test-foreign-errno && ./test_errno.exe)
- ...
- Ran: 3 tests in: 0.10 seconds.
- OK
- (cd _build/default/tests/test-roots && ./test_roots.exe)
- ..
- Ran: 2 tests in: 0.11 seconds.
- OK
- File "tests/test-oo_style/stub-generator/dune", line 21, characters 9-24:
- 21 | (names generated_stubs))
- ^^^^^^^^^^^^^^^
- (cd _build/default/tests/test-oo_style/stub-generator && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/stdlib-shims -I ../../clib -o generated_stubs.o -c generated_stubs.c)
- generated_stubs.c: In function 'cstubs_tests_2_new_chorse':
- generated_stubs.c:14:25: error: initialization of 'struct animal *' from incompatible pointer type 'struct chorse *' [-Wincompatible-pointer-types]
- 14 | struct animal* x10 = new_chorse(x7);
- | ^~~~~~~~~~
- (cd _build/default/tests/test-passable && ./test_passable.exe)
- ............
- Ran: 12 tests in: 0.12 seconds.
- OK
- (cd _build/default/tests/test-alignment && ./test_alignment.exe)
- .......
- Ran: 7 tests in: 0.13 seconds.
- OK
- (cd _build/default/tests/test-sizeof && ./test_sizeof.exe)
- ...........
- Ran: 11 tests in: 0.13 seconds.
- OK
- (cd _build/default/tests/test-builtins && ./test_builtins.exe)
- .
- Ran: 1 tests in: 0.10 seconds.
- OK
- (cd _build/default/tests/test-bools && ./test_bools.exe)
- ..
- Ran: 2 tests in: 0.10 seconds.
- OK
- (cd _build/default/tests/test-macros && ./test_macros.exe)
- .
- Ran: 1 tests in: 0.10 seconds.
- OK
- (cd _build/default/tests/test-callback_lifetime && ./test_callback_lifetime.exe)
- ....
- Ran: 4 tests in: 0.11 seconds.
- OK
- (cd _build/default/tests/test-integers && ./test_integers.exe)
- ....
- Ran: 4 tests in: 0.11 seconds.
- OK
- (cd _build/default/tests/test-arrays && ./test_array.exe)
- ..................
- Ran: 18 tests in: 0.11 seconds.
- OK
- (cd _build/default/tests/test-higher_order && ./test_higher_order.exe)
- ..............
- Ran: 14 tests in: 0.11 seconds.
- OK
- (cd _build/default/tests/test-variadic && ./test_variadic.exe)
- .
- Ran: 1 tests in: 0.10 seconds.
- OK
- (cd _build/default/tests/test-passing-ocaml-values && ./test_passing_ocaml_values.exe)
- ........
- Ran: 8 tests in: 0.11 seconds.
- OK
- (cd _build/default/tests/test-coercions && ./test_coercions.exe)
- .........
- Ran: 9 tests in: 0.11 seconds.
- OK
- (cd _build/default/tests/test-bigarrays && ./test_bigarrays.exe)
- .........
- Ran: 9 tests in: 0.11 seconds.
- OK
- (cd _build/default/tests/test-returning-errno && ./test_returning_errno.exe -runner sequential)
- .
- Ran: 1 tests in: 0.00 seconds.
- OK
- (cd _build/default/tests/test-foreign_values && ./test_foreign_values.exe)
- .......
- Ran: 7 tests in: 0.11 seconds.
- OK
- (cd _build/default/tests/test-constants && ./test_constants.exe)
- ...
- Ran: 3 tests in: 0.10 seconds.
- OK
- (cd _build/default/tests/test-cstdlib && ./test_cstdlib.exe)
- .........
- Ran: 9 tests in: 0.11 seconds.
- OK
- (cd _build/default/tests/test-returning-errno-lwt-preemptive && ./test_returning_errno.exe -runner sequential)
- ....
- Ran: 4 tests in: 0.00 seconds.
- OK
- (cd _build/default/tests/test-lwt-jobs && ./test_lwt_jobs.exe -runner sequential)
- ......
- Ran: 6 tests in: 0.01 seconds.
- OK
- (cd _build/default/tests/test-complex && ./test_complex.exe)
- ...
- Ran: 3 tests in: 0.11 seconds.
- OK
- (cd _build/default/tests/test-closure-type-promotion && ./test_closure_type_promotion.exe)
- ..........
- Ran: 10 tests in: 0.11 seconds.
- OK
- (cd _build/default/tests/test-funptrs && ./test_funptrs.exe)
- ..................
- Ran: 18 tests in: 0.13 seconds.
- OK
- (cd _build/default/tests/test-returning-errno-lwt-jobs && ./test_returning_errno.exe -runner sequential)
- ....
- Ran: 4 tests in: 0.00 seconds.
- OK
- (cd _build/default/tests/test-type_printing && ./test_type_printing.exe)
- ......S....
- Ran: 11 tests in: 0.11 seconds.
- OK: Cases: 11 Skip: 1
- (cd _build/default/tests/test-value_printing && ./test_value_printing.exe)
- .......
- Ran: 7 tests in: 0.11 seconds.
- OK
- (cd _build/default/tests/test-lwt-preemptive && ./test_lwt_jobs.exe -runner sequential)
- ......
- Ran: 6 tests in: 0.01 seconds.
- OK
- (cd _build/default/tests/test-unions && ./test_unions.exe -runner sequential)
- ............
- Ran: 12 tests in: 0.01 seconds.
- OK
- (cd _build/default/tests/test-views && ./test_views.exe)
- ..........
- Ran: 10 tests in: 0.40 seconds.
- OK
- (cd _build/default/tests/test-pointers && ./test_pointers.exe)
- ...........................
- Ran: 27 tests in: 0.11 seconds.
- OK
- (cd _build/default/tests/test-structs && ./test_structs.exe -runner sequential)
- ......................
- Ran: 22 tests in: 0.01 seconds.
- OK
- (cd _build/default/tests/test-enums && ./test_enums.exe)
- .....
- Ran: 5 tests in: 0.10 seconds.
- OK
- (cd _build/default/tests/test-threads && ./test_threads.exe)
- .....
- Ran: 5 tests in: 1.61 seconds.
- OK
- (cd _build/default/tests/test-lifetime && ./test_lifetime.exe)
- ..
- Ran: 2 tests in: 7.43 seconds.
- OK
[ERROR] The compilation of ctypes-foreign.0.23.0 failed at "dune build -p ctypes-foreign -j 71 --promote-install-files=false @install @runtest".
#=== ERROR while compiling ctypes-foreign.0.23.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-foreign.0.23.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ctypes-foreign -j 71 --promote-install-files=false @install @runtest
# exit-code 1
# env-file ~/.opam/log/ctypes-foreign-7-b909dc.env
# output-file ~/.opam/log/ctypes-foreign-7-b909dc.out
### output ###
# (cd _build/default/tests/test-marshal && ./test_marshal.exe)
# .
# Ran: 1 tests in: 0.10 seconds.
# OK
# (cd _build/default/tests/test-finalisers && ./test_finalisers.exe)
# ..
# Ran: 2 tests in: 0.10 seconds.
# OK
# (cd _build/default/tests/test-ldouble && ./test_ldouble.exe)
# .........
# Ran: 9 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-custom_ops && ./test_custom_ops.exe)
# ..
# Ran: 2 tests in: 0.10 seconds.
# OK
# (cd _build/default/tests/test-stubs && ./test_stubs.exe)
# .
# Ran: 1 tests in: 0.10 seconds.
# OK
# (cd _build/default/tests/test-raw && ./test_raw.exe)
# ..
# Ran: 2 tests in: 0.10 seconds.
# OK
# (cd _build/default/tests/test-foreign-errno && ./test_errno.exe)
# ...
# Ran: 3 tests in: 0.10 seconds.
# OK
# (cd _build/default/tests/test-roots && ./test_roots.exe)
# ..
# Ran: 2 tests in: 0.11 seconds.
# OK
# File "tests/test-oo_style/stub-generator/dune", line 21, characters 9-24:
# 21 | (names generated_stubs))
# ^^^^^^^^^^^^^^^
# (cd _build/default/tests/test-oo_style/stub-generator && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/stdlib-shims -I ../../clib -o generated_stubs.o -c generated_stubs.c)
# generated_stubs.c: In function 'cstubs_tests_2_new_chorse':
# generated_stubs.c:14:25: error: initialization of 'struct animal *' from incompatible pointer type 'struct chorse *' [-Wincompatible-pointer-types]
# 14 | struct animal* x10 = new_chorse(x7);
# | ^~~~~~~~~~
# (cd _build/default/tests/test-passable && ./test_passable.exe)
# ............
# Ran: 12 tests in: 0.12 seconds.
# OK
# (cd _build/default/tests/test-alignment && ./test_alignment.exe)
# .......
# Ran: 7 tests in: 0.13 seconds.
# OK
# (cd _build/default/tests/test-sizeof && ./test_sizeof.exe)
# ...........
# Ran: 11 tests in: 0.13 seconds.
# OK
# (cd _build/default/tests/test-builtins && ./test_builtins.exe)
# .
# Ran: 1 tests in: 0.10 seconds.
# OK
# (cd _build/default/tests/test-bools && ./test_bools.exe)
# ..
# Ran: 2 tests in: 0.10 seconds.
# OK
# (cd _build/default/tests/test-macros && ./test_macros.exe)
# .
# Ran: 1 tests in: 0.10 seconds.
# OK
# (cd _build/default/tests/test-callback_lifetime && ./test_callback_lifetime.exe)
# ....
# Ran: 4 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-integers && ./test_integers.exe)
# ....
# Ran: 4 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-arrays && ./test_array.exe)
# ..................
# Ran: 18 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-higher_order && ./test_higher_order.exe)
# ..............
# Ran: 14 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-variadic && ./test_variadic.exe)
# .
# Ran: 1 tests in: 0.10 seconds.
# OK
# (cd _build/default/tests/test-passing-ocaml-values && ./test_passing_ocaml_values.exe)
# ........
# Ran: 8 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-coercions && ./test_coercions.exe)
# .........
# Ran: 9 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-bigarrays && ./test_bigarrays.exe)
# .........
# Ran: 9 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-returning-errno && ./test_returning_errno.exe -runner sequential)
# .
# Ran: 1 tests in: 0.00 seconds.
# OK
# (cd _build/default/tests/test-foreign_values && ./test_foreign_values.exe)
# .......
# Ran: 7 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-constants && ./test_constants.exe)
# ...
# Ran: 3 tests in: 0.10 seconds.
# OK
# (cd _build/default/tests/test-cstdlib && ./test_cstdlib.exe)
# .........
# Ran: 9 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-returning-errno-lwt-preemptive && ./test_returning_errno.exe -runner sequential)
# ....
# Ran: 4 tests in: 0.00 seconds.
# OK
# (cd _build/default/tests/test-lwt-jobs && ./test_lwt_jobs.exe -runner sequential)
# ......
# Ran: 6 tests in: 0.01 seconds.
# OK
# (cd _build/default/tests/test-complex && ./test_complex.exe)
# ...
# Ran: 3 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-closure-type-promotion && ./test_closure_type_promotion.exe)
# ..........
# Ran: 10 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-funptrs && ./test_funptrs.exe)
# ..................
# Ran: 18 tests in: 0.13 seconds.
# OK
# (cd _build/default/tests/test-returning-errno-lwt-jobs && ./test_returning_errno.exe -runner sequential)
# ....
# Ran: 4 tests in: 0.00 seconds.
# OK
# (cd _build/default/tests/test-type_printing && ./test_type_printing.exe)
# ......S....
# Ran: 11 tests in: 0.11 seconds.
# OK: Cases: 11 Skip: 1
# (cd _build/default/tests/test-value_printing && ./test_value_printing.exe)
# .......
# Ran: 7 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-lwt-preemptive && ./test_lwt_jobs.exe -runner sequential)
# ......
# Ran: 6 tests in: 0.01 seconds.
# OK
# (cd _build/default/tests/test-unions && ./test_unions.exe -runner sequential)
# ............
# Ran: 12 tests in: 0.01 seconds.
# OK
# (cd _build/default/tests/test-views && ./test_views.exe)
# ..........
# Ran: 10 tests in: 0.40 seconds.
# OK
# (cd _build/default/tests/test-pointers && ./test_pointers.exe)
# ...........................
# Ran: 27 tests in: 0.11 seconds.
# OK
# (cd _build/default/tests/test-structs && ./test_structs.exe -runner sequential)
# ......................
# Ran: 22 tests in: 0.01 seconds.
# OK
# (cd _build/default/tests/test-enums && ./test_enums.exe)
# .....
# Ran: 5 tests in: 0.10 seconds.
# OK
# (cd _build/default/tests/test-threads && ./test_threads.exe)
# .....
# Ran: 5 tests in: 1.61 seconds.
# OK
# (cd _build/default/tests/test-lifetime && ./test_lifetime.exe)
# ..
# Ran: 2 tests in: 7.43 seconds.
# OK
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ctypes-foreign 0.23.0
+-
- No changes have been performed
# To update the current shell environment, run: eval $(opam env)
'opam reinstall --with-test --verbose ctypes-foreign.0.23.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-foreign.0.23.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-foreign.0.23.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
2025-12-30 12:04.33: Job failed: Failed: Build failed
2025-12-30 12:04.33: Log analysis:
2025-12-30 12:04.33: >>>
[ERROR] The compilation of ctypes-foreign.0.23.0 failed at "dune build -p ctypes-foreign -j 71 --promote-install-files=false @install @runtest".
(score = 20)
2025-12-30 12:04.33: >>>
# generated_stubs.c:14:25: error: initialization of 'struct animal *' from incompatible pointer type 'struct chorse *' [-Wincompatible-pointer-types]
(score = 30)
2025-12-30 12:04.33: >>>
[ERROR] The compilation of ctypes-foreign.0.23.0 failed at "dune build -p ctypes-foreign -j 71 --promote-install-files=false @install @runtest".
(score = 20)
2025-12-30 12:04.33: >>>
# generated_stubs.c:14:25: error: initialization of 'struct animal *' from incompatible pointer type 'struct chorse *' [-Wincompatible-pointer-types]
(score = 30)
2025-12-30 12:04.33: initialization of 'struct animal *' from incompatible pointer type 'struct chorse *' [-Wincompatible-pointer-types]