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


Building on x86-bm-c9.sw.ocaml.org

(from ocaml/opam:debian-unstable)
Unable to find image 'ocaml/opam:debian-unstable' locally
debian-unstable: Pulling from ocaml/opam
6244f700724e: Pulling fs layer
6244f700724e: Verifying Checksum
6244f700724e: Download complete
6244f700724e: Pull complete
Digest: sha256:35955c73858a160861a4c163059ac175d08b4130fa60e218e4e334edc9aaf57e
Status: Downloaded newer image for ocaml/opam:debian-unstable
2024-03-16 22:35.02 ---> 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-dev /usr/bin/opam"))
2024-03-16 22:35.02 ---> using "65c3237f501f7c75f3828458ecf2342bc41c98aaef8c6a7fd82bf46a58cb258c" 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 ac9a846c007d1cde3764459aeae5b75c2f8b7aa8"))
2024-03-16 22:35.02 ---> using "f6daa5a185e151575958bea1bc7ebf168b134457b47fd2bceccea664c8ac3953" 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.

2024-03-16 22:35.02 ---> using "18a4f9bae2d8e0b81b324227a340acbc6fb6adc121711142b1a69c92072eb64b" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam switch create --repositories=default '4.08' '4.08.1'"))

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> retrieved ocaml-base-compiler.4.08.1  (cached)
-> installed ocaml-base-compiler.4.08.1
-> installed ocaml-config.1
-> installed ocaml.4.08.1
Done.
# Run eval $(opam env --switch=4.08) to update the current shell environment
2024-03-16 22:35.02 ---> using "bb902ff30e636a3698cc30cea54af38bb4bd4543d222984068be174e3fd655ed" from cache

/: (run (network host)
        (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [198 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-2024-03-15-2054.44-F-2024-03-15-1419.03.pdiff [83.0 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-03-15-2054.44-F-2024-03-15-1419.03.pdiff [83.0 kB]
- Fetched 344 kB in 3s (109 kB/s)
- Reading package lists...
2024-03-16 22:35.02 ---> using "44daaf5a1622e7fb2c8098cce471c0ae6e3fb758803abebb4702d36cba99be80" from cache

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

Nothing to do.
The following actions will be performed:
=== install 7 packages
  - install bigarray-compat   1.1.0  [required by cstruct]
  - install conf-pkg-config   3      [required by mirage-crypto]
  - install csexp             1.5.2  [required by dune-configurator]
  - install cstruct           6.0.1  [required by mirage-crypto]
  - install dune              3.14.2 [required by mirage-crypto]
  - install dune-configurator 3.14.2 [required by mirage-crypto]
  - install mirage-crypto     0.8.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. Continue anyway, and, upon success, 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 libpkgconf3: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 ... 19678 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-1+b2_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1+b2) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-1+b2_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1+b2) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-1+b2_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1+b2) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-1+b2_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1+b2) ...
