Build:
  1. 0
2024-02-11 20:23.54: New job: test sendmail.0.3.0 with conf-pkg-config.1.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/25235/head (8c7391d6ec81e93f24de221eb32a886b72d1ede6)
                              on debian-12-ocaml-5.1/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/25235/head" && git reset --hard 8c7391d6
git fetch origin master
git merge --no-edit 8477e9a74beb40d85534ab7653b65d45607a147f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
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-pkg-config.1.1 1.1
RUN opam reinstall conf-pkg-config.1.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" != 'conf-pkg-config.1.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 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-12\""; 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
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.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-12\""; 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 .

2024-02-11 20:23.54: Using cache hint "ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930-conf-pkg-config.1.1-sendmail.0.3.0-8c7391d6ec81e93f24de221eb32a886b72d1ede6"
2024-02-11 20:23.54: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930)
 (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"))
 (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-pkg-config.1.1 1.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-pkg-config.1.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\" != 'conf-pkg-config.1.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 (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-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.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"))
 (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.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-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.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"))
)

2024-02-11 20:23.54: Waiting for resource in pool OCluster
2024-02-12 20:08.03: Waiting for worker…
2024-02-12 20:09.13: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
Updating files:  43% (14258/32918)
Updating files:  44% (14484/32918)
Updating files:  45% (14814/32918)
Updating files:  46% (15143/32918)
Updating files:  47% (15472/32918)
Updating files:  48% (15801/32918)
Updating files:  49% (16130/32918)
Updating files:  50% (16459/32918)
Updating files:  51% (16789/32918)
Updating files:  52% (17118/32918)
Updating files:  53% (17447/32918)
Updating files:  54% (17776/32918)
Updating files:  55% (18105/32918)
Updating files:  56% (18435/32918)
Updating files:  57% (18764/32918)
Updating files:  58% (19093/32918)
Updating files:  59% (19422/32918)
Updating files:  60% (19751/32918)
Updating files:  61% (20080/32918)
Updating files:  62% (20410/32918)
Updating files:  63% (20739/32918)
Updating files:  64% (21068/32918)
Updating files:  65% (21397/32918)
Updating files:  66% (21726/32918)
Updating files:  67% (22056/32918)
Updating files:  68% (22385/32918)
Updating files:  69% (22714/32918)
Updating files:  70% (23043/32918)
Updating files:  71% (23372/32918)
Updating files:  72% (23701/32918)
Updating files:  73% (24031/32918)
Updating files:  74% (24360/32918)
Updating files:  75% (24689/32918)
Updating files:  76% (25018/32918)
Updating files:  77% (25347/32918)
Updating files:  78% (25677/32918)
Updating files:  79% (26006/32918)
Updating files:  80% (26335/32918)
Updating files:  81% (26664/32918)
Updating files:  82% (26993/32918)
Updating files:  83% (27322/32918)
Updating files:  84% (27652/32918)
Updating files:  85% (27981/32918)
Updating files:  85% (27998/32918)
Updating files:  86% (28310/32918)
Updating files:  87% (28639/32918)
Updating files:  88% (28968/32918)
Updating files:  89% (29298/32918)
Updating files:  90% (29627/32918)
Updating files:  91% (29956/32918)
Updating files:  92% (30285/32918)
Updating files:  93% (30614/32918)
Updating files:  94% (30943/32918)
Updating files:  95% (31273/32918)
Updating files:  96% (31602/32918)
Updating files:  97% (31931/32918)
Updating files:  98% (32260/32918)
Updating files:  99% (32589/32918)
Updating files: 100% (32918/32918)
Updating files: 100% (32918/32918), done.
HEAD is now at 8477e9a74b Merge pull request #25221 from nberth/mlgmpidl-1.3.0
Updating 8477e9a74b..8c7391d6ec
Fast-forward
 packages/conf-pkg-config/conf-pkg-config.1.0/opam | 2 +-
 packages/conf-pkg-config/conf-pkg-config.1.1/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.1.2/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.1.3/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.2/opam   | 1 +
 packages/conf-pkg-config/conf-pkg-config.3/opam   | 4 +++-
 6 files changed, 8 insertions(+), 2 deletions(-)

