Build:
- 0
2026-01-26 02:02.12: New job: build ocaml-yescrypt.0.1.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29281/head (a4e0bc79053ac54a3433537ec204c0600c2bc36d)
on debian-13-ocaml-5.4-flambda/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/29281/head" && git reset --hard a4e0bc79
git fetch origin master
git merge --no-edit f9f7db30fd6e805d48b947df138d463a5433f4d1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:e0517046487c98f2052ea36902b3af2820a77be74510d3822e6df437ca1ebdbb
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 ocaml-yescrypt.0.1.0 0.1.0
RUN opam reinstall ocaml-yescrypt.0.1.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" != 'ocaml-yescrypt.0.1.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-26 02:02.12: Using cache hint "ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:e0517046487c98f2052ea36902b3af2820a77be74510d3822e6df437ca1ebdbb-ocaml-yescrypt.0.1.0-a4e0bc79053ac54a3433537ec204c0600c2bc36d"
2026-01-26 02:02.12: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:e0517046487c98f2052ea36902b3af2820a77be74510d3822e6df437ca1ebdbb)
(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 ocaml-yescrypt.0.1.0 0.1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-yescrypt.0.1.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\" != 'ocaml-yescrypt.0.1.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-26 02:02.12: Waiting for resource in pool OCluster
2026-01-26 02:02.13: Waiting for worker…
2026-01-26 02:02.16: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at f9f7db30fd Merge pull request #29275 from EruEri/shakuhachi-0.2.0
Updating f9f7db30fd..a4e0bc7905
Fast-forward
packages/ocaml-yescrypt/ocaml-yescrypt.0.1.0/opam | 51 +++++++++++++++++++++++
1 file changed, 51 insertions(+)
create mode 100644 packages/ocaml-yescrypt/ocaml-yescrypt.0.1.0/opam
(from ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:e0517046487c98f2052ea36902b3af2820a77be74510d3822e6df437ca1ebdbb)
2026-01-26 02:03.22 ---> using "322cddba7614c4b1b6c738b0441d45bd18051b3cca05af4141944b76aa064d51" 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-26 02:03.22 ---> using "9df7d0e2bd3c0676ceb8c678aec7a8cc27e78706fdf9d6b9e3bbcb8417cf66dc" 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-26 02:03.22 ---> using "ae0094d8e7d44581b77b140a5acab774279d99ab1be9b029724e2206fa6ded3c" 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-variants" {= "5.4.0+options"}]
# compiler-packages ocaml-compiler.5.4.0, ocaml-option-flambda.1, ocaml-options-only-flambda.1, ocaml-variants.5.4.0+options
# 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+options+flambda
2026-01-26 02:03.22 ---> using "c58dd576f22082b636db7bb6dc9aa0569813a3b5d1b916d72d24299625b26489" 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-26 02:03.22 ---> using "3fedc3bdfa60ff44859ab34e7ab80b6930d2e1c40221ffab7f1991c51d48ee1c" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-01-26 02:03.27 ---> saved as "60999154cda67bf0c9a0423c4b49b36208758a14f36d58372795b15650abade8"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-26 02:03.44 ---> saved as "48b647d5506373dba9b09b7f7c732931240c3dc3a10574d3174e6fbd2a969b06"
/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 [97.9 kB]
- Fetched 189 kB in 0s (2455 kB/s)
- Reading package lists...
2026-01-26 02:03.45 ---> saved as "99681393e287fc307a7bb680beac284b7af45733404856bb3d2d3993471406ad"
/home/opam: (run (shell "opam pin add -k version -yn ocaml-yescrypt.0.1.0 0.1.0"))
ocaml-yescrypt is now pinned to version 0.1.0
2026-01-26 02:03.46 ---> saved as "f75dda6e6b37d8e9425ec5b2a68f0507183e438c05a3e34d36130879c8ec341f"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-yescrypt.0.1.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\" != 'ocaml-yescrypt.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocaml-yescrypt.0.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 10 packages
- 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 ocaml-yescrypt]
- install ctypes-foreign 0.24.0 [required by ocaml-yescrypt]
- install dune 3.21.0 [required by ocaml-yescrypt]
- install dune-configurator 3.21.0 [required by ctypes, ctypes-foreign]
- install integers 0.7.0 [required by ctypes]
- install ocaml-yescrypt 0.1.0 (pinned)
- 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 ... 20654 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+deb13u1) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> installed conf-pkg-config.4
-> retrieved ctypes.0.24.0, ctypes-foreign.0.24.0 (cached)
-> installed conf-libffi.2.0.0
-> retrieved dune.3.21.0, dune-configurator.3.21.0 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved ocaml-yescrypt.0.1.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed dune.3.21.0
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed dune-configurator.3.21.0
-> installed ctypes.0.24.0
-> installed ctypes-foreign.0.24.0
[ERROR] The compilation of ocaml-yescrypt.0.1.0 failed at "dune build -p ocaml-yescrypt -j 255 @install".
#=== ERROR while compiling ocaml-yescrypt.0.1.0 ===============================#
# context 2.5.0 | linux/x86_64 | ocaml-variants.5.4.0+options | pinned(https://github.com/khalidbelk/ocaml-yescrypt/archive/refs/tags/0.1.0.tar.gz)
# path ~/.opam/5.4/.opam-switch/build/ocaml-yescrypt.0.1.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ocaml-yescrypt -j 255 @install
# exit-code 1
# env-file ~/.opam/log/ocaml-yescrypt-7-e0cd37.env
# output-file ~/.opam/log/ocaml-yescrypt-7-e0cd37.out
### output ###
# (cd _build/default/lib && /usr/bin/gcc -fPIC -I c_lib/ -g -I /home/opam/.opam/5.4/lib/ocaml -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/stdlib-shims -I bindings -o yescrypt-ref.o -c c_lib/yescrypt-ref.c)
# c_lib/yescrypt-ref.c:38:2: warning: #warning "This reference implementation is deliberately mostly not optimized, nor does it make any attempt not to leave sensitive data in memory. Use yescrypt-opt.c instead unless you're testing (against) the reference implementation on purpose." [-Wcpp]
# 38 | #warning "This reference implementation is deliberately mostly not optimized, nor does it make any attempt not to leave sensitive data in memory. Use yescrypt-opt.c instead unless you're testing (against) the reference implementation on purpose."
# | ^~~~~~~
# File "lib/dune", line 17, characters 4-18:
# 17 | yescrypt_stubs ; Generated stubs (needed for linking)
# ^^^^^^^^^^^^^^
# (cd _build/default/lib && /usr/bin/gcc -fPIC -I c_lib/ -g -I /home/opam/.opam/5.4/lib/ocaml -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/stdlib-shims -I bindings -o yescrypt_stubs.o -c yescrypt_stubs.c)
# yescrypt_stubs.c: In function 'caml_yescrypt_2_yescrypt_init_shared':
# yescrypt_stubs.c:41:35: error: passing argument 1 of 'yescrypt_init_shared' from incompatible pointer type [-Wincompatible-pointer-types]
# 41 | int x51 = yescrypt_init_shared(x45, x46, x47, x50);
# | ^~~
# | |
# | struct yescrypt_region_t *
# In file included from yescrypt_stubs.c:1:
# c_lib/yescrypt.h:172:52: note: expected 'yescrypt_shared_t *' {aka 'yescrypt_region_t *'} but argument is of type 'struct yescrypt_region_t *'
# 172 | extern int yescrypt_init_shared(yescrypt_shared_t *shared,
# | ~~~~~~~~~~~~~~~~~~~^~~~~~
# yescrypt_stubs.c:41:50: error: passing argument 4 of 'yescrypt_init_shared' from incompatible pointer type [-Wincompatible-pointer-types]
# 41 | int x51 = yescrypt_init_shared(x45, x46, x47, x50);
# | ^~~
# | |
# | struct yescrypt_params_t *
# c_lib/yescrypt.h:173:67: note: expected 'const yescrypt_params_t *' but argument is of type 'struct yescrypt_params_t *'
# 173 | const uint8_t *seed, size_t seedlen, const yescrypt_params_t *params);
# | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
# yescrypt_stubs.c: In function 'caml_yescrypt_3_yescrypt_digest_shared':
# yescrypt_stubs.c:47:58: error: passing argument 1 of 'yescrypt_digest_shared' from incompatible pointer type [-Wincompatible-pointer-types]
# 47 | union yescrypt_binary_t* x54 = yescrypt_digest_shared(x53);
# | ^~~
# | |
# | struct yescrypt_region_t *
# c_lib/yescrypt.h:183:69: note: expected 'yescrypt_shared_t *' {aka 'yescrypt_region_t *'} but argument is of type 'struct yescrypt_region_t *'
# 183 | extern yescrypt_binary_t *yescrypt_digest_shared(yescrypt_shared_t *shared);
# | ~~~~~~~~~~~~~~~~~~~^~~~~~
# yescrypt_stubs.c:47:35: error: initialization of 'union yescrypt_binary_t *' from incompatible pointer type 'yescrypt_binary_t *' [-Wincompatible-pointer-types]
# 47 | union yescrypt_binary_t* x54 = yescrypt_digest_shared(x53);
# | ^~~~~~~~~~~~~~~~~~~~~~
# yescrypt_stubs.c: In function 'caml_yescrypt_4_yescrypt_free_shared':
# yescrypt_stubs.c:53:35: error: passing argument 1 of 'yescrypt_free_shared' from incompatible pointer type [-Wincompatible-pointer-types]
# 53 | int x57 = yescrypt_free_shared(x56);
# | ^~~
# | |
# | struct yescrypt_region_t *
# c_lib/yescrypt.h:193:52: note: expected 'yescrypt_shared_t *' {aka 'yescrypt_region_t *'} but argument is of type 'struct yescrypt_region_t *'
# 193 | extern int yescrypt_free_shared(yescrypt_shared_t *shared);
# | ~~~~~~~~~~~~~~~~~~~^~~~~~
# yescrypt_stubs.c: In function 'caml_yescrypt_5_yescrypt_init_local':
# yescrypt_stubs.c:59:34: error: passing argument 1 of 'yescrypt_init_local' from incompatible pointer type [-Wincompatible-pointer-types]
# 59 | int x60 = yescrypt_init_local(x59);
# | ^~~
# | |
# | struct yescrypt_region_t *
# c_lib/yescrypt.h:204:50: note: expected 'yescrypt_local_t *' {aka 'yescrypt_region_t *'} but argument is of type 'struct yescrypt_region_t *'
# 204 | extern int yescrypt_init_local(yescrypt_local_t *local);
# | ~~~~~~~~~~~~~~~~~~^~~~~
# yescrypt_stubs.c: In function 'caml_yescrypt_6_yescrypt_free_local':
# yescrypt_stubs.c:65:34: error: passing argument 1 of 'yescrypt_free_local' from incompatible pointer type [-Wincompatible-pointer-types]
# 65 | int x63 = yescrypt_free_local(x62);
# | ^~~
# | |
# | struct yescrypt_region_t *
# c_lib/yescrypt.h:215:50: note: expected 'yescrypt_local_t *' {aka 'yescrypt_region_t *'} but argument is of type 'struct yescrypt_region_t *'
# 215 | extern int yescrypt_free_local(yescrypt_local_t *local);
# | ~~~~~~~~~~~~~~~~~~^~~~~
# yescrypt_stubs.c: In function 'caml_yescrypt_7_yescrypt_kdf':
# yescrypt_stubs.c:81:27: error: passing argument 1 of 'yescrypt_kdf' from incompatible pointer type [-Wincompatible-pointer-types]
# 81 | int x88 = yescrypt_kdf(x73, x74, x75, x76, x79, x80, x83, x84, x85);
# | ^~~
# | |
# | struct yescrypt_region_t *
# c_lib/yescrypt.h:254:50: note: expected 'const yescrypt_shared_t *' {aka 'const yescrypt_region_t *'} but argument is of type 'struct yescrypt_region_t *'
# 254 | extern int yescrypt_kdf(const yescrypt_shared_t *shared,
# | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
# yescrypt_stubs.c:81:32: error: passing argument 2 of 'yescrypt_kdf' from incompatible pointer type [-Wincompatible-pointer-types]
# 81 | int x88 = yescrypt_kdf(x73, x74, x75, x76, x79, x80, x83, x84, x85);
# | ^~~
# | |
# | struct yescrypt_region_t *
# c_lib/yescrypt.h:255:23: note: expected 'yescrypt_local_t *' {aka 'yescrypt_region_t *'} but argument is of type 'struct yescrypt_region_t *'
# 255 | yescrypt_local_t *local,
# | ~~~~~~~~~~~~~~~~~~^~~~~
# yescrypt_stubs.c:81:57: error: passing argument 7 of 'yescrypt_kdf' from incompatible pointer type [-Wincompatible-pointer-types]
# 81 | int x88 = yescrypt_kdf(x73, x74, x75, x76, x79, x80, x83, x84, x85);
# | ^~~
# | |
# | struct yescrypt_params_t *
# c_lib/yescrypt.h:258:30: note: expected 'const yescrypt_params_t *' but argument is of type 'struct yescrypt_params_t *'
# 258 | const yescrypt_params_t *params,
# | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
# yescrypt_stubs.c: In function 'caml_yescrypt_8_yescrypt_r':
# yescrypt_stubs.c:112:15: error: passing argument 1 of 'yescrypt_r' from incompatible pointer type [-Wincompatible-pointer-types]
# 112 | yescrypt_r(x106, x107, x108, x109, x112, x113, x114, x115);
# | ^~~~
# | |
# | struct yescrypt_region_t *
# c_lib/yescrypt.h:276:53: note: expected 'const yescrypt_shared_t *' {aka 'const yescrypt_region_t *'} but argument is of type 'struct yescrypt_region_t *'
# 276 | extern uint8_t *yescrypt_r(const yescrypt_shared_t *shared,
# | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
# yescrypt_stubs.c:112:21: error: passing argument 2 of 'yescrypt_r' from incompatible pointer type [-Wincompatible-pointer-types]
# 112 | yescrypt_r(x106, x107, x108, x109, x112, x113, x114, x115);
# | ^~~~
# | |
# | struct yescrypt_region_t *
# c_lib/yescrypt.h:277:23: note: expected 'yescrypt_local_t *' {aka 'yescrypt_region_t *'} but argument is of type 'struct yescrypt_region_t *'
# 277 | yescrypt_local_t *local,
# | ~~~~~~~~~~~~~~~~~~^~~~~
# yescrypt_stubs.c:112:45: error: passing argument 6 of 'yescrypt_r' from incompatible pointer type [-Wincompatible-pointer-types]
# 112 | yescrypt_r(x106, x107, x108, x109, x112, x113, x114, x115);
# | ^~~~
# | |
# | union yescrypt_binary_t *
# c_lib/yescrypt.h:280:30: note: expected 'const yescrypt_binary_t *' but argument is of type 'union yescrypt_binary_t *'
# 280 | const yescrypt_binary_t *key,
# | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
# yescrypt_stubs.c: In function 'caml_yescrypt_10_yescrypt_reencrypt':
# yescrypt_stubs.c:141:45: error: passing argument 2 of 'yescrypt_reencrypt' from incompatible pointer type [-Wincompatible-pointer-types]
# 141 | uint8_t* x138 = yescrypt_reencrypt(x135, x136, x137);
# | ^~~~
# | |
# | union yescrypt_binary_t *
# c_lib/yescrypt.h:313:30: note: expected 'const yescrypt_binary_t *' but argument is of type 'union yescrypt_binary_t *'
# 313 | const yescrypt_binary_t *from_key,
# | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
# yescrypt_stubs.c:141:51: error: passing argument 3 of 'yescrypt_reencrypt' from incompatible pointer type [-Wincompatible-pointer-types]
# 141 | uint8_t* x138 = yescrypt_reencrypt(x135, x136, x137);
# | ^~~~
# | |
# | union yescrypt_binary_t *
# c_lib/yescrypt.h:314:30: note: expected 'const yescrypt_binary_t *' but argument is of type 'union yescrypt_binary_t *'
# 314 | const yescrypt_binary_t *to_key);
# | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
# yescrypt_stubs.c: In function 'caml_yescrypt_11_yescrypt_encode_params_r':
# yescrypt_stubs.c:153:45: error: passing argument 1 of 'yescrypt_encode_params_r' from incompatible pointer type [-Wincompatible-pointer-types]
# 153 | uint8_t* x153 = yescrypt_encode_params_r(x144, x145, x146, x149, x150);
# | ^~~~
# | |
# | struct yescrypt_params_t *
# c_lib/yescrypt.h:327:67: note: expected 'const yescrypt_params_t *' but argument is of type 'struct yescrypt_params_t *'
# 327 | extern uint8_t *yescrypt_encode_params_r(const yescrypt_params_t *params,
# | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
# yescrypt_stubs.c: In function 'caml_yescrypt_12_yescrypt_encode_params':
# yescrypt_stubs.c:162:43: error: passing argument 1 of 'yescrypt_encode_params' from incompatible pointer type [-Wincompatible-pointer-types]
# 162 | uint8_t* x162 = yescrypt_encode_params(x157, x158, x159);
# | ^~~~
# | |
# | struct yescrypt_params_t *
# c_lib/yescrypt.h:341:65: note: expected 'const yescrypt_params_t *' but argument is of type 'struct yescrypt_params_t *'
# 341 | extern uint8_t *yescrypt_encode_params(const yescrypt_params_t *params,
# | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocaml-yescrypt 0.1.0
+-
+- The following changes have been performed
| - 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 3.21.0
| - install dune-configurator 3.21.0
| - install integers 0.7.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-20260126020346.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 ocaml-yescrypt.0.1.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" != 'ocaml-yescrypt.0.1.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-26 02:04.35: Job failed: Failed: Build failed
2026-01-26 02:04.35: Log analysis:
2026-01-26 02:04.35: >>>
[ERROR] The compilation of ocaml-yescrypt.0.1.0 failed at "dune build -p ocaml-yescrypt -j 255 @install".
(score = 20)
2026-01-26 02:04.35: >>>
# yescrypt_stubs.c:41:35: error: passing argument 1 of 'yescrypt_init_shared' from incompatible pointer type [-Wincompatible-pointer-types]
(score = 30)
2026-01-26 02:04.35: >>>
# yescrypt_stubs.c:41:50: error: passing argument 4 of 'yescrypt_init_shared' from incompatible pointer type [-Wincompatible-pointer-types]
(score = 30)
2026-01-26 02:04.35: >>>
# yescrypt_stubs.c:47:58: error: passing argument 1 of 'yescrypt_digest_shared' from incompatible pointer type [-Wincompatible-pointer-types]
(score = 30)
2026-01-26 02:04.35: >>>
# yescrypt_stubs.c:47:35: error: initialization of 'union yescrypt_binary_t *' from incompatible pointer type 'yescrypt_binary_t *' [-Wincompatible-pointer-types]
(score = 30)
2026-01-26 02:04.35: >>>
# yescrypt_stubs.c:53:35: error: passing argument 1 of 'yescrypt_free_shared' from incompatible pointer type [-Wincompatible-pointer-types]
(score = 30)
2026-01-26 02:04.35: >>>
# yescrypt_stubs.c:59:34: error: passing argument 1 of 'yescrypt_init_local' from incompatible pointer type [-Wincompatible-pointer-types]
(score = 30)
2026-01-26 02:04.35: >>>
# yescrypt_stubs.c:65:34: error: passing argument 1 of 'yescrypt_free_local' from incompatible pointer type [-Wincompatible-pointer-types]
(score = 30)
2026-01-26 02:04.35: >>>
# yescrypt_stubs.c:81:27: error: passing argument 1 of 'yescrypt_kdf' from incompatible pointer type [-Wincompatible-pointer-types]
(score = 30)
2026-01-26 02:04.35: >>>
# yescrypt_stubs.c:81:32: error: passing argument 2 of 'yescrypt_kdf' from incompatible pointer type [-Wincompatible-pointer-types]
(score = 30)
2026-01-26 02:04.35: >>>
# yescrypt_stubs.c:81:57: error: passing argument 7 of 'yescrypt_kdf' from incompatible pointer type [-Wincompatible-pointer-types]
(score = 30)
2026-01-26 02:04.35: >>>
# yescrypt_stubs.c:112:15: error: passing argument 1 of 'yescrypt_r' from incompatible pointer type [-Wincompatible-pointer-types]
(score = 30)
2026-01-26 02:04.35: >>>
# yescrypt_stubs.c:112:21: error: passing argument 2 of 'yescrypt_r' from incompatible pointer type [-Wincompatible-pointer-types]
(score = 30)
2026-01-26 02:04.35: >>>
# yescrypt_stubs.c:112:45: error: passing argument 6 of 'yescrypt_r' from incompatible pointer type [-Wincompatible-pointer-types]
(score = 30)
2026-01-26 02:04.35: >>>
# yescrypt_stubs.c:141:45: error: passing argument 2 of 'yescrypt_reencrypt' from incompatible pointer type [-Wincompatible-pointer-types]
(score = 30)
2026-01-26 02:04.35: >>>
# yescrypt_stubs.c:141:51: error: passing argument 3 of 'yescrypt_reencrypt' from incompatible pointer type [-Wincompatible-pointer-types]
(score = 30)
2026-01-26 02:04.35: >>>
# yescrypt_stubs.c:153:45: error: passing argument 1 of 'yescrypt_encode_params_r' from incompatible pointer type [-Wincompatible-pointer-types]
(score = 30)
2026-01-26 02:04.35: >>>
# yescrypt_stubs.c:162:43: error: passing argument 1 of 'yescrypt_encode_params' from incompatible pointer type [-Wincompatible-pointer-types]
(score = 30)
2026-01-26 02:04.35: passing argument 1 of 'yescrypt_init_shared' from incompatible pointer type [-Wincompatible-pointer-types]