- Setting up libpkgconf3:amd64 (1.8.1-1+b2) ...
- Setting up pkgconf-bin (1.8.1-1+b2) ...
- Setting up pkgconf:amd64 (1.8.1-1+b2) ...
- Setting up pkg-config:amd64 (1.8.1-1+b2) ...
- Processing triggers for libc-bin (2.37-15.1) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/20:
Processing  2/20:
Processing  3/20:
Processing  4/20:
Processing  5/20: [conf-pkg-config: pkg-config]
-> retrieved csexp.1.5.2  (cached)
Processing  6/20: [conf-pkg-config: pkg-config]
-> retrieved bigarray-compat.1.1.0  (cached)
Processing  7/20: [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.08/.opam-switch/build/conf-pkg-config.3)
- usage: pkgconf [OPTIONS] [LIBRARIES]
- 
- basic options:
- 
-   --help                            this message
-   --about                           print pkgconf version and license to stdout
-   --version                         print supported pkg-config version to stdout
-   --atleast-pkgconfig-version       check whether or not pkgconf is compatible
-                                     with a specified pkg-config version
-   --errors-to-stdout                print all errors on stdout instead of stderr
-   --print-errors                    ensure all errors are printed
-   --short-errors                    be less verbose about some errors
-   --silence-errors                  explicitly be silent about errors
-   --list-all                        list all known packages
-   --list-package-names              list all known package names
-   --simulate                        simulate walking the calculated dependency graph
-   --no-cache                        do not cache already seen packages when
-                                     walking the dependency graph
-   --log-file=filename               write an audit log to a specified file
-   --with-path=path                  adds a directory to the search path
-   --define-prefix                   override the prefix variable with one that is guessed based on
-                                     the location of the .pc file
-   --dont-define-prefix              do not override the prefix variable under any circumstances
-   --prefix-variable=varname         sets the name of the variable that pkgconf considers
-                                     to be the package prefix
-   --relocate=path                   relocates a path and exits (mostly for testsuite)
-   --dont-relocate-paths             disables path relocation support
- 
- cross-compilation personality support:
- 
-   --personality=triplet|filename    sets the personality to 'triplet' or a file named 'filename'
-   --dump-personality                dumps details concerning selected personality
- 
- checking specific pkg-config database entries:
- 
-   --atleast-version                 require a specific version of a module
-   --exact-version                   require an exact version of a module
-   --max-version                     require a maximum version of a module
-   --exists                          check whether or not a module exists
-   --uninstalled                     check whether or not an uninstalled module will be used
-   --no-uninstalled                  never use uninstalled modules when satisfying dependencies
-   --no-provides                     do not use 'provides' rules to resolve dependencies
-   --maximum-traverse-depth          maximum allowed depth for dependency graph
-   --static                          be more aggressive when computing dependency graph
-                                     (for static linking)
-   --shared                          use a simplified dependency graph (usually default)
-   --pure                            optimize a static dependency graph as if it were a normal
-                                     dependency graph
-   --env-only                        look only for package entries in PKG_CONFIG_PATH
-   --ignore-conflicts                ignore 'conflicts' rules in modules
-   --validate                        validate specific .pc files for correctness
- 
- querying specific pkg-config database fields:
- 
-   --define-variable=varname=value   define variable 'varname' as 'value'
-   --variable=varname                print specified variable entry to stdout
-   --cflags                          print required CFLAGS to stdout
-   --cflags-only-I                   print required include-dir CFLAGS to stdout
-   --cflags-only-other               print required non-include-dir CFLAGS to stdout
-   --libs                            print required linker flags to stdout
-   --libs-only-L                     print required LDPATH linker flags to stdout
-   --libs-only-l                     print required LIBNAME linker flags to stdout
-   --libs-only-other                 print required other linker flags to stdout
-   --print-requires                  print required dependency frameworks to stdout
-   --print-requires-private          print required dependency frameworks for static
-                                     linking to stdout
-   --print-provides                  print provided dependencies to stdout
-   --print-variables                 print all known variables in module to stdout
-   --digraph                         print entire dependency graph in graphviz 'dot' format
-   --keep-system-cflags              keep -I/usr/include entries in cflags output
-   --keep-system-libs                keep -L/lib:/lib/i386-linux-gnu:/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnux32:/lib32:/libx32:/usr/lib:/usr/lib/i386-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnux32:/usr/lib32:/usr/libx32 entries in libs output
-   --path                            show the exact filenames for any matching .pc files
-   --modversion                      print the specified module's version to stdout
-   --internal-cflags                 do not filter 'internal' cflags from output
- 
- filtering output:
- 
-   --msvc-syntax                     print translatable fragments in MSVC syntax
-   --fragment-filter=types           filter output fragments to the specified types
- 
- report bugs to <https://github.com/pkgconf/pkgconf/issues/new>.
-> compiled  conf-pkg-config.3
Processing  7/20:
-> installed conf-pkg-config.3
Processing  8/20:
-> retrieved mirage-crypto.0.8.0  (cached)
-> retrieved dune.3.14.2, dune-configurator.3.14.2  (cached)
Processing  9/20: [dune: ocaml 31]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "31" (CWD=/home/opam/.opam/4.08/.opam-switch/build/dune.3.14.2)
- ocamlc -custom -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml
- ./.duneboot.exe -j 31
- cd _boot && /home/opam/.opam/4.08/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +threads opamLocal.ml
- File "vendor/opam/src/repository/opamLocal.ml", line 109, characters 46-225:
- Warning 8: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Checksum_mismatch _
- File "vendor/opam/src/repository/opamLocal.ml", line 170, characters 44-866:
- Warning 8: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Checksum_mismatch _
- File "vendor/opam/src/repository/opamLocal.ml", line 209, characters 8-775:
- Warning 8: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Checksum_mismatch _
- cd _boot && /home/opam/.opam/4.08/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +threads opamVCS.ml
- File "vendor/opam/src/repository/opamVCS.ml", line 179, characters 11-183:
- Warning 8: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Checksum_mismatch _
- cd _boot && /home/opam/.opam/4.08/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +threads dune_util__Gc.ml
- File "src/dune_util/gc.ml", line 78, characters 5-351:
- Warning 23: all the fields are explicitly listed in this record:
- the 'with' clause is useless.
- cd _boot && /home/opam/.opam/4.08/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +threads opamDownload.ml
- File "vendor/opam/src/repository/opamDownload.ml", line 323, characters 42-1950:
- Warning 8: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Checksum_mismatch _
- cd _boot && /home/opam/.opam/4.08/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +threads opamRepository.ml
- File "vendor/opam/src/repository/opamRepository.ml", line 88, characters 45-174:
- Warning 8: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Checksum_mismatch _
- File "vendor/opam/src/repository/opamRepository.ml", line 277, characters 38-236:
- Warning 8: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- Checksum_mismatch _
- File "vendor/opam/src/repository/opamRepository.ml", line 423, characters 12-252:
- Warning 8: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- (_, Checksum_mismatch _)
- 