(from ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930)
2024-02-12 20:14.18 ---> using "4df7ce52b8e0afe130cbfff7d9b001e43cae58bd8e8710cd073ce7c11b1c6ac8" 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-02-12 20:14.18 ---> using "2ee14a5dbb7aa54ab1dfa5adba4422c5a5483941525d4174e8eeed0c4c5e97aa" 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-02-12 20:14.18 ---> using "d58131e4d084860f74dbebecfc9a35ebb7fbb42cf58093b5ac6cf0adf11ed898" 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-02-12 20:14.18 ---> using "e76676ee91f5598b65d18de047738848e5af056a75e3436903dc82ff5702c5a6" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2024-02-12 20:14.20 ---> using "00dcf922e87fec2f8ccdd0b44355d41faed143c596db4bfe8812d0e9c5f33f02" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-02-12 20:14.20 ---> using "d6c8604b98b9d01914259989eafdfad7780b6c9f761a469dfe3162a56ba73510" 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 bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8786 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [137 kB]
- Fetched 9175 kB in 3s (3413 kB/s)
- Reading package lists...
- 
2024-02-12 20:14.20 ---> using "6245d7929b862e6b37f451133c05d21883283d0248743f67197f2e424fe52d69" 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-pkg-config.1.1 1.1"))
conf-pkg-config is now pinned to version 1.1
2024-02-12 20:14.20 ---> using "efd69474de39398f08b803f28b1c0635d272139b0c33f4b0a322013c52989663" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall conf-pkg-config.1.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\" != 'conf-pkg-config.1.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
conf-pkg-config.1.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 1 package
  - install conf-pkg-config 1.1 (pinned)

The following system packages will first need to be installed:
    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" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libpkgconf3: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 ... 18774 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../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 pkgconf-bin (1.8.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.1.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 20:14.20 ---> using "0686843ae3c31f38ac5563a3bcd57d9eed648c8dbf66daffdc86057dfb09ccb3" 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.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-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.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:
=== install 56 packages
  - install angstrom            0.16.0  [required by colombe]
  - install asn1-combinators    0.2.6   [required by x509]
  - install base                v0.16.3 [required by ppx_sexp_conv]
  - install base-bytes          base    [required by ocplib-endian]
  - install base64              3.5.1   [required by sendmail]
  - install bigarray-compat     1.1.0   [required by cstruct, fiat-p256]
  - install bigstringaf         0.9.1   [required by angstrom]
  - install colombe             0.3.0   [required by sendmail]
  - install conf-gmp            4       [required by conf-gmp-powm-sec, zarith]
  - install conf-gmp-powm-sec   3       [required by mirage-crypto-pk]
  - install cppo                1.6.9   [required by lwt]
  - install csexp               1.5.2   [required by dune-configurator]
  - install cstruct             6.0.1   [required by tls]
  - install cstruct-sexp        6.0.1   [required by tls]
  - install domain-name         0.4.0   [required by tls]
  - install dune                3.13.1  [required by sendmail]
  - install dune-configurator   3.13.1  [required by lwt, fiat-p256]
  - 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   [required by tls]
  - install fmt                 0.9.0   [required by logs, colombe, tls]
  - install gmap                0.3.0   [required by x509]
  - install hacl_x25519         0.2.2   [required by tls]
  - install hex                 1.5.0   [required by fiat-p256]
  - install hkdf                1.0.4   [required by tls]
  - install ipaddr              5.5.0   [required by colombe]
  - install logs                0.7.0   [required by sendmail]
  - install lwt                 5.7.0   [required by logs, tls]
  - install macaddr             5.5.0   [required by ipaddr]
  - 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       [required by mirage-crypto-pk]
  - install mirage-no-xen       1       [required by mirage-crypto-pk]
  - install mtime               2.0.0   [required by mirage-crypto-rng]
  - install num                 1.5     [required by sexplib]
  - install ocaml-compiler-libs v0.12.4 [required by ppxlib]
  - 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 ocplib-endian       1.2     [required by lwt]
  - install parsexp             v0.16.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.16.0 [required by tls]
  - install ppxlib              0.32.0  [required by ppx_cstruct, ppx_sexp_conv]
  - install ptime               1.1.0   [required by tls]
  - install rresult             0.7.0   [required by x509]
  - install sendmail            0.3.0
  - install sexplib             v0.16.0 [required by tls]
  - install sexplib0            v0.16.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 topkg               1.0.7   [required by logs]
  - install x509                0.11.2  [required by tls]
  - install zarith              1.13    [required by mirage-crypto-pk]

