Building on marpe.ocamllabs.io (from ocaml/opam:debian-unstable@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a) Unable to find image 'ocaml/opam:debian-unstable@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a' locally docker.io/ocaml/opam@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a: Pulling from ocaml/opam d94e46e039c4: Pulling fs layer d94e46e039c4: Verifying Checksum d94e46e039c4: Download complete d94e46e039c4: Pull complete Digest: sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a Status: Downloaded newer image for ocaml/opam@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a 2022-11-03 12:12.01 ---> using "6615d3400d8dabf8928c82fbcb18e477501a38f64d3b1412a91a4e86499e265b" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2022-11-03 12:12.01 ---> using "c909a0ff168e383d01aa2cb84f3e6cbc7a0c470ffe3d07946f43f83d47cc9bfa" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 94675aaefe68e1e4a4ad959d88dd65afa3a9ed3d")) 2022-11-03 12:12.01 ---> using "5315c90a66cfce3be1f8ac668b7f4445c317bfeb4b1de04fe278a4bdf33753ae" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository")) Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults. Checking for available remotes: rsync and local, git. - you won't be able to use mercurial repositories unless you install the hg command on your system. - you won't be able to use darcs repositories unless you install the darcs command on your system. <><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><> [default] Initialised User configuration: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2022-11-03 12:12.01 ---> using "f46d72ea67943cab7c832114e4ca486dbfd4f12ff8812515d1a06b3a229da8ee" from cache /: (run (network host) (shell "git clone -q 'https://github.com/kit-ty-kate/opam-alpha-repository' ~/'alpha' && git -C ~/'alpha' checkout -q 076a4c8b84954fc0cb7d4b8555dd3ef526983967")) 2022-11-03 12:12.01 ---> using "d0cc4487ef08ec8933669840a0a4a09a690fc372319648cfb5be23220879fd8d" from cache /: (run (shell "opam repository add --dont-select 'alpha' ~/'alpha'")) [alpha] Initialised 2022-11-03 12:12.01 ---> using "18078122c14dbafc9fbe33091f99eb13e673e35ecfad480502cb289b424eef02" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=alpha,default '4.14+alpha-repo' '4.14.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.14.0"} | "ocaml-system" {= "4.14.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.4.14.0 (cached) -> installed ocaml-base-compiler.4.14.0 -> installed ocaml-config.2 -> installed ocaml.4.14.0 Done. # Run eval $(opam env --switch=4.14+alpha-repo) to update the current shell environment 2022-11-03 12:12.01 ---> using "a2391df823c5ef92b9a1c79b97666f1e2ee46ce120801a72cfd45829990c9c4a" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [161 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-11-02-0803.40-F-2022-11-01-2004.36.pdiff [67.9 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-11-02-0803.40-F-2022-11-01-2004.36.pdiff [67.9 kB] - Fetched 293 kB in 1s (228 kB/s) - Reading package lists... 2022-11-03 12:12.01 ---> using "11e0dbd88da4d1eab0bd24c90edf527301667b9bc7b034c83a4a1bdc0c485264" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"mirage-crypto.0.9.0\"\ \nopam install -vy \"mirage-crypto.0.9.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"mirage-crypto.0.9.0\" | grep -q '\"debian-unstable\"'; then\ \n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\ \n exit 69\ \n fi\ \nfi\ \n\ \n\ \nexit $res\ \n")) [NOTE] mirage-crypto.0.9.0 is not installed. Nothing to do. The following actions will be performed: === install 8 packages - install bigarray-compat 1.1.0 [required by mirage-crypto] - install conf-pkg-config 2 [required by mirage-crypto] - install csexp 1.5.1 [required by dune-configurator] - install cstruct 6.0.1 [required by mirage-crypto] - install dune 3.5.0 [required by mirage-crypto] - install dune-configurator 3.5.0 [required by mirage-crypto] - install eqaf 0.9 [required by mirage-crypto] - install mirage-crypto 0.9.0 The following system packages will first need to be installed: pkg-config <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run apt-get to install them (may need root/sudo access) 2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal) 3. Attempt installation anyway, and permanently register that this external dependency is present, but not detectable 4. Abort the installation [1/2/3/4] 1 + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libglib2.0-0:amd64. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19051 files and directories currently installed.) - Preparing to unpack .../0-libglib2.0-0_2.74.1-1_amd64.deb ... - Unpacking libglib2.0-0:amd64 (2.74.1-1) ... - Selecting previously unselected package libglib2.0-data. - Preparing to unpack .../1-libglib2.0-data_2.74.1-1_all.deb ... - Unpacking libglib2.0-data (2.74.1-1) ... - Selecting previously unselected package libicu71:amd64. - Preparing to unpack .../2-libicu71_71.1-3_amd64.deb ... - Unpacking libicu71:amd64 (71.1-3) ... - Selecting previously unselected package libxml2:amd64. - Preparing to unpack .../3-libxml2_2.9.14+dfsg-1.1_amd64.deb ... - Unpacking libxml2:amd64 (2.9.14+dfsg-1.1) ... - Selecting previously unselected package pkg-config. - Preparing to unpack .../4-pkg-config_0.29.2-1_amd64.deb ... - Unpacking pkg-config (0.29.2-1) ... - Selecting previously unselected package shared-mime-info. - Preparing to unpack .../5-shared-mime-info_2.2-1_amd64.deb ... - Unpacking shared-mime-info (2.2-1) ... - Selecting previously unselected package xdg-user-dirs. - Preparing to unpack .../6-xdg-user-dirs_0.18-1_amd64.deb ... - Unpacking xdg-user-dirs (0.18-1) ... - Setting up libicu71:amd64 (71.1-3) ... - Setting up xdg-user-dirs (0.18-1) ... - Setting up libglib2.0-0:amd64 (2.74.1-1) ... - No schema files found: doing nothing. - Setting up libglib2.0-data (2.74.1-1) ... - Setting up pkg-config (0.29.2-1) ... - Setting up libxml2:amd64 (2.9.14+dfsg-1.1) ... - Setting up shared-mime-info (2.2-1) ... - Processing triggers for libc-bin (2.35-4) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/23: Processing 2/23: Processing 3/23: Processing 4/23: Processing 5/23: [conf-pkg-config: pkg-config] -> retrieved bigarray-compat.1.1.0 (cached) Processing 6/23: [conf-pkg-config: pkg-config] -> retrieved csexp.1.5.1 (cached) Processing 7/23: [conf-pkg-config: pkg-config] -> retrieved eqaf.0.9 (cached) Processing 8/23: [conf-pkg-config: pkg-config] -> retrieved cstruct.6.0.1 (cached) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "--help" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/conf-pkg-config.2) - Usage: - pkg-config [OPTION?] - - Help Options: - -h, --help Show help options - - Application Options: - --version output version of pkg-config - --modversion output version for package - --atleast-pkgconfig-version=VERSION require given version of pkg-config - --libs output all linker flags - --static output linker flags for static linking - --short-errors print short errors - --libs-only-l output -l flags - --libs-only-other output other libs (e.g. -pthread) - --libs-only-L output -L flags - --cflags output all pre-processor and compiler flags - --cflags-only-I output -I flags - --cflags-only-other output cflags not covered by the cflags-only-I option - --variable=NAME get the value of variable named NAME - --define-variable=NAME=VALUE set variable NAME to VALUE - --exists return 0 if the module(s) exist - --print-variables output list of variables defined by the module - --uninstalled return 0 if the uninstalled version of one or more module(s) or their dependencies will be used - --atleast-version=VERSION return 0 if the module is at least version VERSION - --exact-version=VERSION return 0 if the module is at exactly version VERSION - --max-version=VERSION return 0 if the module is at no newer than version VERSION - --list-all list all known packages - --debug show verbose debug information - --print-errors show verbose information about missing or conflicting packages (default unless --exists or --atleast/exact/max-version given on the command line) - --silence-errors be silent about errors (default when --exists or --atleast/exact/max-version given on the command line) - --errors-to-stdout print errors from --print-errors to stdout not stderr - --print-provides print which packages the package provides - --print-requires print which packages the package requires - --print-requires-private print which packages the package requires for static linking - --validate validate a package's .pc file - --define-prefix try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file - --dont-define-prefix don't try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file - --prefix-variable=PREFIX set the name of the variable that pkg-config automatically sets - -> compiled conf-pkg-config.2 Processing 8/23: Processing 9/23: [conf-pkg-config: mkdir] -> retrieved dune.3.5.0, dune-configurator.3.5.0 (cached) Processing 10/23: [dune: ocaml bootstrap.ml] [conf-pkg-config: mkdir] -> retrieved mirage-crypto.0.9.0 (cached) + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "mkdir" "-p" "/home/opam/.opam/4.14+alpha-repo/lib/pkgconfig" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/conf-pkg-config.2) -> installed conf-pkg-config.2 Processing 10/23: [dune: ocaml bootstrap.ml] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "bootstrap.ml" "-j" "255" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/dune.3.5.0) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 255 - Processing 10/23: [dune: ./dune.exe build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "255" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/dune.3.5.0) -> compiled dune.3.5.0 -> installed dune.3.5.0 Processing 12/23: [bigarray-compat: dune build] Processing 13/23: [bigarray-compat: dune build] [csexp: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "bigarray-compat" "-j" "255" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/bigarray-compat.1.1.0) -> compiled bigarray-compat.1.1.0 Processing 13/23: [csexp: dune build] -> installed bigarray-compat.1.1.0 Processing 14/23: [csexp: dune build] Processing 15/23: [csexp: dune build] [cstruct: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "csexp" "-j" "255" "@install" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/csexp.1.5.1) -> compiled csexp.1.5.1 Processing 15/23: [cstruct: dune build] -> installed csexp.1.5.1 Processing 16/23: [cstruct: dune build] Processing 17/23: [cstruct: dune build] [dune-configurator: rm] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/csexp" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/dune-configurator.3.5.0) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/pp" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/dune-configurator.3.5.0) Processing 17/23: [cstruct: dune build] [dune-configurator: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cstruct" "-j" "255" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/cstruct.6.0.1) -> compiled cstruct.6.0.1 Processing 17/23: [dune-configurator: dune build] -> installed cstruct.6.0.1 Processing 18/23: [dune-configurator: dune build] Processing 19/23: [dune-configurator: dune build] [eqaf: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "eqaf" "-j" "255" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/eqaf.0.9) -> compiled eqaf.0.9 Processing 19/23: [dune-configurator: dune build] -> installed eqaf.0.9 Processing 20/23: [dune-configurator: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dune-configurator" "-j" "255" "@install" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/dune-configurator.3.5.0) -> compiled dune-configurator.3.5.0 -> installed dune-configurator.3.5.0 Processing 22/23: [mirage-crypto: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mirage-crypto" "-j" "255" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/mirage-crypto.0.9.0) - (cd _build/default && /home/opam/.opam/4.14+alpha-repo/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14+alpha-repo/lib/bigarray-compat -I /home/opam/.opam/4.14+alpha-repo/lib/cstruct -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/bigstring -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/cstruct -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/byte/mirage_crypto__Uncommon.cmo -c -impl src/uncommon.ml) - File "src/uncommon.ml", line 33, characters 17-20: - 33 | if n > imin (len src) (len dst) then - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/uncommon.ml", line 33, characters 27-30: - 33 | if n > imin (len src) (len dst) then - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/uncommon.ml", line 38, characters 20-23: - 38 | let len = imin (len cs1) (len cs2) in - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/uncommon.ml", line 38, characters 30-33: - 38 | let len = imin (len cs1) (len cs2) in - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/uncommon.ml", line 46, characters 14-17: - 46 | let n = len cs in - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/uncommon.ml", line 57, characters 44-47: - 57 | (sub cs 0 l1, sub cs l1 l2, sub cs l12 (len cs - l12)) - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/uncommon.ml", line 60, characters 12-15: - 60 | let l = len cs and cs' = Cstruct.create_unsafe size in - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/uncommon.ml", line 67, characters 12-15: - 67 | let l = len cs and cs' = Cstruct.create_unsafe size in - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/4.14+alpha-repo/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14+alpha-repo/lib/bigarray-compat -I /home/opam/.opam/4.14+alpha-repo/lib/cstruct -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/bigstring -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/cstruct -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/byte/mirage_crypto__Cipher_stream.cmo -c -impl src/cipher_stream.ml) - File "src/cipher_stream.ml", line 18, characters 14-25: - 18 | let len = Cstruct.len cs in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/cipher_stream.ml", line 35, characters 14-25: - 35 | and len = Cstruct.len cs in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/4.14+alpha-repo/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14+alpha-repo/lib/bigarray-compat -I /home/opam/.opam/4.14+alpha-repo/lib/cstruct -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/bigstring -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/cstruct -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/byte/mirage_crypto__Ccm.cmo -c -impl src/ccm.ml) - File "src/ccm.ml", line 30, characters 10-21: - 30 | let n = Cstruct.len nonce in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 34, characters 14-25: - 34 | let b6 = if Cstruct.len adata = 0 then 0 else 1 in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 44, characters 13-24: - 44 | let size = Cstruct.len b in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 49, characters 10-21: - 49 | match Cstruct.len a with - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 66, characters 10-21: - 66 | let n = Cstruct.len nonce in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 76, characters 15-26: - 76 | let ada = if Cstruct.len adata = 0 then Cstruct.empty else gen_adata adata in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 82, characters 16-27: - 82 | let datalen = Cstruct.len data in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 100, characters 12-23: - 100 | match Cstruct.len block with - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 116, characters 10-21: - 116 | match Cstruct.len src with - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 142, characters 21-32: - 142 | Cs.xor_into ctr t (Cstruct.len t) - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 145, characters 14-25: - 145 | let nsize = Cstruct.len nonce in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 157, characters 5-16: - 157 | if Cstruct.len data < maclen then - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 160, characters 16-27: - 160 | let pclen = Cstruct.len data - maclen in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/4.14+alpha-repo/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14+alpha-repo/lib/bigarray-compat -I /home/opam/.opam/4.14+alpha-repo/lib/cstruct -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/bigstring -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/cstruct -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/byte/mirage_crypto__Hash.cmo -c -impl src/hash.ml) - File "src/hash.ml", line 85, characters 19-30: - 85 | match compare (Cstruct.len key) block_size with - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/4.14+alpha-repo/bin/ocamlopt.opt -w -40 -g -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14+alpha-repo/lib/bigarray-compat -I /home/opam/.opam/4.14+alpha-repo/lib/cstruct -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/bigstring -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/cstruct -intf-suffix .ml -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/native/mirage_crypto__Uncommon.cmx -c -impl src/uncommon.ml) - File "src/uncommon.ml", line 33, characters 17-20: - 33 | if n > imin (len src) (len dst) then - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/uncommon.ml", line 33, characters 27-30: - 33 | if n > imin (len src) (len dst) then - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/uncommon.ml", line 38, characters 20-23: - 38 | let len = imin (len cs1) (len cs2) in - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/uncommon.ml", line 38, characters 30-33: - 38 | let len = imin (len cs1) (len cs2) in - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/uncommon.ml", line 46, characters 14-17: - 46 | let n = len cs in - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/uncommon.ml", line 57, characters 44-47: - 57 | (sub cs 0 l1, sub cs l1 l2, sub cs l12 (len cs - l12)) - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/uncommon.ml", line 60, characters 12-15: - 60 | let l = len cs and cs' = Cstruct.create_unsafe size in - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/uncommon.ml", line 67, characters 12-15: - 67 | let l = len cs and cs' = Cstruct.create_unsafe size in - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/4.14+alpha-repo/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14+alpha-repo/lib/bigarray-compat -I /home/opam/.opam/4.14+alpha-repo/lib/cstruct -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/bigstring -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/cstruct -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/byte/mirage_crypto__Chacha20.cmo -c -impl src/chacha20.ml) - File "src/chacha20.ml", line 23, characters 10-21: - 23 | match Cstruct.len key, Cstruct.len nonce, Int64.shift_right ctr 32 = 0L with - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/chacha20.ml", line 23, characters 27-38: - 23 | match Cstruct.len key, Cstruct.len nonce, Int64.shift_right ctr 32 = 0L with - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/chacha20.ml", line 42, characters 40-51: - 42 | Cstruct.blit nonce 0 state nonce_off (Cstruct.len nonce) ; - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/chacha20.ml", line 47, characters 10-21: - 47 | let l = Cstruct.len data in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/chacha20.ml", line 75, characters 14-25: - 75 | let len = Cstruct.len b mod 16 in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/chacha20.ml", line 79, characters 48-59: - 79 | Cstruct.LE.set_uint64 data 0 (Int64.of_int (Cstruct.len adata)); - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/chacha20.ml", line 80, characters 48-59: - 80 | Cstruct.LE.set_uint64 data 8 (Int64.of_int (Cstruct.len ciphertext)); - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/chacha20.ml", line 98, characters 5-16: - 98 | if Cstruct.len data < P.mac_size then - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/chacha20.ml", line 101, characters 42-53: - 101 | let cipher, tag = Cstruct.split data (Cstruct.len data - P.mac_size) in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/4.14+alpha-repo/bin/ocamlopt.opt -w -40 -g -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14+alpha-repo/lib/bigarray-compat -I /home/opam/.opam/4.14+alpha-repo/lib/cstruct -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/bigstring -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/cstruct -intf-suffix .ml -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/native/mirage_crypto__Cipher_stream.cmx -c -impl src/cipher_stream.ml) - File "src/cipher_stream.ml", line 18, characters 14-25: - 18 | let len = Cstruct.len cs in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/cipher_stream.ml", line 35, characters 14-25: - 35 | and len = Cstruct.len cs in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/4.14+alpha-repo/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14+alpha-repo/lib/bigarray-compat -I /home/opam/.opam/4.14+alpha-repo/lib/cstruct -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/bigstring -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/cstruct -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/byte/mirage_crypto__Cipher_block.cmo -c -impl src/cipher_block.ml) - File "src/cipher_block.ml", line 270, characters 34-37: - 270 | let bits64 cs = Int64.of_int (len cs * 8) - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/cipher_block.ml", line 274, characters 36-39: - 274 | let counter ~hkey nonce = match len nonce with - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/cipher_block.ml", line 294, characters 9-20: - 294 | if Cstruct.len cdata < tag_size then - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/cipher_block.ml", line 298, characters 31-42: - 298 | Cstruct.split cdata (Cstruct.len cdata - tag_size) - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/4.14+alpha-repo/bin/ocamlopt.opt -w -40 -g -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14+alpha-repo/lib/bigarray-compat -I /home/opam/.opam/4.14+alpha-repo/lib/cstruct -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/bigstring -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/cstruct -intf-suffix .ml -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/native/mirage_crypto__Ccm.cmx -c -impl src/ccm.ml) - File "src/ccm.ml", line 30, characters 10-21: - 30 | let n = Cstruct.len nonce in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 34, characters 14-25: - 34 | let b6 = if Cstruct.len adata = 0 then 0 else 1 in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 44, characters 13-24: - 44 | let size = Cstruct.len b in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 49, characters 10-21: - 49 | match Cstruct.len a with - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 66, characters 10-21: - 66 | let n = Cstruct.len nonce in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 76, characters 15-26: - 76 | let ada = if Cstruct.len adata = 0 then Cstruct.empty else gen_adata adata in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 82, characters 16-27: - 82 | let datalen = Cstruct.len data in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 100, characters 12-23: - 100 | match Cstruct.len block with - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 116, characters 10-21: - 116 | match Cstruct.len src with - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 142, characters 21-32: - 142 | Cs.xor_into ctr t (Cstruct.len t) - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 145, characters 14-25: - 145 | let nsize = Cstruct.len nonce in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 157, characters 5-16: - 157 | if Cstruct.len data < maclen then - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 160, characters 16-27: - 160 | let pclen = Cstruct.len data - maclen in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/4.14+alpha-repo/bin/ocamlopt.opt -w -40 -g -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14+alpha-repo/lib/bigarray-compat -I /home/opam/.opam/4.14+alpha-repo/lib/cstruct -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/bigstring -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/cstruct -intf-suffix .ml -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/native/mirage_crypto__Hash.cmx -c -impl src/hash.ml) - File "src/hash.ml", line 85, characters 19-30: - 85 | match compare (Cstruct.len key) block_size with - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/4.14+alpha-repo/bin/ocamlopt.opt -w -40 -g -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14+alpha-repo/lib/bigarray-compat -I /home/opam/.opam/4.14+alpha-repo/lib/cstruct -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/bigstring -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/cstruct -intf-suffix .ml -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/native/mirage_crypto__Chacha20.cmx -c -impl src/chacha20.ml) - File "src/chacha20.ml", line 23, characters 10-21: - 23 | match Cstruct.len key, Cstruct.len nonce, Int64.shift_right ctr 32 = 0L with - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/chacha20.ml", line 23, characters 27-38: - 23 | match Cstruct.len key, Cstruct.len nonce, Int64.shift_right ctr 32 = 0L with - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/chacha20.ml", line 42, characters 40-51: - 42 | Cstruct.blit nonce 0 state nonce_off (Cstruct.len nonce) ; - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/chacha20.ml", line 47, characters 10-21: - 47 | let l = Cstruct.len data in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/chacha20.ml", line 75, characters 14-25: - 75 | let len = Cstruct.len b mod 16 in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/chacha20.ml", line 79, characters 48-59: - 79 | Cstruct.LE.set_uint64 data 0 (Int64.of_int (Cstruct.len adata)); - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/chacha20.ml", line 80, characters 48-59: - 80 | Cstruct.LE.set_uint64 data 8 (Int64.of_int (Cstruct.len ciphertext)); - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/chacha20.ml", line 98, characters 5-16: - 98 | if Cstruct.len data < P.mac_size then - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/chacha20.ml", line 101, characters 42-53: - 101 | let cipher, tag = Cstruct.split data (Cstruct.len data - P.mac_size) in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/4.14+alpha-repo/bin/ocamlopt.opt -w -40 -g -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14+alpha-repo/lib/bigarray-compat -I /home/opam/.opam/4.14+alpha-repo/lib/cstruct -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/bigstring -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/cstruct -intf-suffix .ml -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/native/mirage_crypto__Cipher_block.cmx -c -impl src/cipher_block.ml) - File "src/cipher_block.ml", line 270, characters 34-37: - 270 | let bits64 cs = Int64.of_int (len cs * 8) - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/cipher_block.ml", line 274, characters 36-39: - 274 | let counter ~hkey nonce = match len nonce with - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/cipher_block.ml", line 294, characters 9-20: - 294 | if Cstruct.len cdata < tag_size then - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/cipher_block.ml", line 298, characters 31-42: - 298 | Cstruct.split cdata (Cstruct.len cdata - tag_size) - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default/src-freestanding && /usr/bin/gmake) - touch libmirage_crypto_freestanding_stubs.a - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC --std=c99 -Wall -Wextra -Wpedantic -O3 -DENTROPY -mrdrnd -mrdseed -DACCELERATE -mssse3 -maes -mpclmul -g -I /home/opam/.opam/4.14+alpha-repo/lib/ocaml -I /home/opam/.opam/4.14+alpha-repo/lib/bigarray-compat -I /home/opam/.opam/4.14+alpha-repo/lib/cstruct -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/bigstring -I /home/opam/.opam/4.14+alpha-repo/lib/eqaf/cstruct -o des_generic.o -c native/des_generic.c) - native/des_generic.c:404:31: warning: argument 1 of type 'unsigned char[16]' with mismatched bound [-Warray-parameter=] - 404 | void mc_des2key(unsigned char hexkey[16], short mode) /* stomps on Kn3 too */ - | ~~~~~~~~~~~~~~^~~~~~~~~~ - In file included from native/des_generic.c:19: - native/des_generic.h:67:24: note: previously declared as 'unsigned char *' - 67 | extern void mc_des2key(unsigned char *, short); - | ^~~~~~~~~~~~~~~ - native/des_generic.c:536:31: warning: argument 1 of type 'unsigned char[24]' with mismatched bound [-Warray-parameter=] - 536 | void mc_des3key(unsigned char hexkey[24], short mode) - | ~~~~~~~~~~~~~~^~~~~~~~~~ - native/des_generic.h:126:24: note: previously declared as 'unsigned char *' - 126 | extern void mc_des3key(unsigned char *, short); - | ^~~~~~~~~~~~~~~ -> compiled mirage-crypto.0.9.0 -> installed mirage-crypto.0.9.0 Done. # Run eval $(opam env) to update the current shell environment 2022-11-03 12:12.31 ---> saved as "ab6c69c268532293a17c18e8c8c0386697a124449f3c75c83240bdf8162d757e" Job succeeded