Build:
- 0
2026-06-19 21:03.43: New job: build tls.0.12.8 (6abf1359b294) 2026-06-19 21:03.43: Waiting for resource in pool day11-builds 2026-06-19 21:17.45: Got resource from pool day11-builds 2026-06-19 21:17.45: [profile full] build tls.0.12.8 2026-06-19 21:17.45: build tls.0.12.8 (6abf1359b294) === DEPENDENCIES (56 transitive) === asn1-combinators.0.2.6 034224a1a4a5 base.v0.17.3 c7e5188298bb base-bytes.base 38023b842165 base-threads.base b7164ff76afe base-unix.base 839dc585f12d base64.3.5.2 53d1197204e9 bigarray-compat.1.1.0 f132a29a396b conf-gmp.5 61e3c79e0ddf conf-gmp-powm-sec.4 ceb17ad6499b conf-pkg-config.5 64c6b37d622b cppo.1.8.0 58ff60202126 csexp.1.5.2 6a11fd34e537 cstruct.6.0.1 255c06436eb1 cstruct-sexp.6.0.1 a49761fe0123 domain-name.0.5.0 291a718ce0c7 dune.3.23.1 b9e31df96092 dune-configurator.3.23.1 cdae849f232e duration.0.3.1 b70ab2cee18c eqaf.0.9 be0b8d73aa70 fiat-p256.0.2.3 13a8af0793be fmt.0.11.0 ff83722f4864 gmap.0.3.0 5d1581b7a76d hacl_x25519.0.2.2 123d6b95be3a hex.1.5.0 68b7bfe5cbd6 hkdf.1.0.4 5a082b83a272 logs.0.10.0 d616bbe50f5c lwt.6.1.2 f9825635bd29 mirage-crypto.0.10.7 c81a186e705a mirage-crypto-pk.0.10.7 1883fe1b1ee1 mirage-crypto-rng.0.10.7 b044f600139e mirage-no-solo5.1 e053433afa66 mirage-no-xen.1 64acc464f0bc mtime.2.1.0 62cda09cc640 num.1.6 1d184d02a6f2 ocaml.5.5.0 7bdffd2f55d9 ocaml-base-compiler.5.5.0 88ac983b1a28 ocaml-compiler.5.5.0 8d77bbea3746 ocaml-compiler-libs.v0.17.0 6bb2fe976db3 ocaml_intrinsics_kernel.v0.17.2 f1834f130868 ocamlbuild.0.16.1 b61d8be21b8c ocamlfind.1.9.8 1872268d1aec ocplib-endian.1.2 2e63c292ed3b parsexp.v0.17.0 32afa7c7ac17 ppx_cstruct.6.0.1 6b7da3cf2115 ppx_derivers.1.2.1 e49491a38353 ppx_sexp_conv.v0.17.1 506aaee9061f ppxlib.0.38.0 495045ef7a3c ppxlib_jane.v0.17.4 fa1edbbc41e8 ptime.1.2.0 501cd1c732e7 rresult.0.7.0 bcecdf850d77 sexplib.v0.17.0 a3c31166922a sexplib0.v0.17.0 4906aac5ee08 stdlib-shims.0.3.0 4aecff888649 topkg.1.1.1 ecfbf436618b x509.0.11.2 e6c785e52b00 zarith.1.14 288b4b675a74 === 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/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/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/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 -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/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 -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 -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 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/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/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__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_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_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-19 21:18.13: OK: build tls.0.12.8 (runc: 9.1s, disk: 99KB) 2026-06-19 21:18.13: Job succeeded