(not at the head of any monitored branch or PR)
2026-04-10 17:47.48: New job: test tls.0.12.8 with dune.3.22.2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29704/head (3e0c395e7b1393a792367f8edca3654dac71e6fd)
                              on debian-13-ocaml-5.4/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29704/head" && git reset --hard 3e0c395e
git fetch origin master
git merge --no-edit 9d8ceab8e9f49f5671cf459997c8a47cf0e675ca
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:a32e708a4134e2a41db640ce8876b2475794c7cd5c0ce822b17aeaf65592bf03
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn dune.3.22.2 3.22.2
RUN opam reinstall dune.3.22.2; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'dune.3.22.2' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall tls.0.12.8; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'tls.0.12.8' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test tls.0.12.8) || true
RUN opam reinstall --with-test --verbose tls.0.12.8; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'tls.0.12.8' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2026-04-10 17:47.48: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:a32e708a4134e2a41db640ce8876b2475794c7cd5c0ce822b17aeaf65592bf03-dune.3.22.2-tls.0.12.8-3e0c395e7b1393a792367f8edca3654dac71e6fd"
2026-04-10 17:47.48: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:a32e708a4134e2a41db640ce8876b2475794c7cd5c0ce822b17aeaf65592bf03)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn dune.3.22.2 3.22.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune.3.22.2;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'dune.3.22.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall tls.0.12.8;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'tls.0.12.8' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test tls.0.12.8) || true"))
 (run (shell  "opam reinstall --with-test --verbose tls.0.12.8;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'tls.0.12.8' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-04-10 17:47.48: Waiting for resource in pool OCluster
2026-04-11 00:42.27: Waiting for worker…
2026-04-11 00:44.03: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
Updating files:  77% (14574/18686)
Updating files:  78% (14576/18686)
Updating files:  79% (14762/18686)
Updating files:  80% (14949/18686)
Updating files:  81% (15136/18686)
Updating files:  82% (15323/18686)
Updating files:  83% (15510/18686)
Updating files:  84% (15697/18686)
Updating files:  85% (15884/18686)
Updating files:  86% (16070/18686)
Updating files:  87% (16257/18686)
Updating files:  88% (16444/18686)
Updating files:  89% (16631/18686)
Updating files:  90% (16818/18686)
Updating files:  91% (17005/18686)
Updating files:  92% (17192/18686)
Updating files:  93% (17378/18686)
Updating files:  94% (17565/18686)
Updating files:  95% (17752/18686)
Updating files:  96% (17939/18686)
Updating files:  97% (18126/18686)
Updating files:  98% (18313/18686)
Updating files:  99% (18500/18686)
Updating files: 100% (18686/18686)
Updating files: 100% (18686/18686), done.
HEAD is now at 9d8ceab8e9 Merge pull request #29697 from filipeom/opam-publish-smtml.0.25.0
Updating 9d8ceab8e9..3e0c395e7b
Fast-forward
 packages/chrome-trace/chrome-trace.3.22.2/opam     | 39 +++++++++++
 .../dune-action-plugin.3.22.2/opam                 | 52 +++++++++++++++
 .../dune-action-trace.3.22.2/opam                  | 39 +++++++++++
 .../dune-build-info/dune-build-info.3.22.2/opam    | 45 +++++++++++++
 .../dune-configurator.3.22.2/opam                  | 49 ++++++++++++++
 packages/dune-glob/dune-glob.3.22.2/opam           | 42 ++++++++++++
 .../dune-private-libs.3.22.2/opam                  | 50 +++++++++++++++
 packages/dune-rpc-lwt/dune-rpc-lwt.3.22.2/opam     | 41 ++++++++++++
 packages/dune-rpc/dune-rpc.3.22.2/opam             | 44 +++++++++++++
 packages/dune-site/dune-site.3.22.2/opam           | 37 +++++++++++
 packages/dune/dune.3.22.2/opam                     | 75 ++++++++++++++++++++++
 packages/dyn/dyn.3.22.2/opam                       | 40 ++++++++++++
 packages/fs-io/fs-io.3.22.2/opam                   | 39 +++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.22.2/opam         | 43 +++++++++++++
 packages/ordering/ordering.3.22.2/opam             | 38 +++++++++++
 packages/stdune/stdune.3.22.2/opam                 | 46 +++++++++++++
 packages/top-closure/top-closure.3.22.2/opam       | 38 +++++++++++
 packages/xdg/xdg.3.22.2/opam                       | 39 +++++++++++
 18 files changed, 796 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.22.2/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.22.2/opam
 create mode 100644 packages/dune-action-trace/dune-action-trace.3.22.2/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.22.2/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.22.2/opam
 create mode 100644 packages/dune-glob/dune-glob.3.22.2/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.22.2/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.22.2/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.22.2/opam
 create mode 100644 packages/dune-site/dune-site.3.22.2/opam
 create mode 100644 packages/dune/dune.3.22.2/opam
 create mode 100644 packages/dyn/dyn.3.22.2/opam
 create mode 100644 packages/fs-io/fs-io.3.22.2/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.22.2/opam
 create mode 100644 packages/ordering/ordering.3.22.2/opam
 create mode 100644 packages/stdune/stdune.3.22.2/opam
 create mode 100644 packages/top-closure/top-closure.3.22.2/opam
 create mode 100644 packages/xdg/xdg.3.22.2/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:a32e708a4134e2a41db640ce8876b2475794c7cd5c0ce822b17aeaf65592bf03)
2026-04-11 00:44.10 ---> using "4e852d2e6c9ac39a43c0cb8d1ef92ecff46d16da630bff560bb4811e0bb278c3" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-11 00:44.10 ---> using "c82a131037ae9ff29ac79f02306f126bd36264ccb683d2324f553289b0d4a496" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.

Continue? [Y/n] y
Format upgrade done.
This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-11 00:44.10 ---> using "983e4dc58d26f7046c0fe6fbe642bc66995d2abecd6409a14b0c538d3f1a7bd2" from cache

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# invariant            ["ocaml-base-compiler" {= "5.4.1"}]
# compiler-packages    ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.1
2026-04-11 00:44.10 ---> using "8b346866360ce3a934df95a88d3a1520ccbf589f659a7e26aa97be0b96b1083a" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2026-04-11 00:44.10 ---> using "8be7be6786c965fdad4454d936ba98cc5fa516f8de8fee90f280618661533faa" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-11 00:44.11 ---> using "c0553ba1781e82471f38f012874b6b7341f662c325cc75285bfd7972f7a6ff87" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-11 00:44.11 ---> using "e05b19873f9cb2918bf114246a81e8bf23cb51c80d627ed2b044915e44a942dd" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [121 kB]
- Fetched 211 kB in 0s (738 kB/s)
- Reading package lists...
- 
2026-04-11 00:44.11 ---> using "dc69cd977951bdc4dffcc68622bf3ea65b4d02db568ca1f8bd5ab395f414a24f" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune.3.22.2 3.22.2"))
dune is now pinned to version 3.22.2
2026-04-11 00:44.11 ---> using "d2dbab2e673d61aa25772ad855c91b371a83246b8bcc8859d8fc280f9fcf9826" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dune.3.22.2;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'dune.3.22.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
dune.3.22.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install dune 3.22.2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.22.2  (cached)
-> installed dune.3.22.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-11 00:44.11 ---> using "6f94ccb4a18327fa9742ec042c4183209005d455af95ec03af9e9453c8a8c9d1" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall tls.0.12.8;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'tls.0.12.8' && 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.12.8 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 51 packages
  - install asn1-combinators        0.2.6              [required by x509]
  - install base                    v0.17.3            [required by ppx_sexp_conv]
  - install base-bytes              base               [required by ocplib-endian]
  - install base64                  3.5.2              [required by x509]
  - install bigarray-compat         1.1.0              [required by cstruct, fiat-p256]
  - install conf-gmp                5                  [required by conf-gmp-powm-sec, zarith]
  - install conf-gmp-powm-sec       4                  [required by mirage-crypto-pk]
  - install conf-pkg-config         4                  [required by fiat-p256, hacl_x25519]
  - install cppo                    1.8.0              [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.5.0              [required by tls]
  - install dune-configurator       3.22.2             [required by fiat-p256]
  - install duration                0.2.1              [required by mirage-crypto-rng]
  - install eqaf                    0.9                [required by hacl_x25519, fiat-p256, mirage-crypto-pk]
  - install fiat-p256               0.2.3 (deprecated) [required by tls]
  - install fmt                     0.11.0             [required by tls]
  - install gmap                    0.3.0              [required by x509]
  - install hacl_x25519             0.2.2 (deprecated) [required by tls]
  - install hex                     1.5.0              [required by fiat-p256]
  - install hkdf                    1.0.4 (deprecated) [required by tls]
  - install logs                    0.10.0             [required by tls]
  - install lwt                     6.1.1              [required by tls]
  - install mirage-crypto           0.10.7             [required by tls]
  - install mirage-crypto-pk        0.10.7             [required by tls]
  - install mirage-crypto-rng       0.10.7             [required by tls]
  - install mirage-no-solo5         1 (deprecated)     [required by mirage-crypto-pk]
  - install mirage-no-xen           1 (deprecated)     [required by mirage-crypto-pk]
  - install mtime                   2.1.0              [required by mirage-crypto-rng]
  - install num                     1.6                [required by sexplib]
  - install ocaml-compiler-libs     v0.17.0            [required by ppxlib]
  - install ocaml_intrinsics_kernel v0.17.1            [required by base]
  - install ocamlbuild              0.16.1             [required by logs, fmt, ptime]
  - install ocamlfind               1.9.8              [required by logs, fmt, ptime]
  - install ocplib-endian           1.2                [required by lwt]
  - install parsexp                 v0.17.0            [required by sexplib]
  - install ppx_cstruct             6.0.1              [required by tls]
  - install ppx_derivers            1.2.1              [required by ppxlib]
  - install ppx_sexp_conv           v0.17.1            [required by tls]
  - install ppxlib                  0.38.0             [required by ppx_cstruct, ppx_sexp_conv]
  - install ppxlib_jane             v0.17.4            [required by ppx_sexp_conv]
  - install ptime                   1.2.0              [required by tls]
  - install rresult                 0.7.0              [required by x509]
  - install sexplib                 v0.17.0            [required by tls]
  - install sexplib0                v0.17.0            [required by mirage-crypto-pk, ppx_sexp_conv]
  - install stdlib-shims            0.3.0              [required by ppx_cstruct]
  - install tls                     0.12.8
  - install topkg                   1.1.1              [required by logs, fmt, ptime]
  - install x509                    0.11.2             [required by tls]
  - install zarith                  1.14               [required by mirage-crypto-pk]

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

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "pkg-config"
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20654 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.3.0+dfsg-3_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-3) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12+deb13u2) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved asn1-combinators.0.2.6  (cached)
-> retrieved base.v0.17.3  (cached)
-> retrieved base64.3.5.2  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-gmp-powm-sec.4  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> retrieved cstruct.6.0.1, cstruct-sexp.6.0.1, ppx_cstruct.6.0.1  (cached)
-> installed conf-gmp-powm-sec.4
-> retrieved domain-name.0.5.0  (cached)
-> installed base64.3.5.2
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed domain-name.0.5.0
-> installed cstruct.6.0.1
-> retrieved dune-configurator.3.22.2  (cached)
-> installed cppo.1.8.0
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.9  (cached)
-> retrieved fiat-p256.0.2.3  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved gmap.0.3.0  (cached)
-> retrieved hacl_x25519.0.2.2  (cached)
-> retrieved hex.1.5.0  (cached)
-> retrieved hkdf.1.0.4  (cached)
-> retrieved logs.0.10.0  (cached)
-> retrieved lwt.6.1.1  (cached)
-> installed duration.0.2.1
-> installed gmap.0.3.0
-> installed hex.1.5.0
-> retrieved mirage-crypto.0.10.7, mirage-crypto-pk.0.10.7, mirage-crypto-rng.0.10.7  (cached)
-> installed mirage-no-solo5.1
-> installed mirage-no-xen.1
-> installed eqaf.0.9
-> retrieved mtime.2.1.0  (cached)
-> retrieved num.1.6  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved parsexp.v0.17.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.17.1  (cached)
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ppx_derivers.1.2.1
-> retrieved ppxlib.0.38.0  (cached)
-> retrieved ppxlib_jane.v0.17.4  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved sexplib.v0.17.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved tls.0.12.8  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved x509.0.11.2  (cached)
-> retrieved zarith.1.14  (cached)
-> installed dune-configurator.3.22.2
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed hacl_x25519.0.2.2
-> installed num.1.6
-> installed fiat-p256.0.2.3
-> installed parsexp.v0.17.0
-> installed mirage-crypto.0.10.7
-> installed hkdf.1.0.4
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed sexplib.v0.17.0
-> installed cstruct-sexp.6.0.1
-> installed ocplib-endian.1.2
-> installed ocamlbuild.0.16.1
-> installed base.v0.17.3
-> installed zarith.1.14
-> installed lwt.6.1.1
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed mtime.2.1.0
-> installed fmt.0.11.0
-> installed ptime.1.2.0
-> installed asn1-combinators.0.2.6
-> installed logs.0.10.0
-> installed mirage-crypto-rng.0.10.7
-> installed mirage-crypto-pk.0.10.7
-> installed x509.0.11.2
-> installed ppxlib.0.38.0
-> installed ppxlib_jane.v0.17.4
-> installed ppx_cstruct.6.0.1
-> installed ppx_sexp_conv.v0.17.1
-> installed tls.0.12.8
Done.

