Build:
  1. 0
2024-02-11 20:23.52: New job: test tls.0.13.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 tls.0.13.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" != 'tls.0.13.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 tls.0.13.0) || true
RUN opam reinstall --with-test --verbose tls.0.13.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" != 'tls.0.13.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.52: Using cache hint "ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930-conf-pkg-config.1.1-tls.0.13.0-8c7391d6ec81e93f24de221eb32a886b72d1ede6"
2024-02-11 20:23.52: 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 tls.0.13.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\" != 'tls.0.13.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 tls.0.13.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose tls.0.13.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\" != 'tls.0.13.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.52: Waiting for resource in pool OCluster
2024-02-12 19:45.56: Waiting for worker…
2024-02-12 19:47.55: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
Updating files:  52% (17351/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:  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 19:48.13 ---> 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 19:48.13 ---> 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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

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

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

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-02-12 19:48.15 ---> 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 1s (6830 kB/s)
- Reading package lists...
2024-02-12 19:48.15 ---> 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 19:48.15 ---> 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 19:48.15 ---> 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 tls.0.13.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\" != 'tls.0.13.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
tls.0.13.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 48 packages
  - 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 x509]
  - install bigarray-compat     1.1.0   [required by cstruct]
  - 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 tls]
  - install dune-configurator   3.13.1  [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 tls]
  - install gmap                0.3.0   [required by x509]
  - install hkdf                1.0.4   [required by tls]
  - install logs                0.7.0   [required by tls]
  - install lwt                 5.7.0   [required by tls]
  - install mirage-crypto       0.9.2   [required by tls]
  - install mirage-crypto-ec    0.9.2   [required by tls]
  - install mirage-crypto-pk    0.9.2   [required by tls]
  - install mirage-crypto-rng   0.9.2   [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 ocamlbuild          0.14.3  [required by logs, fmt, ptime]
  - install ocamlfind           1.9.6   [required by logs, fmt, ptime]
  - install ocplib-endian       1.2     [required by lwt]
  - install parsexp             v0.16.0 [required by sexplib]
  - install pbkdf               1.2.0   [required by x509]
  - 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]
  - install ptime               1.1.0   [required by tls]
  - install rresult             0.7.0   [required by tls]
  - install sexplib             v0.16.0 [required by tls]
  - install sexplib0            v0.16.0 [required by sexplib, ppx_sexp_conv]
  - install stdlib-shims        0.3.0   [required by ppx_cstruct]
  - install tls                 0.13.0
  - install topkg               1.0.7   [required by logs, fmt, ptime]
  - install x509                0.12.0  [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 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 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 fmt.0.9.0  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved hkdf.1.0.4  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt.5.7.0  (cached)
-> retrieved mirage-crypto.0.9.2, mirage-crypto-ec.0.9.2, mirage-crypto-pk.0.9.2, mirage-crypto-rng.0.9.2  (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 ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved parsexp.v0.16.0  (cached)
-> retrieved pbkdf.1.2.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.13.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved x509.0.12.0  (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 fmt.0.9.0
-> installed mtime.2.0.0
-> installed ptime.1.1.0
-> installed dune.3.13.1
-> installed ppx_derivers.1.2.1
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed bigarray-compat.1.1.0
-> installed cppo.1.6.9
-> installed domain-name.0.4.0
-> installed gmap.0.3.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed ocplib-endian.1.2
-> installed cstruct.6.0.1
-> installed eqaf.0.9
-> installed asn1-combinators.0.2.6
-> installed parsexp.v0.16.0
-> installed dune-configurator.3.13.1
-> installed sexplib.v0.16.0
-> installed cstruct-sexp.6.0.1
-> installed mirage-crypto.0.9.2
-> installed hkdf.1.0.4
-> installed pbkdf.1.2.0
-> installed lwt.5.7.0
-> installed logs.0.7.0
-> installed base.v0.16.3
-> installed mirage-crypto-rng.0.9.2
-> installed mirage-crypto-ec.0.9.2
-> installed ppxlib.0.32.0
-> installed ppx_cstruct.6.0.1
-> installed ppx_sexp_conv.v0.16.0
-> installed mirage-crypto-pk.0.9.2
-> installed x509.0.12.0
-> installed tls.0.13.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 19:49.12 ---> saved as "dc15111bccde936e722b9e6d90948826195caa9db3e0e781e760f4e4df6e3ce9"

/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 tls.0.13.0) || true"))
The following actions will be performed:
=== recompile 7 packages
  - recompile fmt                0.9.0  [uses cmdliner]
  - recompile logs               0.7.0  [uses cmdliner]
  - recompile mirage-crypto-ec   0.9.2  [uses mirage-crypto-rng]
  - recompile mirage-crypto-pk   0.9.2  [uses mirage-crypto-rng]
  - recompile mirage-crypto-rng  0.9.2  [uses logs]
  - recompile tls                0.13.0
  - recompile x509               0.12.0 [uses fmt]
=== install 9 packages
  - install   alcotest           1.7.0  [required by tls]
  - install   astring            0.8.5  [required by alcotest]
  - install   cmdliner           1.2.0  [required by alcotest]
  - install   cstruct-unix       6.0.1  [required by tls]
  - install   ocaml-syntax-shims 1.0.0  [required by alcotest]
  - install   ounit2             2.2.7  [required by tls]
  - install   re                 1.11.0 [required by alcotest]
  - install   seq                base   [required by ounit2]
  - install   uutf               1.0.3  [required by alcotest]

<><> 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 cmdliner.1.2.0  (https://erratique.ch/software/cmdliner/releases/cmdliner-1.2.0.tbz)
-> retrieved cstruct-unix.6.0.1  (https://github.com/mirage/ocaml-cstruct/releases/download/v6.0.1/cstruct-v6.0.1.tbz)
-> retrieved fmt.0.9.0  (https://erratique.ch/software/fmt/releases/fmt-0.9.0.tbz)
-> retrieved logs.0.7.0  (https://erratique.ch/software/logs/releases/logs-0.7.0.tbz)
-> installed cstruct-unix.6.0.1
-> installed astring.0.8.5
-> retrieved mirage-crypto-ec.0.9.2, mirage-crypto-pk.0.9.2, mirage-crypto-rng.0.9.2  (https://github.com/mirage/mirage-crypto/releases/download/v0.9.2/mirage-crypto-v0.9.2.tbz)
-> retrieved ocaml-syntax-shims.1.0.0  (https://github.com/ocaml-ppx/ocaml-syntax-shims/releases/download/1.0.0/ocaml-syntax-shims-1.0.0.tbz)
-> installed cmdliner.1.2.0
-> retrieved ounit2.2.2.7  (https://github.com/gildor478/ounit/releases/download/v2.2.7/ounit-2.2.7.tbz)
-> installed ocaml-syntax-shims.1.0.0
-> retrieved re.1.11.0  (https://github.com/ocaml/ocaml-re/releases/download/1.11.0/re-1.11.0.tbz)
-> installed seq.base
-> retrieved tls.0.13.0  (https://github.com/mirleft/ocaml-tls/releases/download/v0.13.0/tls-v0.13.0.tbz)
-> removed   tls.0.13.0
-> installed re.1.11.0
-> retrieved uutf.1.0.3  (https://erratique.ch/software/uutf/releases/uutf-1.0.3.tbz)
-> installed ounit2.2.2.7
-> retrieved x509.0.12.0  (https://github.com/mirleft/ocaml-x509/releases/download/v0.12.0/x509-v0.12.0.tbz)
-> removed   x509.0.12.0
-> removed   mirage-crypto-ec.0.9.2
-> removed   mirage-crypto-pk.0.9.2
-> removed   mirage-crypto-rng.0.9.2
-> removed   logs.0.7.0
-> removed   fmt.0.9.0
-> installed fmt.0.9.0
-> installed uutf.1.0.3
-> installed alcotest.1.7.0
-> installed logs.0.7.0
-> installed mirage-crypto-rng.0.9.2
-> installed mirage-crypto-pk.0.9.2
-> installed mirage-crypto-ec.0.9.2
-> installed x509.0.12.0
-> installed tls.0.13.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 19:49.41 ---> saved as "46b1022dede626075754897e42958ad959e0a1f37a0ed4b144d0964413f34276"

/home/opam: (run (shell  "opam reinstall --with-test --verbose tls.0.13.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\" != 'tls.0.13.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 tls 0.13.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4:
-> retrieved tls.0.13.0  (cached)
Processing  2/4: [tls: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "tls" "-j" "255" (CWD=/home/opam/.opam/5.1/.opam-switch/build/tls.0.13.0)
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -no-alias-deps -open Tls -o lib/.tls.objs/byte/tls__Core.cmo -c -impl lib/core.pp.ml)
- File "lib/core.ml", line 115, characters 4-15:
- 115 |     Cstruct.len binder + 1 (* binder len *)
-           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/byte/tls__Writer.cmo -c -impl lib/writer.pp.ml)
- File "lib/writer.ml", line 28, characters 23-26:
- 28 |   BE.set_uint16 buf 3 (len payload);
-                             ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 38, characters 22-25:
- 38 |        set_uint8 l 0 (len body) ;
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 42, characters 26-29:
- 42 |        BE.set_uint16 l 0 (len body) ;
-                                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 46, characters 25-28:
- 46 |        set_uint24_len l (len body) ;
-                               ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 61, characters 15-18:
- 61 |   let length = len c in
-                     ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 119, characters 25-28:
- 119 |     BE.set_uint16 buf 0 (len x) ;
-                                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 146, characters 21-24:
- 146 |   BE.set_uint16 l 0 (len ks) ;
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 151, characters 26-29:
- 151 |   BE.set_uint16 id_len 0 (len id) ;
-                                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 158, characters 21-24:
- 158 |   set_uint8 b_len 0 (len b) ;
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 181, characters 22-25:
- 181 |      set_uint8 buf 0 (len x);
-                             ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 193, characters 21-24:
- 193 |   BE.set_uint16 l 0 (len c) ;
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 207, characters 23-26:
- 207 |   BE.set_uint16 buf 2 (len pay);
-                              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 216, characters 26-29:
- 216 |   BE.set_uint16 lenbuf 0 (len data) ;
-                                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 232, characters 20-23:
- 232 |   set_uint8 clen 0 (len context) ;
-                           ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 305, characters 17-20:
- 305 |   set_uint8 l 0 (len context) ;
-                        ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 312, characters 31-34:
- 312 |   | Some s -> set_uint8 buf 0 (len s); buf <+> s
-                                      ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 347, characters 19-22:
- 347 |       let buflen = len bbuf + len extensions + 4 (* see above, header *) in
-                          ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 347, characters 30-33:
- 347 |       let buflen = len bbuf + len extensions + 4 (* see above, header *) in
-                                     ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 349, characters 14-17:
- 349 |         match len extensions with
-                     ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 355, characters 44-47:
- 355 |           BE.set_uint16 extension_length 0 (len padding);
-                                                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 362, characters 21-24:
- 362 |           let elen = len extensions + len padding - 2 (* the 16 bit length field *) in
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 362, characters 38-41:
- 362 |           let elen = len extensions + len padding - 2 (* the 16 bit length field *) in
-                                             ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 384, characters 27-30:
- 384 |   let plen, glen, yslen = (len p.dh_p, len p.dh_g, len p.dh_Ys) in
-                                  ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 384, characters 39-42:
- 384 |   let plen, glen, yslen = (len p.dh_p, len p.dh_g, len p.dh_Ys) in
-                                              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 384, characters 51-54:
- 384 |   let plen, glen, yslen = (len p.dh_p, len p.dh_g, len p.dh_Ys) in
-                                                          ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 398, characters 19-22:
- 398 |   set_uint8 hdr 3 (len point);
-                          ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 403, characters 26-29:
- 403 |   BE.set_uint16 lenbuf 0 (len signature);
-                                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 422, characters 19-22:
- 422 |   set_uint8 buf 8 (len se.nonce) ;
-                          ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 424, characters 29-32:
- 424 |   BE.set_uint16 ticketlen 0 (len se.ticket) ;
-                                    ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 429, characters 12-15:
- 429 |   let len = len kex in
-                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 436, characters 12-15:
- 436 |   let len = len kex in
-                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 493, characters 16-19:
- 493 |   let pay_len = len payload in
-                       ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/byte/tls__Reader.cmo -c -impl lib/reader.pp.ml)
- File "lib/reader.ml", line 57, characters 5-8:
- 57 |   if len buf < 5 then
-           ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 69, characters 21-24:
- 69 |     | x when 5 + x > len buf -> Ok (`Fragment buf)
-                           ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 120, characters 5-8:
- 120 |   if len buf <> 2 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 131, characters 8-11:
- 131 |   match len buf, get_uint8 buf 0 with
-               ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 143, characters 8-11:
- 143 |   match len buf with
-               ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 177, characters 8-11:
- 177 |   match len buf with
-               ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 196, characters 5-8:
- 196 |   if len buf <> 1 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 226, characters 7-10:
- 226 |     if len rt <> 0 then
-              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 252, characters 5-8:
- 252 |   if len buf <> length + 2 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 273, characters 10-13:
- 273 |        if len buf <> len' + 1 then
-                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 278, characters 9-12:
- 278 |       if len buf > 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 284, characters 7-10:
- 284 |     if len rt <> 0 then
-              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 321, characters 5-8:
- 321 |   if len buf <> 4 + binders_len + id_len then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 367, characters 10-13:
- 367 |        if len rt <> 0 then
-                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 376, characters 20-23:
- 376 |        if ll + 2 <> len buf then
-                           ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 385, characters 9-12:
- 385 |       if len buf <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 391, characters 9-12:
- 391 |       if len rt <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 396, characters 9-12:
- 396 |       if len buf = 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 402, characters 9-12:
- 402 |       if len rt <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 408, characters 9-12:
- 408 |       if len rt <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 427, characters 21-24:
- 427 |         | _, xs when len xs <> 0 -> raise_trailing_bytes "server keyshare"
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 434, characters 9-12:
- 434 |       if len buf <> 2 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 469, characters 10-13:
- 469 |        if len buf <> 0 then
-                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 485, characters 11-14:
- 485 |         if len rt <> 0 then
-                  ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 497, characters 10-13:
- 497 |        if len rt <> 0 then
-                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 507, characters 5-8:
- 507 |   if len buf <> length + 2 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 520, characters 7-10:
- 520 |     if len rt' == 0 then [] else parse_extensions parse_client_extension rt'
-              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 550, characters 11-14:
- 550 |         if len rt' == 0 then [] else parse_extensions parse_retry_extension rt'
-                  ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 565, characters 9-12:
- 565 |       if len rt' == 0 then [] else parse_extensions parse_server_extension rt'
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 581, characters 5-8:
- 581 |   if len buf <> length + 3 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 604, characters 5-8:
- 604 |   if len buf <> length + 3 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 638, characters 5-8:
- 638 |   if len buf' <> 0 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 650, characters 5-8:
- 650 |   if len buf' <> 0 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 663, characters 9-12:
- 663 |       if len rt <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 669, characters 9-12:
- 669 |       if len rt <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 728, characters 5-8:
- 728 |   if len buf <> siglen + 2 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 747, characters 9-12:
- 747 |       if len buf <> 4 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 769, characters 5-8:
- 769 |   if len buf <> length + 2 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 778, characters 5-8:
- 778 |   if len buf <> length + 1 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 786, characters 5-8:
- 786 |   if len buf <> 1 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 794, characters 5-8:
- 794 |   if len buf < 4 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 799, characters 7-10:
- 799 |     if len buf >= hslen then
-              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 809, characters 5-8:
- 809 |   if len buf <> length + 4 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 815, characters 9-12:
- 815 |       if len payload = 0 then HelloRequest else raise_trailing_bytes "hello request"
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 822, characters 9-12:
- 822 |       if len payload = 0 then ServerHelloDone else raise_trailing_bytes "server hello done"
-                ^^^
- 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 lib/.tls.objs/byte -I lib/.tls.objs/native -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Core.cmx -c -impl lib/core.pp.ml)
- File "lib/core.ml", line 115, characters 4-15:
- 115 |     Cstruct.len binder + 1 (* binder len *)
-           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -no-alias-deps -open Tls -o lib/.tls.objs/byte/tls__Crypto.cmo -c -impl lib/crypto.pp.ml)
- File "lib/crypto.ml", line 76, characters 12-23:
- 76 |     let l = Cstruct.len nonce in
-                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/crypto.ml", line 117, characters 16-19:
- 117 |   let len = 1 + len data in
-                       ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/crypto.ml", line 129, characters 12-15:
- 129 |   let len = len data in
-                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/byte/tls__Handshake_crypto.cmo -c -impl lib/handshake_crypto.pp.ml)
- File "lib/handshake_crypto.ml", line 8, characters 13-24:
- 8 |   let size = Cstruct.len secret in
-                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -no-alias-deps -open Tls -o lib/.tls.objs/byte/tls__Handshake_crypto13.cmo -c -impl lib/handshake_crypto13.pp.ml)
- File "lib/handshake_crypto13.ml", line 10, characters 40-51:
- 10 |   let padding = Cstruct.create (bytes - Cstruct.len msg) in
-                                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_crypto13.ml", line 16, characters 35-46:
- 16 |     let all_zero = Cstruct.create (Cstruct.len cs) in
-                                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_crypto13.ml", line 29, characters 10-21:
- 29 |        if Cstruct.len share = cdiv bits 8 then
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_crypto13.ml", line 95, characters 27-38:
- 95 |     Cstruct.set_uint8 l 0 (Cstruct.len lbl) ;
-                                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_crypto13.ml", line 99, characters 27-38:
- 99 |     Cstruct.set_uint8 l 0 (Cstruct.len context) ;
-                                 ^^^^^^^^^^^
- 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 lib/.tls.objs/byte -I lib/.tls.objs/native -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Writer.cmx -c -impl lib/writer.pp.ml)
- File "lib/writer.ml", line 28, characters 23-26:
- 28 |   BE.set_uint16 buf 3 (len payload);
-                             ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 38, characters 22-25:
- 38 |        set_uint8 l 0 (len body) ;
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 42, characters 26-29:
- 42 |        BE.set_uint16 l 0 (len body) ;
-                                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 46, characters 25-28:
- 46 |        set_uint24_len l (len body) ;
-                               ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 61, characters 15-18:
- 61 |   let length = len c in
-                     ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 119, characters 25-28:
- 119 |     BE.set_uint16 buf 0 (len x) ;
-                                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 146, characters 21-24:
- 146 |   BE.set_uint16 l 0 (len ks) ;
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 151, characters 26-29:
- 151 |   BE.set_uint16 id_len 0 (len id) ;
-                                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 158, characters 21-24:
- 158 |   set_uint8 b_len 0 (len b) ;
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 181, characters 22-25:
- 181 |      set_uint8 buf 0 (len x);
-                             ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 193, characters 21-24:
- 193 |   BE.set_uint16 l 0 (len c) ;
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 207, characters 23-26:
- 207 |   BE.set_uint16 buf 2 (len pay);
-                              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 216, characters 26-29:
- 216 |   BE.set_uint16 lenbuf 0 (len data) ;
-                                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 232, characters 20-23:
- 232 |   set_uint8 clen 0 (len context) ;
-                           ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 305, characters 17-20:
- 305 |   set_uint8 l 0 (len context) ;
-                        ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 312, characters 31-34:
- 312 |   | Some s -> set_uint8 buf 0 (len s); buf <+> s
-                                      ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 347, characters 19-22:
- 347 |       let buflen = len bbuf + len extensions + 4 (* see above, header *) in
-                          ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 347, characters 30-33:
- 347 |       let buflen = len bbuf + len extensions + 4 (* see above, header *) in
-                                     ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 349, characters 14-17:
- 349 |         match len extensions with
-                     ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 355, characters 44-47:
- 355 |           BE.set_uint16 extension_length 0 (len padding);
-                                                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 362, characters 21-24:
- 362 |           let elen = len extensions + len padding - 2 (* the 16 bit length field *) in
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 362, characters 38-41:
- 362 |           let elen = len extensions + len padding - 2 (* the 16 bit length field *) in
-                                             ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 384, characters 27-30:
- 384 |   let plen, glen, yslen = (len p.dh_p, len p.dh_g, len p.dh_Ys) in
-                                  ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 384, characters 39-42:
- 384 |   let plen, glen, yslen = (len p.dh_p, len p.dh_g, len p.dh_Ys) in
-                                              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 384, characters 51-54:
- 384 |   let plen, glen, yslen = (len p.dh_p, len p.dh_g, len p.dh_Ys) in
-                                                          ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 398, characters 19-22:
- 398 |   set_uint8 hdr 3 (len point);
-                          ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 403, characters 26-29:
- 403 |   BE.set_uint16 lenbuf 0 (len signature);
-                                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 422, characters 19-22:
- 422 |   set_uint8 buf 8 (len se.nonce) ;
-                          ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 424, characters 29-32:
- 424 |   BE.set_uint16 ticketlen 0 (len se.ticket) ;
-                                    ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 429, characters 12-15:
- 429 |   let len = len kex in
-                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 436, characters 12-15:
- 436 |   let len = len kex in
-                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/writer.ml", line 493, characters 16-19:
- 493 |   let pay_len = len payload in
-                       ^^^
- 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 lib/.tls.objs/byte -I lib/.tls.objs/native -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Reader.cmx -c -impl lib/reader.pp.ml)
- File "lib/reader.ml", line 57, characters 5-8:
- 57 |   if len buf < 5 then
-           ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 69, characters 21-24:
- 69 |     | x when 5 + x > len buf -> Ok (`Fragment buf)
-                           ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 120, characters 5-8:
- 120 |   if len buf <> 2 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 131, characters 8-11:
- 131 |   match len buf, get_uint8 buf 0 with
-               ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 143, characters 8-11:
- 143 |   match len buf with
-               ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 177, characters 8-11:
- 177 |   match len buf with
-               ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 196, characters 5-8:
- 196 |   if len buf <> 1 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 226, characters 7-10:
- 226 |     if len rt <> 0 then
-              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 252, characters 5-8:
- 252 |   if len buf <> length + 2 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 273, characters 10-13:
- 273 |        if len buf <> len' + 1 then
-                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 278, characters 9-12:
- 278 |       if len buf > 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 284, characters 7-10:
- 284 |     if len rt <> 0 then
-              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 321, characters 5-8:
- 321 |   if len buf <> 4 + binders_len + id_len then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 367, characters 10-13:
- 367 |        if len rt <> 0 then
-                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 376, characters 20-23:
- 376 |        if ll + 2 <> len buf then
-                           ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 385, characters 9-12:
- 385 |       if len buf <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 391, characters 9-12:
- 391 |       if len rt <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 396, characters 9-12:
- 396 |       if len buf = 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 402, characters 9-12:
- 402 |       if len rt <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 408, characters 9-12:
- 408 |       if len rt <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 427, characters 21-24:
- 427 |         | _, xs when len xs <> 0 -> raise_trailing_bytes "server keyshare"
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 434, characters 9-12:
- 434 |       if len buf <> 2 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 469, characters 10-13:
- 469 |        if len buf <> 0 then
-                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 485, characters 11-14:
- 485 |         if len rt <> 0 then
-                  ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 497, characters 10-13:
- 497 |        if len rt <> 0 then
-                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 507, characters 5-8:
- 507 |   if len buf <> length + 2 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 520, characters 7-10:
- 520 |     if len rt' == 0 then [] else parse_extensions parse_client_extension rt'
-              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 550, characters 11-14:
- 550 |         if len rt' == 0 then [] else parse_extensions parse_retry_extension rt'
-                  ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 565, characters 9-12:
- 565 |       if len rt' == 0 then [] else parse_extensions parse_server_extension rt'
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 581, characters 5-8:
- 581 |   if len buf <> length + 3 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 604, characters 5-8:
- 604 |   if len buf <> length + 3 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 638, characters 5-8:
- 638 |   if len buf' <> 0 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 650, characters 5-8:
- 650 |   if len buf' <> 0 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 663, characters 9-12:
- 663 |       if len rt <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 669, characters 9-12:
- 669 |       if len rt <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 728, characters 5-8:
- 728 |   if len buf <> siglen + 2 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 747, characters 9-12:
- 747 |       if len buf <> 4 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 769, characters 5-8:
- 769 |   if len buf <> length + 2 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 778, characters 5-8:
- 778 |   if len buf <> length + 1 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 786, characters 5-8:
- 786 |   if len buf <> 1 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 794, characters 5-8:
- 794 |   if len buf < 4 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 799, characters 7-10:
- 799 |     if len buf >= hslen then
-              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 809, characters 5-8:
- 809 |   if len buf <> length + 4 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 815, characters 9-12:
- 815 |       if len payload = 0 then HelloRequest else raise_trailing_bytes "hello request"
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 822, characters 9-12:
- 822 |       if len payload = 0 then ServerHelloDone else raise_trailing_bytes "server hello done"
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -no-alias-deps -open Tls -o lib/.tls.objs/byte/tls__Handshake_common.cmo -c -impl lib/handshake_common.pp.ml)
- File "lib/handshake_common.ml", line 387, characters 7-18:
- 387 |     if Cstruct.len cs = 0 then Ok a else Error (`Parse "Leftover")
-              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -no-alias-deps -open Tls -o lib/.tls.objs/byte/tls__Handshake_client13.cmo -c -impl lib/handshake_client13.pp.ml)
- File "lib/handshake_client13.ml", line 16, characters 11-22:
- 16 |     guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>= fun () ->
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_client13.ml", line 83, characters 46-57:
- 83 |   let ch0_hdr = Writer.assemble_message_hash (Cstruct.len ch0_data) in
-                                                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_client13.ml", line 142, characters 9-20:
- 142 |   guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>= fun () ->
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_client13.ml", line 213, characters 11-22:
- 213 |     guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>= fun () ->
-                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_client13.ml", line 254, characters 18-29:
- 254 |            guard (Cstruct.len con = 0) (`Fatal `InvalidMessage) >>= fun () ->
-                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -no-alias-deps -open Tls -o lib/.tls.objs/byte/tls__Handshake_server13.cmo -c -impl lib/handshake_server13.pp.ml)
- File "lib/handshake_server13.ml", line 106, characters 56-67:
- 106 |            let hash_hdr = Writer.assemble_message_hash (Cstruct.len c) in
-                                                               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server13.ml", line 185, characters 58-61:
- 185 |                         let ch_part = Cstruct.(sub raw 0 (len raw - binders_len)) in
-                                                                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server13.ml", line 298, characters 13-24:
- 298 |       guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>| fun () ->
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server13.ml", line 400, characters 11-22:
- 400 |     guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>| fun () ->
-                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server13.ml", line 429, characters 11-22:
- 429 |     guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>= fun () ->
-                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/byte/tls__Handshake_client.cmo -c -impl lib/handshake_client.pp.ml)
- File "lib/handshake_client.ml", line 66, characters 72-83:
- 66 |     | _, Some { session_id ; extended_ms ; _ } when extended_ms && not (Cstruct.len session_id = 0) -> Some session_id
-                                                                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_client.ml", line 67, characters 47-58:
- 67 |     | false, Some { session_id ; _ } when not (Cstruct.len session_id = 0) -> Some session_id
-                                                     ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_client.ml", line 85, characters 29-40:
- 85 |     | None, Some x -> guard (Cstruct.len x = 0) (`Fatal `InvalidRenegotiation)
-                                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_client.ml", line 402, characters 9-20:
- 402 |   guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>| fun () ->
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_client.ml", line 413, characters 9-20:
- 413 |   guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>| fun () ->
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_client.ml", line 446, characters 12-23:
- 446 |      guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>| fun () ->
-                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_client.ml", line 451, characters 12-23:
- 451 |      guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>| fun () ->
-                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I lwt/.tls_lwt.objs/byte -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/bytes -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/duration -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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/mirage-crypto-rng/lwt -I /home/opam/.opam/5.1/lib/mirage-crypto-rng/unix -I /home/opam/.opam/5.1/lib/mtime -I /home/opam/.opam/5.1/lib/mtime/clock/os -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/parsexp -I /home/opam/.opam/5.1/lib/pbkdf -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/ptime/clock/os -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/x509 -I /home/opam/.opam/5.1/lib/zarith -I lib/.tls.objs/byte -intf-suffix .ml -no-alias-deps -o lwt/.tls_lwt.objs/byte/tls_lwt.cmo -c -impl lwt/tls_lwt.ml)
- File "lwt/tls_lwt.ml", line 30, characters 14-25:
- 30 |     | cs when Cstruct.len cs = 0 -> return_unit
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lwt/tls_lwt.ml", line 95, characters 17-20:
- 95 |       let rlen = len res in
-                       ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lwt/tls_lwt.ml", line 96, characters 22-25:
- 96 |       let n    = min (len buf) rlen in
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/byte/tls__Handshake_server.cmo -c -impl lib/handshake_server.pp.ml)
- File "lib/handshake_server.ml", line 37, characters 9-20:
- 37 |   guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>| fun () ->
-               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server.ml", line 51, characters 9-20:
- 51 |   guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>| fun () ->
-               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server.ml", line 122, characters 10-21:
- 122 |     match Cstruct.len k == 48, Reader.parse_any_version k with
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server.ml", line 203, characters 47-58:
- 203 |     let rst = Mirage_crypto_rng.generate (32 - Cstruct.len suffix) in
-                                                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server.ml", line 213, characters 10-21:
- 213 |     match Cstruct.len session.session_id with
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server.ml", line 465, characters 26-37:
- 465 |     | _, Some x -> guard (Cstruct.len x = 0) (`Fatal `InvalidRenegotiation)
-                                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server.ml", line 496, characters 11-22:
- 496 |     guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>| fun () ->
-                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server.ml", line 576, characters 12-23:
- 576 |      guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty)
-                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server.ml", line 587, characters 12-23:
- 587 |      guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>| fun () ->
-                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/byte/tls__Engine.cmo -c -impl lib/engine.pp.ml)
- File "lib/engine.ml", line 137, characters 42-53:
- 137 |             let adata = Crypto.adata_1_3 (Cstruct.len buf + Crypto.tag_len c.cipher) in
-                                                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 146, characters 41-52:
- 146 |         Crypto.pseudo_header seq ty ver (Cstruct.len buf)
-                                                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 190, characters 17-28:
- 190 |   let macstart = Cstruct.len decrypted - Mirage_crypto.Hash.digest_size mac in
-                        ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 195, characters 52-63:
- 195 |     let hdr = Crypto.pseudo_header sequence ty ver (Cstruct.len body) in
-                                                           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 234, characters 15-26:
- 234 |             if Cstruct.len buf < Crypto.cbc_block c.cipher then
-                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 247, characters 43-54:
- 247 |           Crypto.pseudo_header seq ty ver (Cstruct.len buf - Crypto.tag_len c.cipher)
-                                                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 255, characters 11-22:
- 255 |         if Cstruct.len buf < explicit_nonce_len then
-                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 261, characters 45-56:
- 261 |             Crypto.pseudo_header seq ty ver (Cstruct.len buf - Crypto.tag_len c.cipher)
-                                                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 295, characters 23-34:
- 295 |             eat (pred (Cstruct.len x))
-                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 297, characters 40-51:
- 297 |           let adata = Crypto.adata_1_3 (Cstruct.len buf) in
-                                               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 340, characters 25-36:
- 340 |     | (t1, a) :: xs when Cstruct.len a >= 1 lsl 14 ->
-                                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 424, characters 5-16:
- 424 |   if Cstruct.len cs = 0 then None else Some cs
-            ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 439, characters 53-64:
- 439 |     if hs_can_handle_appdata hs || (early_data hs && Cstruct.len hs.hs_fragment = 0) then
-                                                            ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 465, characters 16-27:
- 465 |     let count = Cstruct.len buf - fst (Ciphersuite.kn_13 (Ciphersuite.privprot13 cipher)) in
-                       ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 495, characters 47-58:
- 495 |     | Server13 _ -> hs.early_data_left > 0l && Cstruct.len hs.hs_fragment = 0
-                                                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 711, characters 44-47:
- 711 |       let ch_part = Cstruct.(sub ch'_raw 0 (len ch'_raw - binders_len)) in
-                                                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 713, characters 17-28:
- 713 |       let blen = Cstruct.len binder in
-                        ^^^^^^^^^^^
- 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 lib/.tls.objs/byte -I lib/.tls.objs/native -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Crypto.cmx -c -impl lib/crypto.pp.ml)
- File "lib/crypto.ml", line 76, characters 12-23:
- 76 |     let l = Cstruct.len nonce in
-                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/crypto.ml", line 117, characters 16-19:
- 117 |   let len = 1 + len data in
-                       ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/crypto.ml", line 129, characters 12-15:
- 129 |   let len = len data in
-                   ^^^
- 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 lib/.tls.objs/byte -I lib/.tls.objs/native -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Handshake_crypto.cmx -c -impl lib/handshake_crypto.pp.ml)
- File "lib/handshake_crypto.ml", line 8, characters 13-24:
- 8 |   let size = Cstruct.len secret in
-                  ^^^^^^^^^^^
- 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 lib/.tls.objs/byte -I lib/.tls.objs/native -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Handshake_crypto13.cmx -c -impl lib/handshake_crypto13.pp.ml)
- File "lib/handshake_crypto13.ml", line 10, characters 40-51:
- 10 |   let padding = Cstruct.create (bytes - Cstruct.len msg) in
-                                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_crypto13.ml", line 16, characters 35-46:
- 16 |     let all_zero = Cstruct.create (Cstruct.len cs) in
-                                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_crypto13.ml", line 29, characters 10-21:
- 29 |        if Cstruct.len share = cdiv bits 8 then
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_crypto13.ml", line 95, characters 27-38:
- 95 |     Cstruct.set_uint8 l 0 (Cstruct.len lbl) ;
-                                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_crypto13.ml", line 99, characters 27-38:
- 99 |     Cstruct.set_uint8 l 0 (Cstruct.len context) ;
-                                 ^^^^^^^^^^^
- 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 lib/.tls.objs/byte -I lib/.tls.objs/native -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Handshake_common.cmx -c -impl lib/handshake_common.pp.ml)
- File "lib/handshake_common.ml", line 387, characters 7-18:
- 387 |     if Cstruct.len cs = 0 then Ok a else Error (`Parse "Leftover")
-              ^^^^^^^^^^^
- 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 lib/.tls.objs/byte -I lib/.tls.objs/native -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Handshake_client13.cmx -c -impl lib/handshake_client13.pp.ml)
- File "lib/handshake_client13.ml", line 16, characters 11-22:
- 16 |     guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>= fun () ->
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_client13.ml", line 83, characters 46-57:
- 83 |   let ch0_hdr = Writer.assemble_message_hash (Cstruct.len ch0_data) in
-                                                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_client13.ml", line 142, characters 9-20:
- 142 |   guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>= fun () ->
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_client13.ml", line 213, characters 11-22:
- 213 |     guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>= fun () ->
-                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_client13.ml", line 254, characters 18-29:
- 254 |            guard (Cstruct.len con = 0) (`Fatal `InvalidMessage) >>= fun () ->
-                         ^^^^^^^^^^^
- 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 lib/.tls.objs/byte -I lib/.tls.objs/native -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Handshake_server13.cmx -c -impl lib/handshake_server13.pp.ml)
- File "lib/handshake_server13.ml", line 106, characters 56-67:
- 106 |            let hash_hdr = Writer.assemble_message_hash (Cstruct.len c) in
-                                                               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server13.ml", line 185, characters 58-61:
- 185 |                         let ch_part = Cstruct.(sub raw 0 (len raw - binders_len)) in
-                                                                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server13.ml", line 298, characters 13-24:
- 298 |       guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>| fun () ->
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server13.ml", line 400, characters 11-22:
- 400 |     guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>| fun () ->
-                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server13.ml", line 429, characters 11-22:
- 429 |     guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>= fun () ->
-                  ^^^^^^^^^^^
- 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 lib/.tls.objs/byte -I lib/.tls.objs/native -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Handshake_client.cmx -c -impl lib/handshake_client.pp.ml)
- File "lib/handshake_client.ml", line 66, characters 72-83:
- 66 |     | _, Some { session_id ; extended_ms ; _ } when extended_ms && not (Cstruct.len session_id = 0) -> Some session_id
-                                                                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_client.ml", line 67, characters 47-58:
- 67 |     | false, Some { session_id ; _ } when not (Cstruct.len session_id = 0) -> Some session_id
-                                                     ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_client.ml", line 85, characters 29-40:
- 85 |     | None, Some x -> guard (Cstruct.len x = 0) (`Fatal `InvalidRenegotiation)
-                                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_client.ml", line 402, characters 9-20:
- 402 |   guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>| fun () ->
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_client.ml", line 413, characters 9-20:
- 413 |   guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>| fun () ->
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_client.ml", line 446, characters 12-23:
- 446 |      guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>| fun () ->
-                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_client.ml", line 451, characters 12-23:
- 451 |      guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>| fun () ->
-                   ^^^^^^^^^^^
- 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 lib/.tls.objs/byte -I lib/.tls.objs/native -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Handshake_server.cmx -c -impl lib/handshake_server.pp.ml)
- File "lib/handshake_server.ml", line 37, characters 9-20:
- 37 |   guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>| fun () ->
-               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server.ml", line 51, characters 9-20:
- 51 |   guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>| fun () ->
-               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server.ml", line 122, characters 10-21:
- 122 |     match Cstruct.len k == 48, Reader.parse_any_version k with
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server.ml", line 203, characters 47-58:
- 203 |     let rst = Mirage_crypto_rng.generate (32 - Cstruct.len suffix) in
-                                                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server.ml", line 213, characters 10-21:
- 213 |     match Cstruct.len session.session_id with
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server.ml", line 465, characters 26-37:
- 465 |     | _, Some x -> guard (Cstruct.len x = 0) (`Fatal `InvalidRenegotiation)
-                                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server.ml", line 496, characters 11-22:
- 496 |     guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>| fun () ->
-                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server.ml", line 576, characters 12-23:
- 576 |      guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty)
-                   ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/handshake_server.ml", line 587, characters 12-23:
- 587 |      guard (Cstruct.len state.hs_fragment = 0) (`Fatal `HandshakeFragmentsNotEmpty) >>| fun () ->
-                   ^^^^^^^^^^^
- 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 lib/.tls.objs/byte -I lib/.tls.objs/native -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/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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/pbkdf -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/x509 -I /home/opam/.opam/5.1/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Engine.cmx -c -impl lib/engine.pp.ml)
- File "lib/engine.ml", line 137, characters 42-53:
- 137 |             let adata = Crypto.adata_1_3 (Cstruct.len buf + Crypto.tag_len c.cipher) in
-                                                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 146, characters 41-52:
- 146 |         Crypto.pseudo_header seq ty ver (Cstruct.len buf)
-                                                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 190, characters 17-28:
- 190 |   let macstart = Cstruct.len decrypted - Mirage_crypto.Hash.digest_size mac in
-                        ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 195, characters 52-63:
- 195 |     let hdr = Crypto.pseudo_header sequence ty ver (Cstruct.len body) in
-                                                           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 234, characters 15-26:
- 234 |             if Cstruct.len buf < Crypto.cbc_block c.cipher then
-                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 247, characters 43-54:
- 247 |           Crypto.pseudo_header seq ty ver (Cstruct.len buf - Crypto.tag_len c.cipher)
-                                                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 255, characters 11-22:
- 255 |         if Cstruct.len buf < explicit_nonce_len then
-                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 261, characters 45-56:
- 261 |             Crypto.pseudo_header seq ty ver (Cstruct.len buf - Crypto.tag_len c.cipher)
-                                                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 295, characters 23-34:
- 295 |             eat (pred (Cstruct.len x))
-                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 297, characters 40-51:
- 297 |           let adata = Crypto.adata_1_3 (Cstruct.len buf) in
-                                               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 340, characters 25-36:
- 340 |     | (t1, a) :: xs when Cstruct.len a >= 1 lsl 14 ->
-                                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 424, characters 5-16:
- 424 |   if Cstruct.len cs = 0 then None else Some cs
-            ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 439, characters 53-64:
- 439 |     if hs_can_handle_appdata hs || (early_data hs && Cstruct.len hs.hs_fragment = 0) then
-                                                            ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 465, characters 16-27:
- 465 |     let count = Cstruct.len buf - fst (Ciphersuite.kn_13 (Ciphersuite.privprot13 cipher)) in
-                       ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 495, characters 47-58:
- 495 |     | Server13 _ -> hs.early_data_left > 0l && Cstruct.len hs.hs_fragment = 0
-                                                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 711, characters 44-47:
- 711 |       let ch_part = Cstruct.(sub ch'_raw 0 (len ch'_raw - binders_len)) in
-                                                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 713, characters 17-28:
- 713 |       let blen = Cstruct.len binder in
-                        ^^^^^^^^^^^
- 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 lwt/.tls_lwt.objs/byte -I lwt/.tls_lwt.objs/native -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/bytes -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/duration -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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/mirage-crypto-rng/lwt -I /home/opam/.opam/5.1/lib/mirage-crypto-rng/unix -I /home/opam/.opam/5.1/lib/mtime -I /home/opam/.opam/5.1/lib/mtime/clock/os -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.1/lib/parsexp -I /home/opam/.opam/5.1/lib/pbkdf -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/ptime/clock/os -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/x509 -I /home/opam/.opam/5.1/lib/zarith -I lib/.tls.objs/byte -I lib/.tls.objs/native -intf-suffix .ml -no-alias-deps -o lwt/.tls_lwt.objs/native/tls_lwt.cmx -c -impl lwt/tls_lwt.ml)
- File "lwt/tls_lwt.ml", line 30, characters 14-25:
- 30 |     | cs when Cstruct.len cs = 0 -> return_unit
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lwt/tls_lwt.ml", line 95, characters 17-20:
- 95 |       let rlen = len res in
-                       ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lwt/tls_lwt.ml", line 96, characters 22-25:
- 96 |       let n    = min (len buf) rlen in
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
Processing  2/4: [tls: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "tls" "-j" "255" (CWD=/home/opam/.opam/5.1/.opam-switch/build/tls.0.13.0)
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I tests/.key_derivation.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/asn1-combinators -I /home/opam/.opam/5.1/lib/astring -I /home/opam/.opam/5.1/lib/base64 -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/cmdliner -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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/mirage-crypto-rng/unix -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/parsexp -I /home/opam/.opam/5.1/lib/pbkdf -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/re -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/seq -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/uutf -I /home/opam/.opam/5.1/lib/x509 -I /home/opam/.opam/5.1/lib/zarith -I lib/.tls.objs/byte -no-alias-deps -o tests/.key_derivation.eobjs/byte/key_derivation.cmo -c -impl tests/key_derivation.ml)
- File "tests/key_derivation.ml", line 425, characters 38-49:
- 425 |   Cstruct.BE.set_uint16 adata 3 (17 + Cstruct.len server_payload) ;
-                                             ^^^^^^^^^^^
- 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 tests/.key_derivation.eobjs/byte -I tests/.key_derivation.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/asn1-combinators -I /home/opam/.opam/5.1/lib/astring -I /home/opam/.opam/5.1/lib/base64 -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/cmdliner -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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/mirage-crypto-rng/unix -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/parsexp -I /home/opam/.opam/5.1/lib/pbkdf -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/re -I /home/opam/.opam/5.1/lib/rresult -I /home/opam/.opam/5.1/lib/seq -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/uutf -I /home/opam/.opam/5.1/lib/x509 -I /home/opam/.opam/5.1/lib/zarith -I lib/.tls.objs/byte -I lib/.tls.objs/native -intf-suffix .ml -no-alias-deps -o tests/.key_derivation.eobjs/native/key_derivation.cmx -c -impl tests/key_derivation.ml)
- File "tests/key_derivation.ml", line 425, characters 38-49:
- 425 |   Cstruct.BE.set_uint16 adata 3 (17 + Cstruct.len server_payload) ;
-                                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I tests/.unittestrunner.eobjs/byte -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/cstruct -I /home/opam/.opam/5.1/lib/cstruct-sexp -I /home/opam/.opam/5.1/lib/cstruct-unix -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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/mirage-crypto-rng/unix -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ounit2 -I /home/opam/.opam/5.1/lib/ounit2/advanced -I /home/opam/.opam/5.1/lib/parsexp -I /home/opam/.opam/5.1/lib/pbkdf -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/seq -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/x509 -I /home/opam/.opam/5.1/lib/zarith -I lib/.tls.objs/byte -I tests/.testlib.objs/byte -no-alias-deps -o tests/.unittestrunner.eobjs/byte/readertests.cmo -c -impl tests/readertests.ml)
- File "tests/readertests.ml", line 430, characters 38-49:
- 430 |   | Ok (_, _, rst) -> assert_equal 0 (Cstruct.len rst)
-                                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "tests/readertests.ml", line 441, characters 9-20:
- 441 |       if Cstruct.len rst == 0 then
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "tests/readertests.ml", line 446, characters 10-21:
- 446 |   let l = Cstruct.len param in
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "tests/readertests.ml", line 463, characters 10-21:
- 463 |   let l = Cstruct.len lastparam in
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "tests/readertests.ml", line 591, characters 10-21:
- 591 |   let l = Cstruct.len ds in
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "tests/readertests.ml", line 635, characters 10-21:
- 635 |   let l = Cstruct.len ds in
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I tests/.unittestrunner.eobjs/byte -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/cstruct -I /home/opam/.opam/5.1/lib/cstruct-sexp -I /home/opam/.opam/5.1/lib/cstruct-unix -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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/mirage-crypto-rng/unix -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ounit2 -I /home/opam/.opam/5.1/lib/ounit2/advanced -I /home/opam/.opam/5.1/lib/parsexp -I /home/opam/.opam/5.1/lib/pbkdf -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/seq -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/x509 -I /home/opam/.opam/5.1/lib/zarith -I lib/.tls.objs/byte -I tests/.testlib.objs/byte -no-alias-deps -o tests/.unittestrunner.eobjs/byte/readerwritertests.cmo -c -impl tests/readerwritertests.ml)
- File "tests/readerwritertests.ml", line 27, characters 20-31:
- 27 |     assert_equal 0 (Cstruct.len f) ;
-                          ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "tests/readerwritertests.ml", line 34, characters 23-34:
- 34 |        assert_equal 0 (Cstruct.len f) ;
-                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "tests/readerwritertests.ml", line 191, characters 20-31:
- 191 |       assert_equal (Cstruct.len rst) 0 ;
-                           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "tests/readerwritertests.ml", line 198, characters 24-35:
- 198 |           assert_equal (Cstruct.len rst') 0 ;
-                               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default/tests && ./key_derivation.exe)
- Testing `Key derivation tests'.
- This run has ID `8A6BRINM'.
- 
-   [OK]          key extraction and derivation          0   initial extract.
-   [OK]          key extraction and derivation          1   initial derive.
-   [OK]          key extraction and derivation          2   handshake extract.
-   [OK]          key extraction and derivation          3   derive c hs.
-   [OK]          key extraction and derivation          4   derive s hs.
-   [OK]          key extraction and derivation          5   derive finished.
-   [OK]          key extraction and derivation          6   derive master.
-   [OK]          key extraction and derivation          7   extract master.
-   [OK]          key extraction and derivation          8   derive handshake k...
-   [OK]          key extraction and derivation          9   derive traffic keys.
-   [OK]          key extraction and derivation         10   application write ...
-   [OK]          key extraction and derivation         11   application read k...
-   [OK]          key extraction and derivation         12   hs read keys.
-   [OK]          key extraction and derivation         13   resumption key.
-   [OK]          key extraction and derivation         14   payload.
-   [OK]          key extraction and derivation         15   processed payload.
-   [OK]          key extraction and derivation         16   self signature.
-   [OK]          key extraction and derivation         17   wire signature.
-   [OK]          key extraction and derivation         18   res secret.
-   [OK]          key extraction and derivation         19   early resumed.
-   [OK]          key extraction and derivation         20   binder.
-   [OK]          key extraction and derivation         21   x25519.
- 
- Full test results in `~/.opam/5.1/.opam-switch/build/tls.0.13.0/_build/default/tests/_build/_tests/Key derivation tests'.
- Test Successful in 0.004s. 22 tests run.
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I tests/.unittestrunner.eobjs/byte -I tests/.unittestrunner.eobjs/native -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/cstruct -I /home/opam/.opam/5.1/lib/cstruct-sexp -I /home/opam/.opam/5.1/lib/cstruct-unix -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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/mirage-crypto-rng/unix -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ounit2 -I /home/opam/.opam/5.1/lib/ounit2/advanced -I /home/opam/.opam/5.1/lib/parsexp -I /home/opam/.opam/5.1/lib/pbkdf -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/seq -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/x509 -I /home/opam/.opam/5.1/lib/zarith -I lib/.tls.objs/byte -I lib/.tls.objs/native -I tests/.testlib.objs/byte -I tests/.testlib.objs/native -intf-suffix .ml -no-alias-deps -o tests/.unittestrunner.eobjs/native/readertests.cmx -c -impl tests/readertests.ml)
- File "tests/readertests.ml", line 430, characters 38-49:
- 430 |   | Ok (_, _, rst) -> assert_equal 0 (Cstruct.len rst)
-                                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "tests/readertests.ml", line 441, characters 9-20:
- 441 |       if Cstruct.len rst == 0 then
-                ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "tests/readertests.ml", line 446, characters 10-21:
- 446 |   let l = Cstruct.len param in
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "tests/readertests.ml", line 463, characters 10-21:
- 463 |   let l = Cstruct.len lastparam in
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "tests/readertests.ml", line 591, characters 10-21:
- 591 |   let l = Cstruct.len ds in
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "tests/readertests.ml", line 635, characters 10-21:
- 635 |   let l = Cstruct.len ds in
-                 ^^^^^^^^^^^
- 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 tests/.unittestrunner.eobjs/byte -I tests/.unittestrunner.eobjs/native -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/cstruct -I /home/opam/.opam/5.1/lib/cstruct-sexp -I /home/opam/.opam/5.1/lib/cstruct-unix -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/fmt -I /home/opam/.opam/5.1/lib/gmap -I /home/opam/.opam/5.1/lib/hkdf -I /home/opam/.opam/5.1/lib/logs -I /home/opam/.opam/5.1/lib/mirage-crypto -I /home/opam/.opam/5.1/lib/mirage-crypto-ec -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/mirage-crypto-rng/unix -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ounit2 -I /home/opam/.opam/5.1/lib/ounit2/advanced -I /home/opam/.opam/5.1/lib/parsexp -I /home/opam/.opam/5.1/lib/pbkdf -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/seq -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/x509 -I /home/opam/.opam/5.1/lib/zarith -I lib/.tls.objs/byte -I lib/.tls.objs/native -I tests/.testlib.objs/byte -I tests/.testlib.objs/native -intf-suffix .ml -no-alias-deps -o tests/.unittestrunner.eobjs/native/readerwritertests.cmx -c -impl tests/readerwritertests.ml)
- File "tests/readerwritertests.ml", line 27, characters 20-31:
- 27 |     assert_equal 0 (Cstruct.len f) ;
-                          ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "tests/readerwritertests.ml", line 34, characters 23-34:
- 34 |        assert_equal 0 (Cstruct.len f) ;
-                             ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "tests/readerwritertests.ml", line 191, characters 20-31:
- 191 |       assert_equal (Cstruct.len rst) 0 ;
-                           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "tests/readerwritertests.ml", line 198, characters 24-35:
- 198 |           assert_equal (Cstruct.len rst') 0 ;
-                               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default/tests && ./unittestrunner.exe)
- .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
- Ran: 605 tests in: 0.17 seconds.
- OK
-> compiled  tls.0.13.0
-> removed   tls.0.13.0
-> installed tls.0.13.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 19:49.55 ---> saved as "336c962fa6d3cdc02707c802a597f59f62d0b7658d9002fda050830862b7ca2d"
Job succeeded
2024-02-12 19:50.00: Job succeeded