(for PR #23330)

2024-04-17 20:44.01: New job: test sendmail.0.4.1 with conf-gmp.5, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/23330/head (e065de656cee71750ee448a95ca37886f41c1cd4)
                              on debian-12-ocaml-4.14/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/23330/head" && git reset --hard e065de65
git fetch origin master
git merge --no-edit f089d8564db935c703bea70a4b3d8335ffa1bef3
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:cf8d7fbd6be04384c5ea9d5daa691b0e785464d4f78abd504e650892e6f5db95
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="500"
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
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam pin add -k version -yn conf-gmp.5 5
RUN opam reinstall conf-gmp.5; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'conf-gmp.5' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam reinstall sendmail.0.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 "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'sendmail.0.4.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN (opam reinstall --with-test sendmail.0.4.1) || true
RUN opam reinstall --with-test --verbose sendmail.0.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 "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'sendmail.0.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 .

2024-04-17 20:44.01: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:cf8d7fbd6be04384c5ea9d5daa691b0e785464d4f78abd504e650892e6f5db95-conf-gmp.5-sendmail.0.4.1-e065de656cee71750ee448a95ca37886f41c1cd4"
2024-04-17 20:44.01: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:cf8d7fbd6be04384c5ea9d5daa691b0e785464d4f78abd504e650892e6f5db95)
 (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 "uname -rs && opam exec -- ocaml -version && opam --version"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 500)
 (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"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (shell "opam pin add -k version -yn conf-gmp.5 5"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-gmp.5;\
             \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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'conf-gmp.5' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall sendmail.0.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 \"\\\"debian-12\\\"\"; 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.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"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (network host)
      (shell "(opam reinstall --with-test sendmail.0.4.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose sendmail.0.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 \"\\\"debian-12\\\"\"; 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.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"))
)

2024-04-17 20:44.01: Waiting for resource in pool OCluster
2024-04-18 03:44.53: Waiting for worker…
2024-04-18 03:50.05: Got resource from pool OCluster
Building on x86-bm-c14.sw.ocaml.org
All commits already cached
Updating files:  54% (18333/33527)
Updating files:  55% (18440/33527)
Updating files:  56% (18776/33527)
Updating files:  57% (19111/33527)
Updating files:  58% (19446/33527)
Updating files:  59% (19781/33527)
Updating files:  60% (20117/33527)
Updating files:  61% (20452/33527)
Updating files:  62% (20787/33527)
Updating files:  63% (21123/33527)
Updating files:  64% (21458/33527)
Updating files:  65% (21793/33527)
Updating files:  66% (22128/33527)
Updating files:  67% (22464/33527)
Updating files:  68% (22799/33527)
Updating files:  69% (23134/33527)
Updating files:  70% (23469/33527)
Updating files:  71% (23805/33527)
Updating files:  72% (24140/33527)
Updating files:  73% (24475/33527)
Updating files:  74% (24810/33527)
Updating files:  75% (25146/33527)
Updating files:  76% (25481/33527)
Updating files:  77% (25816/33527)
Updating files:  78% (26152/33527)
Updating files:  79% (26487/33527)
Updating files:  80% (26822/33527)
Updating files:  81% (27157/33527)
Updating files:  82% (27493/33527)
Updating files:  83% (27828/33527)
Updating files:  84% (28163/33527)
Updating files:  85% (28498/33527)
Updating files:  86% (28834/33527)
Updating files:  87% (29169/33527)
Updating files:  88% (29504/33527)
Updating files:  89% (29840/33527)
Updating files:  90% (30175/33527)
Updating files:  91% (30510/33527)
Updating files:  92% (30845/33527)
Updating files:  93% (31181/33527)
Updating files:  94% (31516/33527)
Updating files:  95% (31851/33527)
Updating files:  96% (32186/33527)
Updating files:  97% (32522/33527)
Updating files:  97% (32713/33527)
Updating files:  98% (32857/33527)
Updating files:  99% (33192/33527)
Updating files: 100% (33527/33527)
Updating files: 100% (33527/33527), done.
HEAD is now at f089d8564d Merge pull request #25672 from gborough/opam-publish-fred.0.1.0
Merge made by the 'ort' strategy.
 .../conf-gmp-powm-sec.4/files/test.c               | 26 ++++++++++++
 .../conf-gmp-powm-sec/conf-gmp-powm-sec.4/opam     | 17 ++++++++
 packages/conf-gmp/conf-gmp.5/files/test.c          | 10 +++++
 packages/conf-gmp/conf-gmp.5/opam                  | 32 +++++++++++++++
 packages/zarith/zarith.1.12-1/opam                 | 47 ++++++++++++++++++++++
 5 files changed, 132 insertions(+)
 create mode 100644 packages/conf-gmp-powm-sec/conf-gmp-powm-sec.4/files/test.c
 create mode 100644 packages/conf-gmp-powm-sec/conf-gmp-powm-sec.4/opam
 create mode 100644 packages/conf-gmp/conf-gmp.5/files/test.c
 create mode 100644 packages/conf-gmp/conf-gmp.5/opam
 create mode 100644 packages/zarith/zarith.1.12-1/opam