<><> mirage-no-xen.1 installed successfully <><><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.

<><> mirage-no-solo5.1 installed successfully <><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.

<><> hkdf.1.0.4 installed successfully ><><><><><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.

<><> hacl_x25519.0.2.2 installed successfully <><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.

<><> fiat-p256.0.2.3 installed successfully <><><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)
2026-04-11 00:45.20 ---> saved as "b5b255afd11ff40f1f34fea01475ce2cde5bad25e6c090f8cdc47afeb3765b88"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test tls.0.12.8) || true"))
The following actions will be performed:
=== recompile 6 packages
  - recompile fmt                0.11.0 [uses cmdliner]
  - recompile logs               0.10.0 [uses cmdliner]
  - recompile mirage-crypto-pk   0.10.7 [uses mirage-crypto-rng]
  - recompile mirage-crypto-rng  0.10.7 [uses logs]
  - recompile tls                0.12.8
  - recompile x509               0.11.2 [uses fmt]
=== install 10 packages
  - install   alcotest           1.9.1  [required by tls]
  - install   astring            0.8.5  [required by alcotest]
  - install   cmdliner           2.1.0  [required by alcotest]
  - install   cstruct-unix       6.0.1  [required by tls]
  - install   ocaml-syntax-shims 1.0.0  [required by alcotest]
  - install   ounit              2.2.7  [required by tls]
  - install   ounit2             2.2.7  [required by ounit]
  - install   re                 1.14.0 [required by alcotest]
  - install   seq                base   [required by ounit2]
  - install   uutf               1.0.4  [required by alcotest]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.1  (https://opam.ocaml.org/cache)
-> retrieved astring.0.8.5  (https://opam.ocaml.org/cache)
-> retrieved cmdliner.2.1.0  (https://opam.ocaml.org/cache)
-> retrieved cstruct-unix.6.0.1  (https://opam.ocaml.org/cache)
-> retrieved fmt.0.11.0  (https://opam.ocaml.org/cache)
-> retrieved logs.0.10.0  (https://opam.ocaml.org/cache)
-> installed cstruct-unix.6.0.1
-> retrieved mirage-crypto-pk.0.10.7, mirage-crypto-rng.0.10.7  (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0  (https://opam.ocaml.org/cache)
-> retrieved ounit.2.2.7, ounit2.2.2.7  (https://opam.ocaml.org/cache)
-> retrieved re.1.14.0  (https://opam.ocaml.org/cache)
-> retrieved seq.base  (2 extra sources)
-> retrieved seq.base  (2 extra sources)
-> installed seq.base
-> retrieved tls.0.12.8  (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4  (https://opam.ocaml.org/cache)
-> installed astring.0.8.5
-> retrieved x509.0.11.2  (https://opam.ocaml.org/cache)
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.14.0
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> removed   tls.0.12.8
-> removed   x509.0.11.2
-> removed   mirage-crypto-pk.0.10.7
-> removed   mirage-crypto-rng.0.10.7
-> removed   logs.0.10.0
-> removed   fmt.0.11.0
-> installed cmdliner.2.1.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed alcotest.1.9.1
-> installed logs.0.10.0
-> installed mirage-crypto-rng.0.10.7
-> installed mirage-crypto-pk.0.10.7
-> installed x509.0.11.2
-> installed tls.0.12.8
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-11 00:45.49 ---> saved as "22f4ea3a84160a9fcb59b0fab91e47745db9d3019e3ad8c9ee5b49ae856be9c6"

/home/opam: (run (shell  "opam reinstall --with-test --verbose tls.0.12.8;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'tls.0.12.8' && 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.12.8

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [tls.0.12.8: extract]
-> retrieved tls.0.12.8  (cached)
Processing  2/4: [tls: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "tls" "-j" "71" (CWD=/home/opam/.opam/5.4/.opam-switch/build/tls.0.12.8)
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I lib/.tls.objs/byte -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -no-alias-deps -open Tls -o lib/.tls.objs/byte/tls__Utils.cmo -c -impl lib/utils.pp.ml)
- File "lib/utils.ml", line 66, characters 24-35:
- 66 |               let len = Cstruct.len e in
-                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/utils.ml", line 76, characters 14-17:
- 76 |     Cstruct.((len cs1 = len cs2) && (to_bigarray cs1 = to_bigarray cs2))
-                    ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/utils.ml", line 76, characters 24-27:
- 76 |     Cstruct.((len cs1 = len cs2) && (to_bigarray cs1 = to_bigarray cs2))
-                              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/utils.ml", line 80, characters 16-27:
- 80 |   let null cs = Cstruct.len cs = 0
-                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w -40 -g -I lib/.tls.objs/byte -I lib/.tls.objs/native -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -cmi-file lib/.tls.objs/byte/tls__Utils.cmi -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Utils.cmx -c -impl lib/utils.pp.ml)
- File "lib/utils.ml", line 66, characters 24-35:
- 66 |               let len = Cstruct.len e in
-                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/utils.ml", line 76, characters 14-17:
- 76 |     Cstruct.((len cs1 = len cs2) && (to_bigarray cs1 = to_bigarray cs2))
-                    ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/utils.ml", line 76, characters 24-27:
- 76 |     Cstruct.((len cs1 = len cs2) && (to_bigarray cs1 = to_bigarray cs2))
-                              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/utils.ml", line 80, characters 16-27:
- 80 |   let null cs = Cstruct.len cs = 0
-                      ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I lib/.tls.objs/byte -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/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.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I lib/.tls.objs/byte -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -cmi-file lib/.tls.objs/byte/tls__Writer.cmi -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.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I lib/.tls.objs/byte -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -cmi-file lib/.tls.objs/byte/tls__Reader.cmi -no-alias-deps -open Tls -o lib/.tls.objs/byte/tls__Reader.cmo -c -impl lib/reader.pp.ml)
- File "lib/reader.ml", line 60, characters 5-8:
- 60 |   if len buf < 5 then
-           ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 72, characters 21-24:
- 72 |     | x when 5 + x > len buf -> return (`Fragment buf)
-                           ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 123, characters 5-8:
- 123 |   if len buf <> 2 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 134, characters 8-11:
- 134 |   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 146, characters 8-11:
- 146 |   match len buf with
-               ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 180, characters 8-11:
- 180 |   match len buf with
-               ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 199, characters 5-8:
- 199 |   if len buf <> 1 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 229, characters 7-10:
- 229 |     if len rt <> 0 then
-              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 255, characters 5-8:
- 255 |   if len buf <> length + 2 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 276, characters 10-13:
- 276 |        if len buf <> len' + 1 then
-                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 281, characters 9-12:
- 281 |       if len buf > 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 287, characters 7-10:
- 287 |     if len rt <> 0 then
-              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 325, characters 5-8:
- 325 |   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 371, characters 10-13:
- 371 |        if len rt <> 0 then
-                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 380, characters 20-23:
- 380 |        if ll + 2 <> len buf then
-                           ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 389, characters 9-12:
- 389 |       if len buf <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 395, characters 9-12:
- 395 |       if len rt <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 400, characters 9-12:
- 400 |       if len buf = 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 406, characters 9-12:
- 406 |       if len rt <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 412, characters 9-12:
- 412 |       if len rt <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 431, characters 21-24:
- 431 |         | _, 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 438, characters 9-12:
- 438 |       if len buf <> 2 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 473, characters 10-13:
- 473 |        if len buf <> 0 then
-                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 489, characters 11-14:
- 489 |         if len rt <> 0 then
-                  ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 501, characters 10-13:
- 501 |        if len rt <> 0 then
-                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 511, characters 5-8:
- 511 |   if len buf <> length + 2 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 524, characters 7-10:
- 524 |     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 554, characters 11-14:
- 554 |         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 569, characters 9-12:
- 569 |       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 585, characters 5-8:
- 585 |   if len buf <> length + 3 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 608, characters 5-8:
- 608 |   if len buf <> length + 3 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 642, characters 5-8:
- 642 |   if len buf' <> 0 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 654, characters 5-8:
- 654 |   if len buf' <> 0 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 667, characters 9-12:
- 667 |       if len rt <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 673, characters 9-12:
- 673 |       if len rt <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 732, characters 5-8:
- 732 |   if len buf <> siglen + 2 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 751, characters 9-12:
- 751 |       if len buf <> 4 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 773, characters 5-8:
- 773 |   if len buf <> length + 2 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 782, characters 5-8:
- 782 |   if len buf <> length + 1 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 790, characters 5-8:
- 790 |   if len buf <> 1 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 798, characters 5-8:
- 798 |   if len buf < 4 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 803, characters 7-10:
- 803 |     if len buf >= hslen then
-              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 813, characters 5-8:
- 813 |   if len buf <> length + 4 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 819, characters 9-12:
- 819 |       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 826, characters 9-12:
- 826 |       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.4/bin/ocamlopt.opt -w -40 -g -I lib/.tls.objs/byte -I lib/.tls.objs/native -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -cmi-file lib/.tls.objs/byte/tls__Core.cmi -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.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I lib/.tls.objs/byte -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/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 80, characters 12-23:
- 80 |     let l = Cstruct.len nonce in
-                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/crypto.ml", line 121, characters 16-19:
- 121 |   let len = 1 + len data in
-                       ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/crypto.ml", line 133, characters 12-15:
- 133 |   let len = len data in
-                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I lib/.tls.objs/byte -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -cmi-file lib/.tls.objs/byte/tls__Handshake_crypto.cmi -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.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I lib/.tls.objs/byte -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/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 25, characters 7-18:
- 25 |     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 82, characters 27-38:
- 82 |     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 86, characters 27-38:
- 86 |     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.4/bin/ocamlopt.opt -w -40 -g -I lib/.tls.objs/byte -I lib/.tls.objs/native -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -cmi-file lib/.tls.objs/byte/tls__Writer.cmi -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.4/bin/ocamlopt.opt -w -40 -g -I lib/.tls.objs/byte -I lib/.tls.objs/native -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -cmi-file lib/.tls.objs/byte/tls__Reader.cmi -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Reader.cmx -c -impl lib/reader.pp.ml)
- File "lib/reader.ml", line 60, characters 5-8:
- 60 |   if len buf < 5 then
-           ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 72, characters 21-24:
- 72 |     | x when 5 + x > len buf -> return (`Fragment buf)
-                           ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 123, characters 5-8:
- 123 |   if len buf <> 2 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 134, characters 8-11:
- 134 |   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 146, characters 8-11:
- 146 |   match len buf with
-               ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 180, characters 8-11:
- 180 |   match len buf with
-               ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 199, characters 5-8:
- 199 |   if len buf <> 1 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 229, characters 7-10:
- 229 |     if len rt <> 0 then
-              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 255, characters 5-8:
- 255 |   if len buf <> length + 2 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 276, characters 10-13:
- 276 |        if len buf <> len' + 1 then
-                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 281, characters 9-12:
- 281 |       if len buf > 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 287, characters 7-10:
- 287 |     if len rt <> 0 then
-              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 325, characters 5-8:
- 325 |   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 371, characters 10-13:
- 371 |        if len rt <> 0 then
-                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 380, characters 20-23:
- 380 |        if ll + 2 <> len buf then
-                           ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 389, characters 9-12:
- 389 |       if len buf <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 395, characters 9-12:
- 395 |       if len rt <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 400, characters 9-12:
- 400 |       if len buf = 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 406, characters 9-12:
- 406 |       if len rt <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 412, characters 9-12:
- 412 |       if len rt <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 431, characters 21-24:
- 431 |         | _, 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 438, characters 9-12:
- 438 |       if len buf <> 2 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 473, characters 10-13:
- 473 |        if len buf <> 0 then
-                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 489, characters 11-14:
- 489 |         if len rt <> 0 then
-                  ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 501, characters 10-13:
- 501 |        if len rt <> 0 then
-                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 511, characters 5-8:
- 511 |   if len buf <> length + 2 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 524, characters 7-10:
- 524 |     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 554, characters 11-14:
- 554 |         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 569, characters 9-12:
- 569 |       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 585, characters 5-8:
- 585 |   if len buf <> length + 3 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 608, characters 5-8:
- 608 |   if len buf <> length + 3 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 642, characters 5-8:
- 642 |   if len buf' <> 0 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 654, characters 5-8:
- 654 |   if len buf' <> 0 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 667, characters 9-12:
- 667 |       if len rt <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 673, characters 9-12:
- 673 |       if len rt <> 0 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 732, characters 5-8:
- 732 |   if len buf <> siglen + 2 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 751, characters 9-12:
- 751 |       if len buf <> 4 then
-                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 773, characters 5-8:
- 773 |   if len buf <> length + 2 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 782, characters 5-8:
- 782 |   if len buf <> length + 1 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 790, characters 5-8:
- 790 |   if len buf <> 1 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 798, characters 5-8:
- 798 |   if len buf < 4 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 803, characters 7-10:
- 803 |     if len buf >= hslen then
-              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 813, characters 5-8:
- 813 |   if len buf <> length + 4 then
-            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/reader.ml", line 819, characters 9-12:
- 819 |       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 826, characters 9-12:
- 826 |       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.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I lib/.tls.objs/byte -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/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 84, characters 46-57:
- 84 |   let ch0_hdr = Writer.assemble_message_hash (Cstruct.len ch0_data) in
-                                                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I lib/.tls.objs/byte -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/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.
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I lib/.tls.objs/byte -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -cmi-file lib/.tls.objs/byte/tls__Handshake_server.cmi -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 120, characters 10-21:
- 120 |     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 188, characters 47-58:
- 188 |     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 198, characters 10-21:
- 198 |     match Cstruct.len session.session_id with
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I lib/.tls.objs/byte -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -cmi-file lib/.tls.objs/byte/tls__Engine.cmi -no-alias-deps -open Tls -o lib/.tls.objs/byte/tls__Engine.cmo -c -impl lib/engine.pp.ml)
- File "lib/engine.ml", line 141, characters 42-53:
- 141 |             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 150, characters 41-52:
- 150 |         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 194, characters 17-28:
- 194 |   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 199, characters 52-63:
- 199 |     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 238, characters 15-26:
- 238 |             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 251, characters 43-54:
- 251 |           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 259, characters 11-22:
- 259 |         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 265, characters 45-56:
- 265 |             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 299, characters 23-34:
- 299 |             eat (pred (Cstruct.len x))
-                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 301, characters 40-51:
- 301 |           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 344, characters 25-36:
- 344 |     | (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 428, characters 5-16:
- 428 |   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 443, characters 53-64:
- 443 |     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 468, characters 16-27:
- 468 |     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 498, characters 47-58:
- 498 |     | 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 714, characters 44-47:
- 714 |       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 716, characters 17-28:
- 716 |       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.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I lwt/.tls_lwt.objs/byte -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/bytes -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/duration -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/lwt -I /home/opam/.opam/5.4/lib/lwt/unix -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/mirage-crypto-rng/lwt -I /home/opam/.opam/5.4/lib/mirage-crypto-rng/unix -I /home/opam/.opam/5.4/lib/mtime -I /home/opam/.opam/5.4/lib/mtime/clock -I /home/opam/.opam/5.4/lib/ocaml/threads -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/ocplib-endian -I /home/opam/.opam/5.4/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/ptime/clock -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -I lib/.tls.objs/byte -cmi-file lwt/.tls_lwt.objs/byte/tls_lwt.cmi -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.4/bin/ocamlopt.opt -w -40 -g -I lib/.tls.objs/byte -I lib/.tls.objs/native -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -cmi-file lib/.tls.objs/byte/tls__Crypto.cmi -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Crypto.cmx -c -impl lib/crypto.pp.ml)
- File "lib/crypto.ml", line 80, characters 12-23:
- 80 |     let l = Cstruct.len nonce in
-                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/crypto.ml", line 121, characters 16-19:
- 121 |   let len = 1 + len data in
-                       ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/crypto.ml", line 133, characters 12-15:
- 133 |   let len = len data in
-                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w -40 -g -I lib/.tls.objs/byte -I lib/.tls.objs/native -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -cmi-file lib/.tls.objs/byte/tls__Handshake_crypto.cmi -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.4/bin/ocamlopt.opt -w -40 -g -I lib/.tls.objs/byte -I lib/.tls.objs/native -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -cmi-file lib/.tls.objs/byte/tls__Handshake_crypto13.cmi -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 25, characters 7-18:
- 25 |     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 82, characters 27-38:
- 82 |     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 86, characters 27-38:
- 86 |     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.4/bin/ocamlopt.opt -w -40 -g -I lib/.tls.objs/byte -I lib/.tls.objs/native -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -cmi-file lib/.tls.objs/byte/tls__Handshake_client13.cmi -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 84, characters 46-57:
- 84 |   let ch0_hdr = Writer.assemble_message_hash (Cstruct.len ch0_data) in
-                                                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w -40 -g -I lib/.tls.objs/byte -I lib/.tls.objs/native -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -cmi-file lib/.tls.objs/byte/tls__Handshake_server13.cmi -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.
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w -40 -g -I lib/.tls.objs/byte -I lib/.tls.objs/native -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -cmi-file lib/.tls.objs/byte/tls__Handshake_server.cmi -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 120, characters 10-21:
- 120 |     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 188, characters 47-58:
- 188 |     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 198, characters 10-21:
- 198 |     match Cstruct.len session.session_id with
-                 ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w -40 -g -I lib/.tls.objs/byte -I lib/.tls.objs/native -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -cmi-file lib/.tls.objs/byte/tls__Engine.cmi -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Engine.cmx -c -impl lib/engine.pp.ml)
- File "lib/engine.ml", line 141, characters 42-53:
- 141 |             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 150, characters 41-52:
- 150 |         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 194, characters 17-28:
- 194 |   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 199, characters 52-63:
- 199 |     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 238, characters 15-26:
- 238 |             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 251, characters 43-54:
- 251 |           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 259, characters 11-22:
- 259 |         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 265, characters 45-56:
- 265 |             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 299, characters 23-34:
- 299 |             eat (pred (Cstruct.len x))
-                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- 
- File "lib/engine.ml", line 301, characters 40-51:
- 301 |           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 344, characters 25-36:
- 344 |     | (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 428, characters 5-16:
- 428 |   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 443, characters 53-64:
- 443 |     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 468, characters 16-27:
- 468 |     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 498, characters 47-58:
- 498 |     | 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 714, characters 44-47:
- 714 |       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 716, characters 17-28:
- 716 |       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.4/bin/ocamlopt.opt -w -40 -g -I lwt/.tls_lwt.objs/byte -I lwt/.tls_lwt.objs/native -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/bytes -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/duration -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/lwt -I /home/opam/.opam/5.4/lib/lwt/unix -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/mirage-crypto-rng/lwt -I /home/opam/.opam/5.4/lib/mirage-crypto-rng/unix -I /home/opam/.opam/5.4/lib/mtime -I /home/opam/.opam/5.4/lib/mtime/clock -I /home/opam/.opam/5.4/lib/ocaml/threads -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/ocplib-endian -I /home/opam/.opam/5.4/lib/ocplib-endian/bigstring -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/ptime/clock -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -I lib/.tls.objs/byte -I lib/.tls.objs/native -cmi-file lwt/.tls_lwt.objs/byte/tls_lwt.cmi -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" "71" (CWD=/home/opam/.opam/5.4/.opam-switch/build/tls.0.12.8)
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I tests/.key_derivation.eobjs/byte -I /home/opam/.opam/5.4/lib/alcotest -I /home/opam/.opam/5.4/lib/alcotest/engine -I /home/opam/.opam/5.4/lib/alcotest/stdlib_ext -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/astring -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cmdliner -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/fmt/cli -I /home/opam/.opam/5.4/lib/fmt/tty -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/logs/fmt -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/mirage-crypto-rng/unix -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/re -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/uutf -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/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.4/bin/ocamlopt.opt -w -40 -g -I tests/.key_derivation.eobjs/byte -I tests/.key_derivation.eobjs/native -I /home/opam/.opam/5.4/lib/alcotest -I /home/opam/.opam/5.4/lib/alcotest/engine -I /home/opam/.opam/5.4/lib/alcotest/stdlib_ext -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/astring -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cmdliner -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/fmt/cli -I /home/opam/.opam/5.4/lib/fmt/tty -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/logs/fmt -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/mirage-crypto-rng/unix -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/re -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/uutf -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -I lib/.tls.objs/byte -I lib/.tls.objs/native -cmi-file tests/.key_derivation.eobjs/byte/key_derivation.cmi -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.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I tests/.unittestrunner.eobjs/byte -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/cstruct-unix -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/mirage-crypto-rng/unix -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/ounit2 -I /home/opam/.opam/5.4/lib/ounit2/advanced -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/seq -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/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.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I tests/.unittestrunner.eobjs/byte -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/cstruct-unix -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/mirage-crypto-rng/unix -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/ounit2 -I /home/opam/.opam/5.4/lib/ounit2/advanced -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/seq -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/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 `SHKU2O9X'.
- 
-   [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 hanshake keys.
-   [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.4/.opam-switch/build/tls.0.12.8/_build/default/tests/_build/_tests/Key derivation tests'.
- Test Successful in 0.012s. 22 tests run.
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w -40 -g -I tests/.unittestrunner.eobjs/byte -I tests/.unittestrunner.eobjs/native -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/cstruct-unix -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/mirage-crypto-rng/unix -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/ounit2 -I /home/opam/.opam/5.4/lib/ounit2/advanced -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/seq -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -I lib/.tls.objs/byte -I lib/.tls.objs/native -I tests/.testlib.objs/byte -I tests/.testlib.objs/native -cmi-file tests/.unittestrunner.eobjs/byte/readertests.cmi -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.4/bin/ocamlopt.opt -w -40 -g -I tests/.unittestrunner.eobjs/byte -I tests/.unittestrunner.eobjs/native -I /home/opam/.opam/5.4/lib/asn1-combinators -I /home/opam/.opam/5.4/lib/base64 -I /home/opam/.opam/5.4/lib/bigarray-compat -I /home/opam/.opam/5.4/lib/cstruct -I /home/opam/.opam/5.4/lib/cstruct-sexp -I /home/opam/.opam/5.4/lib/cstruct-unix -I /home/opam/.opam/5.4/lib/domain-name -I /home/opam/.opam/5.4/lib/eqaf -I /home/opam/.opam/5.4/lib/eqaf/bigstring -I /home/opam/.opam/5.4/lib/eqaf/cstruct -I /home/opam/.opam/5.4/lib/fiat-p256 -I /home/opam/.opam/5.4/lib/fmt -I /home/opam/.opam/5.4/lib/gmap -I /home/opam/.opam/5.4/lib/hacl_x25519 -I /home/opam/.opam/5.4/lib/hex -I /home/opam/.opam/5.4/lib/hkdf -I /home/opam/.opam/5.4/lib/logs -I /home/opam/.opam/5.4/lib/mirage-crypto -I /home/opam/.opam/5.4/lib/mirage-crypto-pk -I /home/opam/.opam/5.4/lib/mirage-crypto-rng -I /home/opam/.opam/5.4/lib/mirage-crypto-rng/unix -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/ounit2 -I /home/opam/.opam/5.4/lib/ounit2/advanced -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ptime -I /home/opam/.opam/5.4/lib/rresult -I /home/opam/.opam/5.4/lib/seq -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/x509 -I /home/opam/.opam/5.4/lib/zarith -I lib/.tls.objs/byte -I lib/.tls.objs/native -I tests/.testlib.objs/byte -I tests/.testlib.objs/native -cmi-file tests/.unittestrunner.eobjs/byte/readerwritertests.cmi -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.25 seconds.
- OK
-> compiled  tls.0.12.8
-> removed   tls.0.12.8
-> installed tls.0.12.8
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-11 00:46.06 ---> saved as "43cd0903bc95318f076d57cb1ccb0b51d193f98c5204364a7fcb6d858eee733d"
Job succeeded
2026-04-11 00:46.26: Job succeeded