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


Building on hipp.ocamllabs.io

(from ocaml/opam:debian-unstable)
2021-11-09 22:04.03 ---> 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-11-09 22:04.03 ---> 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 7b361ce572d98a700d2e0018cb6e9c72db9a3675"))
2021-11-09 22:04.03 ---> using "d735cc1084771dd7a4c27bc038a74be9c565f9b4862c23ef3b35f68ab04a6aef" 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-11-09 22:04.03 ---> using "44eb507bce7a2e2ed046a7a65eaf9728147d93dd5621a9ab5b08e6a2b062590d" 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-11-09 22:04.03 ---> using "982f7d54b73fc7cab2a09dec2ae08ff2574343a9745a7f336abd76f9a26d22dc" from cache

/: (run (shell "opam repository add --dont-select 'beta' ~/'beta'"))
[beta] Initialised
2021-11-09 22:04.03 ---> using "581fbaf65c6cbed22afcc69cdb3cb3a52aafc46e8c4cea4bc9ca5a44060fda80" from cache

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

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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-base-compiler.4.12.1  (https://github.com/ocaml/ocaml/archive/4.12.1.tar.gz)
-> installed ocaml-base-compiler.4.12.1
-> installed ocaml-config.2
-> installed ocaml.4.12.1
Done.
# Run eval $(opam env --switch=4.12) to update the current shell environment
2021-11-09 22:04.03 ---> using "78d5078c0bdd824acd7c8517ca45814078f228f65eb155cdc753f924c17cc952" 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 [8823 kB]
- Fetched 9052 kB in 2s (5371 kB/s)
- Reading package lists...
- 
2021-11-09 22:04.03 ---> using "6018e4a4ef0cbdcce319671880ad2e4975281d34287180d093e49877a1b7bd23" from cache

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

Nothing to do.
The following actions will be performed:
  - install ocamlfind 1.9.1  [required by bdd]
  - install obuild    0.1.10 [required by bdd]
  - install bdd       0.3
===== 3 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/9:
Processing  2/9:
Processing  3/9:
-> retrieved bdd.0.3  (cached)
-> retrieved obuild.0.1.10  (cached)
Processing  4/9: [obuild: ./bootstrap]
-> retrieved ocamlfind.1.9.1  (cached)
Processing  5/9: [obuild: ./bootstrap] [ocamlfind: ./configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-bindir" "/home/opam/.opam/4.12/bin" "-sitelib" "/home/opam/.opam/4.12/lib" "-mandir" "/home/opam/.opam/4.12/man" "-config" "/home/opam/.opam/4.12/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1)
- Welcome to findlib version 1.9.1
- 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.12/lib/ocaml
-     Binaries:              /home/opam/.opam/4.12/bin
-     Manual pages:          /home/opam/.opam/4.12/man
-     Multi-threading type:  posix
- The directory of site-specific packages will be
-     site-lib:              /home/opam/.opam/4.12/lib
- The configuration file is written to:
-     findlib config file:   /home/opam/.opam/4.12/lib/findlib.conf
- Software will be installed:
-     Libraries:             in <site-lib>/findlib
-     Binaries:              /home/opam/.opam/4.12/bin
-     Manual pages:          /home/opam/.opam/4.12/man
-     topfind script:        /home/opam/.opam/4.12/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.
- Welcome to findlib version 1.9.1
- 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.12/lib/ocaml
-     Binaries:              /home/opam/.opam/4.12/bin
-     Manual pages:          /home/opam/.opam/4.12/man
-     Multi-threading type:  posix
- The directory of site-specific packages will be
-     site-lib:              /home/opam/.opam/4.12/lib
- The configuration file is written to:
-     findlib config file:   /home/opam/.opam/4.12/lib/findlib.conf
- Software will be installed:
-     Libraries:             in <site-lib>/findlib
-     Binaries:              /home/opam/.opam/4.12/bin
-     Manual pages:          /home/opam/.opam/4.12/man
-     topfind script:        /home/opam/.opam/4.12/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  5/9: [obuild: ./bootstrap] [ocamlfind: make all]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1)
- for p in findlib; do ( cd src/$p; make all ) || exit; done
- make[1]: Entering directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1/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.12/lib/findlib.conf' | \
-          ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.12/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
- ocamlc -I +compiler-libs -opaque -c findlib.mli
- ocamlc -I +compiler-libs -opaque -g -c findlib.ml
- 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 1826, characters 16-29:
- 1826 |       let buf = String.create buflen in   (* FIXME: Bytes.create *)
-                        ^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.create
- Use Bytes.create/BytesLabels.create instead.
- 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
- 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.12/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.12/.opam-switch/build/ocamlfind.1.9.1/src/findlib'
- make all-config
- make[1]: Entering directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1'
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat findlib.conf.in | \
-      tools/patch '@SITELIB@' '/home/opam/.opam/4.12/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.12/.opam-switch/build/ocamlfind.1.9.1'
- for p in findlib; do ( cd src/$p; make all ) || exit; done
- make[1]: Entering directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1/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.12/lib/findlib.conf' | \
-          ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.12/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
- ocamlc -I +compiler-libs -opaque -c findlib.mli
- ocamlc -I +compiler-libs -opaque -g -c findlib.ml
- 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 1826, characters 16-29:
- 1826 |       let buf = String.create buflen in   (* FIXME: Bytes.create *)
-                        ^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.create
- Use Bytes.create/BytesLabels.create instead.
- 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
- 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.12/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.12/.opam-switch/build/ocamlfind.1.9.1/src/findlib'
- make all-config
- make[1]: Entering directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1'
- USE_CYGPATH="0"; \
- export USE_CYGPATH; \
- cat findlib.conf.in | \
-      tools/patch '@SITELIB@' '/home/opam/.opam/4.12/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.12/.opam-switch/build/ocamlfind.1.9.1'
Processing  5/9: [obuild: ./bootstrap] [ocamlfind: make opt]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opt" (CWD=/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1)
- for p in findlib; do ( cd src/$p; make opt ) || exit; done
- make[1]: Entering directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1/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
- ocamlopt -I +compiler-libs -g -opaque -c findlib.ml
- 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 1826, characters 16-29:
- 1826 |       let buf = String.create buflen in   (* FIXME: Bytes.create *)
-                        ^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.create
- Use Bytes.create/BytesLabels.create instead.
- 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 "_none_", line 1:
- Warning 58 [no-cmx-file]: no cmx file was found in path for module Topdirs, and its interface was not compiled with -opaque
- File "_none_", line 1:
- Warning 58 [no-cmx-file]: no cmx file was found in path for module Toploop, and its interface was not compiled with -opaque
- 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.12/.opam-switch/build/ocamlfind.1.9.1/src/findlib'
- for p in findlib; do ( cd src/$p; make opt ) || exit; done
- make[1]: Entering directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1/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
- ocamlopt -I +compiler-libs -g -opaque -c findlib.ml
- 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 1826, characters 16-29:
- 1826 |       let buf = String.create buflen in   (* FIXME: Bytes.create *)
-                        ^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.create
- Use Bytes.create/BytesLabels.create instead.
- 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 "_none_", line 1:
- Warning 58 [no-cmx-file]: no cmx file was found in path for module Topdirs, and its interface was not compiled with -opaque
- File "_none_", line 1:
- Warning 58 [no-cmx-file]: no cmx file was found in path for module Toploop, and its interface was not compiled with -opaque
- 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.12/.opam-switch/build/ocamlfind.1.9.1/src/findlib'
-> compiled  ocamlfind.1.9.1
Processing  5/9: [obuild: ./bootstrap]
Processing  6/9: [obuild: ./bootstrap] [ocamlfind: make install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1)
- if [ "1" -eq 1 ]; then \
-     for x in camlp4 dbm graphics labltk num ocamlbuild; do \
-       if [ -f "/home/opam/.opam/4.12/lib/$x/META" ]; then \
-         if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/4.12/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.12/bin"
- mkdir -p "/home/opam/.opam/4.12/man"
- make install-config
- make[1]: Entering directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1'
- mkdir -p "`dirname \"/home/opam/.opam/4.12/lib/findlib.conf\"`"
- test -f "/home/opam/.opam/4.12/lib/findlib.conf" || cp findlib.conf "/home/opam/.opam/4.12/lib/findlib.conf"
- make[1]: Leaving directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1'
- for p in findlib; do ( cd src/$p; make install ); done
- make[1]: Entering directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1/src/findlib'
- mkdir -p "/home/opam/.opam/4.12/lib/findlib"
- mkdir -p "/home/opam/.opam/4.12/bin"
- test 1 -eq 0 || cp topfind "/home/opam/.opam/4.12/lib/ocaml"
- files=` ../../tools/collect_files ../../Makefile.config findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs topfind.cmi topfind.mli 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.12/lib/findlib"
- f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \
- cp $f "/home/opam/.opam/4.12/bin/ocamlfind"
- # the following "if" block is only needed for 4.00beta2
- if [ 1 -eq 0 -a -f "/home/opam/.opam/4.12/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \
-     cd "/home/opam/.opam/4.12/lib/ocaml/compiler-libs/"; \
-     cp topdirs.cmi toploop.cmi "/home/opam/.opam/4.12/lib/findlib/"; \
- fi
- make[1]: Leaving directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1/src/findlib'
- make install-meta
- make[1]: Entering directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1'
- for x in bigarray bytes compiler-libs dynlink ocamldoc stdlib str threads unix ; do mkdir -p "/home/opam/.opam/4.12/lib/$x"; cp site-lib-src/$x/META "/home/opam/.opam/4.12/lib/$x"; done
- mkdir -p "/home/opam/.opam/4.12/lib/findlib"; cp Makefile.packages "/home/opam/.opam/4.12/lib/findlib/Makefile.packages"
- make[1]: Leaving directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1'
- 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.12/bin"
- make install-doc
- make[1]: Entering directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1'
- mkdir -p "/home/opam/.opam/4.12/man/man1" "/home/opam/.opam/4.12/man/man3" "/home/opam/.opam/4.12/man/man5"
- cp doc/ref-man/ocamlfind.1 "/home/opam/.opam/4.12/man/man1"
- cp doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/4.12/man/man5"
- make[1]: Leaving directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1'
- if [ "1" -eq 1 ]; then \
-     for x in camlp4 dbm graphics labltk num ocamlbuild; do \
-       if [ -f "/home/opam/.opam/4.12/lib/$x/META" ]; then \
-         if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/4.12/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.12/bin"
- mkdir -p "/home/opam/.opam/4.12/man"
- make install-config
- make[1]: Entering directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1'
- mkdir -p "`dirname \"/home/opam/.opam/4.12/lib/findlib.conf\"`"
- test -f "/home/opam/.opam/4.12/lib/findlib.conf" || cp findlib.conf "/home/opam/.opam/4.12/lib/findlib.conf"
- make[1]: Leaving directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1'
- for p in findlib; do ( cd src/$p; make install ); done
- make[1]: Entering directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1/src/findlib'
- mkdir -p "/home/opam/.opam/4.12/lib/findlib"
- mkdir -p "/home/opam/.opam/4.12/bin"
- test 1 -eq 0 || cp topfind "/home/opam/.opam/4.12/lib/ocaml"
- files=` ../../tools/collect_files ../../Makefile.config findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs topfind.cmi topfind.mli 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.12/lib/findlib"
- f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \
- cp $f "/home/opam/.opam/4.12/bin/ocamlfind"
- # the following "if" block is only needed for 4.00beta2
- if [ 1 -eq 0 -a -f "/home/opam/.opam/4.12/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \
-     cd "/home/opam/.opam/4.12/lib/ocaml/compiler-libs/"; \
-     cp topdirs.cmi toploop.cmi "/home/opam/.opam/4.12/lib/findlib/"; \
- fi
- make[1]: Leaving directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1/src/findlib'
- make install-meta
- make[1]: Entering directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1'
- for x in bigarray bytes compiler-libs dynlink ocamldoc stdlib str threads unix ; do mkdir -p "/home/opam/.opam/4.12/lib/$x"; cp site-lib-src/$x/META "/home/opam/.opam/4.12/lib/$x"; done
- mkdir -p "/home/opam/.opam/4.12/lib/findlib"; cp Makefile.packages "/home/opam/.opam/4.12/lib/findlib/Makefile.packages"
- make[1]: Leaving directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1'
- 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.12/bin"
- make install-doc
- make[1]: Entering directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1'
- mkdir -p "/home/opam/.opam/4.12/man/man1" "/home/opam/.opam/4.12/man/man3" "/home/opam/.opam/4.12/man/man5"
- cp doc/ref-man/ocamlfind.1 "/home/opam/.opam/4.12/man/man1"
- cp doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/4.12/man/man5"
- make[1]: Leaving directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1'
-> installed ocamlfind.1.9.1
Processing  6/9: [obuild: ./bootstrap]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./bootstrap" (CWD=/home/opam/.opam/4.12/.opam-switch/build/obuild.0.1.10)
- /usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead.
- 4.12.1
- Using compat402.ml
- COMPILING compat
- COMPILING fugue
- File "fugue.ml", line 215, characters 18-36:
- 215 |     let compare = Pervasives.compare
-                         ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- COMPILING filepath
- COMPILING filesystem
- BUILDING library obuild_ext.cmxa
- COMPILING types
- COMPILING gconf
- COMPILING filetype
- COMPILING dag
- COMPILING libname
- COMPILING pp
- File "pp.ml", line 13, characters 26-42:
- 13 |   let of_string s = match String.lowercase s with
-                                ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- COMPILING expr
- File "expr.ml", lines 129-131, characters 20-33:
- 129 | ....................match (string_split ':' v ~limit:2) with
- 130 |         [ _ ] -> ("", v)
- 131 |       | [ p1; rest] -> (p1, rest)...
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- _::_::_::_
- File "expr.ml", lines 132-134, characters 23-35:
- 132 | .......................match (string_split '-' rest ~limit:2) with
- 133 |         [ _ ] -> (p1, rest, "")
- 134 |       | [ p2 ; p3 ] -> (p1, p2, p3)...
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- _::_::_::_
- COMPILING utils
- File "utils.ml", line 70, characters 23-73:
- 70 |            try let _ = List.find (fun n -> Filesystem.exists (n p)) names in true
-                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 5 [ignored-partial-application]: this function application is partial,
- maybe some arguments are missing.
- COMPILING modname
- File "modname.ml", line 22, characters 12-26:
- 22 |     else if Char.uppercase x.[0] <> x.[0] then (raise (InvalidModuleName x))
-                  ^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.Char.uppercase
- Use Char.uppercase_ascii instead.
- File "modname.ml", line 27, characters 15-34:
- 27 | let to_dir x = String.uncapitalize x
-                     ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.uncapitalize
- Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead.
- File "modname.ml", line 28, characters 27-46:
- 28 | let to_x ext modname = fn (String.uncapitalize modname ^ ext)
-                                 ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.uncapitalize
- Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead.
- File "modname.ml", line 47, characters 34-51:
- 47 | let of_directory filename = wrap (String.capitalize (fn_to_string filename))
-                                        ^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.capitalize
- Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
- File "modname.ml", line 49, characters 12-29:
- 49 |   try wrap (String.capitalize (Filename.chop_extension (fn_to_string filename)))
-                  ^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.capitalize
- Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
- COMPILING taskdep
- COMPILING helper
- COMPILING dagutils
- COMPILING process
- COMPILING findlibConf
- COMPILING scheduler
- COMPILING prog
- COMPILING dependencies
- COMPILING generators
- COMPILING hier
- File "hier.ml", line 88, characters 15-34:
- 88 |     let name = String.uncapitalize modname in
-                     ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.uncapitalize
- Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead.
- File "hier.ml", line 194, characters 28-45:
- 194 |   let m = try Modname.wrap (String.capitalize name)
-                                   ^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.capitalize
- Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
- COMPILING meta
- COMPILING metacache
- COMPILING target
- COMPILING dist
- COMPILING project
- File "project.ml", line 84, characters 8-24:
- 84 |   match String.lowercase value with
-              ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "project.ml", line 96, characters 53-70:
- 96 |   let wrap_module_nice s = Hier.make [(Modname.wrap (String.capitalize s))] in
-                                                           ^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.capitalize
- Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
- File "project.ml", line 105, characters 10-26:
- 105 |     match String.lowercase k with
-                 ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "project.ml", line 207, characters 15-31:
- 207 |          match String.lowercase blockName with
-                      ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "project.ml", line 224, characters 13-29:
- 224 |       (match String.lowercase k with
-                    ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "project.ml", line 255, characters 17-33:
- 255 |            match String.lowercase blockName with
-                        ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "project.ml", line 267, characters 13-29:
- 267 |       (match String.lowercase k with
-                    ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "project.ml", line 386, characters 13-29:
- 386 |       (match String.lowercase k with
-                    ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "project.ml", line 477, characters 15-31:
- 477 |          match String.lowercase blockName with
-                      ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "project.ml", line 488, characters 14-30:
- 488 |         match String.lowercase k with
-                     ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- COMPILING analyze
- File "analyze.ml", line 110, characters 23-39:
- 110 |         Hashtbl.add h (String.lowercase k) (default "" v)
-                              ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- COMPILING configure
- File "configure.ml", line 34, characters 57-73:
- 34 |             add (sprintf "#define PROJECT_FLAG_%s %d\n" (String.uppercase name) (if v then 1 else 0))
-                                                               ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.uppercase
- Use String.uppercase_ascii/StringLabels.uppercase_ascii instead.
- COMPILING prepare
- File "prepare.ml", line 379, characters 10-113:
- 379 |           (match file_entry with Hier.FileEntry _ -> SimpleModule | Hier.GeneratedFileEntry _ -> GeneratedModule)
-                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- DirectoryEntry _
- COMPILING buildprogs
- COMPILING build
- COMPILING exception
- BUILDING library obuild.cmxa
- COMPILING sdist
- COMPILING doc
- COMPILING init
- File "init.ml", line 98, characters 45-62:
- 98 |             let modules = List.map (fun m -> String.capitalize $ strip_ext ~ext:".ml" m)
-                                                   ^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.capitalize
- Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
- COMPILING help
- COMPILING install
- COMPILING path_generated
- COMPILING main
- LINKING obuild.bootstrap
- Configuring obuild-0.1.9...
- [ 1 of 57] Compiling Ext.Compat                    
- [ 2 of 57] Compiling Ext.Fugue                     
- File "ext/fugue.ml", line 215, characters 18-36:
- 215 |     let compare = Pervasives.compare
-                         ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- 
- [ 3 of 57] Intfing Ext.Filepath                  
- [ 4 of 57] Compiling Ext.Filepath                  
- [ 5 of 57] Intfing Ext.Filesystem                
- [ 6 of 57] Compiling Ext.Filesystem                
- File "ext/filesystem.ml", lines 18-21, characters 11-58:
- 18 | ...........match (Unix.lstat fent).Unix.st_kind with
- 19 |            | Unix.S_DIR -> rmdir_recursive (Unix.rmdir) fent
- 20 |            | Unix.S_REG -> Unix.unlink fent
- 21 |            | _          -> raise (UnexpectedFileType fent)
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Unix.file_kind.
- 
- [ 7 of 57] Packing Ext                           
- [ 8 of 57] Linking library dist/build/lib-obuild.ext/obuild_ext.cmxa
- [ 8 of 57] Linking library dist/build/lib-obuild.ext/obuild_ext.cmxs
- [ 8 of 57] Linking library dist/build/lib-obuild.ext/obuild_ext.cma
- [ 9 of 57] Checking dist/build/lib-obuild.ext
- [10 of 57] Compiling Obuild.Filetype               
- [11 of 57] Compiling Obuild.Gconf                  
- [12 of 57] Compiling Obuild.Pp                     
- [13 of 57] Compiling Obuild.Dag                    
- File "obuild/pp.ml", line 13, characters 26-42:
- 13 |   let of_string s = match String.lowercase s with
-                                ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- 
- [14 of 57] Compiling Obuild.Expr                   
- [15 of 57] Compiling Obuild.Modname                
- File "obuild/expr.ml", lines 129-131, characters 20-33:
- 129 | ....................match (string_split ':' v ~limit:2) with
- 130 |         [ _ ] -> ("", v)
- 131 |       | [ p1; rest] -> (p1, rest)...
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- _::_::_::_
- File "obuild/expr.ml", lines 132-134, characters 23-35:
- 132 | .......................match (string_split '-' rest ~limit:2) with
- 133 |         [ _ ] -> (p1, rest, "")
- 134 |       | [ p2 ; p3 ] -> (p1, p2, p3)...
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- _::_::_::_
- File "obuild/expr.ml", lines 216-222, characters 8-9:
- 216 | ........(match r with
- 217 |          | Token.RPAREN :: r -> (Paren e, r)
- 218 |          | Token.OR :: _ | Token.AND :: _ ->
- 219 |            let (e, r) = parse_bin_expr e r in
- 220 |            loop e r
- 221 |          | _ -> raise UnbalancedParenthesis;
- 222 |         )
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Token.t.
- File "obuild/expr.ml", lines 209-231, characters 4-82:
- 209 | ....match l with
- 210 |     | [] -> raise MalformedExpression
- 211 |     | Token.NOT :: r ->
- 212 |       let (e, r) = parse_sub_expr r in ((Not e), r)
- 213 |     | Token.LPAREN :: r ->
- ...
- 228 |     | Token.LT :: Token.VER v :: r -> (Lt v, r)
- 229 |     | Token.LE :: Token.VER v :: r -> (Le v, r)
- 230 |     | Token.NE :: Token.VER v :: r -> (Ne v, r)
- 231 |     | z              -> raise (UnknownExpression (showList "," Token.to_string z))
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Token.t.
- File "obuild/expr.ml", lines 233-236, characters 4-36:
- 233 | ....match l with
- 234 |     | Token.OR :: r -> let (e, r) = parse_sub_expr r in ((Or (expr,e)), r)
- 235 |     | Token.AND :: r -> let (e, r) = parse_sub_expr r in ((And (expr,e)), r)
- 236 |     | _ -> raise MalformedExpression
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Token.t.
- File "obuild/expr.ml", lines 268-271, characters 2-73:
- 268 | ..match Token.lexer s with
- 269 |   | []                    -> raise ExpressionEmpty
- 270 |   | Token.ID name :: constraints -> (name, (parse_constraints name constraints))
- 271 |   | x :: _           -> raise (InvalidDependencyName (Token.to_string x))
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Token.t.
- 
- [16 of 57] Compiling Obuild.Types                  
- File "obuild/modname.ml", line 22, characters 12-26:
- 22 |     else if Char.uppercase x.[0] <> x.[0] then (raise (InvalidModuleName x))
-                  ^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.Char.uppercase
- Use Char.uppercase_ascii instead.
- File "obuild/modname.ml", line 27, characters 15-34:
- 27 | let to_dir x = String.uncapitalize x
-                     ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.uncapitalize
- Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead.
- File "obuild/modname.ml", line 28, characters 27-46:
- 28 | let to_x ext modname = fn (String.uncapitalize modname ^ ext)
-                                 ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.uncapitalize
- Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead.
- File "obuild/modname.ml", line 47, characters 34-51:
- 47 | let of_directory filename = wrap (String.capitalize (fn_to_string filename))
-                                        ^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.capitalize
- Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
- File "obuild/modname.ml", line 49, characters 12-29:
- 49 |   try wrap (String.capitalize (Filename.chop_extension (fn_to_string filename)))
-                  ^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.capitalize
- Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
- 
- [17 of 57] Compiling Obuild.Taskdep                
- [18 of 57] Compiling Obuild.Libname                
- [19 of 57] Compiling Obuild.Utils                  
- [20 of 57] Compiling Obuild.Dagutils               
- File "obuild/utils.ml", line 70, characters 23-73:
- 70 |            try let _ = List.find (fun n -> Filesystem.exists (n p)) names in true
-                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 5 [ignored-partial-application]: this function application is partial,
- maybe some arguments are missing.
- 
- [21 of 57] Compiling Obuild.Helper                 
- [22 of 57] Compiling Obuild.Process                
- File "obuild/process.ml", lines 95-97, characters 2-57:
- 95 | ..match pstat with
- 96 |   | Unix.WEXITED 0 -> Success (Buffer.contents p.out.buf, Buffer.contents p.err.buf, Unix.gettimeofday () -. p.time)
- 97 |   | _              -> Failure (Buffer.contents p.err.buf)
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Unix.process_status.
- 
- [23 of 57] Compiling Obuild.Scheduler              
- [24 of 57] Compiling Obuild.FindlibConf            
- [25 of 57] Compiling Obuild.Prog                   
- [26 of 57] Compiling Obuild.Meta                   
- [27 of 57] Compiling Obuild.Generators             
- File "obuild/generators.ml", line 55, characters 10-101:
- 55 |   let s = match ext with Filetype.FileOther s -> s | _ -> raise (GeneratorNotFound (fp_to_string fp)) in
-                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Filetype.t.
- 
- [28 of 57] Compiling Obuild.Dependencies           
- [29 of 57] Compiling Obuild.Hier                   
- File "obuild/meta.ml", lines 129-130, characters 27-67:
- 129 | ...........................match p with Predicate.Neg n -> not (List.mem n constraints)
- 130 |                                       | _ -> List.mem p constraints.......
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Predicate.t.
- File "obuild/meta.ml", lines 139-140, characters 29-63:
- 139 | .............................match p with Predicate.Neg n -> not (List.mem n preds)
- 140 |                                         | _ -> List.mem p preds...............
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Predicate.t.
- File "obuild/meta.ml", lines 315-319, characters 28-36:
- 315 | ............................function
- 316 |     | COMMA :: ID s :: xs -> let (l, r) = parse_predicate xs in ((Predicate.of_string s) :: l, r)
- 317 |     | COMMA :: MINUS :: ID s :: xs ->
- 318 |       let (l, r) = parse_predicate xs in ((Predicate.Neg (Predicate.of_string s)) :: l, r)
- 319 |     | xs                 -> ([], xs)
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "obuild/meta.ml", lines 324-327, characters 48-95:
- 324 | ................................................match xs2 with
- 325 |         | RPAREN :: xs3 ->
- 326 |           ((Predicate.of_string s) :: preds, xs3)
- 327 |         | _ -> raise (MetaParseError (name, ("expecting ')' after " ^ field ^ "'s predicate")))
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "obuild/meta.ml", lines 330-333, characters 48-95:
- 330 | ................................................match xs2 with
- 331 |         | RPAREN :: xs3 ->
- 332 |           ((Predicate.Neg (Predicate.of_string s)) :: preds, xs3)
- 333 |         | _ -> raise (MetaParseError (name, ("expecting ')' after " ^ field ^ "'s predicate")))
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "obuild/meta.ml", lines 321-335, characters 40-20:
- 321 | ........................................function
- 322 |     | LPAREN :: RPAREN :: xs -> ([], xs)
- 323 |     | LPAREN :: ID s :: xs ->
- 324 |       (let (preds, xs2) = parse_predicate xs in match xs2 with
- 325 |         | RPAREN :: xs3 ->
- ...
- 332 |           ((Predicate.Neg (Predicate.of_string s)) :: preds, xs3)
- 333 |         | _ -> raise (MetaParseError (name, ("expecting ')' after " ^ field ^ "'s predicate")))
- 334 |       )
- 335 |     | xs -> ([], xs)
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "obuild/meta.ml", lines 347-354, characters 8-75:
- 347 | ........match xs2 with
- 348 |         | PLUSEQ :: S reqs :: xs3
- 349 |         | EQ :: S reqs :: xs3 ->
- 350 |           let deps = List.map (fun r -> Libname.of_string r)
- 351 |                      $ (List.filter (fun x -> x <> "") $ string_split_pred (fun c -> List.mem c [',';' ']) reqs)
- 352 |           in
- 353 |           parse pkg_name { acc with Pkg.requires = (preds, (List.rev deps)) :: acc.Pkg.requires } xs3
- 354 |         | _ -> raise (MetaParseError (pkg_name, "parsing requires failed"))
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "obuild/meta.ml", lines 361-365, characters 8-74:
- 361 | ........match xs2 with
- 362 |         | EQ :: S v :: xs3 ->
- 363 |           let nacc = { acc with Pkg.warning = acc.Pkg.warning @ [(preds, v)] } in
- 364 |           parse pkg_name nacc xs3
- 365 |         | _ -> raise (MetaParseError (pkg_name, "parsing warning failed"))
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "obuild/meta.ml", lines 370-377, characters 8-74:
- 370 | ........match xs2 with
- 371 |         | PLUSEQ :: S v :: xs3 ->
- 372 |           let nacc = { acc with Pkg.append_archives = acc.Pkg.append_archives @ [(preds, v)] } in
- 373 |           parse pkg_name nacc xs3
- 374 |         | EQ :: S v :: xs3 ->
- 375 |           let nacc = { acc with Pkg.archives = acc.Pkg.archives @ [(preds, v)] } in
- 376 |           parse pkg_name nacc xs3
- 377 |         | _ -> raise (MetaParseError (pkg_name, "parsing archive failed"))
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "obuild/meta.ml", lines 382-389, characters 8-73:
- 382 | ........match xs2 with
- 383 |         | PLUSEQ :: S v :: xs3 ->
- 384 |           let nacc = { acc with Pkg.append_archives = acc.Pkg.append_archives @ [(preds, v)] } in
- 385 |           parse pkg_name nacc xs3
- 386 |         | EQ :: S v :: xs3 ->
- 387 |           let nacc = { acc with Pkg.archives = acc.Pkg.archives @ [(preds, v)] } in
- 388 |           parse pkg_name nacc xs3
- 389 |         | _ -> raise (MetaParseError (pkg_name, "parsing plugin failed"))
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "obuild/meta.ml", lines 394-397, characters 8-70:
- 394 | ........match xs2 with
- 395 |         | EQ :: S v :: xs3 ->
- 396 |           parse pkg_name { acc with Pkg.ppx = Some (preds, v)} xs3
- 397 |         | _ -> raise (MetaParseError (pkg_name, "parsing ppx failed"))
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "obuild/meta.ml", lines 401-405, characters 8-73:
- 401 | ........match xs2 with
- 402 |         | PLUSEQ :: S v :: xs3 
- 403 |         | EQ :: S v :: xs3 ->
- 404 |           parse pkg_name { acc with Pkg.ppxopt = acc.Pkg.ppxopt @ [(preds, v)]} xs3
- 405 |         | _ -> raise (MetaParseError (pkg_name, "parsing ppxopt failed"))
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "obuild/meta.ml", lines 410-413, characters 26-57:
- 410 | ..........................function
- 411 |           | RPAREN::zs -> zs
- 412 |           | _::zs      -> consume zs
- 413 |           | []         -> failwith "eof in error context"
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "obuild/meta.ml", lines 415-417, characters 8-61:
- 415 | ........match consume xs with
- 416 |         | EQ :: S _ :: xs2 -> parse pkg_name acc xs2
- 417 |         | _                -> failwith "parsing error failed"
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "obuild/meta.ml", lines 421-424, characters 8-74:
- 421 | ........match xs2 with
- 422 |         | EQ :: S s :: xs3 ->
- 423 |           parse pkg_name { acc with Pkg.linkopts = ((if preds = [] then None else Some preds), s) :: acc.Pkg.linkopts } xs3
- 424 |         | _         -> failwith "parsing linkopts failed, expecting equal"
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "obuild/meta.ml", lines 337-429, characters 31-97:
- 337 | ...............................function
- 338 |     | []           -> (acc, [])
- 339 |     | RPAREN :: xs -> (acc, xs)
- 340 |     | ID "package" :: S name :: LPAREN :: xs ->
- 341 |       (let (pkg, xs2) = parse pkg_name (Pkg.make name) xs in
- ...
- 426 |     | ID stuff :: EQ :: S stuffVal :: xs ->
- 427 |       parse pkg_name { acc with Pkg.assignment = (stuff, stuffVal) :: acc.Pkg.assignment } xs
- 428 |     | x :: xs -> raise (MetaParseError (pkg_name, ("unknown token '" ^ to_string x ^ "' in meta file\n" ^
- 429 |                                                    (String.concat " " (List.map to_string xs)))))
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "obuild/meta.ml", line 5, characters 0-11:
- 5 | open Helper
-     ^^^^^^^^^^^
- Warning 33 [unused-open]: unused open Helper.
- File "obuild/meta.ml", line 6, characters 0-10:
- 6 | open Gconf
-     ^^^^^^^^^^
- Warning 33 [unused-open]: unused open Gconf.
- 
- [30 of 57] Compiling Obuild.Metacache              
- File "obuild/hier.ml", line 88, characters 15-34:
- 88 |     let name = String.uncapitalize modname in
-                     ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.uncapitalize
- Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead.
- File "obuild/hier.ml", line 194, characters 28-45:
- 194 |   let m = try Modname.wrap (String.capitalize name)
-                                   ^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.capitalize
- Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
- File "obuild/hier.ml", line 3, characters 0-10:
- 3 | open Types
-     ^^^^^^^^^^
- Warning 33 [unused-open]: unused open Types.
- 
- [31 of 57] Compiling Obuild.Target                 
- File "obuild/metacache.ml", line 1, characters 0-9:
- 1 | open Meta
-     ^^^^^^^^^
- Warning 33 [unused-open]: unused open Meta.
- 
- [32 of 57] Compiling Obuild.Project                
- [33 of 57] Compiling Obuild.Dist                   
- File "obuild/project.ml", line 84, characters 8-24:
- 84 |   match String.lowercase value with
-              ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "obuild/project.ml", line 96, characters 53-70:
- 96 |   let wrap_module_nice s = Hier.make [(Modname.wrap (String.capitalize s))] in
-                                                           ^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.capitalize
- Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
- File "obuild/project.ml", line 105, characters 10-26:
- 105 |     match String.lowercase k with
-                 ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "obuild/project.ml", line 207, characters 15-31:
- 207 |          match String.lowercase blockName with
-                      ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "obuild/project.ml", line 224, characters 13-29:
- 224 |       (match String.lowercase k with
-                    ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "obuild/project.ml", line 255, characters 17-33:
- 255 |            match String.lowercase blockName with
-                        ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "obuild/project.ml", line 267, characters 13-29:
- 267 |       (match String.lowercase k with
-                    ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "obuild/project.ml", line 386, characters 13-29:
- 386 |       (match String.lowercase k with
-                    ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "obuild/project.ml", line 477, characters 15-31:
- 477 |          match String.lowercase blockName with
-                      ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "obuild/project.ml", line 488, characters 14-30:
- 488 |         match String.lowercase k with
-                     ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- 
- [34 of 57] Compiling Obuild.Analyze                
- File "obuild/analyze.ml", lines 59-61, characters 8-31:
- 59 | ........match name with
- 60 |         | Name.Lib lname -> Some lname
- 61 |         | _             -> None
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Target.Name.t.
- File "obuild/analyze.ml", line 110, characters 23-39:
- 110 |         Hashtbl.add h (String.lowercase k) (default "" v)
-                              ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.lowercase
- Use String.lowercase_ascii/StringLabels.lowercase_ascii instead.
- File "obuild/analyze.ml", lines 184-191, characters 22-35:
- 184 | ......................match preds with
- 185 |                       | [Meta.Predicate.Toploop] -> ()
- 186 |                       | _ ->
- 187 |                           List.iter (fun reqDep ->
- 188 |                               verbose Debug "  library %s depends on %s\n" (Libname.to_string dep) (Libname.to_string reqDep);
- 189 |                               Dag.addEdge (Dependency dep) (Dependency reqDep) depsDag;
- 190 |                               loop reqDep
- 191 |                           ) reqDeps
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Meta.Predicate.t.
- File "obuild/analyze.ml", lines 208-211, characters 10-11:
- 208 | ..........(match target.target_name with
- 209 |            | Name.Lib l -> Dag.addNode (Dependency l) depsDag; Dag.addEdge (Dependency l)
- 210 |            | _         -> fun _ _ -> ()
- 211 |           )
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Target.Name.t.
- 
- [35 of 57] Compiling Obuild.Configure              
- [36 of 57] Compiling Obuild.Prepare                
- File "obuild/configure.ml", line 34, characters 57-73:
- 34 |             add (sprintf "#define PROJECT_FLAG_%s %d\n" (String.uppercase name) (if v then 1 else 0))
-                                                               ^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.uppercase
- Use String.uppercase_ascii/StringLabels.uppercase_ascii instead.
- 
- File "obuild/prepare.ml", lines 168-170, characters 8-32:
- 168 | ........match node with
- 169 |         | Dependency dep -> Some dep
- 170 |         | _              -> None
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Analyze.dependency_tag.
- File "obuild/prepare.ml", lines 218-228, characters 17-15:
- 218 | .................(match Filetype.of_filepath fp with
- 219 |                 | Filetype.FileML  -> Some (Modname.of_filename f)
- 220 |                 | Filetype.FileMLI  ->
- 221 |                   if (Filesystem.exists (srcDir </> ((chop_extension f) <.> "ml"))) then
- 222 |                     None
- ...
- 225 |                 | Filetype.FileOther s -> if Generators.is_generator_ext s then Some (Modname.of_filename f)
- 226 |                   else None
- 227 |                 | _                -> None
- 228 |               )
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Filetype.t.
- File "obuild/prepare.ml", line 379, characters 10-113:
- 379 |           (match file_entry with Hier.FileEntry _ -> SimpleModule | Hier.GeneratedFileEntry _ -> GeneratedModule)
-                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- DirectoryEntry _
- File "obuild/prepare.ml", lines 489-493, characters 10-19:
- 489 | ..........match r with
- 490 |           | CompileModule _ | CompileDirectory _->
- 491 |             Dag.addEdge (LinkTarget target) r stepsDag;
- 492 |             Dag.addEdge (CheckTarget target) (LinkTarget target) stepsDag;
- 493 |           | _ -> ()
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type compile_step.
- File "obuild/prepare.ml", lines 552-554, characters 6-18:
- 552 | ......match Hashtbl.find conf.project_dep_data dep with
- 553 |       | Internal -> true
- 554 |       | _ -> false............
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Analyze.dep_type.
- File "obuild/prepare.ml", line 202, characters 9-16:
- 202 |     let (srcPath,srcDir) =
-                ^^^^^^^
- Warning 27 [unused-var-strict]: unused variable srcPath.
- File "obuild/prepare.ml", line 233, characters 13-20:
- 233 |         let (srcPath, srcFile, intfFile) =
-                    ^^^^^^^
- Warning 27 [unused-var-strict]: unused variable srcPath.
- File "obuild/prepare.ml", line 239, characters 37-41:
- 239 |           | Hier.GeneratedFileEntry (path, file, generated) ->
-                                            ^^^^
- Warning 27 [unused-var-strict]: unused variable path.
- 
- [37 of 57] Compiling Obuild.Buildprogs             
- File "obuild/buildprogs.ml", lines 69-73, characters 14-73:
- 69 | ..............function
- 70 |     | Filetype.FileML -> ext
- 71 |     | Filetype.FileMLI -> Filetype.FileCMI
- 72 |     | _ -> (* It should not happen *)
- 73 |       if buildMode = ByteCode then Filetype.FileCMO else Filetype.FileCMX
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Filetype.t.
- File "obuild/buildprogs.ml", line 66, characters 17-23:
- 66 | let runOcamlPack srcDir dstDir annotMode buildMode packOpt dest modules =
-                       ^^^^^^
- Warning 27 [unused-var-strict]: unused variable srcDir.
- 
- [38 of 57] Compiling Obuild.Build                  
- File "obuild/build.ml", lines 60-72, characters 45-7:
- 60 | .............................................(
- 61 |         match srcTy with
- 62 |         | Filetype.FileCMX | Filetype.FileCMO ->
- 63 |           let bml = Filetype.replace_extension bdest Filetype.FileML in
- 64 |           let bmli = Filetype.replace_extension bdest Filetype.FileMLI in
- ...
- 69 |           "Library changed " ^ fp_to_string changedSrc
- 70 |         | _ ->
- 71 |           "Dependencies changed " ^ fp_to_string changedSrc
- 72 |       )
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Filetype.t.
- File "obuild/build.ml", lines 59-80, characters 4-42:
- 59 | ....match Filetype.of_filename bdest with
- 60 |     | Filetype.FileCMX | Filetype.FileCMO -> (
- 61 |         match srcTy with
- 62 |         | Filetype.FileCMX | Filetype.FileCMO ->
- 63 |           let bml = Filetype.replace_extension bdest Filetype.FileML in
- ...
- 77 |       else if bh = bsrc then ("H file " ^ fn_to_string bsrc ^ " changed")
- 78 |       else ("file changed " ^ fp_to_string changedSrc)
- 79 |     | _ ->
- 80 |       fp_to_string changedSrc ^ " changed"
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Filetype.t.
- File "obuild/build.ml", line 89, characters 6-63:
- 89 |       match (t,o) with (ByteCode,WithProf) -> false | _ -> true) all_modes
-            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Types.ocaml_compiled_type.
- File "obuild/build.ml", line 89, characters 6-63:
- 89 |       match (t,o) with (ByteCode,WithProf) -> false | _ -> true) all_modes
-            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Types.ocaml_compilation_option.
- File "obuild/build.ml", lines 150-155, characters 20-21:
- 150 | ....................match e with
- 151 |           Hier.FileEntry (_, f) ->
- 152 |             if (Filetype.of_filepath f) = Filetype.FileMLI then
- 153 |               Some m
- 154 |             else None
- 155 |           | _ -> None
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Hier.file_entry.
- File "obuild/build.ml", lines 349-351, characters 22-24:
- 349 | ......................match compileOpt with
- 350 |             | WithProf -> Meta.Predicate.Gprof :: preds
- 351 |             | _ -> preds
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Types.ocaml_compilation_option.
- File "obuild/build.ml", lines 360-368, characters 13-58:
- 360 | .............match target.target_name with
- 361 |     | Name.Lib libname ->
- 362 |       if plugin then
- 363 |         cstate.compilation_builddir_ml Normal </> Libname.to_cmxs compileOpt libname
- 364 |       else
- 365 |         cstate.compilation_builddir_ml Normal </> Libname.to_cmca compiledType compileOpt libname
- 366 |     | _ ->
- 367 |       let outputName = Utils.to_exe_name compileOpt compiledType (Target.get_target_dest_name target) in
- 368 |       cstate.compilation_builddir_ml Normal </> outputName
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Target.Name.t.
- File "obuild/build.ml", lines 481-483, characters 40-51:
- 481 | ........................................match task with
- 482 |        | CompileC _ -> raise (CCompilationFailed er)
- 483 |        | _          -> raise (CompilationFailed er)
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Prepare.compile_step.
- 
- [39 of 57] Compiling Obuild.Exception              
- [40 of 57] Packing Obuild                        
- [41 of 57] Linking library dist/build/lib-obuild/obuild.cmxa
- [41 of 57] Linking library dist/build/lib-obuild/obuild.cmxs
- [41 of 57] Linking library dist/build/lib-obuild/obuild.cma
- [42 of 57] Checking dist/build/lib-obuild
- [43 of 57] Compiling Assimilate_oasis              
- [44 of 57] Compiling Simple                        
- [45 of 57] Compiling Install                       
- [46 of 57] Compiling Doc                           
- File "src/install.ml", lines 21-24, characters 6-35:
- 21 | ......match Filetype.of_filepath (build_dir </> f) with
- 22 |       | Filetype.FileCMX | Filetype.FileCMI | Filetype.FileA | Filetype.FileCMXS
- 23 |       | Filetype.FileCMXA | Filetype.FileCMA | Filetype.FileCMT | Filetype.FileCMTI -> true
- 24 |       | _                  -> false.
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Obuild.Filetype.t.
- File "src/install.ml", lines 27-29, characters 4-31:
- 27 | ....match Filetype.of_filepath (build_dir </> f) with
- 28 |     | Filetype.FileEXE -> true
- 29 |     | _                -> false.
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Obuild.Filetype.t.
- File "src/install.ml", lines 43-44, characters 31-76:
- 43 | ...............................match target.target_name with
- 44 |           | Name.Lib _ -> print_target_files target list_lib_files | _ -> ()..............
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Obuild.Target.Name.t.
- File "src/install.ml", lines 47-48, characters 31-76:
- 47 | ...............................match target.target_name with
- 48 |           | Name.Exe _ -> print_target_files target list_exe_files | _ -> ()..............
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Obuild.Target.Name.t.
- 
- [47 of 57] Compiling Sdist                         
- File "src/doc.ml", line 15, characters 8-16:
- 15 | let run projFile =
-              ^^^^^^^^
- Warning 27 [unused-var-strict]: unused variable projFile.
- 
- [48 of 57] Compiling Help                          
- [49 of 57] Compiling Path_generated                
- File "src/sdist.ml", lines 28-30, characters 14-38:
- 28 | ..............match Filetype.of_filepath fpath with
- 29 |               | Filetype.FileML | Filetype.FileMLI -> Filesystem.copy_to_dir fpath dest
- 30 |               | _                -> ()
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Obuild.Filetype.t.
- File "src/sdist.ml", lines 36-38, characters 12-21:
- 36 | ............match Filetype.of_filepath fpath with
- 37 |             | Filetype.FileC | Filetype.FileH -> Filesystem.copy_to_dir fpath dest
- 38 |             | _ -> ()
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Obuild.Filetype.t.
- File "src/sdist.ml", line 9, characters 17-27:
- 9 | let run projFile isSnapshot =
-                      ^^^^^^^^^^
- Warning 27 [unused-var-strict]: unused variable isSnapshot.
- 
- [50 of 57] Compiling Init                          
- [51 of 57] Linking executable dist/build/obuild-from-oasis/obuild-from-oasis
- File "src/init.ml", line 98, characters 45-62:
- 98 |             let modules = List.map (fun m -> String.capitalize $ strip_ext ~ext:".ml" m)
-                                                   ^^^^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.String.capitalize
- Use String.capitalize_ascii/StringLabels.capitalize_ascii instead.
- 
- [52 of 57] Linking executable dist/build/obuild-simple/obuild-simple
- [53 of 57] Compiling Main                          
- [54 of 57] Checking dist/build/obuild-from-oasis
- [55 of 57] Checking dist/build/obuild-simple
- [56 of 57] Linking executable dist/build/obuild/obuild
- [57 of 57] Checking dist/build/obuild
- 
- real	0m5.653s
- user	0m5.134s
- sys	0m1.960s
-> compiled  obuild.0.1.10
-> installed obuild.0.1.10
Processing  8/9: [bdd: obuild configure]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "obuild" "configure" (CWD=/home/opam/.opam/4.12/.opam-switch/build/bdd.0.3)
- Configuring BDD-0.3...
Processing  8/9: [bdd: obuild build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "obuild" "build" (CWD=/home/opam/.opam/4.12/.opam-switch/build/bdd.0.3)
- [1 of 4] Intfing Bdd                           
- [2 of 4] Compiling Bdd                           
- File "bdd.ml", line 62, characters 12-24:
- 62 |   { table = Array.create sz emptybucket;
-                  ^^^^^^^^^^^^
- Alert deprecated: Stdlib.Array.create
- Use Array.make/ArrayLabels.make instead.
- File "bdd.ml", line 198, characters 22-40:
- 198 |   let compare b1 b2 = Pervasives.compare b1.tag b2.tag
-                             ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "bdd.ml", line 445, characters 9-10:
- 445 |     (fun v s -> 
-                ^
- Warning 27 [unused-var-strict]: unused variable v.
- 
- [3 of 4] Linking library dist/build/lib-bdd/bdd.cmxa
- [3 of 4] Linking library dist/build/lib-bdd/bdd.cmxs
- [3 of 4] Linking library dist/build/lib-bdd/bdd.cma
- [4 of 4] Checking dist/build/lib-bdd
-> compiled  bdd.0.3
Processing  9/9: [bdd: obuild install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "obuild" "install" (CWD=/home/opam/.opam/4.12/.opam-switch/build/bdd.0.3)
- installing library bdd
-> installed bdd.0.3
Done.
# Run eval $(opam env) to update the current shell environment
2021-11-09 22:04.55 ---> saved as "6bc2f33651323e651b57a3050996bdb65ee805df496adbd7a29155b0869662e0"
Job succeeded