(from ocaml/opam:debian-12-ocaml-4.14@sha256:cf8d7fbd6be04384c5ea9d5daa691b0e785464d4f78abd504e650892e6f5db95)
2024-04-18 03:50.11 ---> using "d067232bc6d554f704d96db510d98a09db454469d02feddab0e42aad928d63b1" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-04-18 03:50.11 ---> using "7ba6a357838d0c6dffd1ab84838aef33228d8bff6c010809eaf5038f14c36c3b" 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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2~alpha, 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 31 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=31 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-04-18 03:50.11 ---> using "983e95dd5ec1a58f04d02949e9a3380e2545ed1ff23babc42a673f7a3da56de8" from cache

/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.14.2
2.2.0~beta3~dev
2024-04-18 03:50.11 ---> using "ac3343965a00b30b35efd8593357dec9874e8fd8b4f43fe80af589440a734a31" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 500)

/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/"))
2024-04-18 03:50.11 ---> using "ef9e56a00980413d97b6bd05c1cd108fd97f547588ffc026c7f1b66f3c95fc80" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2024-04-18 03:50.13 ---> using "b5d86228d6098a612d6a831f8f85904a5e47fe1c1978d02c3cd9ab0665a511b8" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-04-18 03:50.13 ---> using "9512aec6c8046c634ff06a0fbceae3d912b905ef573ca5616b11eb9dc90e068c" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [154 kB]
- Fetched 257 kB in 0s (1047 kB/s)
- Reading package lists...
2024-04-18 03:50.13 ---> using "9310ba51c07330e3d54b9ecad5ab683190144dc649aec4b9a893fb7c643d6794" from cache

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (shell "opam pin add -k version -yn conf-gmp.5 5"))
conf-gmp is now pinned to version 5
2024-04-18 03:50.13 ---> using "531233f8ed84704d4cc979aa61b52c64fd222d12f59b4ca12b6c2c85fea67cab" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall conf-gmp.5;\
                        \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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'conf-gmp.5' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
conf-gmp.5 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 2 packages
  - install conf-gmp        5 (pinned)
  - install conf-pkg-config 3          [required by conf-gmp]

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 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 ... 18735 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u4) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.3
-> installed conf-gmp.5
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-18 03:50.13 ---> using "5b7e2b87c3b8be4a6c6c3e2d4142a00fa3e9b72d54a684600f4d2633bd4311bb" from cache

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall sendmail.0.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 \"\\\"debian-12\\\"\"; 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.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"))
sendmail.0.4.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 35 packages
  - install angstrom           0.16.0  [required by colombe]
  - install asn1-combinators   0.2.6   [required by x509]
  - install base64             3.5.1   [required by sendmail]
  - install bigarray-compat    1.1.0   [required by cstruct]
  - install bigstringaf        0.9.1   [required by angstrom]
  - install colombe            0.4.1   [required by sendmail]
  - install conf-gmp-powm-sec  4       [required by mirage-crypto-pk]
  - install csexp              1.5.2   [required by dune-configurator]
  - install cstruct            6.0.1   [required by sendmail]
  - install domain-name        0.4.0   [required by tls]
  - install dune               3.15.0  [required by sendmail]
  - install dune-configurator  3.15.0  [required by mirage-crypto-ec]
  - install duration           0.2.1   [required by mirage-crypto-rng]
  - install eqaf               0.9     [required by mirage-crypto-ec, mirage-crypto-pk]
  - install fmt                0.9.0   [required by logs, colombe, tls]
  - install gmap               0.3.0   [required by x509]
  - install hkdf               1.0.4   [required by tls]
  - install ipaddr             5.5.0   [required by colombe, tls]
  - install logs               0.7.0   [required by sendmail]
  - install macaddr            5.5.0   [required by ipaddr]
  - install mirage-crypto      0.11.3  [required by tls]
  - install mirage-crypto-ec   0.11.3  [required by tls]
  - install mirage-crypto-pk   0.11.3  [required by tls]
  - install mirage-crypto-rng  0.11.3  [required by tls]
  - install ocaml-syntax-shims 1.0.0   [required by colombe]
  - install ocamlbuild         0.14.3  [required by logs]
  - install ocamlfind          1.9.6   [required by logs]
  - install pbkdf              1.2.0   [required by x509]
  - install ptime              1.1.0   [required by x509]
  - install sendmail           0.4.1
  - install sexplib0           v0.16.0 [required by mirage-crypto-pk]
  - install tls                0.17.3  [required by sendmail]
  - install topkg              1.0.7   [required by logs]
  - install x509               0.16.5  [required by tls]
  - install zarith             1.13    [required by mirage-crypto-pk]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.0  (cached)
