Build:
  1. 0
2026-06-24 18:07.28: New job: build tls.0.12.8 (bf5728023125)
2026-06-24 18:07.28: Waiting for resource in pool day11-builds
2026-06-24 18:48.09: Got resource from pool day11-builds
2026-06-24 18:48.09: [profile full] build tls.0.12.8
2026-06-24 18:48.09: build tls.0.12.8 (bf5728023125)
=== DEPENDENCIES (55 transitive) ===
  asn1-combinators.0.2.6                             1975641cd687
  base.v0.16.5                                       029e992da996
  base-bytes.base                                    c40d17bc86b5
  base-threads.base                                  c9e7bdbf5823
  base-unix.base                                     7d1428be9ddb
  base64.3.5.2                                       210584fc1188
  bigarray-compat.1.1.0                              6340769fc89d
  cmdliner.1.0.4                                     e0946803e388
  conf-gmp.5                                         be11edf77089
  conf-gmp-powm-sec.4                                7029468462a8
  conf-pkg-config.5                                  d5de2c6a88f9
  cppo.1.8.0                                         5f3f70cae95b
  csexp.1.5.2                                        610c78f17734
  cstruct.6.0.1                                      01957cad303e
  cstruct-sexp.6.0.1                                 d2f9ea1caa6d
  domain-name.0.5.0                                  6f01944aa0ef
  dune.3.23.1                                        848a72441e15
  dune-configurator.3.23.1                           bc97ce98d8a9
  duration.0.3.1                                     3548f43a80d3
  eqaf.0.9                                           02939bccffe6
  fiat-p256.0.2.3                                    f683091f8887
  fmt.0.9.0                                          70ca3a898d63
  gmap.0.3.0                                         3f4f4ede806e
  hacl_x25519.0.2.2                                  7f80729cedb1
  hex.1.5.0                                          e2730d7118fb
  hkdf.1.0.4                                         e872d642cb6c
  logs.0.7.0                                         5b11b3a05876
  lwt.6.1.2                                          d46d0c4f757d
  mirage-crypto.0.10.7                               fc13c175478a
  mirage-crypto-pk.0.10.7                            46cf10a279f1
  mirage-crypto-rng.0.10.7                           1dd8031f7322
  mirage-no-solo5.1                                  43747e6295ba
  mirage-no-xen.1                                    d4726cb46003
  mtime.2.1.0                                        9315276fbb77
  num.1.6                                            110cee7a7e2e
  ocaml.4.14.4                                       b047fb9251f4
  ocaml-base-compiler.4.14.4                         d3b7ccb2c6fb
  ocaml-compiler-libs.v0.12.4                        2aecf989b0b2
  ocaml-config.2                                     2d9c209f5590
  ocamlbuild.0.16.1                                  7e0d6aadb209
  ocamlfind.1.9.8                                    214dd418ac02
  ocplib-endian.1.2                                  380dd426e898
  parsexp.v0.16.0                                    63c67db8428c
  ppx_cstruct.6.0.1                                  0b86ad43cd0a
  ppx_derivers.1.2.1                                 9245877bc46e
  ppx_sexp_conv.v0.16.0                              3dc8c79ef340
  ppxlib.0.35.0                                      bbb70c1d0b8a
  ptime.1.2.0                                        84bd2cff0ba0
  rresult.0.7.0                                      ab060a31b0aa
  sexplib.v0.16.0                                    4838f1139cdf
  sexplib0.v0.16.0                                   7a6e649d895c
  stdlib-shims.0.3.0                                 de5202e23add
  topkg.1.1.1                                        511e1a1958da
  x509.0.11.2                                        f57a59a6e3ef
  zarith.1.14                                        a8971d2f668c
