- github
- ocaml
- opam-repository
- 3af7d0
- distributions,ubuntu-22.04-ocaml-5.4,nocrypto.0.5.4-1
(not at the head of any monitored branch or PR)
2026-03-10 08:59.45: New job: build nocrypto.0.5.4-1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29530/head (3af7d0a25910b3d20c909e559efb484eb6a78128)
on ubuntu-22.04-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/29530/head" && git reset --hard 3af7d0a2
git fetch origin master
git merge --no-edit 3c70647a78a7fd22066fca4f17f7ca4514500663
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9
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 nocrypto.0.5.4-1 0.5.4-1
RUN opam reinstall nocrypto.0.5.4-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 "\"ubuntu-22.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'nocrypto.0.5.4-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 .
2026-03-10 08:59.45: Using cache hint "ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9-nocrypto.0.5.4-1-3af7d0a25910b3d20c909e559efb484eb6a78128"
2026-03-10 08:59.45: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9)
(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 nocrypto.0.5.4-1 0.5.4-1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall nocrypto.0.5.4-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 \"\\\"ubuntu-22.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'nocrypto.0.5.4-1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-03-10 08:59.45: Waiting for resource in pool OCluster
2026-03-10 09:21.59: Waiting for worker…
2026-03-10 09:23.31: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files: 96% (17848/18405)
Updating files: 97% (17853/18405)
Updating files: 98% (18037/18405)
Updating files: 99% (18221/18405)
Updating files: 100% (18405/18405)
Updating files: 100% (18405/18405), done.
HEAD is now at 3c70647a78 Merge pull request #29507 from NathanReb/release-ppxlib-0-38-0-5-5-preview
Updating 3c70647a78..3af7d0a259
Fast-forward
packages/bimage-lwt/bimage-lwt.0.3.0/opam | 6 +++++-
packages/bimage-lwt/bimage-lwt.0.3.1/opam | 6 +++++-
packages/bimage-lwt/bimage-lwt.0.4.0/opam | 6 +++++-
packages/caqti-lwt/caqti-lwt.0.11.0/opam | 4 +++-
packages/caqti-lwt/caqti-lwt.1.0.0/opam | 6 +++++-
packages/caqti-lwt/caqti-lwt.1.2.0/opam | 6 +++++-
packages/caqti-lwt/caqti-lwt.1.3.0/opam | 6 +++++-
packages/caqti-lwt/caqti-lwt.1.6.0/opam | 6 +++++-
packages/caqti-lwt/caqti-lwt.1.7.0/opam | 6 +++++-
packages/caqti-lwt/caqti-lwt.1.8.0/opam | 6 +++++-
packages/caqti-lwt/caqti-lwt.1.9.0/opam | 6 +++++-
packages/caqti-lwt/caqti-lwt.2.0.1/opam | 6 +++++-
packages/caqti-lwt/caqti-lwt.2.1.1/opam | 6 +++++-
packages/caqti-lwt/caqti-lwt.2.2.4/opam | 6 +++++-
packages/fuseau-lwt/fuseau-lwt.0.1/opam | 6 +++++-
packages/lambda-term/lambda-term.1.13/opam | 6 +++++-
packages/lambda-term/lambda-term.2.0.1/opam | 6 +++++-
packages/lambda-term/lambda-term.2.0.2/opam | 6 +++++-
packages/lambda-term/lambda-term.2.0.3/opam | 6 +++++-
packages/lambda-term/lambda-term.2.0/opam | 6 +++++-
packages/lambda-term/lambda-term.3.0.0/opam | 6 +++++-
packages/lambda-term/lambda-term.3.0.1/opam | 6 +++++-
packages/lambda-term/lambda-term.3.1.0/opam | 6 +++++-
packages/lambda-term/lambda-term.3.2.0/opam | 6 +++++-
packages/lambda-term/lambda-term.3.3.0/opam | 6 +++++-
packages/lambda-term/lambda-term.3.3.1/opam | 6 +++++-
packages/lambda-term/lambda-term.3.3.2/opam | 6 +++++-
packages/lwt_domain/lwt_domain.0.1.0/opam | 6 +++++-
packages/lwt_domain/lwt_domain.0.2.0/opam | 6 +++++-
packages/lwt_domain/lwt_domain.0.3.0/opam | 6 +++++-
packages/lwt_eio/lwt_eio.0.1/opam | 6 +++++-
packages/lwt_eio/lwt_eio.0.2/opam | 6 +++++-
packages/lwt_eio/lwt_eio.0.3/opam | 6 +++++-
packages/lwt_eio/lwt_eio.0.4/opam | 6 +++++-
packages/lwt_eio/lwt_eio.0.5.1/opam | 6 +++++-
packages/lwt_eio/lwt_eio.0.5/opam | 6 +++++-
packages/lwt_glib/lwt_glib.1.0.1/opam | 6 +++++-
packages/lwt_glib/lwt_glib.1.1.0/opam | 6 +++++-
packages/lwt_glib/lwt_glib.1.1.1/opam | 6 +++++-
packages/lwt_log/lwt_log.1.1.0/opam | 6 +++++-
packages/lwt_log/lwt_log.1.1.1/opam | 6 +++++-
packages/lwt_log/lwt_log.1.1.2/opam | 6 +++++-
packages/lwt_ppx/lwt_ppx.1.0.0/opam | 6 +++++-
packages/lwt_ppx/lwt_ppx.1.0.1/opam | 6 +++++-
packages/lwt_ppx/lwt_ppx.1.1.0/opam | 6 +++++-
packages/lwt_ppx/lwt_ppx.1.2.0/opam | 6 +++++-
packages/lwt_ppx/lwt_ppx.1.2.1/opam | 6 +++++-
packages/lwt_ppx/lwt_ppx.1.2.2/opam | 6 +++++-
packages/lwt_ppx/lwt_ppx.1.2.3/opam | 6 +++++-
packages/lwt_ppx/lwt_ppx.1.2.4/opam | 6 +++++-
packages/lwt_ppx/lwt_ppx.2.0.0/opam | 6 +++++-
packages/lwt_ppx/lwt_ppx.2.0.1/opam | 6 +++++-
packages/lwt_ppx/lwt_ppx.2.0.2/opam | 6 +++++-
packages/lwt_ppx/lwt_ppx.2.0.3/opam | 6 +++++-
packages/lwt_ppx/lwt_ppx.2.1.0/opam | 6 +++++-
packages/lwt_ppx/lwt_ppx.5.8.0/opam | 6 +++++-
packages/lwt_ppx/lwt_ppx.5.8.1/opam | 6 +++++-
packages/lwt_ppx/lwt_ppx.5.9.1/opam | 6 +++++-
packages/lwt_ppx/lwt_ppx.5.9.2/opam | 6 +++++-
packages/lwt_ppx/lwt_ppx.5.9.3/opam | 6 +++++-
packages/moonpool-lwt/moonpool-lwt.0.10/opam | 6 +++++-
packages/moonpool-lwt/moonpool-lwt.0.6/opam | 6 +++++-
packages/moonpool-lwt/moonpool-lwt.0.7/opam | 6 +++++-
packages/moonpool-lwt/moonpool-lwt.0.8/opam | 6 +++++-
packages/moonpool-lwt/moonpool-lwt.0.9/opam | 6 +++++-
packages/mwt/mwt.0.1.0/opam | 6 +++++-
packages/nocrypto/nocrypto.0.5.4-1/opam | 6 +++++-
packages/nocrypto/nocrypto.0.5.4-2/opam | 6 +++++-
packages/ocluster/ocluster.0.1/opam | 4 +++-
packages/ocluster/ocluster.0.2.1/opam | 6 +++++-
packages/ocluster/ocluster.0.2/opam | 4 +++-
packages/ocluster/ocluster.0.3.0/opam | 6 +++++-
packages/picos/picos.0.3.0/opam | 6 +++++-
packages/picos/picos.0.4.0/opam | 6 +++++-
packages/picos_lwt/picos_lwt.0.5.0/opam | 6 +++++-
packages/picos_lwt/picos_lwt.0.6.0/opam | 6 +++++-
packages/tezt/tezt.2.0.0/opam | 6 +++++-
packages/tezt/tezt.3.0.0/opam | 4 +++-
packages/tezt/tezt.3.1.0/opam | 4 +++-
packages/tezt/tezt.3.1.1/opam | 4 +++-
packages/tezt/tezt.4.0.0/opam | 4 +++-
packages/tezt/tezt.4.1.0/opam | 4 +++-
packages/tezt/tezt.4.2.0/opam | 4 +++-
packages/tezt/tezt.4.3.0/opam | 4 +++-
84 files changed, 400 insertions(+), 84 deletions(-)
(from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9)
Unable to find image 'ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9' locally
docker.io/ocaml/opam@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9: Pulling from ocaml/opam
b1cba2e842ca: Already exists
421afdaed246: Pulling fs layer
4f870a39d887: Pulling fs layer
55a213a632b1: Pulling fs layer
45b4d0733e62: Pulling fs layer
3aeb1fde2a5c: Pulling fs layer
aafef83927b6: Pulling fs layer
bcf6200713a7: Pulling fs layer
44126a1f4f31: Pulling fs layer
3aeb1fde2a5c: Waiting
aafef83927b6: Waiting
45b4d0733e62: Waiting
640d0ce4ea89: Pulling fs layer
bcf6200713a7: Waiting
44126a1f4f31: Waiting
b5d13c755b81: Pulling fs layer
640d0ce4ea89: Waiting
d4f408980979: Pulling fs layer
b5d13c755b81: Waiting
a89dafa13071: Pulling fs layer
d4f408980979: Waiting
636fd786dcef: Pulling fs layer
a89dafa13071: Waiting
31dae2391bd4: Pulling fs layer
636fd786dcef: Waiting
8b28883ae878: Pulling fs layer
4a187d75ee24: Pulling fs layer
8b28883ae878: Waiting
4a187d75ee24: Waiting
4f4fb700ef54: Pulling fs layer
15ef0a4fe052: Pulling fs layer
4f4fb700ef54: Waiting
81aef10b7468: Pulling fs layer
15ef0a4fe052: Waiting
8492c04426b2: Pulling fs layer
81aef10b7468: Waiting
8492c04426b2: Waiting
931be6b45df3: Pulling fs layer
b3b41b093e1c: Pulling fs layer
931be6b45df3: Waiting
c66a499f18f1: Pulling fs layer
b3b41b093e1c: Waiting
dc859d65a979: Pulling fs layer
c66a499f18f1: Waiting
f9a4b7e83cbc: Pulling fs layer
dc859d65a979: Waiting
8406175b74f2: Pulling fs layer
d8a867e68b39: Pulling fs layer
f9a4b7e83cbc: Waiting
8406175b74f2: Waiting
1b4507b9d94f: Pulling fs layer
d8a867e68b39: Waiting
86753f729f41: Pulling fs layer
1b4507b9d94f: Waiting
bb1554100fd0: Pulling fs layer
86753f729f41: Waiting
79f063451047: Pulling fs layer
af19aefa8c28: Pulling fs layer
18ae77be10c6: Pulling fs layer
bb1554100fd0: Waiting
79f063451047: Waiting
23748796c9e7: Pulling fs layer
af19aefa8c28: Waiting
18ae77be10c6: Waiting
8a87c1d60ed6: Pulling fs layer
23748796c9e7: Waiting
f59dc0679c75: Pulling fs layer
8a87c1d60ed6: Waiting
d71672fc129c: Pulling fs layer
f59dc0679c75: Waiting
44dd0ab5fdef: Pulling fs layer
d71672fc129c: Waiting
edadc98b94f2: Pulling fs layer
44dd0ab5fdef: Waiting
5594968993e8: Pulling fs layer
9f6b7b34fd6d: Pulling fs layer
fae525a8fdf7: Pulling fs layer
250c7a686cbe: Pulling fs layer
edadc98b94f2: Waiting
5230fa14e4cf: Pulling fs layer
5594968993e8: Waiting
9f6b7b34fd6d: Waiting
fae525a8fdf7: Waiting
250c7a686cbe: Waiting
864dff2bbd6b: Pulling fs layer
5230fa14e4cf: Waiting
864dff2bbd6b: Waiting
421afdaed246: Verifying Checksum
421afdaed246: Download complete
4f870a39d887: Verifying Checksum
4f870a39d887: Download complete
421afdaed246: Pull complete
4f870a39d887: Pull complete
45b4d0733e62: Verifying Checksum
45b4d0733e62: Download complete
aafef83927b6: Download complete
55a213a632b1: Verifying Checksum
55a213a632b1: Download complete
bcf6200713a7: Verifying Checksum
bcf6200713a7: Download complete
44126a1f4f31: Verifying Checksum
44126a1f4f31: Download complete
640d0ce4ea89: Verifying Checksum
640d0ce4ea89: Download complete
b5d13c755b81: Verifying Checksum
b5d13c755b81: Download complete
d4f408980979: Download complete
636fd786dcef: Verifying Checksum
636fd786dcef: Download complete
55a213a632b1: Pull complete
45b4d0733e62: Pull complete
31dae2391bd4: Verifying Checksum
31dae2391bd4: Download complete
8b28883ae878: Verifying Checksum
8b28883ae878: Download complete
4a187d75ee24: Verifying Checksum
4a187d75ee24: Download complete
4f4fb700ef54: Download complete
15ef0a4fe052: Verifying Checksum
15ef0a4fe052: Download complete
81aef10b7468: Verifying Checksum
81aef10b7468: Download complete
8492c04426b2: Verifying Checksum
8492c04426b2: Download complete
931be6b45df3: Verifying Checksum
931be6b45df3: Download complete
b3b41b093e1c: Verifying Checksum
b3b41b093e1c: Download complete
a89dafa13071: Verifying Checksum
a89dafa13071: Download complete
c66a499f18f1: Verifying Checksum
c66a499f18f1: Download complete
dc859d65a979: Verifying Checksum
dc859d65a979: Download complete
f9a4b7e83cbc: Verifying Checksum
f9a4b7e83cbc: Download complete
8406175b74f2: Verifying Checksum
8406175b74f2: Download complete
d8a867e68b39: Download complete
3aeb1fde2a5c: Verifying Checksum
3aeb1fde2a5c: Download complete
1b4507b9d94f: Verifying Checksum
1b4507b9d94f: Download complete
86753f729f41: Download complete
bb1554100fd0: Verifying Checksum
bb1554100fd0: Download complete
af19aefa8c28: Download complete
79f063451047: Verifying Checksum
79f063451047: Download complete
23748796c9e7: Verifying Checksum
23748796c9e7: Download complete
f59dc0679c75: Download complete
d71672fc129c: Verifying Checksum
d71672fc129c: Download complete
44dd0ab5fdef: Download complete
edadc98b94f2: Download complete
5594968993e8: Download complete
9f6b7b34fd6d: Verifying Checksum
9f6b7b34fd6d: Download complete
3aeb1fde2a5c: Pull complete
aafef83927b6: Pull complete
18ae77be10c6: Verifying Checksum
18ae77be10c6: Download complete
bcf6200713a7: Pull complete
250c7a686cbe: Verifying Checksum
250c7a686cbe: Download complete
44126a1f4f31: Pull complete
5230fa14e4cf: Download complete
864dff2bbd6b: Verifying Checksum
864dff2bbd6b: Download complete
640d0ce4ea89: Pull complete
b5d13c755b81: Pull complete
d4f408980979: Pull complete
a89dafa13071: Pull complete
636fd786dcef: Pull complete
31dae2391bd4: Pull complete
8b28883ae878: Pull complete
4a187d75ee24: Pull complete
4f4fb700ef54: Pull complete
15ef0a4fe052: Pull complete
81aef10b7468: Pull complete
8492c04426b2: Pull complete
931be6b45df3: Pull complete
b3b41b093e1c: Pull complete
c66a499f18f1: Pull complete
dc859d65a979: Pull complete
f9a4b7e83cbc: Pull complete
8406175b74f2: Pull complete
d8a867e68b39: Pull complete
1b4507b9d94f: Pull complete
86753f729f41: Pull complete
bb1554100fd0: Pull complete
79f063451047: Pull complete
af19aefa8c28: Pull complete
8a87c1d60ed6: Verifying Checksum
8a87c1d60ed6: Download complete
fae525a8fdf7: Verifying Checksum
fae525a8fdf7: Download complete
18ae77be10c6: Pull complete
23748796c9e7: Pull complete
8a87c1d60ed6: Pull complete
f59dc0679c75: Pull complete
d71672fc129c: Pull complete
44dd0ab5fdef: Pull complete
edadc98b94f2: Pull complete
5594968993e8: Pull complete
9f6b7b34fd6d: Pull complete
fae525a8fdf7: Pull complete
250c7a686cbe: Pull complete
5230fa14e4cf: Pull complete
864dff2bbd6b: Pull complete
Digest: sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9
Status: Downloaded newer image for ocaml/opam@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9
2026-03-10 09:23.55 ---> using "a494baecbb94e7af4729d4c2ae860efde3ac6b3dc163dcb8423239dae5deadc4" 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-03-10 09:23.55 ---> using "6f2639a5564351e69f4f40c6c894e606e177ccae6e98ecabff0cad933b576055" 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.
Continue? [Y/n] y
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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-10 09:23.55 ---> using "43265c4572944c82427162f15ebbccd25ab722131f4adf4abfdfd12224670816" 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=ubuntu os-version=22.04
# 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 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
2026-03-10 09:23.55 ---> using "48e6eff73b2ea30793b4fb9be93fb662b27dfe06de97dc8dbac91023200c9e4e" 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-03-10 09:23.55 ---> using "3025014d1a6a5c6d705fcf0d6762d698b02dee2a4e77830e395f8c4720c05ac5" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-10 09:23.56 ---> using "2f5b5549af24f52bf24ad2859222f2da914d4afee48c58c37c7ec1bc0223bad4" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-10 09:24.10 ---> saved as "7dccdd495c8a2e1850b52b35741b3ac8ab573030fc597a320736a8303f621461"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:3 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1613 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [6877 kB]
- Get:7 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1301 kB]
- Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [4120 kB]
- Get:9 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [6652 kB]
- Get:10 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3780 kB]
- Fetched 24.7 MB in 2s (10.6 MB/s)
- Reading package lists...
-
2026-03-10 09:24.14 ---> saved as "c6081bd78bdde5fefc54ab5eff0813d0bcd5ec3645ab9ee5fad1db45ba9d53ea"
/home/opam: (run (shell "opam pin add -k version -yn nocrypto.0.5.4-1 0.5.4-1"))
nocrypto is now pinned to version 0.5.4-1
2026-03-10 09:24.15 ---> saved as "7a868e1b895a03e2b215ed02bd17187a572a25cbeb0331e2c31d9e5686fb3bbc"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall nocrypto.0.5.4-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 \"\\\"ubuntu-22.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'nocrypto.0.5.4-1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
nocrypto.0.5.4-1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 35 packages
- install astring 0.8.5 [required by ocb-stubblr]
- install base v0.17.3 [required by ppx_sexp_conv]
- install base-bytes base [required by ocplib-endian]
- install bigarray-compat 1.1.0 [required by cstruct]
- install conf-gmp 5 [required by zarith]
- install conf-pkg-config 4 [required by zarith]
- install cppo 1.8.0 [required by ppx_deriving]
- install cpuid 0.1.2 [required by nocrypto]
- install csexp 1.5.2 [required by dune-configurator]
- install cstruct 6.0.1 [required by nocrypto]
- install cstruct-lwt 6.0.1 [required by nocrypto]
- install dune 3.21.1 [required by ppx_sexp_conv, cstruct-lwt, cpuid, etc.]
- install dune-configurator 3.21.1 [required by lwt, base]
- install lwt 6.1.1 [required by nocrypto]
- install mirage-no-solo5 1 (deprecated) [required by nocrypto]
- install mirage-no-xen 1 (deprecated) [required by nocrypto]
- install nocrypto 0.5.4-1 (pinned)
- install num 1.6 [required by sexplib]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ocaml_intrinsics_kernel v0.17.1 [required by base]
- install ocamlbuild 0.16.1 [required by nocrypto]
- install ocamlfind 1.9.8 [required by nocrypto]
- install ocb-stubblr 0.1.1-1 [required by nocrypto]
- install ocplib-endian 1.2 [required by lwt]
- install parsexp v0.17.0 [required by sexplib]
- install ppx_derivers 1.2.1 [required by ppx_deriving]
- install ppx_deriving 6.1.1 [required by nocrypto]
- install ppx_sexp_conv v0.17.1 [required by nocrypto]
- install ppxlib 0.37.0 [required by ppx_deriving, ppx_sexp_conv]
- install ppxlib_jane v0.17.4 [required by ppx_sexp_conv]
- install sexplib v0.17.0 [required by nocrypto]
- install sexplib0 v0.17.0 [required by ppx_sexp_conv, sexplib]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install topkg 1.1.1 [required by nocrypto]
- install zarith 1.14 [required by nocrypto]
The following system packages will first need to be installed:
libgmp-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" "libgmp-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libglib2.0-0: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 ... 15669 files and directories currently installed.)
- Preparing to unpack .../0-libglib2.0-0_2.72.4-0ubuntu2.9_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.72.4-0ubuntu2.9) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../1-libglib2.0-data_2.72.4-0ubuntu2.9_all.deb ...
- Unpacking libglib2.0-data (2.72.4-0ubuntu2.9) ...
- Selecting previously unselected package libicu70:amd64.
- Preparing to unpack .../2-libicu70_70.1-2_amd64.deb ...
- Unpacking libicu70:amd64 (70.1-2) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../3-libxml2_2.9.13+dfsg-1ubuntu0.11_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.13+dfsg-1ubuntu0.11) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../4-shared-mime-info_2.1-2_amd64.deb ...
- Unpacking shared-mime-info (2.1-2) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../5-xdg-user-dirs_0.17-2ubuntu4_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2ubuntu4) ...
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- Preparing to unpack .../6-libgmpxx4ldbl_2%3a6.2.1+dfsg-3ubuntu1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-3ubuntu1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../7-libgmp-dev_2%3a6.2.1+dfsg-3ubuntu1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg-3ubuntu1) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../8-pkg-config_0.29.2-1ubuntu3_amd64.deb ...
- Unpacking pkg-config (0.29.2-1ubuntu3) ...
- Setting up xdg-user-dirs (0.17-2ubuntu4) ...
- Setting up libglib2.0-0:amd64 (2.72.4-0ubuntu2.9) ...
- No schema files found: doing nothing.
- Setting up libglib2.0-data (2.72.4-0ubuntu2.9) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-3ubuntu1) ...
- Setting up pkg-config (0.29.2-1ubuntu3) ...
- Setting up libicu70:amd64 (70.1-2) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg-3ubuntu1) ...
- Setting up libxml2:amd64 (2.9.13+dfsg-1ubuntu0.11) ...
- Setting up shared-mime-info (2.1-2) ...
- Processing triggers for libc-bin (2.35-0ubuntu3.13) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved base.v0.17.3 (cached)
-> retrieved bigarray-compat.1.1.0 (cached)
-> retrieved conf-gmp.5 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved cpuid.0.1.2 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> retrieved cstruct.6.0.1, cstruct-lwt.6.0.1 (cached)
-> retrieved dune.3.21.1, dune-configurator.3.21.1 (cached)
-> retrieved lwt.6.1.1 (cached)
-> installed mirage-no-solo5.1
-> installed mirage-no-xen.1
-> retrieved nocrypto.0.5.4-1 (cached)
-> retrieved num.1.6 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocb-stubblr.0.1.1-1 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved parsexp.v0.17.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_deriving.6.1.1 (cached)
-> retrieved ppx_sexp_conv.v0.17.1 (cached)
-> retrieved ppxlib.0.37.0 (cached)
-> retrieved ppxlib_jane.v0.17.4 (cached)
-> retrieved sexplib.v0.17.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.1.1 (cached)
-> retrieved zarith.1.14 (cached)
-> installed num.1.6
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> installed topkg.1.1.1
-> installed astring.0.8.5
-> installed ocb-stubblr.0.1.1-1
-> installed dune.3.21.1
-> installed ppx_derivers.1.2.1
-> installed cpuid.0.1.2
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed ocplib-endian.1.2
-> installed cstruct.6.0.1
-> installed parsexp.v0.17.0
-> installed dune-configurator.3.21.1
-> installed sexplib.v0.17.0
-> installed lwt.6.1.1
-> installed cstruct-lwt.6.0.1
-> installed base.v0.17.3
-> installed ppxlib.0.37.0
-> installed ppxlib_jane.v0.17.4
-> installed ppx_deriving.6.1.1
-> installed ppx_sexp_conv.v0.17.1
[ERROR] The compilation of nocrypto.0.5.4-1 failed at "ocaml pkg/pkg.ml build --pinned true --tests false --jobs 1 --with-lwt true --xen false --freestanding false".
#=== ERROR while compiling nocrypto.0.5.4-1 ===================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.0 | pinned(https://github.com/mirleft/ocaml-nocrypto/releases/download/v0.5.4/nocrypto-0.5.4.tbz)
# path ~/.opam/5.4/.opam-switch/build/nocrypto.0.5.4-1
# command ~/.opam/opam-init/hooks/sandbox.sh build ocaml pkg/pkg.ml build --pinned true --tests false --jobs 1 --with-lwt true --xen false --freestanding false
# exit-code 1
# env-file ~/.opam/log/nocrypto-7-8426b1.env
# output-file ~/.opam/log/nocrypto-7-8426b1.out
### output ###
# + ocamlfind ocamlc -config
# + ocamlfind ocamlopt -package unix -package ocamlbuild -linkpkg -package ocb-stubblr myocamlbuild.ml /home/opam/.opam/5.4/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
# + ocamlfind ocamlc -config
# + ocamlfind ocamlc -g -ccopt '-DACCELERATE -msse2 -maes' -ccopt '--std=c99 -Wall -Wextra -O3' -package bytes -package sexplib -package cstruct -c src/native/misc.c
# + mv misc.o src/native/misc.o
# + ocamlfind ocamlc -g -ccopt '-DACCELERATE -msse2 -maes' -ccopt '--std=c99 -Wall -Wextra -O3' -package bytes -package sexplib -package cstruct -c src/native/hash/stubs.c
# + mv stubs.o src/native/hash/stubs.o
# + ocamlfind ocamlc -g -ccopt '-DACCELERATE -msse2 -maes' -ccopt '--std=c99 -Wall -Wextra -O3' -package bytes -package sexplib -package cstruct -c src/native/hash/md5.c
# + mv md5.o src/native/hash/md5.o
# + ocamlfind ocamlc -g -ccopt '-DACCELERATE -msse2 -maes' -ccopt '--std=c99 -Wall -Wextra -O3' -package bytes -package sexplib -package cstruct -c src/native/hash/sha1.c
# + mv sha1.o src/native/hash/sha1.o
# + ocamlfind ocamlc -g -ccopt '-DACCELERATE -msse2 -maes' -ccopt '--std=c99 -Wall -Wextra -O3' -package bytes -package sexplib -package cstruct -c src/native/hash/sha256.c
# + mv sha256.o src/native/hash/sha256.o
# + ocamlfind ocamlc -g -ccopt '-DACCELERATE -msse2 -maes' -ccopt '--std=c99 -Wall -Wextra -O3' -package bytes -package sexplib -package cstruct -c src/native/hash/sha512.c
# + mv sha512.o src/native/hash/sha512.o
# + ocamlfind ocamlc -g -ccopt '-DACCELERATE -msse2 -maes' -ccopt '--std=c99 -Wall -Wextra -O3' -package bytes -package sexplib -package cstruct -c src/native/aes/generic.c
# + mv generic.o src/native/aes/generic.o
# + ocamlfind ocamlc -g -ccopt '-DACCELERATE -msse2 -maes' -ccopt '--std=c99 -Wall -Wextra -O3' -package bytes -package sexplib -package cstruct -c src/native/aes/aesni.c
# + ocamlfind ocamlc -g -ccopt '-DACCELERATE -msse2 -maes' -ccopt '--std=c99 -Wall -Wextra -O3' -package bytes -package sexplib -package cstruct -c src/native/aes/aesni.c
# src/native/aes/aesni.c: In function '_nc_aesni_enc_blocks':
# src/native/aes/aesni.c:316:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
# 316 | __blocked_loop (_nc_aesni_enc, _nc_aesni_enc8, src, dst, rk, rounds, blocks);
# | ^
# src/native/aes/aesni.c:294:9: note: in definition of macro '__blocked_loop'
# 294 | f1 (__b (src, 6), __b (dst, 6), rk, rounds); \
# | ^~
# src/native/aes/aesni.c:295:7: note: here
# 295 | case 6: \
# | ^~~~
# src/native/aes/aesni.c:316:3: note: in expansion of macro '__blocked_loop'
# 316 | __blocked_loop (_nc_aesni_enc, _nc_aesni_enc8, src, dst, rk, rounds, blocks);
# | ^~~~~~~~~~~~~~
# src/native/aes/aesni.c:316:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
# 316 | __blocked_loop (_nc_aesni_enc, _nc_aesni_enc8, src, dst, rk, rounds, blocks);
# | ^
# src/native/aes/aesni.c:296:9: note: in definition of macro '__blocked_loop'
# 296 | f1 (__b (src, 5), __b (dst, 5), rk, rounds); \
# | ^~
# src/native/aes/aesni.c:297:7: note: here
# 297 | case 5: \
# | ^~~~
# src/native/aes/aesni.c:316:3: note: in expansion of macro '__blocked_loop'
# 316 | __blocked_loop (_nc_aesni_enc, _nc_aesni_enc8, src, dst, rk, rounds, blocks);
# | ^~~~~~~~~~~~~~
# src/native/aes/aesni.c:316:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
# 316 | __blocked_loop (_nc_aesni_enc, _nc_aesni_enc8, src, dst, rk, rounds, blocks);
# | ^
# src/native/aes/aesni.c:298:9: note: in definition of macro '__blocked_loop'
# 298 | f1 (__b (src, 4), __b (dst, 4), rk, rounds); \
# | ^~
# src/native/aes/aesni.c:299:7: note: here
# 299 | case 4: \
# | ^~~~
# src/native/aes/aesni.c:316:3: note: in expansion of macro '__blocked_loop'
# 316 | __blocked_loop (_nc_aesni_enc, _nc_aesni_enc8, src, dst, rk, rounds, blocks);
# | ^~~~~~~~~~~~~~
# src/native/aes/aesni.c:316:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
# 316 | __blocked_loop (_nc_aesni_enc, _nc_aesni_enc8, src, dst, rk, rounds, blocks);
# | ^
# src/native/aes/aesni.c:300:9: note: in definition of macro '__blocked_loop'
# 300 | f1 (__b (src, 3), __b (dst, 3), rk, rounds); \
# | ^~
# src/native/aes/aesni.c:301:7: note: here
# 301 | case 3: \
# | ^~~~
# src/native/aes/aesni.c:316:3: note: in expansion of macro '__blocked_loop'
# 316 | __blocked_loop (_nc_aesni_enc, _nc_aesni_enc8, src, dst, rk, rounds, blocks);
# | ^~~~~~~~~~~~~~
# src/native/aes/aesni.c:316:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
# 316 | __blocked_loop (_nc_aesni_enc, _nc_aesni_enc8, src, dst, rk, rounds, blocks);
# | ^
# src/native/aes/aesni.c:302:9: note: in definition of macro '__blocked_loop'
# 302 | f1 (__b (src, 2), __b (dst, 2), rk, rounds); \
# | ^~
# src/native/aes/aesni.c:303:7: note: here
# 303 | case 2: \
# | ^~~~
# src/native/aes/aesni.c:316:3: note: in expansion of macro '__blocked_loop'
# 316 | __blocked_loop (_nc_aesni_enc, _nc_aesni_enc8, src, dst, rk, rounds, blocks);
# | ^~~~~~~~~~~~~~
# src/native/aes/aesni.c:316:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
# 316 | __blocked_loop (_nc_aesni_enc, _nc_aesni_enc8, src, dst, rk, rounds, blocks);
# | ^
# src/native/aes/aesni.c:304:9: note: in definition of macro '__blocked_loop'
# 304 | f1 (__b (src, 1), __b (dst, 1), rk, rounds); \
# | ^~
# src/native/aes/aesni.c:305:7: note: here
# 305 | case 1: \
# | ^~~~
# src/native/aes/aesni.c:316:3: note: in expansion of macro '__blocked_loop'
# 316 | __blocked_loop (_nc_aesni_enc, _nc_aesni_enc8, src, dst, rk, rounds, blocks);
# | ^~~~~~~~~~~~~~
# src/native/aes/aesni.c: In function '_nc_aesni_dec_blocks':
# src/native/aes/aesni.c:320:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
# 320 | __blocked_loop (_nc_aesni_dec, _nc_aesni_dec8, src, dst, rk, rounds, blocks);
# | ^
# src/native/aes/aesni.c:294:9: note: in definition of macro '__blocked_loop'
# 294 | f1 (__b (src, 6), __b (dst, 6), rk, rounds); \
# | ^~
# src/native/aes/aesni.c:295:7: note: here
# 295 | case 6: \
# | ^~~~
# src/native/aes/aesni.c:320:3: note: in expansion of macro '__blocked_loop'
# 320 | __blocked_loop (_nc_aesni_dec, _nc_aesni_dec8, src, dst, rk, rounds, blocks);
# | ^~~~~~~~~~~~~~
# src/native/aes/aesni.c:320:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
# 320 | __blocked_loop (_nc_aesni_dec, _nc_aesni_dec8, src, dst, rk, rounds, blocks);
# | ^
# src/native/aes/aesni.c:296:9: note: in definition of macro '__blocked_loop'
# 296 | f1 (__b (src, 5), __b (dst, 5), rk, rounds); \
# | ^~
# src/native/aes/aesni.c:297:7: note: here
# 297 | case 5: \
# | ^~~~
# src/native/aes/aesni.c:320:3: note: in expansion of macro '__blocked_loop'
# 320 | __blocked_loop (_nc_aesni_dec, _nc_aesni_dec8, src, dst, rk, rounds, blocks);
# | ^~~~~~~~~~~~~~
# src/native/aes/aesni.c:320:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
# 320 | __blocked_loop (_nc_aesni_dec, _nc_aesni_dec8, src, dst, rk, rounds, blocks);
# | ^
# src/native/aes/aesni.c:298:9: note: in definition of macro '__blocked_loop'
# 298 | f1 (__b (src, 4), __b (dst, 4), rk, rounds); \
# | ^~
# src/native/aes/aesni.c:299:7: note: here
# 299 | case 4: \
# | ^~~~
# src/native/aes/aesni.c:320:3: note: in expansion of macro '__blocked_loop'
# 320 | __blocked_loop (_nc_aesni_dec, _nc_aesni_dec8, src, dst, rk, rounds, blocks);
# | ^~~~~~~~~~~~~~
# src/native/aes/aesni.c:320:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
# 320 | __blocked_loop (_nc_aesni_dec, _nc_aesni_dec8, src, dst, rk, rounds, blocks);
# | ^
# src/native/aes/aesni.c:300:9: note: in definition of macro '__blocked_loop'
# 300 | f1 (__b (src, 3), __b (dst, 3), rk, rounds); \
# | ^~
# src/native/aes/aesni.c:301:7: note: here
# 301 | case 3: \
# | ^~~~
# src/native/aes/aesni.c:320:3: note: in expansion of macro '__blocked_loop'
# 320 | __blocked_loop (_nc_aesni_dec, _nc_aesni_dec8, src, dst, rk, rounds, blocks);
# | ^~~~~~~~~~~~~~
# src/native/aes/aesni.c:320:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
# 320 | __blocked_loop (_nc_aesni_dec, _nc_aesni_dec8, src, dst, rk, rounds, blocks);
# | ^
# src/native/aes/aesni.c:302:9: note: in definition of macro '__blocked_loop'
# 302 | f1 (__b (src, 2), __b (dst, 2), rk, rounds); \
# | ^~
# src/native/aes/aesni.c:303:7: note: here
# 303 | case 2: \
# | ^~~~
# src/native/aes/aesni.c:320:3: note: in expansion of macro '__blocked_loop'
# 320 | __blocked_loop (_nc_aesni_dec, _nc_aesni_dec8, src, dst, rk, rounds, blocks);
# | ^~~~~~~~~~~~~~
# src/native/aes/aesni.c:320:19: warning: this statement may fall through [-Wimplicit-fallthrough=]
# 320 | __blocked_loop (_nc_aesni_dec, _nc_aesni_dec8, src, dst, rk, rounds, blocks);
# | ^
# src/native/aes/aesni.c:304:9: note: in definition of macro '__blocked_loop'
# 304 | f1 (__b (src, 1), __b (dst, 1), rk, rounds); \
# | ^~
# src/native/aes/aesni.c:305:7: note: here
# 305 | case 1: \
# | ^~~~
# src/native/aes/aesni.c:320:3: note: in expansion of macro '__blocked_loop'
# 320 | __blocked_loop (_nc_aesni_dec, _nc_aesni_dec8, src, dst, rk, rounds, blocks);
# | ^~~~~~~~~~~~~~
# + mv aesni.o src/native/aes/aesni.o
# + ocamlfind ocamlc -g -ccopt '-DACCELERATE -msse2 -maes' -ccopt '--std=c99 -Wall -Wextra -O3' -package bytes -package sexplib -package cstruct -c src/native/des/generic.c
# + ocamlfind ocamlc -g -ccopt '-DACCELERATE -msse2 -maes' -ccopt '--std=c99 -Wall -Wextra -O3' -package bytes -package sexplib -package cstruct -c src/native/des/generic.c
# src/native/des/generic.c:405:28: warning: argument 1 of type 'unsigned char[16]' with mismatched bound [-Warray-parameter=]
# 405 | void des2key(unsigned char hexkey[16], short mode) /* stomps on Kn3 too */
# | ~~~~~~~~~~~~~~^~~~~~~~~~
# In file included from src/native/des/generic.c:20:
# src/native/des/generic.h:67:21: note: previously declared as 'unsigned char *'
# 67 | extern void des2key(unsigned char *, short);
# | ^~~~~~~~~~~~~~~
# src/native/des/generic.c:537:28: warning: argument 1 of type 'unsigned char[24]' with mismatched bound [-Warray-parameter=]
# 537 | void des3key(unsigned char hexkey[24], short mode)
# | ~~~~~~~~~~~~~~^~~~~~~~~~
# In file included from src/native/des/generic.c:20:
# src/native/des/generic.h:126:21: note: previously declared as 'unsigned char *'
# 126 | extern void des3key(unsigned char *, short);
# | ^~~~~~~~~~~~~~~
# + mv generic.o src/native/des/generic.o
# + ocamlfind ocamlmklib -o src/nocrypto_stubs -g src/native/misc.o src/native/hash/stubs.o src/native/hash/md5.o src/native/hash/sha1.o src/native/hash/sha256.o src/native/hash/sha512.o src/native/aes/generic.o src/native/aes/aesni.o src/native/des/generic.o
# + ocamlfind ocamldep -package zarith -package ppx_sexp_conv -package bytes -package sexplib -package cstruct -modules src/nocrypto.mli > src/nocrypto.mli.depends
# + ocamlfind ocamldep -package zarith -package ppx_sexp_conv -package bytes -package sexplib -package cstruct -modules src/native.ml > src/native.ml.depends
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/native.cmo src/native.ml
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/native.cmo src/native.ml
# File "src/native.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/nocrypto.cmi src/nocrypto.mli
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/nocrypto.cmi src/nocrypto.mli
# File "src/nocrypto.mli", line 532, characters 19-20:
# 532 | module Make (H : Hash.S) : S.Generator
# ^
# Warning 67 [unused-functor-parameter]: unused functor parameter H.
#
# File "src/nocrypto.mli", line 749, characters 15-16:
# 749 | module OAEP (H : Hash.S) : sig
# ^
# Warning 67 [unused-functor-parameter]: unused functor parameter H.
#
# File "src/nocrypto.mli", line 769, characters 14-15:
# 769 | module PSS (H: Hash.S) : sig
# ^
# Warning 67 [unused-functor-parameter]: unused functor parameter H.
#
# File "src/nocrypto.mli", line 862, characters 16-17:
# 862 | module K_gen (H : Hash.S) : sig
# ^
# Warning 67 [unused-functor-parameter]: unused functor parameter H.
# + ocamlfind ocamldep -package zarith -package ppx_sexp_conv -package bytes -package sexplib -package cstruct -modules src/uncommon.ml > src/uncommon.ml.depends
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/uncommon.cmo src/uncommon.ml
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/uncommon.cmo src/uncommon.ml
# File "src/uncommon.ml", line 79, characters 16-19:
# 79 | let null cs = len cs = 0
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 82, characters 13-16:
# 82 | let l1 = len cs1 and l2 = len cs2 in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 82, characters 30-33:
# 82 | let l1 = len cs1 and l2 = len cs2 in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 101, characters 13-16:
# 101 | let n1 = len cs1 and n2 = len cs2 in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 101, characters 30-33:
# 101 | let n1 = len cs1 and n2 = len cs2 in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 112, characters 17-20:
# 112 | go None off (len cs - off)
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 120, characters 17-20:
# 120 | if n > imin (len src) (len dst) then
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 120, characters 27-30:
# 120 | if n > imin (len src) (len dst) then
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 125, characters 20-23:
# 125 | let len = imin (len cs1) (len cs2) in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 125, characters 30-33:
# 125 | let len = imin (len cs1) (len cs2) in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 134, characters 14-17:
# 134 | let n = len cs in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 144, characters 27-30:
# 144 | (sub cs 0 l, sub cs l (len cs - l))
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 148, characters 44-47:
# 148 | (sub cs 0 l1, sub cs l1 l2, sub cs l12 (len cs - l12))
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 151, characters 12-15:
# 151 | let l = len cs and cs' = Cstruct.create size in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 158, characters 12-15:
# 158 | let l = len cs and cs' = Cstruct.create size in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/native.cmx src/native.ml
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/native.cmx src/native.ml
# File "src/native.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamldep -package zarith -package ppx_sexp_conv -package bytes -package sexplib -package cstruct -modules src/base64.ml > src/base64.ml.depends
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/base64.cmo src/base64.ml
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/base64.cmo src/base64.ml
# File "src/base64.ml", line 20, characters 12-15:
# 20 | let n = len cs in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/base64.ml", line 52, characters 12-15:
# 52 | let n = len cs in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/base64.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/uncommon.cmx src/uncommon.ml
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/uncommon.cmx src/uncommon.ml
# File "src/uncommon.ml", line 79, characters 16-19:
# 79 | let null cs = len cs = 0
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 82, characters 13-16:
# 82 | let l1 = len cs1 and l2 = len cs2 in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 82, characters 30-33:
# 82 | let l1 = len cs1 and l2 = len cs2 in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 101, characters 13-16:
# 101 | let n1 = len cs1 and n2 = len cs2 in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 101, characters 30-33:
# 101 | let n1 = len cs1 and n2 = len cs2 in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 112, characters 17-20:
# 112 | go None off (len cs - off)
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 120, characters 17-20:
# 120 | if n > imin (len src) (len dst) then
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 120, characters 27-30:
# 120 | if n > imin (len src) (len dst) then
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 125, characters 20-23:
# 125 | let len = imin (len cs1) (len cs2) in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 125, characters 30-33:
# 125 | let len = imin (len cs1) (len cs2) in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 134, characters 14-17:
# 134 | let n = len cs in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 144, characters 27-30:
# 144 | (sub cs 0 l, sub cs l (len cs - l))
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 148, characters 44-47:
# 148 | (sub cs 0 l1, sub cs l1 l2, sub cs l12 (len cs - l12))
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 151, characters 12-15:
# 151 | let l = len cs and cs' = Cstruct.create size in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 158, characters 12-15:
# 158 | let l = len cs and cs' = Cstruct.create size in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/uncommon.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamldep -package zarith -package ppx_sexp_conv -package bytes -package sexplib -package cstruct -modules src/hash.ml > src/hash.ml.depends
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/hash.cmo src/hash.ml
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/hash.cmo src/hash.ml
# File "src/hash.ml", line 70, characters 19-30:
# 70 | match compare (Cstruct.len key) block_size with
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/hash.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamldep -package zarith -package ppx_sexp_conv -package bytes -package sexplib -package cstruct -modules src/cipher_stream.ml > src/cipher_stream.ml.depends
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/cipher_stream.cmo src/cipher_stream.ml
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/cipher_stream.cmo src/cipher_stream.ml
# File "src/cipher_stream.ml", line 18, characters 14-25:
# 18 | let len = Cstruct.len cs in
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/cipher_stream.ml", line 35, characters 14-25:
# 35 | and len = Cstruct.len cs in
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/cipher_stream.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamldep -package zarith -package ppx_sexp_conv -package bytes -package sexplib -package cstruct -modules src/cipher_block.ml > src/cipher_block.ml.depends
# + ocamlfind ocamldep -package zarith -package ppx_sexp_conv -package bytes -package sexplib -package cstruct -modules src/ccm.ml > src/ccm.ml.depends
# + ocamlfind ocamldep -package zarith -package ppx_sexp_conv -package bytes -package sexplib -package cstruct -modules src/gcm.ml > src/gcm.ml.depends
# + ocamlfind ocamldep -package zarith -package ppx_sexp_conv -package bytes -package sexplib -package cstruct -modules src/numeric.ml > src/numeric.ml.depends
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/numeric.cmo src/numeric.ml
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/numeric.cmo src/numeric.ml
# File "src/numeric.ml", line 141, characters 18-29:
# 141 | | None -> Cstruct.len cs * 8
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/numeric.ml", line 142, characters 26-37:
# 142 | | Some b -> imin b (Cstruct.len cs * 8)
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/numeric.ml", line 166, characters 13-16:
# 166 | write n (len cs - 1)
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/numeric.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/ccm.cmo src/ccm.ml
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/ccm.cmo src/ccm.ml
# File "src/ccm.ml", line 31, characters 10-21:
# 31 | let n = Cstruct.len nonce in
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/ccm.ml", line 48, characters 13-24:
# 48 | let size = Cstruct.len b in
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/ccm.ml", line 53, characters 10-21:
# 53 | match Cstruct.len a with
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/ccm.ml", line 70, characters 10-21:
# 70 | let n = Cstruct.len nonce in
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/ccm.ml", line 89, characters 16-27:
# 89 | let datalen = Cstruct.len data in
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/ccm.ml", line 107, characters 12-23:
# 107 | match Cstruct.len block with
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/ccm.ml", line 123, characters 10-21:
# 123 | match Cstruct.len src with
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/ccm.ml", line 149, characters 21-32:
# 149 | Cs.xor_into ctr t (Cstruct.len t)
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/ccm.ml", line 158, characters 16-27:
# 158 | let nsize = Cstruct.len nonce in
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/ccm.ml", line 161, characters 5-16:
# 161 | if Cstruct.len data <= maclen then
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/ccm.ml", line 164, characters 16-27:
# 164 | let pclen = Cstruct.len data - maclen in
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/ccm.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/gcm.cmo src/gcm.ml
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/gcm.cmo src/gcm.ml
# File "src/gcm.ml", line 115, characters 10-13:
# 115 | match len cs with
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/gcm.ml", line 125, characters 20-23:
# 125 | Cs.create (p_len (len cs))
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/gcm.ml", line 127, characters 29-32:
# 127 | let nbits cs = Int64.of_int (len cs * 8)
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/gcm.ml", line 132, characters 17-20:
# 132 | let j0 = match len iv with
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/gcm.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/cipher_block.cmo src/cipher_block.ml
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/cipher_block.cmo src/cipher_block.ml
# File "src/cipher_block.ml", line 187, characters 16-19:
# 187 | let n = len src in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/cipher_block.ml", line 190, characters 28-31:
# 190 | let dst = create @@ len src in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/cipher_block.ml", line 209, characters 9-12:
# 209 | if len iv <> block then
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/cipher_block.ml", line 211, characters 9-12:
# 211 | if len cs mod block <> 0 then
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/cipher_block.ml", line 216, characters 9-12:
# 216 | if len cs > 0 then
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/cipher_block.ml", line 217, characters 16-19:
# 217 | sub cs (len cs - block_size) block_size
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/cipher_block.ml", line 230, characters 37-40:
# 230 | loop iv.buffer iv.off msg.off (len msg / block) ;
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/cipher_block.ml", line 235, characters 24-27:
# 235 | let msg = create (len src)
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/cipher_block.ml", line 236, characters 16-19:
# 236 | and b = len src / block in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/cipher_block.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/numeric.cmx src/numeric.ml
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/numeric.cmx src/numeric.ml
# File "src/numeric.ml", line 141, characters 18-29:
# 141 | | None -> Cstruct.len cs * 8
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/numeric.ml", line 142, characters 26-37:
# 142 | | Some b -> imin b (Cstruct.len cs * 8)
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/numeric.ml", line 166, characters 13-16:
# 166 | write n (len cs - 1)
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/numeric.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/ccm.cmx src/ccm.ml
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/ccm.cmx src/ccm.ml
# File "src/ccm.ml", line 31, characters 10-21:
# 31 | let n = Cstruct.len nonce in
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/ccm.ml", line 48, characters 13-24:
# 48 | let size = Cstruct.len b in
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/ccm.ml", line 53, characters 10-21:
# 53 | match Cstruct.len a with
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/ccm.ml", line 70, characters 10-21:
# 70 | let n = Cstruct.len nonce in
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/ccm.ml", line 89, characters 16-27:
# 89 | let datalen = Cstruct.len data in
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/ccm.ml", line 107, characters 12-23:
# 107 | match Cstruct.len block with
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/ccm.ml", line 123, characters 10-21:
# 123 | match Cstruct.len src with
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/ccm.ml", line 149, characters 21-32:
# 149 | Cs.xor_into ctr t (Cstruct.len t)
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/ccm.ml", line 158, characters 16-27:
# 158 | let nsize = Cstruct.len nonce in
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/ccm.ml", line 161, characters 5-16:
# 161 | if Cstruct.len data <= maclen then
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/ccm.ml", line 164, characters 16-27:
# 164 | let pclen = Cstruct.len data - maclen in
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/ccm.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/gcm.cmx src/gcm.ml
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/gcm.cmx src/gcm.ml
# File "src/gcm.ml", line 115, characters 10-13:
# 115 | match len cs with
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/gcm.ml", line 125, characters 20-23:
# 125 | Cs.create (p_len (len cs))
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/gcm.ml", line 127, characters 29-32:
# 127 | let nbits cs = Int64.of_int (len cs * 8)
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/gcm.ml", line 132, characters 17-20:
# 132 | let j0 = match len iv with
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/gcm.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamldep -package zarith -package ppx_sexp_conv -package bytes -package sexplib -package cstruct -modules src/rng.ml > src/rng.ml.depends
# + ocamlfind ocamldep -package zarith -package ppx_sexp_conv -package bytes -package sexplib -package cstruct -modules src/fortuna.ml > src/fortuna.ml.depends
# + ocamlfind ocamldep -package zarith -package ppx_sexp_conv -package bytes -package sexplib -package cstruct -modules src/hmac_drgb.ml > src/hmac_drgb.ml.depends
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/fortuna.cmo src/fortuna.ml
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/fortuna.cmo src/fortuna.ml
# File "src/fortuna.ml", line 102, characters 43-54:
# 102 | SHAd256.feed h (Cs.of_bytes [ source ; Cstruct.len data ]) ;
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/fortuna.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/hmac_drgb.cmo src/hmac_drgb.ml
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/hmac_drgb.cmo src/hmac_drgb.ml
# File "src/hmac_drgb.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/rng.cmo src/rng.ml
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/rng.cmo src/rng.ml
# File "src/rng.ml", line 153, characters 20-31:
# 153 | let seeded ~g = Cstruct.len !g > 0
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/rng.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/cipher_block.cmx src/cipher_block.ml
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/cipher_block.cmx src/cipher_block.ml
# File "src/cipher_block.ml", line 187, characters 16-19:
# 187 | let n = len src in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/cipher_block.ml", line 190, characters 28-31:
# 190 | let dst = create @@ len src in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/cipher_block.ml", line 209, characters 9-12:
# 209 | if len iv <> block then
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/cipher_block.ml", line 211, characters 9-12:
# 211 | if len cs mod block <> 0 then
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/cipher_block.ml", line 216, characters 9-12:
# 216 | if len cs > 0 then
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/cipher_block.ml", line 217, characters 16-19:
# 217 | sub cs (len cs - block_size) block_size
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/cipher_block.ml", line 230, characters 37-40:
# 230 | loop iv.buffer iv.off msg.off (len msg / block) ;
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/cipher_block.ml", line 235, characters 24-27:
# 235 | let msg = create (len src)
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/cipher_block.ml", line 236, characters 16-19:
# 236 | and b = len src / block in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/cipher_block.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/hash.cmx src/hash.ml
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/hash.cmx src/hash.ml
# File "src/hash.ml", line 70, characters 19-30:
# 70 | match compare (Cstruct.len key) block_size with
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/hash.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/fortuna.cmx src/fortuna.ml
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/fortuna.cmx src/fortuna.ml
# File "src/fortuna.ml", line 102, characters 43-54:
# 102 | SHAd256.feed h (Cs.of_bytes [ source ; Cstruct.len data ]) ;
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/fortuna.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/hmac_drgb.cmx src/hmac_drgb.ml
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/hmac_drgb.cmx src/hmac_drgb.ml
# File "src/hmac_drgb.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamldep -package zarith -package ppx_sexp_conv -package bytes -package sexplib -package cstruct -modules src/rsa.ml > src/rsa.ml.depends
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/rsa.cmo src/rsa.ml
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/rsa.cmo src/rsa.ml
# File "src/rsa.ml", line 113, characters 27-30:
# 113 | let pad = padding (k - len msg - 3) in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/rsa.ml", line 125, characters 28-31:
# 125 | Some (sub cs (i + 1) (len cs - i - 1))
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/rsa.ml", line 136, characters 14-17:
# 136 | if size - len msg < min_pad then raise Insufficient_key ;
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/rsa.ml", line 140, characters 7-10:
# 140 | if len msg = bytes keybits then
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/rsa.ml", line 171, characters 41-44:
# 171 | let mask ~seed cs = Cs.xor (mgf ~seed (len cs)) cs
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/rsa.ml", line 187, characters 45-48:
# 187 | and pad = Cs.create (max_msg_bytes k - len msg) in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/rsa.ml", line 207, characters 7-10:
# 207 | if len msg > max_msg_bytes k then raise Insufficient_key
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/rsa.ml", line 212, characters 7-10:
# 212 | if len em <> k || max_msg_bytes k < 0 then None
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/rsa.ml", line 250, characters 25-28:
# 250 | let salt = shift db (len db - slen) in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/rsa.ml", line 271, characters 12-15:
# 271 | and s = len signature in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/rsa.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/rng.cmx src/rng.ml
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/rng.cmx src/rng.ml
# File "src/rng.ml", line 153, characters 20-31:
# 153 | let seeded ~g = Cstruct.len !g > 0
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/rng.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamldep -package zarith -package ppx_sexp_conv -package bytes -package sexplib -package cstruct -modules src/dsa.ml > src/dsa.ml.depends
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/dsa.cmo src/dsa.ml
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/dsa.cmo src/dsa.ml
# File "src/dsa.ml", line 104, characters 13-24:
# 104 | if bits >= Cstruct.len digest * 8 then digest else
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/dsa.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamldep -package zarith -package ppx_sexp_conv -package bytes -package sexplib -package cstruct -modules src/dh.ml > src/dh.ml.depends
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/dh.cmo src/dh.ml
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/dh.cmo src/dh.ml
# File "src/dh.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/base64.cmx src/base64.ml
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/base64.cmx src/base64.ml
# File "src/base64.ml", line 20, characters 12-15:
# 20 | let n = len cs in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/base64.ml", line 52, characters 12-15:
# 52 | let n = len cs in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/base64.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/cipher_stream.cmx src/cipher_stream.ml
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/cipher_stream.cmx src/cipher_stream.ml
# File "src/cipher_stream.ml", line 18, characters 14-25:
# 18 | let len = Cstruct.len cs in
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/cipher_stream.ml", line 35, characters 14-25:
# 35 | and len = Cstruct.len cs in
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/cipher_stream.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/rsa.cmx src/rsa.ml
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/rsa.cmx src/rsa.ml
# File "src/rsa.ml", line 113, characters 27-30:
# 113 | let pad = padding (k - len msg - 3) in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/rsa.ml", line 125, characters 28-31:
# 125 | Some (sub cs (i + 1) (len cs - i - 1))
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/rsa.ml", line 136, characters 14-17:
# 136 | if size - len msg < min_pad then raise Insufficient_key ;
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/rsa.ml", line 140, characters 7-10:
# 140 | if len msg = bytes keybits then
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/rsa.ml", line 171, characters 41-44:
# 171 | let mask ~seed cs = Cs.xor (mgf ~seed (len cs)) cs
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/rsa.ml", line 187, characters 45-48:
# 187 | and pad = Cs.create (max_msg_bytes k - len msg) in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/rsa.ml", line 207, characters 7-10:
# 207 | if len msg > max_msg_bytes k then raise Insufficient_key
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/rsa.ml", line 212, characters 7-10:
# 212 | if len em <> k || max_msg_bytes k < 0 then None
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/rsa.ml", line 250, characters 25-28:
# 250 | let salt = shift db (len db - slen) in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/rsa.ml", line 271, characters 12-15:
# 271 | and s = len signature in
# ^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/rsa.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/dsa.cmx src/dsa.ml
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/dsa.cmx src/dsa.ml
# File "src/dsa.ml", line 104, characters 13-24:
# 104 | if bits >= Cstruct.len digest * 8 then digest else
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
#
# File "src/dsa.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/dh.cmx src/dh.ml
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package zarith -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I src -I lwt -I mirage -I unix -o src/dh.cmx src/dh.ml
# File "src/dh.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + ocamlfind ocamlopt -pack -g -bin-annot -package ppx_sexp_conv -package bytes -package sexplib -package cstruct -I src src/native.cmx src/uncommon.cmx src/base64.cmx src/hash.cmx src/cipher_stream.cmx src/ccm.cmx src/numeric.cmx src/gcm.cmx src/cipher_block.cmx src/fortuna.cmx src/hmac_drgb.cmx src/rng.cmx src/rsa.cmx src/dsa.cmx src/dh.cmx -o src/nocrypto.cmx
# + ocamlfind ocamlopt -a -package bytes -cclib -lnocrypto_stubs -package sexplib -package cstruct -I src src/nocrypto.cmx -o src/nocrypto.cmxa
# + ocamlfind ocamlopt -shared -linkall -I . -I lwt -I mirage -I src -I unix -package bytes -package sexplib -package cstruct -I src src/nocrypto.cmxa -o src/nocrypto.cmxs
# + ocamlfind ocamlc -pack -g -bin-annot -package ppx_sexp_conv -package bytes -for-pack Nocrypto -package sexplib -package cstruct src/native.cmo src/uncommon.cmo src/base64.cmo src/hash.cmo src/cipher_stream.cmo src/ccm.cmo src/numeric.cmo src/gcm.cmo src/cipher_block.cmo src/fortuna.cmo src/hmac_drgb.cmo src/rng.cmo src/rsa.cmo src/dsa.cmo src/dh.cmo -o src/nocrypto.cmo
# + ocamlfind ocamlc -a -package bytes -dllib -lnocrypto_stubs -cclib -lnocrypto_stubs -package sexplib -package cstruct -I src src/nocrypto.cmo -o src/nocrypto.cma
# + ocamlfind ocamldep -package unix -package bytes -package sexplib -package cstruct -modules unix/nocrypto_entropy_unix.ml > unix/nocrypto_entropy_unix.ml.depends
# + ocamlfind ocamldep -package unix -package bytes -package sexplib -package cstruct -modules unix/nocrypto_entropy_unix.mli > unix/nocrypto_entropy_unix.mli.depends
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package unix -package bytes -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I unix -I lwt -I mirage -I src -o unix/nocrypto_entropy_unix.cmi unix/nocrypto_entropy_unix.mli
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package unix -package bytes -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I unix -I lwt -I mirage -I src -o unix/nocrypto_entropy_unix.cmx unix/nocrypto_entropy_unix.ml
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package unix -package bytes -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I unix -I lwt -I mirage -I src -o unix/nocrypto_entropy_unix.cmx unix/nocrypto_entropy_unix.ml
# File "unix/nocrypto_entropy_unix.ml", line 31, characters 16-27:
# 31 | feed (n - Cstruct.len cs) fd in
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
# + ocamlfind ocamlopt -a -package bytes -package sexplib -package cstruct -I unix unix/nocrypto_entropy_unix.cmx -o unix/nocrypto_unix.cmxa
# + ocamlfind ocamlopt -shared -linkall -I . -I lwt -I mirage -I src -I unix -package bytes -package sexplib -package cstruct -I unix unix/nocrypto_unix.cmxa -o unix/nocrypto_unix.cmxs
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package unix -package bytes -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I unix -I lwt -I mirage -I src -o unix/nocrypto_entropy_unix.cmo unix/nocrypto_entropy_unix.ml
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package unix -package bytes -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I unix -I lwt -I mirage -I src -o unix/nocrypto_entropy_unix.cmo unix/nocrypto_entropy_unix.ml
# File "unix/nocrypto_entropy_unix.ml", line 31, characters 16-27:
# 31 | feed (n - Cstruct.len cs) fd in
# ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
# + ocamlfind ocamlc -a -package bytes -package sexplib -package cstruct -I unix unix/nocrypto_entropy_unix.cmo -o unix/nocrypto_unix.cma
# + ocamlfind ocamldep -package lwt.unix -package cstruct-lwt -package bytes -package sexplib -package cstruct -modules lwt/nocrypto_entropy_lwt.ml > lwt/nocrypto_entropy_lwt.ml.depends
# + ocamlfind ocamldep -package lwt.unix -package cstruct-lwt -package bytes -package sexplib -package cstruct -modules lwt/nocrypto_entropy_lwt.mli > lwt/nocrypto_entropy_lwt.mli.depends
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -package lwt.unix -package cstruct-lwt -package bytes -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I lwt -I mirage -I src -I unix -o lwt/nocrypto_entropy_lwt.cmi lwt/nocrypto_entropy_lwt.mli
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package lwt.unix -package cstruct-lwt -package bytes -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I lwt -I mirage -I src -I unix -o lwt/nocrypto_entropy_lwt.cmx lwt/nocrypto_entropy_lwt.ml
# + ocamlfind ocamlopt -c -g -bin-annot -safe-string -package lwt.unix -package cstruct-lwt -package bytes -package sexplib -package cstruct -w A-4-29-33-40-41-42-43-34-44-48 -color always -I lwt -I mirage -I src -I unix -o lwt/nocrypto_entropy_lwt.cmx lwt/nocrypto_entropy_lwt.ml
# File "lwt/nocrypto_entropy_lwt.ml", line 19, characters 26-38:
# 19 | remove : (unit -> unit) Lwt_sequence.node ;
# ^^^^^^^^^^^^
# Alert deprecated: module Lwt_sequence
# Use package lwt-dllist. See
# https://github.com/mirage/lwt-dllist
#
# File "lwt/nocrypto_entropy_lwt.ml", line 42, characters 6-18:
# 42 | Lwt_sequence.add_r (background ~period seed) Lwt_main.enter_iter_hooks in
# ^^^^^^^^^^^^
# Alert deprecated: module Lwt_sequence
# Use package lwt-dllist. See
# https://github.com/mirage/lwt-dllist
#
# File "lwt/nocrypto_entropy_lwt.ml", line 42, characters 51-76:
# 42 | Lwt_sequence.add_r (background ~period seed) Lwt_main.enter_iter_hooks in
# ^^^^^^^^^^^^^^^^^^^^^^^^^
# Error: Unbound value Lwt_main.enter_iter_hooks
# Command exited with code 2.
# pkg.ml: [ERROR] cmd ['ocamlbuild' '-use-ocamlfind' '-classic-display' '-tag' 'debug'
# '-build-dir' '_build' '-plugin-tag' 'package(ocb-stubblr)' '-tag'
# 'accelerate' 'opam' 'pkg/META' 'CHANGES.md' 'LICENSE.md' 'README.md'
# 'src/dllnocrypto_stubs.so' 'src/libnocrypto_stubs.a' 'src/nocrypto.a'
# 'src/nocrypto.cmxs' 'src/nocrypto.cmxa' 'src/nocrypto.cma'
# 'src/nocrypto.cmx' 'src/nocrypto.cmi' 'src/nocrypto.mli'
# 'unix/nocrypto_unix.a' 'unix/nocrypto_unix.cmxs'
# 'unix/nocrypto_unix.cmxa' 'unix/nocrypto_unix.cma'
# 'unix/nocrypto_entropy_unix.cmx' 'unix/nocrypto_entropy_unix.cmi'
# 'unix/nocrypto_entropy_unix.mli' 'lwt/nocrypto_lwt.a'
# 'lwt/nocrypto_lwt.cmxs' 'lwt/nocrypto_lwt.cmxa' 'lwt/nocrypto_lwt.cma'
# 'lwt/nocrypto_entropy_lwt.cmx' 'lwt/nocrypto_entropy_lwt.cmi'
# 'lwt/nocrypto_entropy_lwt.mli']: exited with 10
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build nocrypto 0.5.4-1
+-
+- The following changes have been performed
| - install astring 0.8.5
| - install base v0.17.3
| - install base-bytes base
| - install bigarray-compat 1.1.0
| - install conf-gmp 5
| - install conf-pkg-config 4
| - install cppo 1.8.0
| - install cpuid 0.1.2
| - install csexp 1.5.2
| - install cstruct 6.0.1
| - install cstruct-lwt 6.0.1
| - install dune 3.21.1
| - install dune-configurator 3.21.1
| - install lwt 6.1.1
| - install mirage-no-solo5 1
| - install mirage-no-xen 1
| - install num 1.6
| - install ocaml-compiler-libs v0.17.0
| - install ocaml_intrinsics_kernel v0.17.1
| - install ocamlbuild 0.16.1
| - install ocamlfind 1.9.8
| - install ocb-stubblr 0.1.1-1
| - install ocplib-endian 1.2
| - install parsexp v0.17.0
| - install ppx_derivers 1.2.1
| - install ppx_deriving 6.1.1
| - install ppx_sexp_conv v0.17.1
| - install ppxlib 0.37.0
| - install ppxlib_jane v0.17.4
| - install sexplib v0.17.0
| - install sexplib0 v0.17.0
| - install stdlib-shims 0.3.0
| - install topkg 1.1.1
| - install zarith 1.14
+-
<><> mirage-no-xen.1 installed successfully <><><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
<><> mirage-no-solo5.1 installed successfully <><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# 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-20260310092417.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 nocrypto.0.5.4-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 "\"ubuntu-22.04\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'nocrypto.0.5.4-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
2026-03-10 09:25.53: Job failed: Failed: Build failed
2026-03-10 09:25.53: Log analysis:
2026-03-10 09:25.53: >>>
[ERROR] The compilation of nocrypto.0.5.4-1 failed at "ocaml pkg/pkg.ml build --pinned true --tests false --jobs 1 --with-lwt true --xen false --freestanding false".
(score = 20)
2026-03-10 09:25.53: The compilation of nocrypto.0.5.4-1 failed at "ocaml pkg/pkg.ml build --pinned true --tests false --jobs 1 --with-lwt true --xen false --freestanding false".