-> retrieved asn1-combinators.0.2.6  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved bigstringaf.0.9.1  (cached)
-> retrieved colombe.0.4.1, sendmail.0.4.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-gmp-powm-sec.4
-> retrieved cstruct.6.0.1  (cached)
-> retrieved domain-name.0.4.0  (cached)
-> retrieved dune.3.15.0, dune-configurator.3.15.0  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.9  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved hkdf.1.0.4  (cached)
-> retrieved ipaddr.5.5.0, macaddr.5.5.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved mirage-crypto.0.11.3, mirage-crypto-ec.0.11.3, mirage-crypto-pk.0.11.3, mirage-crypto-rng.0.11.3  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved pbkdf.1.2.0  (cached)
-> retrieved ptime.1.1.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved tls.0.17.3  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved x509.0.16.5  (cached)
-> retrieved zarith.1.13  (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> installed zarith.1.13
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed ptime.1.1.0
-> installed logs.0.7.0
-> installed dune.3.15.0
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed bigarray-compat.1.1.0
-> installed domain-name.0.4.0
-> installed gmap.0.3.0
-> installed macaddr.5.5.0
-> installed ocaml-syntax-shims.1.0.0
-> installed sexplib0.v0.16.0
-> installed cstruct.6.0.1
-> installed ipaddr.5.5.0
-> installed eqaf.0.9
-> installed asn1-combinators.0.2.6
-> installed dune-configurator.3.15.0
-> installed bigstringaf.0.9.1
-> installed angstrom.0.16.0
-> installed colombe.0.4.1
-> installed mirage-crypto.0.11.3
-> installed hkdf.1.0.4
-> installed pbkdf.1.2.0
-> installed mirage-crypto-rng.0.11.3
-> installed mirage-crypto-pk.0.11.3
-> installed mirage-crypto-ec.0.11.3
-> installed x509.0.16.5
-> installed tls.0.17.3
-> installed sendmail.0.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-18 03:51.54 ---> saved as "7598149ec3c0a27ca06872b81d37f915b64a72535aeea9eb831544cfed57608a"

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test sendmail.0.4.1) || true"))
The following actions will be performed:
=== recompile 9 packages
  - recompile colombe           0.4.1  [uses fmt]
  - recompile fmt               0.9.0  [uses cmdliner]
  - recompile logs              0.7.0  [uses cmdliner]
  - recompile mirage-crypto-ec  0.11.3 [uses mirage-crypto-rng]
  - recompile mirage-crypto-pk  0.11.3 [uses mirage-crypto-rng]
  - recompile mirage-crypto-rng 0.11.3 [uses logs]
  - recompile sendmail          0.4.1
  - recompile tls               0.17.3 [uses fmt]
  - recompile x509              0.16.5 [uses fmt]
