Build:
- 0
2025-12-09 07:37.01: New job: test wasmtime.0.0.1 with dune.3.21.0~alpha2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29042/head (a9b8a0d0db631d21208bd4ab7355e867d7ecf88d)
on debian-13-ocaml-5.4/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/29042/head" && git reset --hard a9b8a0d0
git fetch origin master
git merge --no-edit 2e91c1385fa6ee7c38e1108967fe3bf9ccba52f6
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04
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~alpha2 3.21.0~alpha2
RUN opam reinstall dune.3.21.0~alpha2; \
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~alpha2' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall wasmtime.0.0.1; \
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" != 'wasmtime.0.0.1' && 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 wasmtime.0.0.1) || true
RUN opam reinstall --with-test --verbose wasmtime.0.0.1; \
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" != 'wasmtime.0.0.1' && 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-09 07:37.01: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04-dune.3.21.0~alpha2-wasmtime.0.0.1-a9b8a0d0db631d21208bd4ab7355e867d7ecf88d"
2025-12-09 07:37.01: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04)
(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~alpha2 3.21.0~alpha2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune.3.21.0~alpha2;\
\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~alpha2' && 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 wasmtime.0.0.1;\
\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\" != 'wasmtime.0.0.1' && 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 wasmtime.0.0.1) || true"))
(run (shell "opam reinstall --with-test --verbose wasmtime.0.0.1;\
\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\" != 'wasmtime.0.0.1' && 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-09 07:37.01: Waiting for resource in pool OCluster
2025-12-09 17:23.02: Waiting for worker…
2025-12-09 17:26.06: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 2e91c1385f Merge pull request #29043 from hannesm/mirage-kv
Merge made by the 'ort' strategy.
.../chrome-trace/chrome-trace.3.21.0~alpha2/opam | 41 ++++++++++++
.../dune-action-plugin.3.21.0~alpha2/opam | 54 ++++++++++++++++
.../dune-build-info.3.21.0~alpha2/opam | 47 ++++++++++++++
.../dune-configurator.3.21.0~alpha2/opam | 51 +++++++++++++++
packages/dune-glob/dune-glob.3.21.0~alpha2/opam | 44 +++++++++++++
.../dune-private-libs.3.21.0~alpha2/opam | 52 +++++++++++++++
.../dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha2/opam | 43 +++++++++++++
packages/dune-rpc/dune-rpc.3.21.0~alpha2/opam | 46 +++++++++++++
packages/dune-site/dune-site.3.21.0~alpha2/opam | 39 +++++++++++
packages/dune/dune.3.21.0~alpha2/opam | 75 ++++++++++++++++++++++
packages/dyn/dyn.3.21.0~alpha2/opam | 42 ++++++++++++
packages/fs-io/fs-io.3.21.0~alpha2/opam | 40 ++++++++++++
packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha2/opam | 45 +++++++++++++
packages/ordering/ordering.3.21.0~alpha2/opam | 40 ++++++++++++
packages/stdune/stdune.3.21.0~alpha2/opam | 48 ++++++++++++++
.../top-closure/top-closure.3.21.0~alpha2/opam | 39 +++++++++++
packages/xdg/xdg.3.21.0~alpha2/opam | 41 ++++++++++++
17 files changed, 787 insertions(+)
create mode 100644 packages/chrome-trace/chrome-trace.3.21.0~alpha2/opam
create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.21.0~alpha2/opam
create mode 100644 packages/dune-build-info/dune-build-info.3.21.0~alpha2/opam
create mode 100644 packages/dune-configurator/dune-configurator.3.21.0~alpha2/opam
create mode 100644 packages/dune-glob/dune-glob.3.21.0~alpha2/opam
create mode 100644 packages/dune-private-libs/dune-private-libs.3.21.0~alpha2/opam
create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha2/opam
create mode 100644 packages/dune-rpc/dune-rpc.3.21.0~alpha2/opam
create mode 100644 packages/dune-site/dune-site.3.21.0~alpha2/opam
create mode 100644 packages/dune/dune.3.21.0~alpha2/opam
create mode 100644 packages/dyn/dyn.3.21.0~alpha2/opam
create mode 100644 packages/fs-io/fs-io.3.21.0~alpha2/opam
create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha2/opam
create mode 100644 packages/ordering/ordering.3.21.0~alpha2/opam
create mode 100644 packages/stdune/stdune.3.21.0~alpha2/opam
create mode 100644 packages/top-closure/top-closure.3.21.0~alpha2/opam
create mode 100644 packages/xdg/xdg.3.21.0~alpha2/opam
(from ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04)
2025-12-09 17:30.05 ---> using "5f87df8c1f6f0886e7311dfd3df40b8bbb961cc34c83c0d033c6dd248c84bc7d" 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-09 17:30.05 ---> using "f1296791f2d76481058db697105a569091a6b6345f05c94bbc5a650f1a364f9a" 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
2025-12-09 17:30.05 ---> using "0cac9a31b4750e6a46df8ed8d2f68352091a988199fdf62c52779549510cd6bf" 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 5.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2025-12-09 17:30.05 ---> using "1deb91dc3badca969976ed6f3bc5fe7c443d73a2cfa957be662fd6f93e30aa7b" 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-09 17:30.06 ---> using "1a02438c8753bf7228a9eb625e65b7af26778a022b9ce0b16be5ef4f294c58cd" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-09 17:30.07 ---> using "5eb86997857236bc32f8e9906c0a6a1698d33db864496f8e374d3bf25b889084" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-09 17:30.07 ---> using "461b809ba40b3a1f0f49bbba2df1162936b2a997b1e1fab87951df5ee9c3828d" 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]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [81.7 kB]
- Fetched 172 kB in 0s (2038 kB/s)
- Reading package lists...
2025-12-09 17:30.07 ---> using "d953188c1144583f4d6c9508d29746bc7aa496329e24e2133499412480d3b360" from cache
/home/opam: (run (shell "opam pin add -k version -yn dune.3.21.0~alpha2 3.21.0~alpha2"))
dune is now pinned to version 3.21.0~alpha2
2025-12-09 17:30.07 ---> using "4bbb6c46577f14fbf00d88ad9fe4a416fdaa3fe45eb57c7c8107e7f4e475d88b" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune.3.21.0~alpha2;\
\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~alpha2' && 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~alpha2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
- install dune 3.21.0~alpha2 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0~alpha2 (cached)
-> installed dune.3.21.0~alpha2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-09 17:30.07 ---> using "6e916170e11b6a845780488e15d6d58d70f93cf536b2d72ac046cb05589b0a6d" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall wasmtime.0.0.1;\
\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\" != 'wasmtime.0.0.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
wasmtime.0.0.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 13 packages
- install base v0.16.4 [required by wasmtime]
- install conf-libffi 2.0.0 [required by ctypes-foreign]
- install conf-pkg-config 4 [required by ctypes-foreign]
- install csexp 1.5.2 [required by dune-configurator]
- install ctypes 0.24.0 [required by wasmtime]
- install ctypes-foreign 0.24.0 [required by wasmtime]
- install dune-configurator 3.21.0~alpha2 [required by wasmtime]
- install integers 0.7.0 [required by ctypes]
- install libwasmtime 0.21.0+linux-x86_64 [required by wasmtime]
- install sexplib0 v0.16.0 [required by base]
- install stdio v0.16.0 [required by wasmtime]
- install stdlib-shims 0.3.0 [required by integers]
- install wasmtime 0.0.1
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 ... 20653 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 base.v0.16.4 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved ctypes.0.24.0, ctypes-foreign.0.24.0 (cached)
-> installed conf-pkg-config.4
-> installed csexp.1.5.2
-> installed conf-libffi.2.0.0
-> retrieved dune-configurator.3.21.0~alpha2 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved libwasmtime.0.21.0+linux-x86_64 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdio.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved wasmtime.0.0.1 (cached)
-> installed libwasmtime.0.21.0+linux-x86_64
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed dune-configurator.3.21.0~alpha2
-> installed integers.0.7.0
-> installed base.v0.16.4
-> installed ctypes.0.24.0
-> installed stdio.v0.16.0
-> installed ctypes-foreign.0.24.0
[ERROR] The compilation of wasmtime.0.0.1 failed at "dune build -p wasmtime -j 255".
#=== ERROR while compiling wasmtime.0.0.1 =====================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.0 | file:///home/opam/opam-repository
# path ~/.opam/5.4/.opam-switch/build/wasmtime.0.0.1
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p wasmtime -j 255
# exit-code 1
# env-file ~/.opam/log/wasmtime-7-e08a4e.env
# output-file ~/.opam/log/wasmtime-7-e08a4e.out
### output ###
# (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/config/.discover.eobjs/byte -I /home/opam/.opam/5.4/lib/base -I /home/opam/.opam/5.4/lib/base/base_internalhash_types -I /home/opam/.opam/5.4/lib/base/caml -I /home/opam/.opam/5.4/lib/base/shadow_stdlib -I /home/opam/.opam/5.4/lib/csexp -I /home/opam/.opam/5.4/lib/dune-configurator -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdio -no-alias-deps -o src/config/.discover.eobjs/byte/dune__exe__Discover.cmo -c -impl src/config/discover.ml)
# File "src/config/discover.ml", line 11, characters 13-17:
# 11 | let ( /^ ) = Caml.Filename.concat
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/config/discover.ml", line 12, characters 18-22:
# 12 | let file_exists = Caml.Sys.file_exists
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/config/discover.ml", line 23, characters 8-12:
# 23 | match Caml.Sys.getenv_opt "LIBWASMTIME" with
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/config/discover.ml", line 26, characters 11-15:
# 26 | (match Caml.Sys.getenv_opt "OPAM_SWITCH_PREFIX" with
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w -40 -g -I src/config/.discover.eobjs/byte -I src/config/.discover.eobjs/native -I /home/opam/.opam/5.4/lib/base -I /home/opam/.opam/5.4/lib/base/base_internalhash_types -I /home/opam/.opam/5.4/lib/base/caml -I /home/opam/.opam/5.4/lib/base/shadow_stdlib -I /home/opam/.opam/5.4/lib/csexp -I /home/opam/.opam/5.4/lib/dune-configurator -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdio -cmi-file src/config/.discover.eobjs/byte/dune__exe__Discover.cmi -no-alias-deps -o src/config/.discover.eobjs/native/dune__exe__Discover.cmx -c -impl src/config/discover.ml)
# File "src/config/discover.ml", line 11, characters 13-17:
# 11 | let ( /^ ) = Caml.Filename.concat
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/config/discover.ml", line 12, characters 18-22:
# 12 | let file_exists = Caml.Sys.file_exists
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/config/discover.ml", line 23, characters 8-12:
# 23 | match Caml.Sys.getenv_opt "LIBWASMTIME" with
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/config/discover.ml", line 26, characters 11-15:
# 26 | (match Caml.Sys.getenv_opt "OPAM_SWITCH_PREFIX" with
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/wrapper/dune", line 4, characters 37-51:
# 4 | (foreign_stubs (language c) (names wasmtime_stubs) (flags :standard (:include c_flags.sexp)))
# ^^^^^^^^^^^^^^
# (cd _build/default/src/wrapper && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -isystem /home/opam/.opam/5.4/lib/libwasmtime/include -g -I /home/opam/.opam/5.4/lib/ocaml -I /home/opam/.opam/5.4/lib/base -I /home/opam/.opam/5.4/lib/base/base_internalhash_types -I /home/opam/.opam/5.4/lib/base/caml -I /home/opam/.opam/5.4/lib/base/shadow_stdlib -I /home/opam/.opam/5.4/lib/ctypes -I /home/opam/.opam/5.4/lib/ctypes-foreign -I /home/opam/.opam/5.4/lib/ctypes/stubs -I /home/opam/.opam/5.4/lib/integers -I /home/opam/.opam/5.4/lib/ocaml/str -I /home/opam/.opam/5.4/lib/ocaml/threads -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdio -I /home/opam/.opam/5.4/lib/stdlib-shims -o wasmtime_stubs.o -c wasmtime_stubs.c)
# wasmtime_stubs.c: In function 'caml__21_wasm_func_new':
# wasmtime_stubs.c:136:54: error: passing argument 3 of 'wasm_func_new' from incompatible pointer type [-Wincompatible-pointer-types]
# 136 | struct wasm_func_t* x85 = wasm_func_new(x82, x83, x84);
# | ^~~
# | |
# | struct wasm_trap_t * (*)(struct wasm_val_vec_t *, struct wasm_val_vec_t *)
# In file included from wasmtime_stubs.c:1:
# /home/opam/.opam/5.4/lib/libwasmtime/include/wasm.h:416:42: note: expected 'wasm_func_callback_t' {aka 'wasm_trap_t * (*)(const wasm_val_t *, wasm_val_t *)'} but argument is of type 'struct wasm_trap_t * (*)(struct wasm_val_vec_t *, struct wasm_val_vec_t *)'
# 416 | wasm_store_t*, const wasm_functype_t*, wasm_func_callback_t);
# | ^~~~~~~~~~~~~~~~~~~~
# wasmtime_stubs.c: In function 'caml__30_wasm_instance_new':
# wasmtime_stubs.c:194:65: error: passing argument 3 of 'wasm_instance_new' from incompatible pointer type [-Wincompatible-pointer-types]
# 194 | struct wasm_instance_t* x118 = wasm_instance_new(x114, x115, x116, x117);
# | ^~~~
# | |
# | struct wasm_extern_t **
# /home/opam/.opam/5.4/lib/libwasmtime/include/wasm.h:513:67: note: expected 'const wasm_extern_t * const*' but argument is of type 'struct wasm_extern_t **'
# 513 | wasm_store_t*, const wasm_module_t*, const wasm_extern_t* const imports[],
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
# wasmtime_stubs.c: In function 'caml__52_wasmtime_instance_new':
# wasmtime_stubs.c:364:51: error: passing argument 3 of 'wasmtime_instance_new' from incompatible pointer type [-Wincompatible-pointer-types]
# 364 | void* x245 = wasmtime_instance_new(x237, x238, x239, x240, x243, x244);
# | ^~~~
# | |
# | struct wasm_extern_t **
# In file included from wasmtime_stubs.c:3:
# /home/opam/.opam/5.4/lib/libwasmtime/include/wasmtime.h:754:32: note: expected 'const wasm_extern_t * const*' but argument is of type 'struct wasm_extern_t **'
# 754 | const wasm_extern_t* const imports[],
# | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
# (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/wrapper/.wasmtime.objs/byte -I /home/opam/.opam/5.4/lib/base -I /home/opam/.opam/5.4/lib/base/base_internalhash_types -I /home/opam/.opam/5.4/lib/base/caml -I /home/opam/.opam/5.4/lib/base/shadow_stdlib -I /home/opam/.opam/5.4/lib/ctypes -I /home/opam/.opam/5.4/lib/ctypes-foreign -I /home/opam/.opam/5.4/lib/ctypes/stubs -I /home/opam/.opam/5.4/lib/integers -I /home/opam/.opam/5.4/lib/ocaml/str -I /home/opam/.opam/5.4/lib/ocaml/threads -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdio -I /home/opam/.opam/5.4/lib/stdlib-shims -cmi-file src/wrapper/.wasmtime.objs/byte/wasmtime__Wrappers.cmi -no-alias-deps -open Wasmtime -o src/wrapper/.wasmtime.objs/byte/wasmtime__Wrappers.cmo -c -impl src/wrapper/wrappers.ml)
# File "src/wrapper/wrappers.ml", line 7, characters 32-36:
# 7 | let zero = Sys.opaque_identity (Caml.int_of_string "0")
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 19, characters 4-8:
# 19 | Caml.Gc.finalise W.Engine.delete t;
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 29, characters 4-8:
# 29 | Caml.Gc.finalise
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 43, characters 4-8:
# 43 | Caml.Gc.finalise W.Byte_vec.delete t;
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 88, characters 4-8:
# 88 | Caml.Gc.finalise
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 101, characters 8-12:
# 101 | Caml.Gc.finalise
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 129, characters 12-16:
# 129 | Caml.Gc.finalise
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 137, characters 4-8:
# 137 | Caml.Gc.finalise
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 162, characters 4-8:
# 162 | Caml.Gc.finalise (fun _mem -> keep_alive t) mem;
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 170, characters 4-8:
# 170 | Caml.Gc.finalise (fun _func -> keep_alive t) func;
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 178, characters 4-8:
# 178 | Caml.Gc.finalise (fun _func -> keep_alive func) t;
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 266, characters 4-8:
# 266 | Caml.Gc.finalise
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 295, characters 4-8:
# 295 | Caml.Gc.finalise
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 321, characters 4-8:
# 321 | Caml.Gc.finalise
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 386, characters 6-10:
# 386 | Caml.Gc.finalise
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 405, characters 6-10:
# 405 | Caml.Gc.finalise
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w -40 -g -I src/wrapper/.wasmtime.objs/byte -I src/wrapper/.wasmtime.objs/native -I /home/opam/.opam/5.4/lib/base -I /home/opam/.opam/5.4/lib/base/base_internalhash_types -I /home/opam/.opam/5.4/lib/base/caml -I /home/opam/.opam/5.4/lib/base/shadow_stdlib -I /home/opam/.opam/5.4/lib/ctypes -I /home/opam/.opam/5.4/lib/ctypes-foreign -I /home/opam/.opam/5.4/lib/ctypes/stubs -I /home/opam/.opam/5.4/lib/integers -I /home/opam/.opam/5.4/lib/ocaml/str -I /home/opam/.opam/5.4/lib/ocaml/threads -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdio -I /home/opam/.opam/5.4/lib/stdlib-shims -cmi-file src/wrapper/.wasmtime.objs/byte/wasmtime__Wrappers.cmi -no-alias-deps -open Wasmtime -o src/wrapper/.wasmtime.objs/native/wasmtime__Wrappers.cmx -c -impl src/wrapper/wrappers.ml)
# File "src/wrapper/wrappers.ml", line 7, characters 32-36:
# 7 | let zero = Sys.opaque_identity (Caml.int_of_string "0")
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 19, characters 4-8:
# 19 | Caml.Gc.finalise W.Engine.delete t;
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 29, characters 4-8:
# 29 | Caml.Gc.finalise
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 43, characters 4-8:
# 43 | Caml.Gc.finalise W.Byte_vec.delete t;
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 88, characters 4-8:
# 88 | Caml.Gc.finalise
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 101, characters 8-12:
# 101 | Caml.Gc.finalise
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 129, characters 12-16:
# 129 | Caml.Gc.finalise
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 137, characters 4-8:
# 137 | Caml.Gc.finalise
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 162, characters 4-8:
# 162 | Caml.Gc.finalise (fun _mem -> keep_alive t) mem;
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 170, characters 4-8:
# 170 | Caml.Gc.finalise (fun _func -> keep_alive t) func;
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 178, characters 4-8:
# 178 | Caml.Gc.finalise (fun _func -> keep_alive func) t;
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 266, characters 4-8:
# 266 | Caml.Gc.finalise
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 295, characters 4-8:
# 295 | Caml.Gc.finalise
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 321, characters 4-8:
# 321 | Caml.Gc.finalise
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 386, characters 6-10:
# 386 | Caml.Gc.finalise
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
#
# File "src/wrapper/wrappers.ml", line 405, characters 6-10:
# 405 | Caml.Gc.finalise
# ^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build wasmtime 0.0.1
+-
+- The following changes have been performed
| - install base v0.16.4
| - install conf-libffi 2.0.0
| - install conf-pkg-config 4
| - install csexp 1.5.2
| - install ctypes 0.24.0
| - install ctypes-foreign 0.24.0
| - install dune-configurator 3.21.0~alpha2
| - install integers 0.7.0
| - install libwasmtime 0.21.0+linux-x86_64
| - install sexplib0 v0.16.0
| - install stdio v0.16.0
| - install stdlib-shims 0.3.0
+-
# 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/5.4/.opam-switch/backup/state-20251209173008.export"
[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 wasmtime.0.0.1;
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" != 'wasmtime.0.0.1' && 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-09 17:30.39: Job failed: Failed: Build failed
2025-12-09 17:30.39: Log analysis:
2025-12-09 17:30.39: >>>
[ERROR] The compilation of wasmtime.0.0.1 failed at "dune build -p wasmtime -j 255".
(score = 20)
2025-12-09 17:30.39: >>>
# wasmtime_stubs.c:136:54: error: passing argument 3 of 'wasm_func_new' from incompatible pointer type [-Wincompatible-pointer-types]
(score = 30)
2025-12-09 17:30.39: >>>
# wasmtime_stubs.c:194:65: error: passing argument 3 of 'wasm_instance_new' from incompatible pointer type [-Wincompatible-pointer-types]
(score = 30)
2025-12-09 17:30.39: >>>
# wasmtime_stubs.c:364:51: error: passing argument 3 of 'wasmtime_instance_new' from incompatible pointer type [-Wincompatible-pointer-types]
(score = 30)
2025-12-09 17:30.39: passing argument 3 of 'wasm_func_new' from incompatible pointer type [-Wincompatible-pointer-types]