- github
- ocaml
- opam-repository
- 6f0fc6
- compilers,5.4,mirage-runtime.4.10.4,revdeps,sendmail.0.3.0
(not at the head of any monitored branch or PR)
2025-11-21 11:38.59: New job: test sendmail.0.3.0 with mirage-runtime.4.10.4, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28942/head (6f0fc6a951253ffe47c1572d3ded0aa67df3d990)
on debian-13-ocaml-5.4/amd64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/28942/head" && git reset --hard 6f0fc6a9
git fetch origin master
git merge --no-edit ee3428377a13c3c9716b6f791c33441cfb542498
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:57c83c9f9a1885d6982e64ff7d1de47223738f31f635056b0165042eaec3081f
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 mirage-runtime.4.10.4 4.10.4
RUN opam reinstall mirage-runtime.4.10.4; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'mirage-runtime.4.10.4' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall sendmail.0.3.0; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'sendmail.0.3.0' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test sendmail.0.3.0) || true
RUN opam reinstall --with-test --verbose sendmail.0.3.0; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'sendmail.0.3.0' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2025-11-21 11:38.59: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:57c83c9f9a1885d6982e64ff7d1de47223738f31f635056b0165042eaec3081f-mirage-runtime.4.10.4-sendmail.0.3.0-6f0fc6a951253ffe47c1572d3ded0aa67df3d990"
2025-11-21 11:38.59: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:57c83c9f9a1885d6982e64ff7d1de47223738f31f635056b0165042eaec3081f)
(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 mirage-runtime.4.10.4 4.10.4"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mirage-runtime.4.10.4;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'mirage-runtime.4.10.4' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall sendmail.0.3.0;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'sendmail.0.3.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test sendmail.0.3.0) || true"))
(run (shell "opam reinstall --with-test --verbose sendmail.0.3.0;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'sendmail.0.3.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-11-21 11:38.59: Waiting for resource in pool OCluster
2025-11-21 13:45.13: Waiting for worker…
2025-11-21 13:50.20: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at ee3428377a Merge pull request #28925 from edwintorok/rocky
Updating ee3428377a..6f0fc6a951
Fast-forward
packages/mirage-runtime/mirage-runtime.4.10.4/opam | 45 +++++++++++++++
packages/mirage/mirage.4.10.4/opam | 64 ++++++++++++++++++++++
2 files changed, 109 insertions(+)
create mode 100644 packages/mirage-runtime/mirage-runtime.4.10.4/opam
create mode 100644 packages/mirage/mirage.4.10.4/opam
(from ocaml/opam:debian-13-ocaml-5.4@sha256:57c83c9f9a1885d6982e64ff7d1de47223738f31f635056b0165042eaec3081f)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:57c83c9f9a1885d6982e64ff7d1de47223738f31f635056b0165042eaec3081f' locally
docker.io/ocaml/opam@sha256:57c83c9f9a1885d6982e64ff7d1de47223738f31f635056b0165042eaec3081f: Pulling from ocaml/opam
13cc39f8244a: Already exists
9d7c1cac6af4: Already exists
979e6521bf84: Already exists
b129e961d700: Already exists
9288fc69cd29: Already exists
b232c90b1855: Already exists
658a78f60f44: Already exists
b3e6010fbc4c: Already exists
e75ac7b73fdb: Already exists
f1dbfc01d8b6: Already exists
42e8958c94a5: Already exists
1c77fd15fa4b: Already exists
f8ae0ec2765e: Already exists
87b5808a8709: Already exists
6551add7b2f4: Already exists
a050a941214a: Already exists
da6cadefa7ea: Already exists
0a3e89137cf8: Already exists
cc34154fc322: Already exists
eb7661180f3a: Already exists
faad806bf7c5: Already exists
4f4fb700ef54: Already exists
fe5692607199: Already exists
caa548e7f855: Already exists
8ad66e641b14: Already exists
b9d5d27dc0b6: Already exists
788961b65661: Already exists
9ed95272e11f: Already exists
82c1497059a3: Already exists
8abbeded2fb9: Already exists
1276181ef5dc: Already exists
0bd63c9342a5: Already exists
0294cf425d8c: Already exists
def43d8fc04c: Already exists
c87ed18f9ca6: Already exists
056f995b50a2: Already exists
c9f03af6c585: Already exists
4e0df0b17574: Already exists
1fcd55c53252: Already exists
9fe15f147c9c: Already exists
6aba0bde3b08: Pulling fs layer
eb47c999a07f: Pulling fs layer
c3b5761e8351: Pulling fs layer
cb4d7f22a33c: Pulling fs layer
e164f89870e6: Pulling fs layer
cfbece6412d9: Pulling fs layer
351f77100e84: Pulling fs layer
e164f89870e6: Waiting
cb4d7f22a33c: Waiting
cfbece6412d9: Waiting
351f77100e84: Waiting
eb47c999a07f: Verifying Checksum
eb47c999a07f: Download complete
6aba0bde3b08: Verifying Checksum
6aba0bde3b08: Download complete
6aba0bde3b08: Pull complete
eb47c999a07f: Pull complete
c3b5761e8351: Verifying Checksum
c3b5761e8351: Download complete
e164f89870e6: Verifying Checksum
e164f89870e6: Download complete
c3b5761e8351: Pull complete
cfbece6412d9: Verifying Checksum
cfbece6412d9: Download complete
351f77100e84: Verifying Checksum
351f77100e84: Download complete
cb4d7f22a33c: Verifying Checksum
cb4d7f22a33c: Download complete
cb4d7f22a33c: Pull complete
e164f89870e6: Pull complete
cfbece6412d9: Pull complete
351f77100e84: Pull complete
Digest: sha256:57c83c9f9a1885d6982e64ff7d1de47223738f31f635056b0165042eaec3081f
Status: Downloaded newer image for ocaml/opam@sha256:57c83c9f9a1885d6982e64ff7d1de47223738f31f635056b0165042eaec3081f
2025-11-21 13:50.37 ---> using "9e1915ffb50e2d100090b64fd44ae95ca325d8eb9d61c3d158d7a2820cdf10df" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-11-21 13:50.37 ---> using "a89d67f47dc052c1fa6030e991f2efcdc18bdc7264e253a16a68cf41a783bce3" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-11-21 13:50.37 ---> using "e7d59cafe29d8677915af1babfeae58e54d4207f14885cb246c86d55bd5a1482" 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~beta1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=13
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2025-11-21 13:50.37 ---> using "80387795d0623d5b8910397dfc254dc25728af00fb9518d563d3ea0db362594e" from cache
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMPRECISETRACKING 1)
/home/opam: (env CI true)
/home/opam: (env OPAM_REPO_CI true)
/home/opam: (run (shell "rm -rf opam-repository/"))
2025-11-21 13:50.37 ---> using "6da5271e5f4dd5d40dbe155387da7d3527dee1feeddc83c0cf4a90dece1ce186" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-21 13:50.38 ---> using "7360cbd4f83e33f562cfc0da68b316e6c881bb8d88b9980b11a8e9a001ec00b6" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-21 13:50.38 ---> using "9078fd6c3ea99145ea766c9552080ee9aecb16354daa6464e18e586337763830" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [71.8 kB]
- Fetched 9973 kB in 2s (4430 kB/s)
- Reading package lists...
2025-11-21 13:50.38 ---> using "7f3eb78a2c8e4680393cb0b91a7f13782f99e6fc26b26088bff7fd9c7cd352ed" from cache
/home/opam: (run (shell "opam pin add -k version -yn mirage-runtime.4.10.4 4.10.4"))
mirage-runtime is now pinned to version 4.10.4
2025-11-21 13:50.38 ---> using "b83a8ca7f9981f63d688361aa24ef259223cf6de411564e76bae28974700f8cd" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mirage-runtime.4.10.4;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'mirage-runtime.4.10.4' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
mirage-runtime.4.10.4 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 16 packages
- install base-bytes base [required by ocplib-endian]
- install cmdliner 2.0.0 [required by mirage-runtime]
- install cppo 1.8.0 [required by lwt]
- install csexp 1.5.2 [required by dune-configurator]
- install domain-name 0.5.0 [required by ipaddr]
- install dune 3.20.2 [required by mirage-runtime]
- install dune-configurator 3.20.2 [required by lwt]
- install ipaddr 5.6.1 [required by mirage-runtime]
- install logs 0.10.0 [required by mirage-runtime]
- install lwt 5.9.2 [required by mirage-runtime]
- install macaddr 5.6.1 [required by ipaddr]
- install mirage-runtime 4.10.4 (pinned)
- install ocamlbuild 0.16.1 [required by logs]
- install ocamlfind 1.9.8 [required by logs]
- install ocplib-endian 1.2 [required by lwt]
- install topkg 1.1.1 [required by logs]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.0.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved domain-name.0.5.0 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1 (cached)
-> retrieved logs.0.10.0 (cached)
-> retrieved lwt.5.9.2 (cached)
-> retrieved mirage-runtime.4.10.4 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> installed cmdliner.2.0.0
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved topkg.1.1.1 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed domain-name.0.5.0
-> installed macaddr.5.6.1
-> installed ocplib-endian.1.2
-> installed ipaddr.5.6.1
-> installed dune-configurator.3.20.2
-> installed lwt.5.9.2
-> installed logs.0.10.0
-> installed mirage-runtime.4.10.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-21 13:50.38 ---> using "b0ce89a4e1f4cada7c674a0538728e95254f55c89e432290c5f43c9150709941" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall sendmail.0.3.0;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'sendmail.0.3.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
sendmail.0.3.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== recompile 2 packages
- recompile logs 0.10.0 [uses fmt]
- recompile mirage-runtime 4.10.4 (pinned) [uses logs]
=== install 45 packages
- install angstrom 0.16.1 [required by colombe]
- install asn1-combinators 0.2.6 [required by x509]
- install base v0.17.3 [required by ppx_sexp_conv]
- install base64 3.5.2 [required by sendmail]
- install bigarray-compat 1.1.0 [required by cstruct, fiat-p256]
- install bigstringaf 0.10.0 [required by angstrom]
- install colombe 0.3.0 [required by sendmail]
- install conf-gmp 5 [required by conf-gmp-powm-sec, zarith]
- install conf-gmp-powm-sec 4 [required by mirage-crypto-pk]
- install conf-pkg-config 4 [required by fiat-p256, hacl_x25519]
- install cstruct 6.0.1 [required by tls]
- install cstruct-sexp 6.0.1 [required by tls]
- install duration 0.2.1 [required by mirage-crypto-rng]
- install eqaf 0.9 [required by hacl_x25519, fiat-p256, mirage-crypto-pk]
- install fiat-p256 0.2.3 (deprecated) [required by tls]
- install fmt 0.11.0 [required by colombe, tls]
- install gmap 0.3.0 [required by x509]
- install hacl_x25519 0.2.2 (deprecated) [required by tls]
- install hex 1.5.0 [required by fiat-p256]
- install hkdf 1.0.4 (deprecated) [required by tls]
- install mirage-crypto 0.10.7 [required by tls]
- install mirage-crypto-pk 0.10.7 [required by tls]
- install mirage-crypto-rng 0.10.7 [required by tls]
- install mirage-no-solo5 1 (deprecated) [required by mirage-crypto-pk]
- install mirage-no-xen 1 (deprecated) [required by mirage-crypto-pk]
- install mtime 2.1.0 [required by mirage-crypto-rng]
- install num 1.6 [required by sexplib]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ocaml-syntax-shims 1.0.0 [required by colombe]
- install ocaml_intrinsics_kernel v0.17.1 [required by base]
- install parsexp v0.17.0 [required by sexplib]
- install ppx_cstruct 6.0.1 [required by tls]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppx_sexp_conv v0.17.1 [required by tls]
- install ppxlib 0.37.0 [required by ppx_cstruct, ppx_sexp_conv]
- install ppxlib_jane v0.17.4 [required by ppx_sexp_conv]
- install ptime 1.2.0 [required by tls]
- install rresult 0.7.0 [required by x509]
- install sendmail 0.3.0
- install sexplib v0.17.0 [required by tls]
- install sexplib0 v0.17.0 [required by mirage-crypto-pk, ppx_sexp_conv]
- install stdlib-shims 0.3.0 [required by ppx_cstruct]
- install tls 0.12.8 [required by sendmail]
- install x509 0.11.2 [required by tls]
- install zarith 1.14 [required by mirage-crypto-pk]
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"
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20653 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1 (cached)
-> retrieved asn1-combinators.0.2.6 (cached)
-> retrieved base.v0.17.3 (cached)
-> retrieved base64.3.5.2 (cached)
-> retrieved bigarray-compat.1.1.0 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved colombe.0.3.0, sendmail.0.3.0 (cached)
-> retrieved conf-gmp.5 (cached)
-> retrieved conf-gmp-powm-sec.4 (cached)
-> retrieved cstruct.6.0.1, cstruct-sexp.6.0.1, ppx_cstruct.6.0.1 (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> retrieved duration.0.2.1 (cached)
-> retrieved eqaf.0.9 (cached)
-> retrieved fiat-p256.0.2.3 (cached)
-> retrieved fmt.0.11.0 (cached)
-> installed conf-gmp-powm-sec.4
-> retrieved gmap.0.3.0 (cached)
-> retrieved hacl_x25519.0.2.2 (cached)
-> retrieved hex.1.5.0 (cached)
-> retrieved hkdf.1.0.4 (cached)
-> retrieved logs.0.10.0 (cached)
-> installed base64.3.5.2
-> installed bigarray-compat.1.1.0
-> installed duration.0.2.1
-> installed gmap.0.3.0
-> retrieved mirage-crypto.0.10.7, mirage-crypto-pk.0.10.7, mirage-crypto-rng.0.10.7 (cached)
-> installed mirage-no-solo5.1
-> installed mirage-no-xen.1
-> installed bigstringaf.0.10.0
-> retrieved mtime.2.1.0 (cached)
-> retrieved num.1.6 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved parsexp.v0.17.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_sexp_conv.v0.17.1 (cached)
-> installed cstruct.6.0.1
-> retrieved ppxlib.0.37.0 (cached)
-> installed ppx_derivers.1.2.1
-> retrieved ppxlib_jane.v0.17.4 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved rresult.0.7.0 (cached)
-> installed ocaml_intrinsics_kernel.v0.17.1
-> retrieved sexplib.v0.17.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed hex.1.5.0
-> retrieved tls.0.12.8 (cached)
-> retrieved x509.0.11.2 (cached)
-> retrieved zarith.1.14 (cached)
-> installed stdlib-shims.0.3.0
-> installed eqaf.0.9
-> removed mirage-runtime.4.10.4
-> removed logs.0.10.0
-> installed fmt.0.11.0
-> installed sexplib0.v0.17.0
-> installed rresult.0.7.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed mtime.2.1.0
-> installed num.1.6
-> installed angstrom.0.16.1
-> installed ptime.1.2.0
-> installed fiat-p256.0.2.3
-> installed hacl_x25519.0.2.2
-> installed colombe.0.3.0
-> installed logs.0.10.0
-> installed mirage-crypto.0.10.7
-> installed parsexp.v0.17.0
-> installed hkdf.1.0.4
-> installed mirage-runtime.4.10.4
-> installed mirage-crypto-rng.0.10.7
-> installed zarith.1.14
-> installed sexplib.v0.17.0
-> installed cstruct-sexp.6.0.1
-> installed mirage-crypto-pk.0.10.7
-> installed asn1-combinators.0.2.6
-> installed x509.0.11.2
-> installed base.v0.17.3
-> installed ppxlib.0.37.0
-> installed ppxlib_jane.v0.17.4
-> installed ppx_cstruct.6.0.1
-> installed ppx_sexp_conv.v0.17.1
-> installed tls.0.12.8
-> installed sendmail.0.3.0
Done.
<><> mirage-no-xen.1 installed successfully <><><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
<><> mirage-no-solo5.1 installed successfully <><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
<><> hkdf.1.0.4 installed successfully ><><><><><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
<><> hacl_x25519.0.2.2 installed successfully <><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
<><> fiat-p256.0.2.3 installed successfully <><><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2025-11-21 13:51.12 ---> saved as "aa68d78d170e20677d59450ce14dfbe0f7ab3ff5fcc938e7cdc4a5b21c7dc5c5"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test sendmail.0.3.0) || true"))
The following actions will be performed:
=== recompile 2 packages
- recompile colombe 0.3.0 [uses emile]
- recompile sendmail 0.3.0
=== install 14 packages
- install alcotest 1.9.1 [required by sendmail]
- install astring 0.8.5 [required by alcotest]
- install bigarray-overlap 0.2.1 [required by mrmime]
- install coin 0.1.4 [required by rosetta]
- install emile 0.9 [required by sendmail]
- install ke 0.6 [required by mrmime]
- install mrmime 0.3.0 [required by sendmail]
- install pecu 0.4 [required by emile, mrmime]
- install re 1.14.0 [required by alcotest]
- install rosetta 0.3.0 [required by mrmime]
- install unstrctrd 0.4 [required by mrmime]
- install uutf 1.0.4 [required by emile, alcotest, mrmime]
- install uuuu 0.3.0 [required by rosetta]
- install yuscii 0.3.0 [required by rosetta]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1 (https://opam.ocaml.org/cache)
-> retrieved astring.0.8.5 (https://opam.ocaml.org/cache)
-> retrieved bigarray-overlap.0.2.1 (https://opam.ocaml.org/cache)
-> retrieved coin.0.1.4 (https://opam.ocaml.org/cache)
-> retrieved colombe.0.3.0, sendmail.0.3.0 (https://opam.ocaml.org/cache)
-> installed bigarray-overlap.0.2.1
-> retrieved emile.0.9 (https://opam.ocaml.org/cache)
-> retrieved ke.0.6 (https://opam.ocaml.org/cache)
-> retrieved mrmime.0.3.0 (https://opam.ocaml.org/cache)
-> retrieved pecu.0.4 (https://opam.ocaml.org/cache)
-> retrieved re.1.14.0 (https://opam.ocaml.org/cache)
-> retrieved rosetta.0.3.0 (https://opam.ocaml.org/cache)
-> installed ke.0.6
-> retrieved unstrctrd.0.4 (https://opam.ocaml.org/cache)
-> installed pecu.0.4
-> retrieved uutf.1.0.4 (https://opam.ocaml.org/cache)
-> retrieved uuuu.0.3.0 (https://opam.ocaml.org/cache)
-> retrieved yuscii.0.3.0 (https://opam.ocaml.org/cache)
-> installed yuscii.0.3.0
-> installed astring.0.8.5
-> installed re.1.14.0
-> removed sendmail.0.3.0
-> removed colombe.0.3.0
-> installed uutf.1.0.4
-> installed unstrctrd.0.4
-> installed emile.0.9
-> installed coin.0.1.4
-> installed uuuu.0.3.0
-> installed rosetta.0.3.0
-> installed alcotest.1.9.1
-> installed colombe.0.3.0
-> installed mrmime.0.3.0
-> installed sendmail.0.3.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-21 13:51.23 ---> saved as "64ec91ba4c2f5059f0acca9d289807ad92cb89f1b1864b882eb3890601740c12"
/home/opam: (run (shell "opam reinstall --with-test --verbose sendmail.0.3.0;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'sendmail.0.3.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
The following actions will be performed:
=== recompile 1 package
- recompile sendmail 0.3.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [sendmail.0.3.0: extract]
-> retrieved sendmail.0.3.0 (cached)
Processing 2/4: [sendmail: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "sendmail" "-j" "255" (CWD=/home/opam/.opam/5.4/.opam-switch/build/sendmail.0.3.0)
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I sendmail/.sendmail.objs/byte -I /home/opam/.opam/5.4/lib/angstrom -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigstringaf -I /home/opam/.opam/5.4/lib/colombe -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/ipaddr -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/macaddr -cmi-file sendmail/.sendmail.objs/byte/sendmail.cmi -no-alias-deps -o sendmail/.sendmail.objs/byte/sendmail.cmo -c -impl sendmail/sendmail.ml)
- File "sendmail/sendmail.ml", line 119, characters 45-53:
- 119 | let payload = Base64.encode_exn (Fmt.strf "\000%s\000%s" username password) in
- ^^^^^^^^
- Alert deprecated: Fmt.strf
- use Fmt.str instead.
-
- File "sendmail/sendmail.ml", line 123, characters 45-53:
- 123 | let payload = Base64.encode_exn (Fmt.strf "%s\000%s\000%s" x username password) in
- ^^^^^^^^
- Alert deprecated: Fmt.strf
- use Fmt.str instead.
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w -40 -g -I sendmail/.sendmail.objs/byte -I sendmail/.sendmail.objs/native -I /home/opam/.opam/5.4/lib/angstrom -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigstringaf -I /home/opam/.opam/5.4/lib/colombe -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/ipaddr -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/macaddr -cmi-file sendmail/.sendmail.objs/byte/sendmail.cmi -no-alias-deps -o sendmail/.sendmail.objs/native/sendmail.cmx -c -impl sendmail/sendmail.ml)
- File "sendmail/sendmail.ml", line 119, characters 45-53:
- 119 | let payload = Base64.encode_exn (Fmt.strf "\000%s\000%s" username password) in
- ^^^^^^^^
- Alert deprecated: Fmt.strf
- use Fmt.str instead.
-
- File "sendmail/sendmail.ml", line 123, characters 45-53:
- 123 | let payload = Base64.encode_exn (Fmt.strf "%s\000%s\000%s" x username password) in
- ^^^^^^^^
- Alert deprecated: Fmt.strf
- use Fmt.str instead.
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I sendmail/.sendmail_with_tls.objs/byte -I /home/opam/.opam/5.4/lib/angstrom -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/bigstringaf -I /home/opam/.opam/5.4/lib/colombe -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/ipaddr -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/macaddr -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/tls -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -I sendmail/.sendmail.objs/byte -cmi-file sendmail/.sendmail_with_tls.objs/byte/sendmail_with_tls.cmi -no-alias-deps -o sendmail/.sendmail_with_tls.objs/byte/sendmail_with_tls.cmo -c -impl sendmail/sendmail_with_tls.ml)
- File "sendmail/sendmail_with_tls.ml", line 216, characters 11-22:
- 216 | if Cstruct.len raw = 0
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 218, characters 75-86:
- 218 | else Write { k= k raw; buffer= Cstruct.to_string raw; off= 0; len= Cstruct.len raw; } in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 219, characters 68-79:
- 219 | Write { k= k raw; buffer= Cstruct.to_string raw; off= 0; len= Cstruct.len raw; }
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 243, characters 13-24:
- 243 | if Cstruct.len raw = 0
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 247, characters 77-88:
- 247 | else Write { k= k raw; buffer= Cstruct.to_string raw; off= 0; len= Cstruct.len raw; } in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 248, characters 70-81:
- 248 | Write { k= k raw; buffer= Cstruct.to_string raw; off= 0; len= Cstruct.len raw; }
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 256, characters 51-62:
- 256 | let len = min (Bytes.length buffer - max) (Cstruct.len raw) in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 257, characters 17-28:
- 257 | if len < Cstruct.len raw then Fmt.failwith "Read buffer is full and TLS handshake is not done" ;
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 283, characters 86-97:
- 283 | let rec go_with_tls ctx fiber delayed_data = match ctx.Context_with_tls.tls, fiber, Cstruct.len delayed_data with
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 293, characters 63-74:
- 293 | Write { k; buffer= Cstruct.to_string raw; off= 0; len= Cstruct.len raw; }
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 300, characters 25-36:
- 300 | let len = min (Cstruct.len raw) len_0 in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 314, characters 15-26:
- 314 | if Cstruct.len raw = 0
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 316, characters 79-90:
- 316 | else Write { k= k raw; buffer= Cstruct.to_string raw; off= 0; len= Cstruct.len raw; } in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 317, characters 72-83:
- 317 | Write { k= k raw; buffer= Cstruct.to_string raw; off= 0; len= Cstruct.len raw; }
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 358, characters 9-20:
- 358 | if Cstruct.len raw = 0
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 360, characters 73-84:
- 360 | else Write { k= k raw; buffer= Cstruct.to_string raw; off= 0; len= Cstruct.len raw } in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 370, characters 66-77:
- 370 | Write { k= k raw; buffer= Cstruct.to_string raw; off= 0; len= Cstruct.len raw }
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 391, characters 11-22:
- 391 | if Cstruct.len raw = 0
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 397, characters 23-34:
- 397 | ; len= Cstruct.len raw } in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 398, characters 67-78:
- 398 | Write { k= loop; buffer= Cstruct.to_string raw; off= 0; len= Cstruct.len raw }
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 446, characters 45-53:
- 446 | let payload = Base64.encode_exn (Fmt.strf "\000%s\000%s" username password) in
- ^^^^^^^^
- Alert deprecated: Fmt.strf
- use Fmt.str instead.
-
- File "sendmail/sendmail_with_tls.ml", line 450, characters 45-53:
- 450 | let payload = Base64.encode_exn (Fmt.strf "%s\000%s\000%s" x username password) in
- ^^^^^^^^
- Alert deprecated: Fmt.strf
- use Fmt.str instead.
-
- File "sendmail/sendmail_with_tls.ml", line 580, characters 30-41:
- 580 | rdwr.wr flow buf 0 (Cstruct.len raw) >>= fun () -> go state
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w -40 -g -I sendmail/.sendmail_with_tls.objs/byte -I sendmail/.sendmail_with_tls.objs/native -I /home/opam/.opam/5.4/lib/angstrom -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/bigstringaf -I /home/opam/.opam/5.4/lib/colombe -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/ipaddr -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/macaddr -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/tls -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -I sendmail/.sendmail.objs/byte -I sendmail/.sendmail.objs/native -cmi-file sendmail/.sendmail_with_tls.objs/byte/sendmail_with_tls.cmi -no-alias-deps -o sendmail/.sendmail_with_tls.objs/native/sendmail_with_tls.cmx -c -impl sendmail/sendmail_with_tls.ml)
- File "sendmail/sendmail_with_tls.ml", line 216, characters 11-22:
- 216 | if Cstruct.len raw = 0
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 218, characters 75-86:
- 218 | else Write { k= k raw; buffer= Cstruct.to_string raw; off= 0; len= Cstruct.len raw; } in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 219, characters 68-79:
- 219 | Write { k= k raw; buffer= Cstruct.to_string raw; off= 0; len= Cstruct.len raw; }
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 243, characters 13-24:
- 243 | if Cstruct.len raw = 0
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 247, characters 77-88:
- 247 | else Write { k= k raw; buffer= Cstruct.to_string raw; off= 0; len= Cstruct.len raw; } in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 248, characters 70-81:
- 248 | Write { k= k raw; buffer= Cstruct.to_string raw; off= 0; len= Cstruct.len raw; }
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 256, characters 51-62:
- 256 | let len = min (Bytes.length buffer - max) (Cstruct.len raw) in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 257, characters 17-28:
- 257 | if len < Cstruct.len raw then Fmt.failwith "Read buffer is full and TLS handshake is not done" ;
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 283, characters 86-97:
- 283 | let rec go_with_tls ctx fiber delayed_data = match ctx.Context_with_tls.tls, fiber, Cstruct.len delayed_data with
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 293, characters 63-74:
- 293 | Write { k; buffer= Cstruct.to_string raw; off= 0; len= Cstruct.len raw; }
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 300, characters 25-36:
- 300 | let len = min (Cstruct.len raw) len_0 in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 314, characters 15-26:
- 314 | if Cstruct.len raw = 0
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 316, characters 79-90:
- 316 | else Write { k= k raw; buffer= Cstruct.to_string raw; off= 0; len= Cstruct.len raw; } in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 317, characters 72-83:
- 317 | Write { k= k raw; buffer= Cstruct.to_string raw; off= 0; len= Cstruct.len raw; }
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 358, characters 9-20:
- 358 | if Cstruct.len raw = 0
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 360, characters 73-84:
- 360 | else Write { k= k raw; buffer= Cstruct.to_string raw; off= 0; len= Cstruct.len raw } in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 370, characters 66-77:
- 370 | Write { k= k raw; buffer= Cstruct.to_string raw; off= 0; len= Cstruct.len raw }
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 391, characters 11-22:
- 391 | if Cstruct.len raw = 0
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 397, characters 23-34:
- 397 | ; len= Cstruct.len raw } in
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 398, characters 67-78:
- 398 | Write { k= loop; buffer= Cstruct.to_string raw; off= 0; len= Cstruct.len raw }
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-
- File "sendmail/sendmail_with_tls.ml", line 446, characters 45-53:
- 446 | let payload = Base64.encode_exn (Fmt.strf "\000%s\000%s" username password) in
- ^^^^^^^^
- Alert deprecated: Fmt.strf
- use Fmt.str instead.
-
- File "sendmail/sendmail_with_tls.ml", line 450, characters 45-53:
- 450 | let payload = Base64.encode_exn (Fmt.strf "%s\000%s\000%s" x username password) in
- ^^^^^^^^
- Alert deprecated: Fmt.strf
- use Fmt.str instead.
-
- File "sendmail/sendmail_with_tls.ml", line 580, characters 30-41:
- 580 | rdwr.wr flow buf 0 (Cstruct.len raw) >>= fun () -> go state
- ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
Processing 2/4: [sendmail: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "sendmail" "-j" "255" (CWD=/home/opam/.opam/5.4/.opam-switch/build/sendmail.0.3.0)
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I test/.test_sendmail.eobjs/byte -I /home/opam/.opam/5.4/lib/alcotest -I /home/opam/.opam/5.4/lib/alcotest/engine -I /home/opam/.opam/5.4/lib/alcotest/stdlib_ext -I /home/opam/.opam/5.4/lib/angstrom -I /home/opam/.opam/5.4/lib/astring -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/base64/rfc2045 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/bigarray-overlap -I /home/opam/.opam/5.4/lib/bigstringaf -I /home/opam/.opam/5.4/lib/cmdliner -I /home/opam/.opam/5.4/lib/coin -I /home/opam/.opam/5.4/lib/colombe -I /home/opam/.opam/5.4/lib/colombe/emile -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/emile -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/fmt/cli -I /home/opam/.opam/5.4/lib/fmt/tty -I /home/opam/.opam/5.4/lib/ipaddr -I /home/opam/.opam/5.4/lib/ke -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/macaddr -I /home/opam/.opam/5.4/lib/mrmime -I /home/opam/.opam/5.4/lib/mrmime/prettym -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/pecu -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/re -I /home/opam/.opam/5.4/lib/rosetta -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/unstrctrd -I /home/opam/.opam/5.4/lib/unstrctrd/parser -I /home/opam/.opam/5.4/lib/uutf -I /home/opam/.opam/5.4/lib/uuuu -I /home/opam/.opam/5.4/lib/yuscii -I sendmail/.sendmail.objs/byte -no-alias-deps -o test/.test_sendmail.eobjs/byte/test_sendmail.cmo -c -impl test/test_sendmail.ml)
- File "test/test_sendmail.ml", line 93, characters 37-45:
- 93 | ; Base64.encode_exn ~pad:true (Fmt.strf "\000romain\000foobar")
- ^^^^^^^^
- Alert deprecated: Fmt.strf
- use Fmt.str instead.
-
- File "test/test_sendmail.ml", line 129, characters 37-45:
- 129 | ; Base64.encode_exn ~pad:true (Fmt.strf "\000romain\000foobar")
- ^^^^^^^^
- Alert deprecated: Fmt.strf
- use Fmt.str instead.
-
- File "test/test_sendmail.ml", line 215, characters 37-45:
- 215 | ; Base64.encode_exn ~pad:true (Fmt.strf "\000romain\000foobar")
- ^^^^^^^^
- Alert deprecated: Fmt.strf
- use Fmt.str instead.
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w -40 -g -I test/.test_sendmail.eobjs/byte -I test/.test_sendmail.eobjs/native -I /home/opam/.opam/5.4/lib/alcotest -I /home/opam/.opam/5.4/lib/alcotest/engine -I /home/opam/.opam/5.4/lib/alcotest/stdlib_ext -I /home/opam/.opam/5.4/lib/angstrom -I /home/opam/.opam/5.4/lib/astring -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/base64/rfc2045 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/bigarray-overlap -I /home/opam/.opam/5.4/lib/bigstringaf -I /home/opam/.opam/5.4/lib/cmdliner -I /home/opam/.opam/5.4/lib/coin -I /home/opam/.opam/5.4/lib/colombe -I /home/opam/.opam/5.4/lib/colombe/emile -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/emile -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/fmt/cli -I /home/opam/.opam/5.4/lib/fmt/tty -I /home/opam/.opam/5.4/lib/ipaddr -I /home/opam/.opam/5.4/lib/ke -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/macaddr -I /home/opam/.opam/5.4/lib/mrmime -I /home/opam/.opam/5.4/lib/mrmime/prettym -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/pecu -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/re -I /home/opam/.opam/5.4/lib/rosetta -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/unstrctrd -I /home/opam/.opam/5.4/lib/unstrctrd/parser -I /home/opam/.opam/5.4/lib/uutf -I /home/opam/.opam/5.4/lib/uuuu -I /home/opam/.opam/5.4/lib/yuscii -I sendmail/.sendmail.objs/byte -I sendmail/.sendmail.objs/native -cmi-file test/.test_sendmail.eobjs/byte/test_sendmail.cmi -no-alias-deps -o test/.test_sendmail.eobjs/native/test_sendmail.cmx -c -impl test/test_sendmail.ml)
- File "test/test_sendmail.ml", line 93, characters 37-45:
- 93 | ; Base64.encode_exn ~pad:true (Fmt.strf "\000romain\000foobar")
- ^^^^^^^^
- Alert deprecated: Fmt.strf
- use Fmt.str instead.
-
- File "test/test_sendmail.ml", line 129, characters 37-45:
- 129 | ; Base64.encode_exn ~pad:true (Fmt.strf "\000romain\000foobar")
- ^^^^^^^^
- Alert deprecated: Fmt.strf
- use Fmt.str instead.
-
- File "test/test_sendmail.ml", line 215, characters 37-45:
- 215 | ; Base64.encode_exn ~pad:true (Fmt.strf "\000romain\000foobar")
- ^^^^^^^^
- Alert deprecated: Fmt.strf
- use Fmt.str instead.
- (cd _build/default/test && ./test_sendmail.exe --color=always)
- Testing `sendmail'.
- This run has ID `RXKYFCNC'.
-
- [OK] mock 0 usual without authentication.
- [OK] mock 1 usual with authentication.
- [OK] mock 2 bad authentication.
- [OK] mock 3 PLAIN mechanism unavailable.
- [OK] mock 4 authentication required.
- [OK] mock 5 8BITMIME.
- [OK] mock 6 spam.
-
- Full test results in `~/.opam/5.4/.opam-switch/build/sendmail.0.3.0/_build/default/test/_build/_tests/sendmail'.
- Test Successful in 0.002s. 7 tests run.
-> compiled sendmail.0.3.0
-> removed sendmail.0.3.0
-> installed sendmail.0.3.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-21 13:51.28 ---> saved as "cb7fbb9215b95c095f75154613de637be3c86f1e510a377a10eb5a926e7e3663"
Job succeeded
2025-11-21 13:51.38: Job succeeded