Build:
  1. 0
2026-06-16 18:20.36: New job: build tls.0.12.8 (7321538a7e33)
2026-06-16 18:20.36: Waiting for resource in pool day11-builds
2026-06-16 18:41.51: Got resource from pool day11-builds
2026-06-16 18:41.51: [profile full] build tls.0.12.8
2026-06-16 18:41.51: build tls.0.12.8 (7321538a7e33)
=== DEPENDENCIES (57 transitive) ===
  asn1-combinators.0.2.6                             ab1e6983d982
  base.v0.17.3                                       876ca94bfeea
  base-bytes.base                                    4e354a32e9ce
  base-threads.base                                  b7164ff76afe
  base-unix.base                                     839dc585f12d
  base64.3.5.2                                       be2419553127
  bigarray-compat.1.1.0                              daad11e8fd80
  conf-gmp.5                                         61e3c79e0ddf
  conf-gmp-powm-sec.4                                ceb17ad6499b
  conf-pkg-config.5                                  64c6b37d622b
  cppo.1.8.0                                         3c775a388c9d
  csexp.1.5.2                                        e2491a88a8e9
  cstruct.6.0.1                                      032f5c255d6e
  cstruct-sexp.6.0.1                                 82bf69a50d1e
  domain-name.0.5.0                                  d22b69f25457
  dune.3.23.1                                        d50060dd2cab
  dune-configurator.3.23.1                           83dd42d9abe2
  duration.0.3.1                                     174b376e0906
  eqaf.0.9                                           2368fdb89fb1
  fiat-p256.0.2.3                                    bfe6901ae25a
  fmt.0.11.0                                         485b1e345597
  gmap.0.3.0                                         e89c6cea6b17
  hacl_x25519.0.2.2                                  813471b19207
  hex.1.5.0                                          ad8b89914f8e
  hkdf.1.0.4                                         abeec984b481
  logs.0.10.0                                        b430ad560988
  lwt.6.1.2                                          05e2b8e7a225
  mirage-crypto.0.10.7                               cf92155ee881
  mirage-crypto-pk.0.10.7                            4d6b2927bab3
  mirage-crypto-rng.0.10.7                           c1d3d944cafc
  mirage-no-solo5.1                                  324392a5261c
  mirage-no-xen.1                                    2d8ef17ab19c
  mtime.2.1.0                                        d7df03f35c29
  num.1.6                                            158dee1e5f8c
  ocaml.5.4.1                                        708fed352b2a
  ocaml-base-compiler.5.4.1                          89b85703f841
  ocaml-compiler.5.4.1                               a719b8419b8e
  ocaml-compiler-libs.v0.17.0                        bb35244dbd80
  ocaml-config.3                                     aa27f63940d8
  ocaml_intrinsics_kernel.v0.17.2                    faf575551ca9
  ocamlbuild.0.16.1                                  069fc1e567af
  ocamlfind.1.9.8                                    5cfa73ef65e7
  ocplib-endian.1.2                                  1d89a46df662
  parsexp.v0.17.0                                    3e5ce3992c1d
  ppx_cstruct.6.0.1                                  4d6e26fc3631
  ppx_derivers.1.2.1                                 48d8f0a02148
  ppx_sexp_conv.v0.17.1                              3f62d77bb0bb
  ppxlib.0.38.0                                      089dd9eec9cd
  ppxlib_jane.v0.17.4                                a62b992f5e07
  ptime.1.2.0                                        bbf602fc20a0
  rresult.0.7.0                                      02b516a972ff
  sexplib.v0.17.0                                    06685797e3a3
  sexplib0.v0.17.0                                   3a274f46ef22
  stdlib-shims.0.3.0                                 b64bd5274094
  topkg.1.1.1                                        4a88955a28b6
  x509.0.11.2                                        f72cab75ff54
  zarith.1.14                                        b2ef7cdb0e39
=== 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 -bin-annot-occurrences -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 -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/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -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 -bin-annot-occurrences -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 -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/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -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 -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/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 -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/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 -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/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -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/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -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 -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/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -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 -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/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -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 -bin-annot-occurrences -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 -bin-annot-occurrences -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 -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/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -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 -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/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -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/ocaml/unix -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 -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/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 -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/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 -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/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 -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/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 -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/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 -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/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 -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/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 -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/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/ocaml/unix -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 -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.
-> 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-16 18:41.59: OK: build tls.0.12.8 (runc: 6.1s, disk: 99KB)
2026-06-16 18:41.59: Job succeeded