Building on asteria.ocamllabs.io (from ocaml/opam:debian-unstable@sha256:0689b2c0bae81ca736a3cf47bf9f45d784bdbc49ceb862d61cac3392c998d272) Unable to find image 'ocaml/opam:debian-unstable@sha256:0689b2c0bae81ca736a3cf47bf9f45d784bdbc49ceb862d61cac3392c998d272' locally docker.io/ocaml/opam@sha256:0689b2c0bae81ca736a3cf47bf9f45d784bdbc49ceb862d61cac3392c998d272: Pulling from ocaml/opam 007cfbb78823: Pulling fs layer e92fa349b1fb: Pulling fs layer acc3a8cfc488: Pulling fs layer 007cfbb78823: Verifying Checksum 007cfbb78823: Download complete 007cfbb78823: Pull complete acc3a8cfc488: Verifying Checksum acc3a8cfc488: Download complete e92fa349b1fb: Verifying Checksum e92fa349b1fb: Download complete e92fa349b1fb: Pull complete acc3a8cfc488: Pull complete Digest: sha256:0689b2c0bae81ca736a3cf47bf9f45d784bdbc49ceb862d61cac3392c998d272 Status: Downloaded newer image for ocaml/opam@sha256:0689b2c0bae81ca736a3cf47bf9f45d784bdbc49ceb862d61cac3392c998d272 2022-04-07 06:38.17 ---> using "9694d2e78ab3fcaaf506053043dc404ac6350d10eabcb4e61663e36a98d481fd" 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-04-07 06:38.17 ---> using "f1435c573d465aa4a3b32f3496f8ddaab4c185e5f8720ec93f2b8f5b9c107d4b" 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 aa1f173b2a62d094b9857fa09cf471a46424c4a8")) 2022-04-07 06:38.17 ---> using "16ab3e697c9012d52ecf2d027a886d80445d47f3204474de827be3a6a09ce5bd" 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-04-07 06:38.17 ---> using "161fa26fa8ff94f6712afd15c3db137cd2e1a4ac1ac76e29aae43348e67b52d7" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.14' '4.14.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.14.0"} | "ocaml-system" {= "4.14.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.4.14.0 (cached) -> installed ocaml-base-compiler.4.14.0 -> installed ocaml-config.2 -> installed ocaml.4.14.0 Done. # Run eval $(opam env --switch=4.14) to update the current shell environment 2022-04-07 06:38.17 ---> using "68c192bd131e3ee3810095be8f337218683763f77ae0b2765a0753bcf3e12532" 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-04-06-1404.48-F-2022-03-29-0803.54.pdiff [526 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-04-06-1404.48-F-2022-03-29-0803.54.pdiff [526 kB] - Fetched 755 kB in 1s (558 kB/s) - Reading package lists... 2022-04-07 06:38.17 ---> using "fda1d79037abd257104e5e2f761e63144b4ce20e388f44fa2bba0c0ca73e3cd6" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"mirage-crypto-rng.0.6.0\"\ \nopam install -vy \"mirage-crypto-rng.0.6.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"mirage-crypto-rng.0.6.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-rng.0.6.0 is not installed. Nothing to do. The following actions will be performed: === install 13 packages - install base-bytes base [required by ocplib-endian] - install bigarray-compat 1.1.0 [required by cstruct] - install conf-pkg-config 2 [required by mirage-crypto] - install cppo 1.6.8 [required by ocplib-endian] - install cpuid 0.1.2 [required by mirage-crypto] - install csexp 1.5.1 [required by dune-configurator] - install cstruct 6.0.1 [required by mirage-crypto-rng] - install dune 3.0.3 [required by mirage-crypto-rng] - install dune-configurator 3.0.3 [required by mirage-crypto] - install mirage-crypto 0.6.0 [required by mirage-crypto-rng] - install mirage-crypto-rng 0.6.0 - install ocamlfind 1.9.3 [required by base-bytes] - install ocplib-endian 1.2 [required by mirage-crypto] 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 ... 18470 files and directories currently installed.) - Preparing to unpack .../0-libglib2.0-0_2.72.0-1+b1_amd64.deb ... - Unpacking libglib2.0-0:amd64 (2.72.0-1+b1) ... - Selecting previously unselected package libglib2.0-data. - Preparing to unpack .../1-libglib2.0-data_2.72.0-1_all.deb ... - Unpacking libglib2.0-data (2.72.0-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.13+dfsg-1_amd64.deb ... - Unpacking libxml2:amd64 (2.9.13+dfsg-1) ... - Selecting previously unselected package pkg-config. - Preparing to unpack .../4-pkg-config_0.29.2-1_amd64.deb ... - Unpacking pkg-config (0.29.2-1) ... - Selecting previously unselected package shared-mime-info. - Preparing to unpack .../5-shared-mime-info_2.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.72.0-1+b1) ... - No schema files found: doing nothing. - Setting up libglib2.0-data (2.72.0-1) ... - Setting up pkg-config (0.29.2-1) ... - Setting up libxml2:amd64 (2.9.13+dfsg-1) ... - Setting up shared-mime-info (2.1-2) ... - Processing triggers for libc-bin (2.33-7) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 2/37: Processing 3/37: Processing 4/37: Processing 5/37: Processing 6/37: [conf-pkg-config: pkg-config] -> retrieved bigarray-compat.1.1.0 (cached) Processing 7/37: [conf-pkg-config: pkg-config] -> retrieved cppo.1.6.8 (cached) Processing 8/37: [conf-pkg-config: pkg-config] -> retrieved cpuid.0.1.2 (cached) Processing 9/37: [conf-pkg-config: pkg-config] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "pkg-config" "--help" (CWD=/home/opam/.opam/4.14/.opam-switch/build/conf-pkg-config.2) - Usage: - pkg-config [OPTION?] - - Help Options: - -h, --help Show help options - - Application Options: - --version output version of pkg-config - --modversion output version for package - --atleast-pkgconfig-version=VERSION require given version of pkg-config - --libs output all linker flags - --static output linker flags for static linking - --short-errors print short errors - --libs-only-l output -l flags - --libs-only-other output other libs (e.g. -pthread) - --libs-only-L output -L flags - --cflags output all pre-processor and compiler flags - --cflags-only-I output -I flags - --cflags-only-other output cflags not covered by the cflags-only-I option - --variable=NAME get the value of variable named NAME - --define-variable=NAME=VALUE set variable NAME to VALUE - --exists return 0 if the module(s) exist - --print-variables output list of variables defined by the module - --uninstalled return 0 if the uninstalled version of one or more module(s) or their dependencies will be used - --atleast-version=VERSION return 0 if the module is at least version VERSION - --exact-version=VERSION return 0 if the module is at exactly version VERSION - --max-version=VERSION return 0 if the module is at no newer than version VERSION - --list-all list all known packages - --debug show verbose debug information - --print-errors show verbose information about missing or conflicting packages (default unless --exists or --atleast/exact/max-version given on the command line) - --silence-errors be silent about errors (default when --exists or --atleast/exact/max-version given on the command line) - --errors-to-stdout print errors from --print-errors to stdout not stderr - --print-provides print which packages the package provides - --print-requires print which packages the package requires - --print-requires-private print which packages the package requires for static linking - --validate validate a package's .pc file - --define-prefix try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file - --dont-define-prefix don't try to override the value of prefix for each .pc file found with a guesstimated value based on the location of the .pc file - --prefix-variable=PREFIX set the name of the variable that pkg-config automatically sets - -> compiled conf-pkg-config.2 Processing 9/37: Processing 10/37: [conf-pkg-config: mkdir] -> retrieved csexp.1.5.1 (cached) Processing 11/37: [conf-pkg-config: mkdir] -> retrieved cstruct.6.0.1 (cached) Processing 12/37: [conf-pkg-config: mkdir] -> retrieved dune.3.0.3, dune-configurator.3.0.3 (cached) Processing 13/37: [conf-pkg-config: mkdir] Processing 14/37: [dune: ocaml bootstrap.ml] [conf-pkg-config: mkdir] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "mkdir" "-p" "/home/opam/.opam/4.14/lib/pkgconfig" (CWD=/home/opam/.opam/4.14/.opam-switch/build/conf-pkg-config.2) -> installed conf-pkg-config.2 Processing 14/37: [dune: ocaml bootstrap.ml] -> retrieved mirage-crypto.0.6.0, mirage-crypto-rng.0.6.0 (cached) -> retrieved ocamlfind.1.9.3 (cached) Processing 15/37: [dune: ocaml bootstrap.ml] [ocamlfind: ./configure] -> retrieved ocplib-endian.1.2 (cached) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-bindir" "/home/opam/.opam/4.14/bin" "-sitelib" "/home/opam/.opam/4.14/lib" "-mandir" "/home/opam/.opam/4.14/man" "-config" "/home/opam/.opam/4.14/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.3) - Welcome to findlib version 1.9.3 - Configuring core... - Checking for #remove_directory... - Testing threading model... - systhread_supported: true - Testing DLLs... - Testing whether ppxopt can be supported... - Checking for ocamlc -opaque... - Querying installation: META list not found - make install will double-check installed META files - Configuring libraries... - unix: found - bigarray: found - compiler-libs: found - dbm: not present (normal since 4.00) - graphics: not present (normal since 4.09) - num: not present (normal since 4.06) - ocamlbuild: not present (normal since 4.03) - ocamldoc: found - raw_spacetime: not present (normal since 4.12) - threads: found - str: found - labltk: not present (normal since 4.02) - native dynlink: found - camlp4: disabled - bytes: found, installing fake library - Configuration for dynlink written to site-lib-src/dynlink/META - Configuration for stdlib written to site-lib-src/stdlib/META - Configuration for unix written to site-lib-src/unix/META - Configuration for bigarray written to site-lib-src/bigarray/META - Configuration for compiler-libs written to site-lib-src/compiler-libs/META - Configuration for ocamldoc written to site-lib-src/ocamldoc/META - Configuration for threads written to site-lib-src/threads/META - Configuration for str written to site-lib-src/str/META - Configuration for bytes written to site-lib-src/bytes/META - Detecting compiler arguments: (extractor built) ok - - About the OCAML core installation: - Standard library: /home/opam/.opam/4.14/lib/ocaml - Binaries: /home/opam/.opam/4.14/bin - Manual pages: /home/opam/.opam/4.14/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: /home/opam/.opam/4.14/lib - The configuration file is written to: - findlib config file: /home/opam/.opam/4.14/lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: /home/opam/.opam/4.14/bin - Manual pages: /home/opam/.opam/4.14/man - topfind script: /home/opam/.opam/4.14/lib/ocaml - Topfind ppxopt support: yes - Toolbox: no - Link custom runtime: no - Need bytes compatibility: no - - Configuration has been written to Makefile.config - - You can now do 'make all', and optionally 'make opt', to build ocamlfind. Processing 15/37: [dune: ocaml bootstrap.ml] [ocamlfind: make all] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.3) - for p in findlib; do ( cd src/$p; make all ) || exit; done - make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.3/src/findlib' - ocamllex fl_meta.mll - 22 states, 392 transitions, table size 1700 bytes - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib_config.mlp | \ - ../../tools/patch '@CONFIGFILE@' '/home/opam/.opam/4.14/lib/findlib.conf' | \ - ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.14/lib/ocaml' | \ - sed -e 's;@AUTOLINK@;true;g' \ - -e 's;@SYSTEM@;linux;g' \ - >findlib_config.ml - if [ "true" = "true" ]; then \ - cp topfind.ml.in topfind.ml; \ - else \ - sed -e '/PPXOPT_BEGIN/,/PPXOPT_END/ d' topfind.ml.in \ - > topfind.ml ; \ - fi - ocamldep *.ml *.mli >depend - ocamlc -I +compiler-libs -opaque -g -c findlib_config.ml - ocamlc -I +compiler-libs -opaque -g -c fl_split.ml - ocamlc -I +compiler-libs -opaque -g -c fl_metatoken.ml - ocamlc -I +compiler-libs -opaque -g -c fl_meta.ml - ocamlc -I +compiler-libs -opaque -c fl_metascanner.mli - ocamlc -I +compiler-libs -opaque -g -c fl_metascanner.ml - ocamlc -I +compiler-libs -opaque -c fl_topo.mli - ocamlc -I +compiler-libs -opaque -g -c fl_topo.ml - ocamlc -I +compiler-libs -opaque -c fl_package_base.mli - ocamlc -I +compiler-libs -opaque -g -c fl_package_base.ml - File "fl_package_base.ml", line 304, characters 22-40: - 304 | let pkg_ancestors = query_requirements predlist pkg in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 350, characters 18-36: - 350 | let ancestors = query_requirements predlist package_name in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 375, characters 23-41: - 375 | let pkg_ancestors = query_requirements predlist pkg in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 510, characters 16-35: - 510 | ( let c = package_definitions search_path pkg.package_name in - ^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label search_path was omitted in the application of this function. - ocamlc -I +compiler-libs -opaque -c findlib.mli - ocamlc -I +compiler-libs -opaque -g -c findlib.ml - File "findlib.ml", line 390, characters 2-26: - 390 | Fl_package_base.requires predlist pkg - ^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "findlib.ml", line 396, characters 2-33: - 396 | Fl_package_base.requires_deeply predlist pkglist - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - ocamlc -I +compiler-libs -opaque -g -c fl_args.ml - ocamlc -I +compiler-libs -opaque -g -c fl_lint.ml - ocamlc -I +compiler-libs -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo fl_lint.cmo - ocamlc -I +compiler-libs -opaque -g -c ocaml_args.ml - ocamlc -I +compiler-libs -opaque -g -c frontend.ml - File "frontend.ml", line 859, characters 10-39: - 859 | Fl_package_base.package_users predicates1 packages1 - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - ocamlc -I +compiler-libs -o ocamlfind -g findlib.cma unix.cma \ - ocaml_args.cmo frontend.cmo - ocamlc -I +compiler-libs -opaque -c topfind.mli - ocamlc -I +compiler-libs -opaque -g -c topfind.ml - File "topfind.ml", line 126, characters 40-63: - 126 | match Hashtbl.find Toploop.directive_table "ppx" with - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 256, characters 4-27: - 256 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 266, characters 4-27: - 266 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 278, characters 4-27: - 278 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 291, characters 4-27: - 291 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 305, characters 4-27: - 305 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 317, characters 4-27: - 317 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat topfind_rd1.p | \ - ../../tools/patch '@SITELIB@' '/home/opam/.opam/4.14/lib' \ - >topfind - ocamlc -I +compiler-libs -opaque -c fl_dynload.mli - ocamlc -I +compiler-libs -opaque -g -c fl_dynload.ml - ocamlc -I +compiler-libs -a -o findlib_dynload.cma fl_dynload.cmo - make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.3/src/findlib' - make all-config - make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.3' - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib.conf.in | \ - tools/patch '@SITELIB@' '/home/opam/.opam/4.14/lib' >findlib.conf - if ./tools/cmd_from_same_dir ocamlc; then \ - echo 'ocamlc="ocamlc.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamlopt; then \ - echo 'ocamlopt="ocamlopt.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamldep; then \ - echo 'ocamldep="ocamldep.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamldoc; then \ - echo 'ocamldoc="ocamldoc.opt"' >>findlib.conf; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.3' Processing 15/37: [dune: ocaml bootstrap.ml] [ocamlfind: make opt] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opt" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.3) - for p in findlib; do ( cd src/$p; make opt ) || exit; done - make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.3/src/findlib' - ocamlopt -I +compiler-libs -g -opaque -c findlib_config.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_split.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_metatoken.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_meta.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_metascanner.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_topo.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_package_base.ml - File "fl_package_base.ml", line 304, characters 22-40: - 304 | let pkg_ancestors = query_requirements predlist pkg in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 350, characters 18-36: - 350 | let ancestors = query_requirements predlist package_name in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 375, characters 23-41: - 375 | let pkg_ancestors = query_requirements predlist pkg in - ^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "fl_package_base.ml", line 510, characters 16-35: - 510 | ( let c = package_definitions search_path pkg.package_name in - ^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label search_path was omitted in the application of this function. - ocamlopt -I +compiler-libs -g -opaque -c findlib.ml - File "findlib.ml", line 390, characters 2-26: - 390 | Fl_package_base.requires predlist pkg - ^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - File "findlib.ml", line 396, characters 2-33: - 396 | Fl_package_base.requires_deeply predlist pkglist - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - ocamlopt -I +compiler-libs -g -opaque -c fl_args.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_lint.ml - ocamlopt -I +compiler-libs -g -a -o findlib.cmxa findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib.cmxs findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx; \ - fi - ocamlopt -I +compiler-libs -g -opaque -c ocaml_args.ml - ocamlopt -I +compiler-libs -g -opaque -c frontend.ml - File "frontend.ml", line 859, characters 10-39: - 859 | Fl_package_base.package_users predicates1 packages1 - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 6 [labels-omitted]: label preds was omitted in the application of this function. - ocamlopt -I +compiler-libs -g -o ocamlfind_opt findlib.cmxa unix.cmxa \ - ocaml_args.cmx frontend.cmx - ocamlopt -I +compiler-libs -g -opaque -c topfind.ml - File "topfind.ml", line 126, characters 40-63: - 126 | match Hashtbl.find Toploop.directive_table "ppx" with - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 256, characters 4-27: - 256 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 266, characters 4-27: - 266 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 278, characters 4-27: - 278 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 291, characters 4-27: - 291 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 305, characters 4-27: - 305 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - File "topfind.ml", line 317, characters 4-27: - 317 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - ocamlopt -I +compiler-libs -g -a -o findlib_top.cmxa topfind.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib_top.cmxs topfind.cmx; \ - fi - ocamlopt -I +compiler-libs -g -opaque -c fl_dynload.ml - ocamlopt -I +compiler-libs -g -a -o findlib_dynload.cmxa fl_dynload.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib_dynload.cmxs fl_dynload.cmx; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.3/src/findlib' -> compiled ocamlfind.1.9.3 Processing 15/37: [dune: ocaml bootstrap.ml] Processing 16/37: [dune: ocaml bootstrap.ml] [ocamlfind: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.3) - if [ "1" -eq 1 ]; then \ - for x in camlp4 dbm graphics labltk num ocamlbuild; do \ - if [ -f "/home/opam/.opam/4.14/lib/$x/META" ]; then \ - if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/4.14/lib/$x/META"; then \ - rm -f site-lib-src/$x/META; \ - fi; \ - fi; \ - done; \ - test -f "site-lib-src/num/META" || rm -f "site-lib-src/num-top/META"; \ - fi - echo 'SITELIB_META =' > Makefile.packages.in - for x in `ls site-lib-src`; do test ! -f "site-lib-src/$x/META" || echo $x >> Makefile.packages.in; done - tr '\n' ' ' < Makefile.packages.in > Makefile.packages - rm Makefile.packages.in - mkdir -p "/home/opam/.opam/4.14/bin" - mkdir -p "/home/opam/.opam/4.14/man" - make install-config - make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.3' - mkdir -p "`dirname \"/home/opam/.opam/4.14/lib/findlib.conf\"`" - test -f "/home/opam/.opam/4.14/lib/findlib.conf" || cp findlib.conf "/home/opam/.opam/4.14/lib/findlib.conf" - make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.3' - for p in findlib; do ( cd src/$p; make install ); done - make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.3/src/findlib' - mkdir -p "/home/opam/.opam/4.14/lib/findlib" - mkdir -p "/home/opam/.opam/4.14/bin" - test 1 -eq 0 || cp topfind "/home/opam/.opam/4.14/lib/ocaml" - files=` ../../tools/collect_files ../../Makefile.config \ - findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs \ - findlib_config.cmi findlib_config.ml topfind.cmi topfind.mli \ - fl_args.cmi fl_lint.cmi fl_meta.cmi fl_split.cmi fl_topo.cmi ocaml_args.cmi \ - fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi \ - fl_metatoken.cmi findlib_top.cma findlib_top.cmxa findlib_top.a findlib_top.cmxs \ - findlib_dynload.cma findlib_dynload.cmxa findlib_dynload.a findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi \ - META` && \ - cp $files "/home/opam/.opam/4.14/lib/findlib" - f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \ - cp $f "/home/opam/.opam/4.14/bin/ocamlfind" - # the following "if" block is only needed for 4.00beta2 - if [ 1 -eq 0 -a -f "/home/opam/.opam/4.14/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \ - cd "/home/opam/.opam/4.14/lib/ocaml/compiler-libs/"; \ - cp topdirs.cmi toploop.cmi "/home/opam/.opam/4.14/lib/findlib/"; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.3/src/findlib' - make install-meta - make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.3' - for x in bigarray bytes compiler-libs dynlink ocamldoc stdlib str threads unix ; do mkdir -p "/home/opam/.opam/4.14/lib/$x"; cp site-lib-src/$x/META "/home/opam/.opam/4.14/lib/$x/META.tmp" && mv "/home/opam/.opam/4.14/lib/$x/META.tmp" "/home/opam/.opam/4.14/lib/$x/META"; done - mkdir -p "/home/opam/.opam/4.14/lib/findlib"; cp Makefile.packages "/home/opam/.opam/4.14/lib/findlib/Makefile.packages" - make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.3' - test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; make install-num-top; } - test ! -f 'site-lib-src/camlp4/META' || cp tools/safe_camlp4 "/home/opam/.opam/4.14/bin" - make install-doc - make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.3' - mkdir -p "/home/opam/.opam/4.14/man/man1" "/home/opam/.opam/4.14/man/man3" "/home/opam/.opam/4.14/man/man5" - cp doc/ref-man/ocamlfind.1 "/home/opam/.opam/4.14/man/man1" - cp doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/4.14/man/man5" - make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ocamlfind.1.9.3' -> installed ocamlfind.1.9.3 Processing 16/37: [dune: ocaml bootstrap.ml] Processing 17/37: [dune: ocaml bootstrap.ml] -> installed base-bytes.base Processing 18/37: [dune: ocaml bootstrap.ml] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "bootstrap.ml" "-j" "255" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune.3.0.3) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 255 - Processing 18/37: [dune: ./dune.exe build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "255" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune.3.0.3) -> compiled dune.3.0.3 -> installed dune.3.0.3 Processing 20/37: [bigarray-compat: dune build] Processing 21/37: [bigarray-compat: dune build] [cppo: dune build] Processing 22/37: [bigarray-compat: dune build] [cppo: dune build] [cpuid: dune build] Processing 23/37: [bigarray-compat: dune build] [cppo: dune build] [cpuid: dune build] [csexp: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "csexp" "-j" "255" "@install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/csexp.1.5.1) -> compiled csexp.1.5.1 Processing 23/37: [bigarray-compat: dune build] [cppo: dune build] [cpuid: dune build] -> installed csexp.1.5.1 Processing 24/37: [bigarray-compat: dune build] [cppo: dune build] [cpuid: dune build] Processing 25/37: [bigarray-compat: dune build] [cppo: dune build] [cpuid: dune build] [dune-configurator: rm] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "bigarray-compat" "-j" "255" (CWD=/home/opam/.opam/4.14/.opam-switch/build/bigarray-compat.1.1.0) -> compiled bigarray-compat.1.1.0 Processing 25/37: [cppo: dune build] [cpuid: dune build] [dune-configurator: rm] -> installed bigarray-compat.1.1.0 Processing 26/37: [cppo: dune build] [cpuid: dune build] [dune-configurator: rm] Processing 27/37: [cppo: dune build] [cpuid: dune build] [cstruct: dune build] [dune-configurator: rm] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cpuid" "-j" "255" (CWD=/home/opam/.opam/4.14/.opam-switch/build/cpuid.0.1.2) -> compiled cpuid.0.1.2 Processing 27/37: [cppo: dune build] [cstruct: dune build] [dune-configurator: rm] -> installed cpuid.0.1.2 Processing 28/37: [cppo: dune build] [cstruct: dune build] [dune-configurator: rm] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/csexp" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune-configurator.3.0.3) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/pp" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune-configurator.3.0.3) Processing 28/37: [cppo: dune build] [cstruct: dune build] [dune-configurator: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cstruct" "-j" "255" (CWD=/home/opam/.opam/4.14/.opam-switch/build/cstruct.6.0.1) -> compiled cstruct.6.0.1 Processing 28/37: [cppo: dune build] [dune-configurator: dune build] -> installed cstruct.6.0.1 Processing 29/37: [cppo: dune build] [dune-configurator: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cppo" "-j" "255" (CWD=/home/opam/.opam/4.14/.opam-switch/build/cppo.1.6.8) -> compiled cppo.1.6.8 Processing 29/37: [dune-configurator: dune build] -> installed cppo.1.6.8 Processing 30/37: [dune-configurator: dune build] Processing 31/37: [dune-configurator: dune build] [ocplib-endian: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ocplib-endian" "-j" "255" "@install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ocplib-endian.1.2) -> compiled ocplib-endian.1.2 Processing 31/37: [dune-configurator: dune build] -> installed ocplib-endian.1.2 Processing 32/37: [dune-configurator: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dune-configurator" "-j" "255" "@install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune-configurator.3.0.3) -> compiled dune-configurator.3.0.3 -> installed dune-configurator.3.0.3 Processing 34/37: [mirage-crypto: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mirage-crypto" "-j" "255" (CWD=/home/opam/.opam/4.14/.opam-switch/build/mirage-crypto.0.6.0) - (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ocplib-endian -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 59, characters 17-20: - 59 | go None off (len cs - off) - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/uncommon.ml", line 67, characters 17-20: - 67 | 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 67, characters 27-30: - 67 | 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 72, characters 20-23: - 72 | 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 72, characters 30-33: - 72 | 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 83, characters 14-17: - 83 | let n = len cs in - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/uncommon.ml", line 94, characters 44-47: - 94 | (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 97, characters 12-15: - 97 | 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 104, characters 12-15: - 104 | let l = len cs and cs' = Cstruct.create_unsafe size in - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ocplib-endian -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/byte/mirage_crypto__Cipher_stream.cmo -c -impl src/cipher_stream.ml) - File "src/cipher_stream.ml", line 18, characters 14-25: - 18 | let len = Cstruct.len cs in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/cipher_stream.ml", line 35, characters 14-25: - 35 | and len = Cstruct.len cs in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ocplib-endian -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/byte/mirage_crypto__Ccm.cmo -c -impl src/ccm.ml) - File "src/ccm.ml", line 30, characters 10-21: - 30 | let n = Cstruct.len nonce in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 34, characters 14-25: - 34 | let b6 = if Cstruct.len adata = 0 then 0 else 1 in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 44, characters 13-24: - 44 | let size = Cstruct.len b in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 49, characters 10-21: - 49 | match Cstruct.len a with - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 66, characters 10-21: - 66 | let n = Cstruct.len nonce in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 76, characters 15-26: - 76 | let ada = if Cstruct.len adata = 0 then Cstruct.empty else gen_adata adata in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 82, characters 16-27: - 82 | let datalen = Cstruct.len data in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 100, characters 12-23: - 100 | match Cstruct.len block with - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 116, characters 10-21: - 116 | match Cstruct.len src with - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 142, characters 21-32: - 142 | Cs.xor_into ctr t (Cstruct.len t) - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 145, characters 14-25: - 145 | let nsize = Cstruct.len nonce in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 157, characters 5-16: - 157 | if Cstruct.len data < maclen then - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 160, characters 16-27: - 160 | let pclen = Cstruct.len data - maclen in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ocplib-endian -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 81, characters 19-30: - 81 | match compare (Cstruct.len key) block_size with - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ocplib-endian -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 59, characters 17-20: - 59 | go None off (len cs - off) - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/uncommon.ml", line 67, characters 17-20: - 67 | 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 67, characters 27-30: - 67 | 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 72, characters 20-23: - 72 | 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 72, characters 30-33: - 72 | 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 83, characters 14-17: - 83 | let n = len cs in - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/uncommon.ml", line 94, characters 44-47: - 94 | (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 97, characters 12-15: - 97 | 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 104, characters 12-15: - 104 | let l = len cs and cs' = Cstruct.create_unsafe size in - ^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ocplib-endian -intf-suffix .ml -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/native/mirage_crypto__Cipher_stream.cmx -c -impl src/cipher_stream.ml) - File "src/cipher_stream.ml", line 18, characters 14-25: - 18 | let len = Cstruct.len cs in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/cipher_stream.ml", line 35, characters 14-25: - 35 | and len = Cstruct.len cs in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ocplib-endian -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 339, characters 34-37: - 339 | 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 343, characters 33-36: - 343 | 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.14/bin/ocamlopt.opt -w -40 -g -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ocplib-endian -intf-suffix .ml -no-alias-deps -open Mirage_crypto__ -o src/.mirage_crypto.objs/native/mirage_crypto__Ccm.cmx -c -impl src/ccm.ml) - File "src/ccm.ml", line 30, characters 10-21: - 30 | let n = Cstruct.len nonce in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 34, characters 14-25: - 34 | let b6 = if Cstruct.len adata = 0 then 0 else 1 in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 44, characters 13-24: - 44 | let size = Cstruct.len b in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 49, characters 10-21: - 49 | match Cstruct.len a with - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 66, characters 10-21: - 66 | let n = Cstruct.len nonce in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 76, characters 15-26: - 76 | let ada = if Cstruct.len adata = 0 then Cstruct.empty else gen_adata adata in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 82, characters 16-27: - 82 | let datalen = Cstruct.len data in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 100, characters 12-23: - 100 | match Cstruct.len block with - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 116, characters 10-21: - 116 | match Cstruct.len src with - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 142, characters 21-32: - 142 | Cs.xor_into ctr t (Cstruct.len t) - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 145, characters 14-25: - 145 | let nsize = Cstruct.len nonce in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 157, characters 5-16: - 157 | if Cstruct.len data < maclen then - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - File "src/ccm.ml", line 160, characters 16-27: - 160 | let pclen = Cstruct.len data - maclen in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ocplib-endian -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 81, characters 19-30: - 81 | match compare (Cstruct.len key) block_size with - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/.mirage_crypto.objs/byte -I src/.mirage_crypto.objs/native -I src/.mirage_crypto.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ocplib-endian -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 339, characters 34-37: - 339 | 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 343, characters 33-36: - 343 | 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 -pthread -fPIC -D_FILE_OFFSET_BITS=64 --std=c99 -Wall -Wextra -Wpedantic -O3 -mrdrnd -mrdseed -DACCELERATE -mssse3 -maes -mpclmul -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/ocplib-endian -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) - | ~~~~~~~~~~~~~~^~~~~~~~~~ - 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); - | ^~~~~~~~~~~~~~~ -> compiled mirage-crypto.0.6.0 -> installed mirage-crypto.0.6.0 Processing 36/37: [mirage-crypto-rng: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mirage-crypto-rng" "-j" "255" (CWD=/home/opam/.opam/4.14/.opam-switch/build/mirage-crypto-rng.0.6.0) - (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I rng/.mirage_crypto_rng.objs/byte -I rng/.mirage_crypto_rng.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/ocplib-endian -no-alias-deps -open Mirage_crypto_rng__ -o rng/.mirage_crypto_rng.objs/byte/mirage_crypto_rng__Fortuna.cmo -c -impl rng/fortuna.ml) - File "rng/fortuna.ml", line 99, characters 40-51: - 99 | let header = Cs.of_bytes [ source ; Cstruct.len data ] in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I rng/.mirage_crypto_rng.objs/byte -I rng/.mirage_crypto_rng.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/ocplib-endian -intf-suffix .ml -no-alias-deps -open Mirage_crypto_rng__ -o rng/.mirage_crypto_rng.objs/byte/mirage_crypto_rng.cmo -c -impl rng/mirage_crypto_rng.ml) - File "rng/mirage_crypto_rng.ml", line 39, characters 18-29: - 39 | let seeded ~g = Cstruct.len !g > 0 - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I rng/.mirage_crypto_rng.objs/byte -I rng/.mirage_crypto_rng.objs/native -I rng/.mirage_crypto_rng.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/ocplib-endian -intf-suffix .ml -no-alias-deps -open Mirage_crypto_rng__ -o rng/.mirage_crypto_rng.objs/native/mirage_crypto_rng__Fortuna.cmx -c -impl rng/fortuna.ml) - File "rng/fortuna.ml", line 99, characters 40-51: - 99 | let header = Cs.of_bytes [ source ; Cstruct.len data ] in - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. - (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I rng/.mirage_crypto_rng.objs/byte -I rng/.mirage_crypto_rng.objs/native -I rng/.mirage_crypto_rng.objs/public_cmi -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/cstruct -I /home/opam/.opam/4.14/lib/mirage-crypto -I /home/opam/.opam/4.14/lib/ocplib-endian -intf-suffix .ml -no-alias-deps -open Mirage_crypto_rng__ -o rng/.mirage_crypto_rng.objs/native/mirage_crypto_rng.cmx -c -impl rng/mirage_crypto_rng.ml) - File "rng/mirage_crypto_rng.ml", line 39, characters 18-29: - 39 | let seeded ~g = Cstruct.len !g > 0 - ^^^^^^^^^^^ - Alert deprecated: Cstruct.len - len is deprecated, you should use length instead. -> compiled mirage-crypto-rng.0.6.0 -> installed mirage-crypto-rng.0.6.0 Done. # Run eval $(opam env) to update the current shell environment 2022-04-07 06:39.12 ---> saved as "a4c406087cf22cd406621d330f1be22d4698da86ccb10171c3c39a70c71698eb" Job succeeded