The following system packages will first need to be installed:
    libgmp-dev

<><> 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"
- 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 ... 18810 files and directories currently installed.)
- Preparing to unpack .../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 .../libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Processing triggers for libc-bin (2.36-9+deb12u4) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.0  (cached)
-> retrieved asn1-combinators.0.2.6  (cached)
-> retrieved base.v0.16.3  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved bigstringaf.0.9.1  (cached)
-> retrieved colombe.0.3.0, sendmail.0.3.0  (cached)
-> retrieved cppo.1.6.9  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.0.1, cstruct-sexp.6.0.1, ppx_cstruct.6.0.1  (cached)
-> installed conf-gmp.4
-> retrieved domain-name.0.4.0  (cached)
-> installed conf-gmp-powm-sec.3
-> retrieved dune.3.13.1, dune-configurator.3.13.1  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.9  (cached)
-> retrieved fiat-p256.0.2.3  (cached)
-> retrieved fmt.0.9.0  (cached)
-> 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 ipaddr.5.5.0, macaddr.5.5.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt.5.7.0  (cached)
-> 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
-> retrieved mtime.2.0.0  (cached)
-> retrieved num.1.5  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved parsexp.v0.16.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.16.0  (cached)
-> retrieved ppxlib.0.32.0  (cached)
-> retrieved ptime.1.1.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved sexplib.v0.16.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved tls.0.12.8  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved x509.0.11.2  (cached)
-> retrieved zarith.1.13  (cached)
-> installed num.1.5
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.14.3
-> installed zarith.1.13
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed mtime.2.0.0
-> installed fmt.0.9.0
-> installed ptime.1.1.0
-> installed dune.3.13.1
-> installed duration.0.2.1
-> installed gmap.0.3.0
-> installed ppx_derivers.1.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 macaddr.5.5.0
-> installed sexplib0.v0.16.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed stdlib-shims.0.3.0
-> installed cppo.1.6.9
-> installed cstruct.6.0.1
-> installed ocplib-endian.1.2
-> installed ipaddr.5.5.0
-> installed hex.1.5.0
-> installed eqaf.0.9
-> installed asn1-combinators.0.2.6
-> installed parsexp.v0.16.0
-> installed dune-configurator.3.13.1
-> installed bigstringaf.0.9.1
-> installed hacl_x25519.0.2.2
-> installed sexplib.v0.16.0
-> installed angstrom.0.16.0
-> installed cstruct-sexp.6.0.1
-> installed fiat-p256.0.2.3
-> installed mirage-crypto.0.10.7
-> installed colombe.0.3.0
-> installed hkdf.1.0.4
-> installed lwt.5.7.0
-> installed logs.0.7.0
-> installed mirage-crypto-rng.0.10.7
-> installed base.v0.16.3
-> installed mirage-crypto-pk.0.10.7
-> installed x509.0.11.2
-> installed ppxlib.0.32.0
-> installed ppx_cstruct.6.0.1
-> installed ppx_sexp_conv.v0.16.0
-> installed tls.0.12.8
-> installed sendmail.0.3.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 20:16.04 ---> saved as "1938fb09fcb65e5f6034ec67e3d46b27d96028efb500be1b4cf242e86153bc2d"

