OCamllabs icon Home|Differences with the last checks|Previous runs


Building on apache.ocamllabs.io

(from ocaml/opam:debian-unstable)
WARNING: Error loading config file: .dockercfg: $HOME is not defined
2021-09-03 13:17.01 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" 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-2.1 /usr/bin/opam"))
2021-09-03 13:17.01 ---> using "4d29eb3e0b7cd69a97ed90837671d5ca38aa41e2fb94346298af500378eca6fa" from cache

/: (run (network host)
        (shell "rm -rf ~/opam-repository && git clone -q 'git://github.com/ocaml/opam-repository.git' ~/opam-repository && git -C ~/opam-repository checkout -q 8fc7af65ccb8f3b3709bf02b749ac492e6700b59"))
2021-09-03 13:17.01 ---> using "eb095db6df41eeadc708604343f7b0ce0892db9136dac67a38046f57271c5802" 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.

2021-09-03 13:17.01 ---> using "d245c9af6f86b2b97434d338a3fbb8270425ab7dc6ad1b5451665adc9698eabf" from cache

/: (run (network host)
        (shell "git clone -q 'git://github.com/ocaml/ocaml-beta-repository.git' ~/'beta' && git -C ~/'beta' checkout -q 79aeeadd813bdae424ab53f882f08bee0a4e0b89"))
2021-09-03 13:17.01 ---> using "20d9850dcecd0523d6eddecad814e9bbd93882334348605bfa6e15ffd8f5ced5" from cache

/: (run (shell "opam repository add --dont-select 'beta' ~/'beta'"))
[beta] Initialised
2021-09-03 13:17.01 ---> using "6f8879c5099d2146b69bdcec3874fd111cad6c5c42ac63d5f9aa72a228fd8ee8" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam switch create --repositories=beta,default 4.10.2"))

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "4.10.2"} | "ocaml-system" {= "4.10.2"}]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> retrieved ocaml-base-compiler.4.10.2  (cached)
-> installed ocaml-base-compiler.4.10.2
-> installed ocaml-config.1
-> installed ocaml.4.10.2
Done.
# Run eval $(opam env --switch=4.10.2) to update the current shell environment
2021-09-03 13:17.01 ---> using "0a1031eefdae1dfec9ba7058676f372f18e579aaa0b10993ed3f67fea25861da" 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]
- Ign:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages [8766 kB]
- Fetched 8994 kB in 2s (5166 kB/s)
- Reading package lists...
- 
2021-09-03 13:17.01 ---> using "abfdf951d587772edacdbf52779b13de1fe2dd6ffd098491fd89ea026b71f0a0" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell  "\
               \nopam remove -y \"chacha.1.1.0\"\
               \nopam install -vy \"chacha.1.1.0\"\
               \nres=$?\
               \nif [ $res = 31 ]; then\
               \n    if opam show -f x-ci-accept-failures: \"chacha.1.1.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"))
Nothing to do.
[NOTE] chacha.1.1.0 is not installed.

The following actions will be performed:
  - install dune              2.9.0  [required by chacha]
  - install conf-pkg-config   2      [required by chacha]
  - install result            1.5    [required by dune-configurator]
  - install csexp             1.5.1  [required by dune-configurator]
  - install bigarray-compat   1.0.0  [required by cstruct, mirage-crypto]
  - install dune-configurator 2.9.0  [required by mirage-crypto]
  - install cstruct           6.0.1  [required by chacha]
  - install eqaf              0.8    [required by mirage-crypto]
  - install mirage-crypto     0.10.3 [required by chacha]
  - install chacha            1.1.0
