Building on cree.ocamllabs.io (from ocaml/opam:debian-unstable@sha256:1f047b38773f5019b428a91bd54b182640ea3851a30b2bde75e0749da4491607) Unable to find image 'ocaml/opam:debian-unstable@sha256:1f047b38773f5019b428a91bd54b182640ea3851a30b2bde75e0749da4491607' locally docker.io/ocaml/opam@sha256:1f047b38773f5019b428a91bd54b182640ea3851a30b2bde75e0749da4491607: Pulling from ocaml/opam 2db5444d1f5b: Already exists 955a4d4491b2: Already exists f7fc0b2e0259: Pulling fs layer f7fc0b2e0259: Verifying Checksum f7fc0b2e0259: Download complete f7fc0b2e0259: Pull complete Digest: sha256:1f047b38773f5019b428a91bd54b182640ea3851a30b2bde75e0749da4491607 Status: Downloaded newer image for ocaml/opam@sha256:1f047b38773f5019b428a91bd54b182640ea3851a30b2bde75e0749da4491607 2022-02-04 13:44.34 ---> using "046c03104b31caca4776d0f4b3c05e8c36edfcce47e502c904753c15f5c7c145" 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-02-04 13:44.34 ---> using "174def638ec7d2637b0dbcf8d157f3db3ea5f765b545d79ffe1aaf2604b82a96" 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 1741c7614a3f64debaeee6573205d847859e8de4")) 2022-02-04 13:44.34 ---> using "7cf36d2e512b30870bc55678abf5e1cb55cb4319ee557daf9c5c759dde9da99a" 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-02-04 13:44.34 ---> using "3aa3263ea6afcd677a2f49f1557e7725598e35cb434eb2886483b43b368246e0" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '5.00' '5.00.0+trunk'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-variants" {= "5.00.0+trunk"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-variants.5.00.0+trunk (https://github.com/ocaml/ocaml/archive/trunk.tar.gz) -> installed ocaml-variants.5.00.0+trunk -> installed ocaml-config.2 -> installed ocaml.5.00.0 -> installed base-domains.base -> installed base-nnp.base Done. # Run eval $(opam env --switch=5.00) to update the current shell environment 2022-02-04 13:44.34 ---> using "6db236cc1f1725221e20e3d2b802753e98b385fa5d7a8fd438bcf87d21688267" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [165 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-02-03-0808.17-F-2022-01-30-0201.48.pdiff [272 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-02-03-0808.17-F-2022-01-30-0201.48.pdiff [272 kB] - Fetched 500 kB in 2s (289 kB/s) - Reading package lists... - 2022-02-04 13:44.34 ---> using "621f94e14925313e036e9e8edb72ef7cc5414527dd9f207f32f6eb37decb7348" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"mirage-crypto.0.7.0\"\ \nopam install -vy \"mirage-crypto.0.7.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"mirage-crypto.0.7.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.7.0 is not installed. Nothing to do. The following actions will be performed: - install conf-pkg-config 2 [required by mirage-crypto] - install dune 2.9.3 [required by mirage-crypto] - install result 1.5 [required by dune-configurator] - install csexp 1.5.1 [required by dune-configurator] - install bigarray-compat 1.1.0 [required by cstruct] - install dune-configurator 2.9.3 [required by mirage-crypto] - install cstruct 6.0.1 [required by mirage-crypto] - install mirage-crypto 0.7.0 ===== 8 to install ===== The following system packages will first need to be installed: pkg-config <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> Let opam run your package manager to install the required system packages? (answer 'n' for other options) [Y/n] y + /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 ... 18398 files and directories currently installed.) - Preparing to unpack .../0-libglib2.0-0_2.70.3-1_amd64.deb ... - Unpacking libglib2.0-0:amd64 (2.70.3-1) ... - Selecting previously unselected package libglib2.0-data. - Preparing to unpack .../1-libglib2.0-data_2.70.3-1_all.deb ... - Unpacking libglib2.0-data (2.70.3-1) ... - Selecting previously unselected package libicu67:amd64. - Preparing to unpack .../2-libicu67_67.1-7_amd64.deb ... - Unpacking libicu67:amd64 (67.1-7) ... - Selecting previously unselected package libxml2:amd64. - Preparing to unpack .../3-libxml2_2.9.12+dfsg-5+b1_amd64.deb ... - Unpacking libxml2:amd64 (2.9.12+dfsg-5+b1) ... - 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.1-2_amd64.deb ... - Unpacking shared-mime-info (2.1-2) ... - Selecting previously unselected package xdg-user-dirs. - Preparing to unpack .../6-xdg-user-dirs_0.17-2_amd64.deb ... - Unpacking xdg-user-dirs (0.17-2) ... - Setting up libicu67:amd64 (67.1-7) ... - Setting up xdg-user-dirs (0.17-2) ... - Setting up libglib2.0-0:amd64 (2.70.3-1) ... - No schema files found: doing nothing. - Setting up libglib2.0-data (2.70.3-1) ... - Setting up pkg-config (0.29.2-1) ... - Setting up libxml2:amd64 (2.9.12+dfsg-5+b1) ... - Setting up shared-mime-info (2.1-2) ... - Processing triggers for libc-bin (2.33-5) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/24: Processing 2/24: Processing 3/24: Processing 4/24: Processing 5/24: [conf-pkg-config: pkg-config] -> retrieved bigarray-compat.1.1.0 (cached) Processing 6/24: [conf-pkg-config: pkg-config] -> retrieved csexp.1.5.1 (cached) Processing 7/24: [conf-pkg-config: pkg-config] -> retrieved cstruct.6.0.1 (cached) Processing 8/24: [conf-pkg-config: pkg-config] - 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/24: Processing 9/24: [conf-pkg-config: mkdir] -> retrieved dune.2.9.3 (cached) Processing 10/24: [conf-pkg-config: mkdir] Processing 11/24: [dune: ocaml bootstrap.ml] [conf-pkg-config: mkdir] -> retrieved dune-configurator.2.9.3 (cached) -> retrieved mirage-crypto.0.7.0 (cached) -> installed conf-pkg-config.2 Processing 11/24: [dune: ocaml bootstrap.ml] -> retrieved result.1.5 (cached) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "bootstrap.ml" "-j" "127" (CWD=/home/opam/.opam/5.00/.opam-switch/build/dune.2.9.3) - File "./bootstrap.ml", line 46, characters 17-27: - 46 | && String.sub fn 0 (String.length duneboot) = duneboot - ^^^^^^^^^^ - Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function. - File "./bootstrap.ml", line 103, characters 28-37: - 103 | let args = Array.to_list (Array.sub Sys.argv 1 (Array.length Sys.argv - 1)) in - ^^^^^^^^^ - Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function. - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 127 - cd _boot && /home/opam/.opam/5.00/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads build_path_prefix_map.ml - File "vendor/build_path_prefix_map/src/build_path_prefix_map.ml", line 5, characters 17-31: - Alert deprecated: Stdlib.Printf.kprintf - Use Printf.ksprintf instead. - cd _boot && /home/opam/.opam/5.00/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads cmdliner_base.ml - File "vendor/cmdliner/src/cmdliner_base.ml", line 158, characters 14-27: - Warning 6 [labels-omitted]: labels kind, ambs were omitted in the application of this function. - cd _boot && /home/opam/.opam/5.00/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads opamLexer.ml - File "vendor/opam-file-format/src/opamLexer.mll", line 21, characters 2-16: - Alert deprecated: Stdlib.Printf.kprintf - Use Printf.ksprintf instead. - cd _boot && /home/opam/.opam/5.00/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads cmdliner_docgen.ml - File "vendor/cmdliner/src/cmdliner_docgen.ml", line 278, characters 23-39: - Warning 6 [labels-omitted]: label sec was omitted in the application of this function. - File "vendor/cmdliner/src/cmdliner_docgen.ml", line 293, characters 22-56: - Warning 6 [labels-omitted]: label sec was omitted in the application of this function. - File "vendor/cmdliner/src/cmdliner_docgen.ml", line 294, characters 35-51: - Warning 6 [labels-omitted]: label sec was omitted in the application of this function. - File "vendor/cmdliner/src/cmdliner_docgen.ml", line 295, characters 36-52: - Warning 6 [labels-omitted]: label sec was omitted in the application of this function. - cd _boot && /home/opam/.opam/5.00/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads cmdliner_cline.ml - File "vendor/cmdliner/src/cmdliner_cline.ml", line 128, characters 20-47: - Warning 6 [labels-omitted]: labels kind, ambs were omitted in the application of this function. - cd _boot && /home/opam/.opam/5.00/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads cmdliner_arg.ml - File "vendor/cmdliner/src/cmdliner_arg.ml", line 193, characters 24-50: - Warning 6 [labels-omitted]: label err was omitted in the application of this function. - File "vendor/cmdliner/src/cmdliner_arg.ml", line 243, characters 24-50: - Warning 6 [labels-omitted]: label err was omitted in the application of this function. - File "vendor/cmdliner/src/cmdliner_arg.ml", line 260, characters 10-36: - Warning 6 [labels-omitted]: label pos was omitted in the application of this function. - cd _boot && /home/opam/.opam/5.00/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads cmdliner.ml - File "vendor/cmdliner/src/cmdliner.ml", line 195, characters 25-47: - Warning 6 [labels-omitted]: label errs was omitted in the application of this function. - Processing 11/24: [dune: ./dune.exe build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./dune.exe" "build" "-p" "dune" "--profile" "dune-bootstrap" "-j" "127" (CWD=/home/opam/.opam/5.00/.opam-switch/build/dune.2.9.3) -> compiled dune.2.9.3 -> installed dune.2.9.3 Processing 13/24: [bigarray-compat: dune build] Processing 14/24: [bigarray-compat: dune build] [csexp: dune build] Processing 15/24: [bigarray-compat: dune build] [csexp: dune build] [result: dune build] -> compiled csexp.1.5.1 Processing 15/24: [bigarray-compat: dune build] [result: dune build] -> installed csexp.1.5.1 Processing 16/24: [bigarray-compat: dune build] [result: dune build] -> compiled result.1.5 Processing 16/24: [bigarray-compat: dune build] -> installed result.1.5 Processing 17/24: [bigarray-compat: dune build] Processing 18/24: [bigarray-compat: dune build] [dune-configurator: dune build] -> compiled bigarray-compat.1.1.0 Processing 18/24: [dune-configurator: dune build] -> installed bigarray-compat.1.1.0 Processing 19/24: [dune-configurator: dune build] Processing 20/24: [cstruct: dune build] [dune-configurator: dune build] -> compiled cstruct.6.0.1 Processing 20/24: [dune-configurator: dune build] -> installed cstruct.6.0.1 Processing 21/24: [dune-configurator: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dune-configurator" "-j" "127" "@install" (CWD=/home/opam/.opam/5.00/.opam-switch/build/dune-configurator.2.9.3) -> compiled dune-configurator.2.9.3 -> installed dune-configurator.2.9.3 Processing 23/24: [mirage-crypto: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mirage-crypto" "-j" "127" (CWD=/home/opam/.opam/5.00/.opam-switch/build/mirage-crypto.0.7.0) - ocamlc src/.mirage_crypto.objs/byte/mirage_crypto__Uncommon.{cmi,cmo,cmt} - 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. - ocamlc src/.mirage_crypto.objs/byte/mirage_crypto__Cipher_stream.{cmi,cmo,cmt} - 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. - ocamlc src/.mirage_crypto.objs/byte/mirage_crypto__Ccm.{cmi,cmo,cmt} - 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. - ocamlc src/.mirage_crypto.objs/byte/mirage_crypto__Hash.{cmi,cmo,cmt} - 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. - ocamlopt src/.mirage_crypto.objs/native/mirage_crypto__Uncommon.{cmx,o} - 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. - ocamlopt src/.mirage_crypto.objs/native/mirage_crypto__Cipher_stream.{cmx,o} - 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. - ocamlc src/.mirage_crypto.objs/byte/mirage_crypto__Cipher_block.{cmi,cmo,cmt} - File "src/cipher_block.ml", line 337, characters 34-37: - 337 | 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 341, characters 33-36: - 341 | let counter ~hkey iv = match len iv with - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - ocamlopt src/.mirage_crypto.objs/native/mirage_crypto__Ccm.{cmx,o} - 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. - ocamlopt src/.mirage_crypto.objs/native/mirage_crypto__Hash.{cmx,o} - 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. - ocamlopt src/.mirage_crypto.objs/native/mirage_crypto__Cipher_block.{cmx,o} - File "src/cipher_block.ml", line 337, characters 34-37: - 337 | 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 341, characters 33-36: - 341 | let counter ~hkey iv = match len iv with - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - gcc src/ghash_ctmul.o - In file included from /home/opam/.opam/5.00/lib/ocaml/caml/misc.h:29, - from /home/opam/.opam/5.00/lib/ocaml/caml/mlvalues.h:20, - from native/mirage_crypto.h:7, - from native/ghash_ctmul.c:39: - /home/opam/.opam/5.00/lib/ocaml/caml/camlatomic.h:46:9: warning: ISO C99 does not support the '_Atomic' qualifier [-Wpedantic] - 46 | typedef _Atomic uintnat atomic_uintnat; - | ^~~~~~~ - /home/opam/.opam/5.00/lib/ocaml/caml/camlatomic.h:47:9: warning: ISO C99 does not support the '_Atomic' qualifier [-Wpedantic] - 47 | typedef _Atomic intnat atomic_intnat; - | ^~~~~~~ - gcc src/detect_cpu_features.o - In file included from /home/opam/.opam/5.00/lib/ocaml/caml/misc.h:29, - from /home/opam/.opam/5.00/lib/ocaml/caml/mlvalues.h:20, - from native/mirage_crypto.h:7, - from native/detect_cpu_features.c:1: - /home/opam/.opam/5.00/lib/ocaml/caml/camlatomic.h:46:9: warning: ISO C99 does not support the '_Atomic' qualifier [-Wpedantic] - 46 | typedef _Atomic uintnat atomic_uintnat; - | ^~~~~~~ - /home/opam/.opam/5.00/lib/ocaml/caml/camlatomic.h:47:9: warning: ISO C99 does not support the '_Atomic' qualifier [-Wpedantic] - 47 | typedef _Atomic intnat atomic_intnat; - | ^~~~~~~ - gcc src/entropy_cpu_stubs.o - In file included from /home/opam/.opam/5.00/lib/ocaml/caml/misc.h:29, - from /home/opam/.opam/5.00/lib/ocaml/caml/mlvalues.h:20, - from native/entropy_cpu_stubs.c:5: - /home/opam/.opam/5.00/lib/ocaml/caml/camlatomic.h:46:9: warning: ISO C99 does not support the '_Atomic' qualifier [-Wpedantic] - 46 | typedef _Atomic uintnat atomic_uintnat; - | ^~~~~~~ - /home/opam/.opam/5.00/lib/ocaml/caml/camlatomic.h:47:9: warning: ISO C99 does not support the '_Atomic' qualifier [-Wpedantic] - 47 | typedef _Atomic intnat atomic_intnat; - | ^~~~~~~ - gcc src/misc_sse.o - In file included from /home/opam/.opam/5.00/lib/ocaml/caml/misc.h:29, - from /home/opam/.opam/5.00/lib/ocaml/caml/mlvalues.h:20, - from native/mirage_crypto.h:7, - from native/misc_sse.c:1: - /home/opam/.opam/5.00/lib/ocaml/caml/camlatomic.h:46:9: warning: ISO C99 does not support the '_Atomic' qualifier [-Wpedantic] - 46 | typedef _Atomic uintnat atomic_uintnat; - | ^~~~~~~ - /home/opam/.opam/5.00/lib/ocaml/caml/camlatomic.h:47:9: warning: ISO C99 does not support the '_Atomic' qualifier [-Wpedantic] - 47 | typedef _Atomic intnat atomic_intnat; - | ^~~~~~~ - gcc src/misc.o - In file included from /home/opam/.opam/5.00/lib/ocaml/caml/misc.h:29, - from /home/opam/.opam/5.00/lib/ocaml/caml/mlvalues.h:20, - from native/mirage_crypto.h:7, - from native/misc.c:1: - /home/opam/.opam/5.00/lib/ocaml/caml/camlatomic.h:46:9: warning: ISO C99 does not support the '_Atomic' qualifier [-Wpedantic] - 46 | typedef _Atomic uintnat atomic_uintnat; - | ^~~~~~~ - /home/opam/.opam/5.00/lib/ocaml/caml/camlatomic.h:47:9: warning: ISO C99 does not support the '_Atomic' qualifier [-Wpedantic] - 47 | typedef _Atomic intnat atomic_intnat; - | ^~~~~~~ - gcc src/hash_stubs.o - In file included from /home/opam/.opam/5.00/lib/ocaml/caml/misc.h:29, - from /home/opam/.opam/5.00/lib/ocaml/caml/mlvalues.h:20, - from native/mirage_crypto.h:7, - from native/hash_stubs.c:1: - /home/opam/.opam/5.00/lib/ocaml/caml/camlatomic.h:46:9: warning: ISO C99 does not support the '_Atomic' qualifier [-Wpedantic] - 46 | typedef _Atomic uintnat atomic_uintnat; - | ^~~~~~~ - /home/opam/.opam/5.00/lib/ocaml/caml/camlatomic.h:47:9: warning: ISO C99 does not support the '_Atomic' qualifier [-Wpedantic] - 47 | typedef _Atomic intnat atomic_intnat; - | ^~~~~~~ - gcc src/ghash_generic.o - In file included from /home/opam/.opam/5.00/lib/ocaml/caml/misc.h:29, - from /home/opam/.opam/5.00/lib/ocaml/caml/mlvalues.h:20, - from native/mirage_crypto.h:7, - from native/ghash_generic.c:4: - /home/opam/.opam/5.00/lib/ocaml/caml/camlatomic.h:46:9: warning: ISO C99 does not support the '_Atomic' qualifier [-Wpedantic] - 46 | typedef _Atomic uintnat atomic_uintnat; - | ^~~~~~~ - /home/opam/.opam/5.00/lib/ocaml/caml/camlatomic.h:47:9: warning: ISO C99 does not support the '_Atomic' qualifier [-Wpedantic] - 47 | typedef _Atomic intnat atomic_intnat; - | ^~~~~~~ - gcc src/ghash_pclmul.o - In file included from /home/opam/.opam/5.00/lib/ocaml/caml/misc.h:29, - from /home/opam/.opam/5.00/lib/ocaml/caml/mlvalues.h:20, - from native/mirage_crypto.h:7, - from native/ghash_pclmul.c:23: - /home/opam/.opam/5.00/lib/ocaml/caml/camlatomic.h:46:9: warning: ISO C99 does not support the '_Atomic' qualifier [-Wpedantic] - 46 | typedef _Atomic uintnat atomic_uintnat; - | ^~~~~~~ - /home/opam/.opam/5.00/lib/ocaml/caml/camlatomic.h:47:9: warning: ISO C99 does not support the '_Atomic' qualifier [-Wpedantic] - 47 | typedef _Atomic intnat atomic_intnat; - | ^~~~~~~ - gcc src/aes_aesni.o - In file included from /home/opam/.opam/5.00/lib/ocaml/caml/misc.h:29, - from /home/opam/.opam/5.00/lib/ocaml/caml/mlvalues.h:20, - from native/mirage_crypto.h:7, - from native/aes_aesni.c:11: - /home/opam/.opam/5.00/lib/ocaml/caml/camlatomic.h:46:9: warning: ISO C99 does not support the '_Atomic' qualifier [-Wpedantic] - 46 | typedef _Atomic uintnat atomic_uintnat; - | ^~~~~~~ - /home/opam/.opam/5.00/lib/ocaml/caml/camlatomic.h:47:9: warning: ISO C99 does not support the '_Atomic' qualifier [-Wpedantic] - 47 | typedef _Atomic intnat atomic_intnat; - | ^~~~~~~ - gcc src/des_generic.o - In file included from /home/opam/.opam/5.00/lib/ocaml/caml/misc.h:29, - from /home/opam/.opam/5.00/lib/ocaml/caml/mlvalues.h:20, - from native/mirage_crypto.h:7, - from native/des_generic.c:18: - /home/opam/.opam/5.00/lib/ocaml/caml/camlatomic.h:46:9: warning: ISO C99 does not support the '_Atomic' qualifier [-Wpedantic] - 46 | typedef _Atomic uintnat atomic_uintnat; - | ^~~~~~~ - /home/opam/.opam/5.00/lib/ocaml/caml/camlatomic.h:47:9: warning: ISO C99 does not support the '_Atomic' qualifier [-Wpedantic] - 47 | typedef _Atomic intnat atomic_intnat; - | ^~~~~~~ - 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) - | ~~~~~~~~~~~~~~^~~~~~~~~~ - In file included from native/des_generic.c:19: - native/des_generic.h:126:24: note: previously declared as 'unsigned char *' - 126 | extern void mc_des3key(unsigned char *, short); - | ^~~~~~~~~~~~~~~ - gcc src/aes_generic.o - In file included from /home/opam/.opam/5.00/lib/ocaml/caml/misc.h:29, - from /home/opam/.opam/5.00/lib/ocaml/caml/mlvalues.h:20, - from native/mirage_crypto.h:7, - from native/aes_generic.c:7: - /home/opam/.opam/5.00/lib/ocaml/caml/camlatomic.h:46:9: warning: ISO C99 does not support the '_Atomic' qualifier [-Wpedantic] - 46 | typedef _Atomic uintnat atomic_uintnat; - | ^~~~~~~ - /home/opam/.opam/5.00/lib/ocaml/caml/camlatomic.h:47:9: warning: ISO C99 does not support the '_Atomic' qualifier [-Wpedantic] - 47 | typedef _Atomic intnat atomic_intnat; - | ^~~~~~~ -> compiled mirage-crypto.0.7.0 -> installed mirage-crypto.0.7.0 Done. # Run eval $(opam env) to update the current shell environment 2022-02-04 13:45.13 ---> saved as "9dcbee0e4e209432ed757802089092c3b39145fa588f48fb16fb665ab6352bf2" Job succeeded