=== STDOUT ===
Processing: [default: loading data]
[tls.0.12.8: dl]
[tls.0.12.8: extract]
-> retrieved tls.0.12.8  (https://opam.ocaml.org/cache)
[tls: dune build]
+ /home/opam/.opam/default/bin/dune "build" "-p" "tls" "-j" "39" (CWD=/home/opam/.opam/default/.opam-switch/build/tls.0.12.8)
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/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/default/bin/ocamlopt.opt -w -40 -g -I lib/.tls.objs/byte -I lib/.tls.objs/native -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/lib/zarith -intf-suffix .ml -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/default/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/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/default/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/byte/tls__Writer.cmo -c -impl lib/writer.pp.ml)
- File "lib/writer.ml", line 28, characters 23-26:
- 28 |   BE.set_uint16 buf 3 (len payload);
-                             ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 38, characters 22-25:
- 38 |        set_uint8 l 0 (len body) ;
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 42, characters 26-29:
- 42 |        BE.set_uint16 l 0 (len body) ;
-                                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 46, characters 25-28:
- 46 |        set_uint24_len l (len body) ;
-                               ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 61, characters 15-18:
- 61 |   let length = len c in
-                     ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 119, characters 25-28:
- 119 |     BE.set_uint16 buf 0 (len x) ;
-                                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 146, characters 21-24:
- 146 |   BE.set_uint16 l 0 (len ks) ;
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 151, characters 26-29:
- 151 |   BE.set_uint16 id_len 0 (len id) ;
-                                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 158, characters 21-24:
- 158 |   set_uint8 b_len 0 (len b) ;
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 181, characters 22-25:
- 181 |      set_uint8 buf 0 (len x);
-                             ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 193, characters 21-24:
- 193 |   BE.set_uint16 l 0 (len c) ;
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 207, characters 23-26:
- 207 |   BE.set_uint16 buf 2 (len pay);
-                              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 216, characters 26-29:
- 216 |   BE.set_uint16 lenbuf 0 (len data) ;
-                                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 232, characters 20-23:
- 232 |   set_uint8 clen 0 (len context) ;
-                           ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 305, characters 17-20:
- 305 |   set_uint8 l 0 (len context) ;
-                        ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 312, characters 31-34:
- 312 |   | Some s -> set_uint8 buf 0 (len s); buf <+> s
-                                      ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 347, characters 19-22:
- 347 |       let buflen = len bbuf + len extensions + 4 (* see above, header *) in
-                          ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 347, characters 30-33:
- 347 |       let buflen = len bbuf + len extensions + 4 (* see above, header *) in
-                                     ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 349, characters 14-17:
- 349 |         match len extensions with
-                     ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 355, characters 44-47:
- 355 |           BE.set_uint16 extension_length 0 (len padding);
-                                                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 362, characters 21-24:
- 362 |           let elen = len extensions + len padding - 2 (* the 16 bit length field *) in
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 362, characters 38-41:
- 362 |           let elen = len extensions + len padding - 2 (* the 16 bit length field *) in
-                                             ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 384, characters 27-30:
- 384 |   let plen, glen, yslen = (len p.dh_p, len p.dh_g, len p.dh_Ys) in
-                                  ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 384, characters 39-42:
- 384 |   let plen, glen, yslen = (len p.dh_p, len p.dh_g, len p.dh_Ys) in
-                                              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 384, characters 51-54:
- 384 |   let plen, glen, yslen = (len p.dh_p, len p.dh_g, len p.dh_Ys) in
-                                                          ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 398, characters 19-22:
- 398 |   set_uint8 hdr 3 (len point);
-                          ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 403, characters 26-29:
- 403 |   BE.set_uint16 lenbuf 0 (len signature);
-                                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 422, characters 19-22:
- 422 |   set_uint8 buf 8 (len se.nonce) ;
-                          ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 424, characters 29-32:
- 424 |   BE.set_uint16 ticketlen 0 (len se.ticket) ;
-                                    ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 429, characters 12-15:
- 429 |   let len = len kex in
-                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 436, characters 12-15:
- 436 |   let len = len kex in
-                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 493, characters 16-19:
- 493 |   let pay_len = len payload in
-                       ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/byte/tls__Reader.cmo -c -impl lib/reader.pp.ml)
- File "lib/reader.ml", line 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/default/bin/ocamlopt.opt -w -40 -g -I lib/.tls.objs/byte -I lib/.tls.objs/native -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Core.cmx -c -impl lib/core.pp.ml)
- File "lib/core.ml", line 115, characters 4-15:
- 115 |     Cstruct.len binder + 1 (* binder len *)
-           ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/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/default/bin/ocamlopt.opt -w -40 -g -I lib/.tls.objs/byte -I lib/.tls.objs/native -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Writer.cmx -c -impl lib/writer.pp.ml)
- File "lib/writer.ml", line 28, characters 23-26:
- 28 |   BE.set_uint16 buf 3 (len payload);
-                             ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 38, characters 22-25:
- 38 |        set_uint8 l 0 (len body) ;
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 42, characters 26-29:
- 42 |        BE.set_uint16 l 0 (len body) ;
-                                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 46, characters 25-28:
- 46 |        set_uint24_len l (len body) ;
-                               ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 61, characters 15-18:
- 61 |   let length = len c in
-                     ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 119, characters 25-28:
- 119 |     BE.set_uint16 buf 0 (len x) ;
-                                ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 146, characters 21-24:
- 146 |   BE.set_uint16 l 0 (len ks) ;
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 151, characters 26-29:
- 151 |   BE.set_uint16 id_len 0 (len id) ;
-                                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 158, characters 21-24:
- 158 |   set_uint8 b_len 0 (len b) ;
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 181, characters 22-25:
- 181 |      set_uint8 buf 0 (len x);
-                             ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 193, characters 21-24:
- 193 |   BE.set_uint16 l 0 (len c) ;
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 207, characters 23-26:
- 207 |   BE.set_uint16 buf 2 (len pay);
-                              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 216, characters 26-29:
- 216 |   BE.set_uint16 lenbuf 0 (len data) ;
-                                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 232, characters 20-23:
- 232 |   set_uint8 clen 0 (len context) ;
-                           ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 305, characters 17-20:
- 305 |   set_uint8 l 0 (len context) ;
-                        ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 312, characters 31-34:
- 312 |   | Some s -> set_uint8 buf 0 (len s); buf <+> s
-                                      ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 347, characters 19-22:
- 347 |       let buflen = len bbuf + len extensions + 4 (* see above, header *) in
-                          ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 347, characters 30-33:
- 347 |       let buflen = len bbuf + len extensions + 4 (* see above, header *) in
-                                     ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 349, characters 14-17:
- 349 |         match len extensions with
-                     ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 355, characters 44-47:
- 355 |           BE.set_uint16 extension_length 0 (len padding);
-                                                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 362, characters 21-24:
- 362 |           let elen = len extensions + len padding - 2 (* the 16 bit length field *) in
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 362, characters 38-41:
- 362 |           let elen = len extensions + len padding - 2 (* the 16 bit length field *) in
-                                             ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 384, characters 27-30:
- 384 |   let plen, glen, yslen = (len p.dh_p, len p.dh_g, len p.dh_Ys) in
-                                  ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 384, characters 39-42:
- 384 |   let plen, glen, yslen = (len p.dh_p, len p.dh_g, len p.dh_Ys) in
-                                              ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 384, characters 51-54:
- 384 |   let plen, glen, yslen = (len p.dh_p, len p.dh_g, len p.dh_Ys) in
-                                                          ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 398, characters 19-22:
- 398 |   set_uint8 hdr 3 (len point);
-                          ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 403, characters 26-29:
- 403 |   BE.set_uint16 lenbuf 0 (len signature);
-                                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 422, characters 19-22:
- 422 |   set_uint8 buf 8 (len se.nonce) ;
-                          ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 424, characters 29-32:
- 424 |   BE.set_uint16 ticketlen 0 (len se.ticket) ;
-                                    ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 429, characters 12-15:
- 429 |   let len = len kex in
-                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 436, characters 12-15:
- 436 |   let len = len kex in
-                   ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/writer.ml", line 493, characters 16-19:
- 493 |   let pay_len = len payload in
-                       ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/byte/tls__Handshake_crypto.cmo -c -impl lib/handshake_crypto.pp.ml)
- File "lib/handshake_crypto.ml", line 8, characters 13-24:
- 8 |   let size = Cstruct.len secret in
-                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/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/default/bin/ocamlopt.opt -w -40 -g -I lib/.tls.objs/byte -I lib/.tls.objs/native -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Reader.cmx -c -impl lib/reader.pp.ml)
- File "lib/reader.ml", line 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/default/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/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/default/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/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/default/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/byte/tls__Handshake_server.cmo -c -impl lib/handshake_server.pp.ml)
- File "lib/handshake_server.ml", line 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/default/bin/ocamlopt.opt -w -40 -g -I lib/.tls.objs/byte -I lib/.tls.objs/native -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Crypto.cmx -c -impl lib/crypto.pp.ml)
- File "lib/crypto.ml", line 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/default/bin/ocamlc.opt -w -40 -g -bin-annot -I lwt/.tls_lwt.objs/byte -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/bytes -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/duration -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/lwt -I /home/opam/.opam/default/lib/lwt/unix -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/mirage-crypto-rng/lwt -I /home/opam/.opam/default/lib/mirage-crypto-rng/unix -I /home/opam/.opam/default/lib/mtime -I /home/opam/.opam/default/lib/mtime/clock -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocplib-endian -I /home/opam/.opam/default/lib/ocplib-endian/bigstring -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/ptime/clock -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/lib/zarith -I lib/.tls.objs/byte -intf-suffix .ml -no-alias-deps -o lwt/.tls_lwt.objs/byte/tls_lwt.cmo -c -impl lwt/tls_lwt.ml)
- File "lwt/tls_lwt.ml", line 30, characters 14-25:
- 30 |     | cs when Cstruct.len cs = 0 -> return_unit
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lwt/tls_lwt.ml", line 95, characters 17-20:
- 95 |       let rlen = len res in
-                       ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lwt/tls_lwt.ml", line 96, characters 22-25:
- 96 |       let n    = min (len buf) rlen in
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.tls.objs/byte -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/byte/tls__Engine.cmo -c -impl lib/engine.pp.ml)
- File "lib/engine.ml", line 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/default/bin/ocamlopt.opt -w -40 -g -I lib/.tls.objs/byte -I lib/.tls.objs/native -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Handshake_crypto13.cmx -c -impl lib/handshake_crypto13.pp.ml)
- File "lib/handshake_crypto13.ml", line 10, characters 40-51:
- 10 |   let padding = Cstruct.create (bytes - Cstruct.len msg) in
-                                              ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/handshake_crypto13.ml", line 16, characters 35-46:
- 16 |     let all_zero = Cstruct.create (Cstruct.len cs) in
-                                         ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/handshake_crypto13.ml", line 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/default/bin/ocamlopt.opt -w -40 -g -I lib/.tls.objs/byte -I lib/.tls.objs/native -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Handshake_crypto.cmx -c -impl lib/handshake_crypto.pp.ml)
- File "lib/handshake_crypto.ml", line 8, characters 13-24:
- 8 |   let size = Cstruct.len secret in
-                  ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I lib/.tls.objs/byte -I lib/.tls.objs/native -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Handshake_client13.cmx -c -impl lib/handshake_client13.pp.ml)
- File "lib/handshake_client13.ml", line 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/default/bin/ocamlopt.opt -w -40 -g -I lib/.tls.objs/byte -I lib/.tls.objs/native -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Handshake_server13.cmx -c -impl lib/handshake_server13.pp.ml)
- File "lib/handshake_server13.ml", line 106, characters 56-67:
- 106 |            let hash_hdr = Writer.assemble_message_hash (Cstruct.len c) in
-                                                               ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lib/handshake_server13.ml", line 185, characters 58-61:
- 185 |                         let ch_part = Cstruct.(sub raw 0 (len raw - binders_len)) in
-                                                                 ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I lib/.tls.objs/byte -I lib/.tls.objs/native -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Handshake_server.cmx -c -impl lib/handshake_server.pp.ml)
- File "lib/handshake_server.ml", line 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/default/bin/ocamlopt.opt -w -40 -g -I lib/.tls.objs/byte -I lib/.tls.objs/native -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/lib/zarith -intf-suffix .ml -no-alias-deps -open Tls -o lib/.tls.objs/native/tls__Engine.cmx -c -impl lib/engine.pp.ml)
- File "lib/engine.ml", line 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/default/bin/ocamlopt.opt -w -40 -g -I lwt/.tls_lwt.objs/byte -I lwt/.tls_lwt.objs/native -I /home/opam/.opam/default/lib/asn1-combinators -I /home/opam/.opam/default/lib/base64 -I /home/opam/.opam/default/lib/bigarray-compat -I /home/opam/.opam/default/lib/bytes -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/cstruct-sexp -I /home/opam/.opam/default/lib/domain-name -I /home/opam/.opam/default/lib/duration -I /home/opam/.opam/default/lib/eqaf -I /home/opam/.opam/default/lib/eqaf/bigstring -I /home/opam/.opam/default/lib/eqaf/cstruct -I /home/opam/.opam/default/lib/fiat-p256 -I /home/opam/.opam/default/lib/fmt -I /home/opam/.opam/default/lib/gmap -I /home/opam/.opam/default/lib/hacl_x25519 -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/hkdf -I /home/opam/.opam/default/lib/logs -I /home/opam/.opam/default/lib/lwt -I /home/opam/.opam/default/lib/lwt/unix -I /home/opam/.opam/default/lib/mirage-crypto -I /home/opam/.opam/default/lib/mirage-crypto-pk -I /home/opam/.opam/default/lib/mirage-crypto-rng -I /home/opam/.opam/default/lib/mirage-crypto-rng/lwt -I /home/opam/.opam/default/lib/mirage-crypto-rng/unix -I /home/opam/.opam/default/lib/mtime -I /home/opam/.opam/default/lib/mtime/clock -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocplib-endian -I /home/opam/.opam/default/lib/ocplib-endian/bigstring -I /home/opam/.opam/default/lib/parsexp -I /home/opam/.opam/default/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/default/lib/ptime -I /home/opam/.opam/default/lib/ptime/clock -I /home/opam/.opam/default/lib/rresult -I /home/opam/.opam/default/lib/sexplib -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/x509 -I /home/opam/.opam/default/lib/zarith -I lib/.tls.objs/byte -I lib/.tls.objs/native -intf-suffix .ml -no-alias-deps -o lwt/.tls_lwt.objs/native/tls_lwt.cmx -c -impl lwt/tls_lwt.ml)
- File "lwt/tls_lwt.ml", line 30, characters 14-25:
- 30 |     | cs when Cstruct.len cs = 0 -> return_unit
-                    ^^^^^^^^^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lwt/tls_lwt.ml", line 95, characters 17-20:
- 95 |       let rlen = len res in
-                       ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
- File "lwt/tls_lwt.ml", line 96, characters 22-25:
- 96 |       let n    = min (len buf) rlen in
-                            ^^^
- Alert deprecated: Cstruct.len
- len is deprecated, you should use length instead.
-> compiled  tls.0.12.8
-> installed tls.0.12.8
[WARNING] Opam package conf-gmp.5 depends on the following system package that can no longer be found: libgmp-dev

=== STDERR ===

2026-06-24 18:48.35: OK: build tls.0.12.8 (runc: 7.1s, disk: 98KB)
2026-06-24 18:48.35: Job succeeded