=== install 25 packages
  - install   afl-persistent    1.4    [required by mrmime]
  - install   alcotest          1.7.0  [required by sendmail]
  - install   astring           0.8.5  [required by alcotest]
  - install   base-bytes        base   [required by ocplib-endian]
  - install   bigarray-overlap  0.2.1  [required by mrmime]
  - install   cmdliner          1.2.0  [required by alcotest, mrmime]
  - install   coin              0.1.4  [required by rosetta]
  - install   cppo              1.6.9  [required by ocplib-endian]
  - install   emile             1.1    [required by sendmail]
  - install   fpath             0.7.3  [required by mrmime]
  - install   hxd               0.3.2  [required by mrmime]
  - install   ke                0.6    [required by mrmime]
  - install   mrmime            0.5.0  [required by sendmail]
  - install   ocplib-endian     1.2    [required by mrmime]
  - install   pecu              0.7    [required by mrmime]
  - install   prettym           0.0.3  [required by mrmime]
  - install   re                1.11.0 [required by alcotest]
  - install   rosetta           0.3.0  [required by mrmime]
  - install   rresult           0.7.0  [required by mrmime]
  - install   seq               base   [required by re]
  - install   stdlib-shims      0.3.0  [required by alcotest]
  - install   unstrctrd         0.4    [required by mrmime]
  - install   uutf              1.0.3  [required by alcotest, mrmime]
  - install   uuuu              0.3.0  [required by rosetta]
  - install   yuscii            0.3.0  [required by rosetta]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.4  (https://github.com/stedolan/ocaml-afl-persistent/archive/refs/tags/v1.4.tar.gz)
-> installed afl-persistent.1.4
-> retrieved alcotest.1.7.0  (https://github.com/mirage/alcotest/releases/download/1.7.0/alcotest-1.7.0.tbz)
-> retrieved astring.0.8.5  (https://erratique.ch/software/astring/releases/astring-0.8.5.tbz)
-> installed base-bytes.base
-> retrieved bigarray-overlap.0.2.1  (https://github.com/dinosaure/overlap/releases/download/v0.2.1/bigarray-overlap-0.2.1.tbz)
-> retrieved cmdliner.1.2.0  (https://erratique.ch/software/cmdliner/releases/cmdliner-1.2.0.tbz)
-> installed bigarray-overlap.0.2.1
-> retrieved coin.0.1.4  (https://github.com/mirage/coin/releases/download/v0.1.4/coin-0.1.4.tbz)
-> installed astring.0.8.5
-> retrieved colombe.0.4.1, sendmail.0.4.1  (https://github.com/mirage/colombe/releases/download/v0.4.1/colombe-v0.4.1.tbz)
-> retrieved cppo.1.6.9  (https://github.com/ocaml-community/cppo/archive/v1.6.9.tar.gz)
-> retrieved emile.1.1  (https://github.com/dinosaure/emile/releases/download/v1.1/emile-v1.1.tbz)
-> retrieved fmt.0.9.0  (https://erratique.ch/software/fmt/releases/fmt-0.9.0.tbz)
-> retrieved fpath.0.7.3  (https://erratique.ch/software/fpath/releases/fpath-0.7.3.tbz)
-> installed cppo.1.6.9
-> retrieved hxd.0.3.2  (https://github.com/dinosaure/hxd/releases/download/v0.3.2/hxd-0.3.2.tbz)
-> installed fpath.0.7.3
-> retrieved ke.0.6  (https://github.com/mirage/ke/releases/download/v0.6/ke-0.6.tbz)
-> retrieved logs.0.7.0  (https://erratique.ch/software/logs/releases/logs-0.7.0.tbz)
-> installed cmdliner.1.2.0
-> installed hxd.0.3.2
-> retrieved mirage-crypto-ec.0.11.3, mirage-crypto-pk.0.11.3, mirage-crypto-rng.0.11.3  (https://github.com/mirage/mirage-crypto/releases/download/v0.11.3/mirage-crypto-0.11.3.tbz)
-> retrieved mrmime.0.5.0  (https://github.com/mirage/mrmime/releases/download/v0.5.0/mrmime-v0.5.0.tbz)
-> retrieved ocplib-endian.1.2  (https://github.com/OCamlPro/ocplib-endian/archive/refs/tags/1.2.tar.gz)
-> retrieved pecu.0.7  (https://github.com/mirage/pecu/releases/download/v0.7/pecu-0.7.tbz)
-> installed ocplib-endian.1.2
-> installed pecu.0.7
-> retrieved prettym.0.0.3  (https://github.com/dinosaure/prettym/releases/download/0.0.3/prettym-0.0.3.tbz)
-> retrieved re.1.11.0  (https://github.com/ocaml/ocaml-re/releases/download/1.11.0/re-1.11.0.tbz)
-> retrieved rosetta.0.3.0  (https://github.com/mirage/rosetta/releases/download/v0.3.0/rosetta-v0.3.0.tbz)
-> retrieved rresult.0.7.0  (https://erratique.ch/software/rresult/releases/rresult-0.7.0.tbz)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0  (https://github.com/ocaml/stdlib-shims/releases/download/0.3.0/stdlib-shims-0.3.0.tbz)
-> installed rresult.0.7.0
-> installed stdlib-shims.0.3.0
-> retrieved tls.0.17.3  (https://github.com/mirleft/ocaml-tls/releases/download/v0.17.3/tls-0.17.3.tbz)
-> installed re.1.11.0
-> retrieved unstrctrd.0.4  (https://github.com/dinosaure/unstrctrd/releases/download/v0.4/unstrctrd-0.4.tbz)
-> retrieved uutf.1.0.3  (https://erratique.ch/software/uutf/releases/uutf-1.0.3.tbz)
-> installed coin.0.1.4
-> retrieved uuuu.0.3.0  (https://github.com/mirage/uuuu/releases/download/v0.3.0/uuuu-0.3.0.tbz)
-> retrieved x509.0.16.5  (https://github.com/mirleft/ocaml-x509/releases/download/v0.16.5/x509-0.16.5.tbz)
-> installed uutf.1.0.3
-> installed uuuu.0.3.0
-> retrieved yuscii.0.3.0  (https://github.com/mirage/yuscii/releases/download/v0.3.0/yuscii-v0.3.0.tbz)
-> installed unstrctrd.0.4
-> installed emile.1.1
-> removed   sendmail.0.4.1
-> removed   colombe.0.4.1
-> removed   tls.0.17.3
-> removed   x509.0.16.5
-> removed   mirage-crypto-ec.0.11.3
-> removed   mirage-crypto-pk.0.11.3
-> removed   mirage-crypto-rng.0.11.3
-> removed   logs.0.7.0
-> removed   fmt.0.9.0
-> installed fmt.0.9.0
-> installed yuscii.0.3.0
-> installed rosetta.0.3.0
-> installed ke.0.6
-> installed colombe.0.4.1
-> installed prettym.0.0.3
-> installed alcotest.1.7.0
-> installed logs.0.7.0
-> installed mirage-crypto-rng.0.11.3
-> installed mirage-crypto-pk.0.11.3
-> installed mrmime.0.5.0
-> installed mirage-crypto-ec.0.11.3
-> installed x509.0.16.5
-> installed tls.0.17.3
-> installed sendmail.0.4.1
Done.

<><> afl-persistent.1.4 installed successfully ><><><><><><><><><><><><><><><><>
=> afl-persistent is installed, but since the current OCaml compiler does
   not enable AFL instrumentation by default, most packages will not be
   instrumented and fuzzing with afl-fuzz may not be effective.

   To globally enable AFL instrumentation, create an OCaml switch like:

     opam switch create 4.14.2+afl ocaml-variants.4.14.2+options ocaml-option-afl
# Run eval $(opam env) to update the current shell environment
2024-04-18 03:52.50 ---> saved as "790e9efa47c93d690ecdb76a02c474797667cc737a28baf37f36441abde9bb92"

/home/opam: (run (shell  "opam reinstall --with-test --verbose sendmail.0.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 \"\\\"debian-12\\\"\"; 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.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"))
The following actions will be performed:
=== recompile 1 package
  - recompile sendmail 0.4.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4:
-> retrieved sendmail.0.4.1  (cached)
Processing  2/4: [sendmail: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "sendmail" "-j" "39" (CWD=/home/opam/.opam/4.14/.opam-switch/build/sendmail.0.4.1)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I sendmail/.sendmail.objs/byte -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/colombe -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/macaddr -intf-suffix .ml -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/4.14/bin/ocamlopt.opt -w -40 -g -I sendmail/.sendmail.objs/byte -I sendmail/.sendmail.objs/native -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/colombe -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/macaddr -intf-suffix .ml -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/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I sendmail/.sendmail_with_starttls.objs/byte -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/asn1-combinators -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/colombe -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/gmap -I /home/opam/.opam/4.14/lib/hkdf -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-ec -I /home/opam/.opam/4.14/lib/mirage-crypto-pk -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/pbkdf -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/tls -I /home/opam/.opam/4.14/lib/x509 -I /home/opam/.opam/4.14/lib/zarith -I sendmail/.sendmail.objs/byte -intf-suffix .ml -no-alias-deps -o sendmail/.sendmail_with_starttls.objs/byte/sendmail_with_starttls.cmo -c -impl sendmail/sendmail_with_starttls.ml)
- File "sendmail/sendmail_with_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.ml", line 583, characters 30-41:
- 583 |           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/4.14/bin/ocamlopt.opt -w -40 -g -I sendmail/.sendmail_with_starttls.objs/byte -I sendmail/.sendmail_with_starttls.objs/native -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/asn1-combinators -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/colombe -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/eqaf -I /home/opam/.opam/4.14/lib/eqaf/bigstring -I /home/opam/.opam/4.14/lib/eqaf/cstruct -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/gmap -I /home/opam/.opam/4.14/lib/hkdf -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/mirage-crypto-ec -I /home/opam/.opam/4.14/lib/mirage-crypto-pk -I /home/opam/.opam/4.14/lib/mirage-crypto-rng -I /home/opam/.opam/4.14/lib/pbkdf -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/tls -I /home/opam/.opam/4.14/lib/x509 -I /home/opam/.opam/4.14/lib/zarith -I sendmail/.sendmail.objs/byte -I sendmail/.sendmail.objs/native -intf-suffix .ml -no-alias-deps -o sendmail/.sendmail_with_starttls.objs/native/sendmail_with_starttls.cmx -c -impl sendmail/sendmail_with_starttls.ml)
- File "sendmail/sendmail_with_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.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_starttls.ml", line 583, characters 30-41:
- 583 |           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" "39" (CWD=/home/opam/.opam/4.14/.opam-switch/build/sendmail.0.4.1)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I test/.test_sendmail.eobjs/byte -I /home/opam/.opam/4.14/lib/alcotest -I /home/opam/.opam/4.14/lib/alcotest/engine -I /home/opam/.opam/4.14/lib/alcotest/stdlib_ext -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/base64/rfc2045 -I /home/opam/.opam/4.14/lib/bigarray-overlap -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/coin -I /home/opam/.opam/4.14/lib/colombe -I /home/opam/.opam/4.14/lib/colombe/emile -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/emile -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/mrmime -I /home/opam/.opam/4.14/lib/pecu -I /home/opam/.opam/4.14/lib/prettym -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/rosetta -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/unstrctrd -I /home/opam/.opam/4.14/lib/unstrctrd/parser -I /home/opam/.opam/4.14/lib/uutf -I /home/opam/.opam/4.14/lib/uuuu -I /home/opam/.opam/4.14/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/4.14/bin/ocamlopt.opt -w -40 -g -I test/.test_sendmail.eobjs/byte -I test/.test_sendmail.eobjs/native -I /home/opam/.opam/4.14/lib/alcotest -I /home/opam/.opam/4.14/lib/alcotest/engine -I /home/opam/.opam/4.14/lib/alcotest/stdlib_ext -I /home/opam/.opam/4.14/lib/angstrom -I /home/opam/.opam/4.14/lib/astring -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/base64/rfc2045 -I /home/opam/.opam/4.14/lib/bigarray-overlap -I /home/opam/.opam/4.14/lib/bigstringaf -I /home/opam/.opam/4.14/lib/cmdliner -I /home/opam/.opam/4.14/lib/coin -I /home/opam/.opam/4.14/lib/colombe -I /home/opam/.opam/4.14/lib/colombe/emile -I /home/opam/.opam/4.14/lib/domain-name -I /home/opam/.opam/4.14/lib/emile -I /home/opam/.opam/4.14/lib/fmt -I /home/opam/.opam/4.14/lib/ipaddr -I /home/opam/.opam/4.14/lib/ke -I /home/opam/.opam/4.14/lib/logs -I /home/opam/.opam/4.14/lib/macaddr -I /home/opam/.opam/4.14/lib/mrmime -I /home/opam/.opam/4.14/lib/pecu -I /home/opam/.opam/4.14/lib/prettym -I /home/opam/.opam/4.14/lib/ptime -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/rosetta -I /home/opam/.opam/4.14/lib/rresult -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/unstrctrd -I /home/opam/.opam/4.14/lib/unstrctrd/parser -I /home/opam/.opam/4.14/lib/uutf -I /home/opam/.opam/4.14/lib/uuuu -I /home/opam/.opam/4.14/lib/yuscii -I sendmail/.sendmail.objs/byte -I sendmail/.sendmail.objs/native -intf-suffix .ml -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 `2GK8LIPV'.
- 
-   [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.
-   [OK]          mock          7   ethereal.
-   [OK]          mock          8   dot.
- 
- Full test results in `~/.opam/4.14/.opam-switch/build/sendmail.0.4.1/_build/default/test/_build/_tests/sendmail'.
- Test Successful in 0.006s. 9 tests run.
-> compiled  sendmail.0.4.1
-> removed   sendmail.0.4.1
-> installed sendmail.0.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-18 03:53.10 ---> saved as "1c51f46e810af4e4541f7199ccc9611431fb104acffadb1b2f554c169e2cd2e8"
Job succeeded
2024-04-18 03:53.23: Job succeeded