===== 10 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 ... 18048 files and directories currently installed.)
- Preparing to unpack .../0-libglib2.0-0_2.68.4-1_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.68.4-1) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../1-libglib2.0-data_2.68.4-1_all.deb ...
- Unpacking libglib2.0-data (2.68.4-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-3_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.12+dfsg-3) ...
- 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.0-1_amd64.deb ...
- Unpacking shared-mime-info (2.0-1) ...
- 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.68.4-1) ...
- No schema files found: doing nothing.
- Setting up libglib2.0-data (2.68.4-1) ...
- Setting up pkg-config (0.29.2-1) ...
- Setting up libxml2:amd64 (2.9.12+dfsg-3) ...
- Setting up shared-mime-info (2.0-1) ...
- Processing triggers for libc-bin (2.31-13) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/30:
Processing  2/30:
Processing  3/30:
Processing  4/30:
Processing  5/30: [conf-pkg-config: pkg-config]
-> retrieved bigarray-compat.1.0.0  (cached)
Processing  6/30: [conf-pkg-config: pkg-config]
-> retrieved chacha.1.1.0  (cached)
Processing  7/30: [conf-pkg-config: pkg-config]
-> retrieved csexp.1.5.1  (cached)
Processing  8/30: [conf-pkg-config: pkg-config]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "--help" (CWD=/home/opam/.opam/4.10.2/.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
- 
- 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/30:
Processing  9/30: [conf-pkg-config: mkdir]
-> retrieved cstruct.6.0.1  (cached)
Processing 10/30: [conf-pkg-config: mkdir]
-> retrieved dune.2.9.0  (cached)
Processing 11/30: [conf-pkg-config: mkdir]
Processing 12/30: [dune: ocaml bootstrap.ml] [conf-pkg-config: mkdir]
-> retrieved dune-configurator.2.9.0  (cached)
Processing 13/30: [dune: ocaml bootstrap.ml] [conf-pkg-config: mkdir]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "mkdir" "-p" "/home/opam/.opam/4.10.2/lib/pkgconfig" (CWD=/home/opam/.opam/4.10.2/.opam-switch/build/conf-pkg-config.2)
-> installed conf-pkg-config.2
Processing 13/30: [dune: ocaml bootstrap.ml]
-> retrieved eqaf.0.8  (cached)
-> retrieved mirage-crypto.0.10.3  (cached)
-> retrieved result.1.5  (cached)
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "bootstrap.ml" "-j" "127" (CWD=/home/opam/.opam/4.10.2/.opam-switch/build/dune.2.9.0)
- ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml
- ./.duneboot.exe -j 127
- 

Processing 13/30: [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/4.10.2/.opam-switch/build/dune.2.9.0)
-> compiled  dune.2.9.0
-> installed dune.2.9.0
Processing 15/30: [bigarray-compat: dune build]
Processing 16/30: [bigarray-compat: dune build] [csexp: dune build]
Processing 17/30: [bigarray-compat: dune build] [csexp: dune build] [result: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "csexp" "-j" "127" "@install" (CWD=/home/opam/.opam/4.10.2/.opam-switch/build/csexp.1.5.1)
-> compiled  csexp.1.5.1
Processing 17/30: [bigarray-compat: dune build] [result: dune build]
-> installed csexp.1.5.1
Processing 18/30: [bigarray-compat: dune build] [result: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "bigarray-compat" "-j" "127" (CWD=/home/opam/.opam/4.10.2/.opam-switch/build/bigarray-compat.1.0.0)
-> compiled  bigarray-compat.1.0.0
Processing 18/30: [result: dune build]
-> installed bigarray-compat.1.0.0
Processing 19/30: [result: dune build]
Processing 20/30: [cstruct: dune build] [result: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "result" "-j" "127" (CWD=/home/opam/.opam/4.10.2/.opam-switch/build/result.1.5)
-> compiled  result.1.5
Processing 20/30: [cstruct: dune build]
-> installed result.1.5
Processing 21/30: [cstruct: dune build]
Processing 22/30: [cstruct: dune build] [dune-configurator: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cstruct" "-j" "127" (CWD=/home/opam/.opam/4.10.2/.opam-switch/build/cstruct.6.0.1)
-> compiled  cstruct.6.0.1
Processing 22/30: [dune-configurator: dune build]
-> installed cstruct.6.0.1
Processing 23/30: [dune-configurator: dune build]
Processing 24/30: [dune-configurator: dune build] [eqaf: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "eqaf" "-j" "127" (CWD=/home/opam/.opam/4.10.2/.opam-switch/build/eqaf.0.8)
-> compiled  eqaf.0.8
Processing 24/30: [dune-configurator: dune build]
-> installed eqaf.0.8
Processing 25/30: [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/4.10.2/.opam-switch/build/dune-configurator.2.9.0)
-> compiled  dune-configurator.2.9.0
-> installed dune-configurator.2.9.0
Processing 27/30: [mirage-crypto: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mirage-crypto" "-j" "127" (CWD=/home/opam/.opam/4.10.2/.opam-switch/build/mirage-crypto.0.10.3)
-       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 93, characters 19-30:
- 93 |     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.
-       ocamlc src/.mirage_crypto.objs/byte/mirage_crypto__Chacha20.{cmi,cmo,cmt}
- 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.
-     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.
-     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.
-       ocamlc src/.mirage_crypto.objs/byte/mirage_crypto__Cipher_block.{cmi,cmo,cmt}
- 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.
-     ocamlopt src/.mirage_crypto.objs/native/mirage_crypto__Hash.{cmx,o}
- File "src/hash.ml", line 93, characters 19-30:
- 93 |     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__Chacha20.{cmx,o}
- 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.
-     ocamlopt src/.mirage_crypto.objs/native/mirage_crypto__Cipher_block.{cmx,o}
- 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.
-        gmake src-freestanding/libmirage_crypto_freestanding_stubs.a
- touch libmirage_crypto_freestanding_stubs.a
-> compiled  mirage-crypto.0.10.3
-> installed mirage-crypto.0.10.3
Processing 29/30: [chacha: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "chacha" "-j" "127" (CWD=/home/opam/.opam/4.10.2/.opam-switch/build/chacha.1.1.0)
-       ocamlc src/.chacha.objs/byte/chacha_core.{cmo,cmt}
- File "src/chacha_core.ml", line 9, characters 5-11:
- 9 |   if Cs.len i <> l then
-          ^^^^^^
- Alert deprecated: Cs.len
- len is deprecated, you should use length instead.
-     ocamlopt src/.chacha.objs/native/chacha_core.{cmx,o}
- File "src/chacha_core.ml", line 9, characters 5-11:
- 9 |   if Cs.len i <> l then
-          ^^^^^^
- Alert deprecated: Cs.len
- len is deprecated, you should use length instead.
-       ocamlc src/.chacha.objs/byte/chacha.{cmo,cmt}
- File "src/chacha.ml", line 10, characters 5-11:
- 10 |   if Cs.len nonce <> 8 then invalid_arg "nonce must be 8 byte long"
-           ^^^^^^
- Alert deprecated: Cs.len
- len is deprecated, you should use length instead.
- File "src/chacha.ml", line 13, characters 12-18:
- 13 |       match Cs.len key with
-                  ^^^^^^
- Alert deprecated: Cs.len
- len is deprecated, you should use length instead.
- File "src/chacha.ml", line 42, characters 10-16:
- 42 |   let l = Cs.len input in
-                ^^^^^^
- Alert deprecated: Cs.len
- len is deprecated, you should use length instead.
- File "src/chacha.ml", line 46, characters 7-13:
- 46 |     if Cs.len state.buffer = 0 then hash state ;
-             ^^^^^^
- Alert deprecated: Cs.len
- len is deprecated, you should use length instead.
- File "src/chacha.ml", line 47, characters 21-27:
- 47 |     let count = min (Cs.len state.buffer) (l - !i) in
-                           ^^^^^^
- Alert deprecated: Cs.len
- len is deprecated, you should use length instead.
-     ocamlopt src/.chacha.objs/native/chacha.{cmx,o}
- File "src/chacha.ml", line 10, characters 5-11:
- 10 |   if Cs.len nonce <> 8 then invalid_arg "nonce must be 8 byte long"
-           ^^^^^^
- Alert deprecated: Cs.len
- len is deprecated, you should use length instead.
- File "src/chacha.ml", line 13, characters 12-18:
- 13 |       match Cs.len key with
-                  ^^^^^^
- Alert deprecated: Cs.len
- len is deprecated, you should use length instead.
- File "src/chacha.ml", line 42, characters 10-16:
- 42 |   let l = Cs.len input in
-                ^^^^^^
- Alert deprecated: Cs.len
- len is deprecated, you should use length instead.
- File "src/chacha.ml", line 46, characters 7-13:
- 46 |     if Cs.len state.buffer = 0 then hash state ;
-             ^^^^^^
- Alert deprecated: Cs.len
- len is deprecated, you should use length instead.
- File "src/chacha.ml", line 47, characters 21-27:
- 47 |     let count = min (Cs.len state.buffer) (l - !i) in
-                           ^^^^^^
- Alert deprecated: Cs.len
- len is deprecated, you should use length instead.
-> compiled  chacha.1.1.0
-> installed chacha.1.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2021-09-03 13:17.44 ---> saved as "2fa8a9957417bcba50856c859d3b964cabe37ba8c4ff39c719f0b62a58ec3fd0"
Job succeeded