/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.3.0) || true"))
The following actions will be performed:
=== recompile 8 packages
  - recompile colombe           0.3.0  [uses fmt]
  - recompile fmt               0.9.0  [uses cmdliner]
  - recompile logs              0.7.0  [uses cmdliner]
  - recompile mirage-crypto-pk  0.10.7 [uses mirage-crypto-rng]
  - recompile mirage-crypto-rng 0.10.7 [uses logs]
  - recompile sendmail          0.3.0
  - recompile tls               0.12.8 [uses fmt]
  - recompile x509              0.11.2 [uses fmt]
=== install 16 packages
  - install   alcotest          1.7.0  [required by sendmail]
  - install   astring           0.8.5  [required by alcotest]
  - install   bigarray-overlap  0.2.1  [required by mrmime]
  - install   cmdliner          1.2.0  [required by alcotest]
  - 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 mrmime]
  - install   re                1.11.0 [required by alcotest]
  - install   rosetta           0.3.0  [required by mrmime]
  - install   seq               base   [required by re]
  - install   unstrctrd         0.3    [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 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)
-> 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)
-> retrieved colombe.0.3.0, sendmail.0.3.0  (https://github.com/mirage/colombe/releases/download/v0.3.0/colombe-v0.3.0.tbz)
-> installed astring.0.8.5
-> retrieved emile.0.9  (https://github.com/dinosaure/emile/releases/download/v0.9/emile-v0.9.tbz)
-> retrieved fmt.0.9.0  (https://erratique.ch/software/fmt/releases/fmt-0.9.0.tbz)
-> 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)
-> retrieved mirage-crypto-pk.0.10.7, mirage-crypto-rng.0.10.7  (https://github.com/mirage/mirage-crypto/releases/download/v0.10.7/mirage-crypto-0.10.7.tbz)
-> retrieved mrmime.0.3.0  (https://github.com/mirage/mrmime/releases/download/v0.3.0/mrmime-v0.3.0.tbz)
-> installed cmdliner.1.2.0
-> retrieved pecu.0.4  (https://github.com/mirage/pecu/releases/download/v0.4/pecu-v0.4.tbz)
-> installed pecu.0.4
-> 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)
-> installed seq.base
-> retrieved tls.0.12.8  (https://github.com/mirleft/ocaml-tls/releases/download/v0.12.8/tls-v0.12.8.tbz)
-> retrieved unstrctrd.0.3  (https://github.com/dinosaure/unstrctrd/releases/download/v0.3/unstrctrd-v0.3.tbz)
-> retrieved uutf.1.0.3  (https://erratique.ch/software/uutf/releases/uutf-1.0.3.tbz)
-> installed re.1.11.0
-> retrieved uuuu.0.3.0  (https://github.com/mirage/uuuu/releases/download/v0.3.0/uuuu-0.3.0.tbz)
-> retrieved x509.0.11.2  (https://github.com/mirleft/ocaml-x509/releases/download/v0.11.2/x509-v0.11.2.tbz)
-> installed coin.0.1.4
-> installed uuuu.0.3.0
-> installed uutf.1.0.3
-> retrieved yuscii.0.3.0  (https://github.com/mirage/yuscii/releases/download/v0.3.0/yuscii-v0.3.0.tbz)
-> removed   sendmail.0.3.0
-> removed   colombe.0.3.0
-> removed   tls.0.12.8
-> removed   x509.0.11.2
-> removed   mirage-crypto-pk.0.10.7
-> removed   mirage-crypto-rng.0.10.7
-> removed   logs.0.7.0
-> removed   fmt.0.9.0
-> installed fmt.0.9.0
-> installed yuscii.0.3.0
-> installed unstrctrd.0.3
-> installed emile.0.9
-> installed rosetta.0.3.0
-> installed ke.0.6
-> installed colombe.0.3.0
-> installed alcotest.1.7.0
-> installed logs.0.7.0
-> installed mrmime.0.3.0
-> installed mirage-crypto-rng.0.10.7
-> installed mirage-crypto-pk.0.10.7
-> installed x509.0.11.2
-> installed tls.0.12.8
-> installed sendmail.0.3.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 20:16.58 ---> saved as "ca3aeb3e77dfde2975dc170003f957293602f85fd1ffe90e635ed294f7ab30ab"

/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-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.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:
-> 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" "71" (CWD=/home/opam/.opam/5.1/.opam-switch/build/sendmail.0.3.0)
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I sendmail/.sendmail.objs/byte -I /home/opam/.opam/5.1/lib/angstrom -I /home/opam/.opam/5.1/lib/base64 -I /home/opam/.opam/5.1/lib/bigstringaf -I /home/opam/.opam/5.1/lib/colombe -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/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/5.1/bin/ocamlopt.opt -w -40 -g -I sendmail/.sendmail.objs/byte -I sendmail/.sendmail.objs/native -I /home/opam/.opam/5.1/lib/angstrom -I /home/opam/.opam/5.1/lib/base64 -I /home/opam/.opam/5.1/lib/bigstringaf -I /home/opam/.opam/5.1/lib/colombe -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/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/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I sendmail/.sendmail_with_tls.objs/byte -I /home/opam/.opam/5.1/lib/angstrom -I /home/opam/.opam/5.1/lib/asn1-combinators -I /home/opam/.opam/5.1/lib/base64 -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bigstringaf -I /home/opam/.opam/5.1/lib/colombe -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/cstruct-sexp -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/eqaf -I /home/opam/.opam/5.1/lib/eqaf/bigstring -I /home/opam/.opam/5.1/lib/eqaf/cstruct -I /home/opam/.opam/5.1/lib/fiat-p256 -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hacl_x25519 -I /home/opam/.opam/5.1/lib/hex -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-pk -I /home/opam/.opam/5.1/lib/mirage-crypto-rng -I /home/opam/.opam/5.1/lib/parsexp -I /home/opam/.opam/5.1/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.1/lib/ptime -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/sexplib -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stdlib-shims -I /home/opam/.opam/5.1/lib/tls -I /home/opam/.opam/5.1/lib/x509 -I /home/opam/.opam/5.1/lib/zarith -I sendmail/.sendmail.objs/byte -intf-suffix .ml -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.1/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.1/lib/angstrom -I /home/opam/.opam/5.1/lib/asn1-combinators -I /home/opam/.opam/5.1/lib/base64 -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bigstringaf -I /home/opam/.opam/5.1/lib/colombe -I /home/opam/.opam/5.1/lib/cstruct -I /home/opam/.opam/5.1/lib/cstruct-sexp -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/eqaf -I /home/opam/.opam/5.1/lib/eqaf/bigstring -I /home/opam/.opam/5.1/lib/eqaf/cstruct -I /home/opam/.opam/5.1/lib/fiat-p256 -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hacl_x25519 -I /home/opam/.opam/5.1/lib/hex -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-pk -I /home/opam/.opam/5.1/lib/mirage-crypto-rng -I /home/opam/.opam/5.1/lib/parsexp -I /home/opam/.opam/5.1/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.1/lib/ptime -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/sexplib -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stdlib-shims -I /home/opam/.opam/5.1/lib/tls -I /home/opam/.opam/5.1/lib/x509 -I /home/opam/.opam/5.1/lib/zarith -I sendmail/.sendmail.objs/byte -I sendmail/.sendmail.objs/native -intf-suffix .ml -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" "71" (CWD=/home/opam/.opam/5.1/.opam-switch/build/sendmail.0.3.0)
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I test/.test_sendmail.eobjs/byte -I /home/opam/.opam/5.1/lib/alcotest -I /home/opam/.opam/5.1/lib/alcotest/engine -I /home/opam/.opam/5.1/lib/alcotest/stdlib_ext -I /home/opam/.opam/5.1/lib/angstrom -I /home/opam/.opam/5.1/lib/astring -I /home/opam/.opam/5.1/lib/base64 -I /home/opam/.opam/5.1/lib/base64/rfc2045 -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bigarray-overlap -I /home/opam/.opam/5.1/lib/bigstringaf -I /home/opam/.opam/5.1/lib/cmdliner -I /home/opam/.opam/5.1/lib/coin -I /home/opam/.opam/5.1/lib/colombe -I /home/opam/.opam/5.1/lib/colombe/emile -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/emile -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/ke -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mrmime -I /home/opam/.opam/5.1/lib/mrmime/prettym -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/pecu -I /home/opam/.opam/5.1/lib/ptime -I /home/opam/.opam/5.1/lib/re -I /home/opam/.opam/5.1/lib/rosetta -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/stdlib-shims -I /home/opam/.opam/5.1/lib/unstrctrd -I /home/opam/.opam/5.1/lib/unstrctrd/parser -I /home/opam/.opam/5.1/lib/uutf -I /home/opam/.opam/5.1/lib/uuuu -I /home/opam/.opam/5.1/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.1/bin/ocamlopt.opt -w -40 -g -I test/.test_sendmail.eobjs/byte -I test/.test_sendmail.eobjs/native -I /home/opam/.opam/5.1/lib/alcotest -I /home/opam/.opam/5.1/lib/alcotest/engine -I /home/opam/.opam/5.1/lib/alcotest/stdlib_ext -I /home/opam/.opam/5.1/lib/angstrom -I /home/opam/.opam/5.1/lib/astring -I /home/opam/.opam/5.1/lib/base64 -I /home/opam/.opam/5.1/lib/base64/rfc2045 -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/bigarray-overlap -I /home/opam/.opam/5.1/lib/bigstringaf -I /home/opam/.opam/5.1/lib/cmdliner -I /home/opam/.opam/5.1/lib/coin -I /home/opam/.opam/5.1/lib/colombe -I /home/opam/.opam/5.1/lib/colombe/emile -I /home/opam/.opam/5.1/lib/domain-name -I /home/opam/.opam/5.1/lib/emile -I /home/opam/.opam/5.1/lib/fmt -I /home/opam/.opam/5.1/lib/ipaddr -I /home/opam/.opam/5.1/lib/ke -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/macaddr -I /home/opam/.opam/5.1/lib/mrmime -I /home/opam/.opam/5.1/lib/mrmime/prettym -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/pecu -I /home/opam/.opam/5.1/lib/ptime -I /home/opam/.opam/5.1/lib/re -I /home/opam/.opam/5.1/lib/rosetta -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/seq -I /home/opam/.opam/5.1/lib/stdlib-shims -I /home/opam/.opam/5.1/lib/unstrctrd -I /home/opam/.opam/5.1/lib/unstrctrd/parser -I /home/opam/.opam/5.1/lib/uutf -I /home/opam/.opam/5.1/lib/uuuu -I /home/opam/.opam/5.1/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 `0P4PCZ0X'.
- 
-   [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.1/.opam-switch/build/sendmail.0.3.0/_build/default/test/_build/_tests/sendmail'.
- Test Successful in 0.004s. 7 tests run.
-> compiled  sendmail.0.3.0
-> removed   sendmail.0.3.0
-> installed sendmail.0.3.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 20:17.20 ---> saved as "abdc503e0d67793f5257927458097f00e224b4cd31d194551884a3f31c0523d3"
Job succeeded
2024-02-12 20:19.14: Job succeeded