Processing  9/20: [dune: ./_boot/dune.exe build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./_boot/dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "31" (CWD=/home/opam/.opam/4.08/.opam-switch/build/dune.3.14.2)
-> compiled  dune.3.14.2
-> installed dune.3.14.2
Processing 11/20: [bigarray-compat: dune build]
Processing 12/20: [bigarray-compat: dune build] [csexp: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "csexp" "-j" "31" "@install" (CWD=/home/opam/.opam/4.08/.opam-switch/build/csexp.1.5.2)
-> compiled  csexp.1.5.2
Processing 12/20: [bigarray-compat: dune build]
-> installed csexp.1.5.2
Processing 13/20: [bigarray-compat: dune build]
Processing 14/20: [bigarray-compat: dune build] [dune-configurator: rm]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "bigarray-compat" "-j" "31" (CWD=/home/opam/.opam/4.08/.opam-switch/build/bigarray-compat.1.1.0)
-> compiled  bigarray-compat.1.1.0
Processing 14/20: [dune-configurator: rm]
-> installed bigarray-compat.1.1.0
Processing 15/20: [dune-configurator: rm]
Processing 16/20: [cstruct: dune build] [dune-configurator: rm]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/csexp" (CWD=/home/opam/.opam/4.08/.opam-switch/build/dune-configurator.3.14.2)
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/pp" (CWD=/home/opam/.opam/4.08/.opam-switch/build/dune-configurator.3.14.2)
Processing 16/20: [cstruct: dune build] [dune-configurator: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cstruct" "-j" "31" (CWD=/home/opam/.opam/4.08/.opam-switch/build/cstruct.6.0.1)
-> compiled  cstruct.6.0.1
Processing 16/20: [dune-configurator: dune build]
-> installed cstruct.6.0.1
Processing 17/20: [dune-configurator: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dune-configurator" "-j" "31" "@install" (CWD=/home/opam/.opam/4.08/.opam-switch/build/dune-configurator.3.14.2)
-> compiled  dune-configurator.3.14.2
-> installed dune-configurator.3.14.2
Processing 19/20: [mirage-crypto: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mirage-crypto" "-j" "31" (CWD=/home/opam/.opam/4.08/.opam-switch/build/mirage-crypto.0.8.0)
- (cd _build/default && /home/opam/.opam/4.08/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.08/lib/bigarray-compat -I /home/opam/.opam/4.08/lib/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.08/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.08/lib/bigarray-compat -I /home/opam/.opam/4.08/lib/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.08/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.08/lib/bigarray-compat -I /home/opam/.opam/4.08/lib/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.08/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.08/lib/bigarray-compat -I /home/opam/.opam/4.08/lib/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.08/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.08/lib/bigarray-compat -I /home/opam/.opam/4.08/lib/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.08/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.08/lib/bigarray-compat -I /home/opam/.opam/4.08/lib/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.08/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.08/lib/bigarray-compat -I /home/opam/.opam/4.08/lib/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 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.
- (cd _build/default && /home/opam/.opam/4.08/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.08/lib/bigarray-compat -I /home/opam/.opam/4.08/lib/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.08/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.08/lib/bigarray-compat -I /home/opam/.opam/4.08/lib/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.08/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.08/lib/bigarray-compat -I /home/opam/.opam/4.08/lib/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 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.
- (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fcommon -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 -fno-strict-aliasing -fwrapv -fcommon -fPIC --std=c99 -Wall -Wextra -Wpedantic -O3 -DENTROPY -mrdrnd -mrdseed -DACCELERATE -mssse3 -maes -mpclmul -g -I /home/opam/.opam/4.08/lib/ocaml -I /home/opam/.opam/4.08/lib/bigarray-compat -I /home/opam/.opam/4.08/lib/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.8.0
-> installed mirage-crypto.0.8.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-03-16 22:36.20 ---> saved as "5b18d479b8f30c1b4b853d740b66c03fa9918ff5cd2ac7a4c7fa2c3480e84585"
Job succeeded