Processing: [default: loading data] [ott.0.34: dl] [ott.0.34: extract] -> retrieved ott.0.34 (https://opam.ocaml.org/cache) [ott: make world] + /usr/bin/make "world" (CWD=/home/opam/.opam/default/.opam-switch/build/ott.0.34) - cd src; /usr/bin/make install - make[1]: Entering directory '/home/opam/.opam/default/.opam-switch/build/ott.0.34/src' - ocamllex grammar_lexer.mll - 374 states, 16439 transitions, table size 68000 bytes - 3397 additional bytes used for bindings - ocamlyacc -v grammar_parser.mly - 2 rules never reduced - ocamldep location.ml types.ml auxl.ml merge.ml global_option.ml grammar_lexer.ml grammar_parser.mli grammar_parser.ml version.ml grammar_pp.ml parse_table.ml glr.ml new_term_parser.ml term_parser.ml dependency.ml bounds.ml context_pp.ml quotient_rules.ml grammar_typecheck.ml transform.ml substs_pp.ml subrules_pp.ml embed_pp.ml defns.ml ln_transform.ml coq_induct.ml system_pp.ml lex_menhir_pp.ml align.ml main.ml align.mli bounds.mli coq_induct.mli defns.mli dependency.mli embed_pp.mli grammar_typecheck.mli merge.mli subrules_pp.mli substs_pp.mli system_pp.mli lex_menhir_pp.mli transform.mli term_parser.mli > .depend - mkdir ../bin - /usr/bin/make opt - make[2]: Entering directory '/home/opam/.opam/default/.opam-switch/build/ott.0.34/src' - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c location.ml - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c types.ml - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c auxl.ml - File "auxl.ml", lines 405-412, characters 7-19: - 405 | .......( match hse with - 406 | | Hom_index _ | Hom_terminal _ -> [] - 407 | | Hom_string s -> - 408 | let strs = Str.split (Str.regexp "[ \t]+") s in - 409 | let ntrs_hom = List.filter (fun st -> List.mem st defined_ntrs) strs in - 410 | if promote - 411 | then List.map (promote_ntr xd) ntrs_hom - 412 | else ntrs_hom ). - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: Hom_ln_free_index (_, _) - - File "auxl.ml", lines 467-471, characters 7-59: - 467 | .......( match hse with - 468 | | Hom_index _ | Hom_terminal _ -> [] - 469 | | Hom_string s -> - 470 | let strs = Str.split (Str.regexp "[ \t]+") s in - 471 | List.filter (fun st -> List.mem st defined_mvrs) strs ). - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: Hom_ln_free_index (_, _) - - File "auxl.ml", lines 1839-1854, characters 4-42: - 1839 | ....( match stre with - 1840 | | Struct_md mvr -> "metavar def: "^mvr - 1841 | | Struct_rs ntrs -> "rule def: "^(String.concat " " ntrs) - 1842 | | Struct_srs xs -> "subrule def: "^ - 1843 | (String.concat " " - ... - 1851 | | Struct_axs xs -> "aux def: "^ - 1852 | (String.concat " " xs) - 1853 | | Struct_fun_or_defnclass s -> "fundefn_class def: "^s - 1854 | | Struct_embed (_,h,_) -> "embed: "^h) - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: Struct_crs _ - ocamlfind ocamlc -package str -package ocamlgraph -linkpkg -g -dtypes -c location.ml - ocamlfind ocamlc -package str -package ocamlgraph -linkpkg -g -dtypes -c types.ml - ocamlfind ocamlc -package str -package ocamlgraph -linkpkg -g -dtypes -c merge.mli - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c merge.ml - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c global_option.ml - ocamlfind ocamlc -package str -package ocamlgraph -linkpkg -g -dtypes -c grammar_parser.mli - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c grammar_parser.ml - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c grammar_lexer.ml - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c version.ml - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c grammar_pp.ml - File "grammar_pp.ml", lines 1883-2139, characters 6-25: - 1883 | ......( match m with - 1884 | | Lex _ | Menhir _ -> Auxl.errorm m "pp_mse" - 1885 | | Ascii ao -> - 1886 | pp_auxfn m xd f ^ ""^pp_LPAREN ^ "" - 1887 | ^ pp_ntlist - ... - 2136 | else - 2137 | ( "(flat_map (fun "^pat_fun^" => "^pp_body^ pat_fun_end ^ ") " - 2138 | ^ de1i.de1_compound_id - 2139 | ^ ")", [], [] ) ) - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - (Coq _|Isa _) - (However, some guarded clause may match this value.) - - File "grammar_pp.ml", lines 4034-4037, characters 16-45: - 4034 | ................(match hse with - 4035 | | Hom_string _ -> arity_of_homspec hs' - 4036 | | Hom_index i -> max (1+i) (arity_of_homspec hs') - 4037 | | Hom_terminal _ -> arity_of_homspec hs') - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: Hom_ln_free_index (_, _) - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c parse_table.ml - File "parse_table.ml", line 914, characters 47-50: - 914 | prod_action = (fun [r] -> r); - ^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: r::_::_ - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c glr.ml - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c new_term_parser.ml - File "new_term_parser.ml", lines 150-177, characters 11-29: - 150 | ...........function - 151 | | "[" -> "lbrac" - 152 | | "]" -> "rbrac" - 153 | | "!" -> "excl" - 154 | | "\"" -> "doublequote" - ... - 174 | | "}" -> "rcurly" - 175 | | "|" -> "bar" - 176 | | "~" -> "tilde" - 177 | | "-" -> "minus". - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: "" - - File "new_term_parser.ml", line 289, characters 14-39: - 289 | let res_charl [Res_char c; Res_charl l] = - ^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Res_char c::Res_charl l::_::_ - - File "new_term_parser.ml", line 292, characters 20-45: - 292 | let res_cons_string [Res_char c; Res_charl l] = - ^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Res_char c::Res_charl l::_::_ - - File "new_term_parser.ml", line 295, characters 14-39: - 295 | let res_stlil [Res_stli a; Res_stlil b] = Res_stlil (a::b);; - ^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Res_stli a::Res_stlil b::_::_ - - File "new_term_parser.ml", lines 342-346, characters 67-66: - 342 | ...................................................................function - 343 | [] -> [] - 344 | | Res_ignore::rl -> process_prod_res rl - 345 | | Res_ste ste::rl -> ste::process_prod_res rl - 346 | | Res_st st::rl -> Ste_st (dummy_loc, st)::process_prod_res rl - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - (Res_none|Res_stli _|Res_stlil _|Res_char _|Res_charl _|Res_string _| - Res_int _|Res_si _|Res_sil _)::_ - - File "new_term_parser.ml", line 382, characters 19-32: - 382 | (fun [Res_stlil x] -> elc x); - ^^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: Res_stlil x::_::_ - - File "new_term_parser.ml", line 401, characters 13-25: - 401 | (fun [Res_stli x]-> Res_stlil [x]); - ^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: Res_stli x::_::_ - - File "new_term_parser.ml", line 416, characters 21-30: - 416 | (fun [x; _; y] -> res_stlil [x; y]) - ^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: x::_::y::_::_ - - File "new_term_parser.ml", lines 463-466, characters 31-64: - 463 | ...............................[Res_stli (Stli_single (_, es1)); - 464 | _; - 465 | Res_int n'; - 466 | Res_stli (Stli_single (_, es2))]... - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Res_stli (Stli_single (_, es1))::_::Res_int n':: - Res_stli (Stli_single (_, es2))::_::_ - - File "new_term_parser.ml", lines 476-481, characters 31-64: - 476 | ...............................[Res_stli (Stli_single (_, es1)); - 477 | _; - 478 | _; - 479 | Res_int n'; - 480 | _; - 481 | Res_stli (Stli_single (_, es2))]... - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Res_stli (Stli_single (_, es1))::_::_::Res_int n'::_:: - Res_stli (Stli_single (_, es2))::_::_ - - File "new_term_parser.ml", lines 488-489, characters 23-26: - 488 | .......................[_; Res_stli (Stli_single (_, es)); _; _; Res_string ivr; - 489 | _]... - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - _::Res_stli (Stli_single (_, es))::_::_::Res_string ivr::_::_::_ - - File "new_term_parser.ml", lines 508-511, characters 23-26: - 508 | .......................[_; Res_stli (Stli_single (_, es)); _; _; Res_string ivr; - 509 | _; - 510 | _; Res_string ivr'; - 511 | _]... - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - _::Res_stli (Stli_single (_, es))::_::_::Res_string ivr::_::_:: - Res_string ivr'::_::_::_ - - File "new_term_parser.ml", lines 536-544, characters 23-26: - 536 | .......................[_; Res_stli (Stli_single (_, es)); _; _; Res_string ivr; - 537 | _; - 538 | _; - 539 | Res_string lower; - 540 | _; - 541 | Res_int dotlength; - 542 | _; - 543 | Res_si si'; - 544 | _]... - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - _::Res_stli (Stli_single (_, es))::_::_::Res_string ivr::_::_:: - Res_string lower::_::Res_int dotlength::_::Res_si si'::_::_::_ - - File "new_term_parser.ml", line 560, characters 23-35: - 560 | (fun [Res_stli x] -> Res_stlil [x])); - ^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: Res_stli x::_::_ - - File "new_term_parser.ml", line 574, characters 29-38: - 574 | (fun [x; _; y] -> res_stlil [x; y])); - ^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: x::_::y::_::_ - - File "new_term_parser.ml", line 603, characters 20-27: - 603 | (fun (_::rl) -> build_res rl) in - ^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: [] - - File "new_term_parser.ml", line 609, characters 20-27: - 609 | (fun (_::rl) -> build_res rl) in - ^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: [] - - File "new_term_parser.ml", line 628, characters 17-23: - 628 | (fun [_; x] -> x) - ^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: _::x::_::_ - - File "new_term_parser.ml", line 638, characters 18-32: - 638 | (fun [_; Res_sil l] -> - ^^^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: _::Res_sil l::_::_ - - File "new_term_parser.ml", line 649, characters 23-37: - 649 | (fun [_; Res_sil l] -> - ^^^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: _::Res_sil l::_::_ - - File "new_term_parser.ml", line 664, characters 11-25: - 664 | (fun [_; Res_sil x] -> - ^^^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: _::Res_sil x::_::_ - - File "new_term_parser.ml", line 695, characters 19-39: - 695 | (fun (_::Res_string s::_) -> Res_ste (Ste_metavar (dummy_loc, mvd.mvd_name, (s, [])))) - ^^^^^^^^^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - _:: - (Res_ignore|Res_none|Res_st _|Res_ste _|Res_stli _|Res_stlil _| - Res_char _|Res_charl _|Res_int _|Res_si _|Res_sil _)::_ - - File "new_term_parser.ml", line 703, characters 21-38: - 703 | (fun [_; Res_string s] -> - ^^^^^^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: _::Res_string s::_::_ - - File "new_term_parser.ml", line 710, characters 21-38: - 710 | (fun [_; Res_string s] -> - ^^^^^^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: _::Res_string s::_::_ - - File "new_term_parser.ml", line 715, characters 21-59: - 715 | (fun [((Res_ste (Ste_var (_, _, s))) as x)] -> - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Res_ste (Ste_var (_, _, s))::_::_ - - File "new_term_parser.ml", line 742, characters 11-23: - 742 | (fun [Res_char c] -> Res_charl [c]); - ^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: Res_char c::_::_ - - File "new_term_parser.ml", line 748, characters 11-24: - 748 | (fun [Res_charl s] -> Res_string (Auxl.string_of_char_list s)); - ^^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: Res_charl s::_::_ - - File "new_term_parser.ml", line 761, characters 11-33: - 761 | (fun [Res_si s; Res_sil sl] -> Res_sil (s::sl)); - ^^^^^^^^^^^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Res_si s::Res_sil sl::_::_ - - File "new_term_parser.ml", line 767, characters 11-24: - 767 | (fun [Res_charl l] -> Res_si (Si_num (Auxl.string_of_char_list l))); - ^^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: Res_charl l::_::_ - - File "new_term_parser.ml", line 771, characters 11-16: - 771 | (fun [rsi] -> rsi); - ^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: rsi::_::_ - - File "new_term_parser.ml", line 794, characters 11-24: - 794 | (fun [Res_charl c] -> Res_charl ('_'::c)); - ^^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: Res_charl c::_::_ - - File "new_term_parser.ml", line 796, characters 11-24: - 796 | (fun [Res_charl c] -> Res_charl ('\''::c)); - ^^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: Res_charl c::_::_ - - File "new_term_parser.ml", line 831, characters 11-25: - 831 | (fun [Res_string s] -> Res_si (Si_var (s, 0))); - ^^^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: Res_string s::_::_ - - File "new_term_parser.ml", line 835, characters 11-25: - 835 | (fun [Res_string s] -> Res_si (Si_var (s, -1))); - ^^^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: Res_string s::_::_ - - File "new_term_parser.ml", line 846, characters 18-32: - 846 | (fun [_; Res_sil x] -> - ^^^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: _::Res_sil x::_::_ - - File "new_term_parser.ml", line 858, characters 18-21: - 858 | (fun [x] -> x); - ^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: x::_::_ - ocamlfind ocamlc -package str -package ocamlgraph -linkpkg -g -dtypes -c term_parser.mli - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c term_parser.ml - File "term_parser.ml", lines 1139-1172, characters 2-11: - 1139 | ..let Ascii oldopts = pp_ascii_opts_default in - 1140 | let opts = Ascii {oldopts with ppa_colour = !Auxl.colour} in - 1141 | let sts = parse_complete lookup ntr concrete s in - 1142 | let sts = transform sts in - 1143 | match sts with - ... - 1169 | begin - 1170 | report_error (Some l) (sstart ^ concat "" intermed); - 1171 | St_uninterpreted(l, "multiple parses") - 1172 | end - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - (Coq - {coq_quantified_vars_from_de={ _ }; coq_non_local_hyp_defn={ _ }; - coq_non_local_hyp_defn_vars={ _ }; coq_list_types={ _ }; - coq_list_aux_defns={defined={ _ }; newly_defined={ _ }}; - coq_library={contents=(_, _)}; coq_locally_nameless={ _ }; _ }| - Isa {isa_library={contents=(_, _)}; _ }| - Hol {hol_library={contents=(_, _)}}|Lem {lem_library={contents=(_, _)}}| - Twf {twf_current_defn={ _ }; twf_library={contents=(_, _)}}|Tex { _ }| - Caml {caml_library={contents=(_, _)}; _ }| - Lex {ppm_caml_opts={caml_library={contents=(_, _)}; _ }; _ }| - Menhir {ppm_caml_opts={caml_library={contents=(_, _)}; _ }; _ }) - - File "term_parser.ml", line 1222, characters 30-48: - 1222 | List.map (fun (Ntp.Gtp.Res_st s) -> s) res - ^^^^^^^^^^^^^^^^^^ - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - (Res_ignore|Res_none|Res_ste _|Res_stli _|Res_stlil _|Res_char _| - Res_charl _|Res_string _|Res_int _|Res_si _|Res_sil _) - ocamlfind ocamlc -package str -package ocamlgraph -linkpkg -g -dtypes -c dependency.mli - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c dependency.ml - File "dependency.ml", lines 571-579, characters 2-74: - 571 | ..match m with - 572 | | Isa io when io.ppi_isa_primrec -> isa_primrec_collapse m xd funcs - 573 | | Isa io when not io.ppi_isa_primrec -> isa_fun_collapse m xd funcs - 574 | | Hol _ -> hol_collapse m xd funcs - 575 | | Lem _ -> lem_collapse m xd funcs - 576 | | Coq _ -> coq_collapse m xd funcs - 577 | | Twf _ -> twf_collapse m xd funcs - 578 | | Caml _ -> caml_collapse m xd funcs - 579 | | Tex _ | Ascii _ -> Auxl.error None "internal: collapse of Tex-Ascii\n" - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - (Isa _|Lex _|Menhir _) - (However, some guarded clause may match this value.) - - File "dependency.ml", lines 584-714, characters 2-53: - 584 | ..match m with - 585 | | Tex _ | Ascii _ -> Auxl.error None "internal: print of Tex-Ascii\n" - 586 | | Isa io -> - 587 | let print_lemma block = - 588 | if ( List.exists - ... - 711 | (* (List.map (fun (_,((h1,h2,h3),s,_)) -> h1 ^ "FOO1" ^ h2 ^ "FOO2"^ h3 ^ "FOO3"^s) block))*) - 712 | (List.map (fun (_,((h1,h2,h3),s,_)) -> h1 ^ h2 ^ h3 ^ s ^ " end\n") block)) - 713 | ^ "\n") in - 714 | String.concat "" (List.map print_block sorting) - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: (Lex _|Menhir _) - ocamlfind ocamlc -package str -package ocamlgraph -linkpkg -g -dtypes -c bounds.mli - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c bounds.ml - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c context_pp.ml - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c quotient_rules.ml - ocamlfind ocamlc -package str -package ocamlgraph -linkpkg -g -dtypes -c grammar_typecheck.mli - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c grammar_typecheck.ml - File "grammar_typecheck.ml", lines 54-56, characters 4-82: - 54 | ....match (xs,keys) with - 55 | | ([],[]) -> None - 56 | | (x::xs, key::keys) -> if (List.mem key keys) then Some x else helper xs keys. - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: ([], _::_) - ocamlfind ocamlc -package str -package ocamlgraph -linkpkg -g -dtypes -c transform.mli - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c transform.ml - ocamlfind ocamlc -package str -package ocamlgraph -linkpkg -g -dtypes -c substs_pp.mli - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c substs_pp.ml - File "substs_pp.ml", lines 333-336, characters 10-11: - 333 | ..........(match m with - 334 | | Caml _ -> Grammar_pp.pp_nt_or_mv_root_ty m xd ntmvr ^ " list" - 335 | | Lem _ -> "list " ^Grammar_pp.pp_nt_or_mv_root_ty m xd ntmvr - 336 | ) - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - (Coq _|Isa _|Hol _|Twf _|Ascii _|Tex _|Lex _|Menhir _) - - File "substs_pp.ml", lines 1400-1412, characters 3-4: - 1400 | ...(match m with - 1401 | | Caml _ -> - 1402 | "(" - 1403 | ^ Grammar_pp.pp_nt_or_mv_root_ty m xd subst.sb_that - 1404 | ^ "*" ^ Grammar_pp.pp_nontermroot_ty m xd subst.sb_this - ... - 1409 | ^ Grammar_pp.pp_nt_or_mv_root_ty m xd subst.sb_that - 1410 | ^ "*" ^ Grammar_pp.pp_nontermroot_ty m xd subst.sb_this - 1411 | ^ ")" - 1412 | ) - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - (Coq _|Isa _|Hol _|Twf _|Ascii _|Tex _|Lex _|Menhir _) - - File "substs_pp.ml", lines 1747-1876, characters 3-8: - 1747 | ...( match m with - 1748 | | Ascii _ | Tex _ | Lex _ | Menhir _ -> Auxl.error (Some p.prod_loc) "pp_fv_symterm_list_body" - 1749 | | Isa io when io.ppi_isa_primrec -> - 1750 | let args = - 1751 | String.concat "_" - ... - 1873 | ("(flat_map (fun (pat_:"^de1i.de1_coq_type_of_pattern^") => match pat_ with " ^ de1i.de1_pattern ^ " => "^pp_body^" end) " - 1874 | ^ de1i.de1_compound_id - 1875 | ^ ")"), funcs - 1876 | ).. - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - (Coq _|Isa _|Twf _) - (However, some guarded clause may match this value.) - - File "substs_pp.ml", lines 2030-2033, characters 5-6: - 2030 | .....(match m with - 2031 | | Caml _ -> Grammar_pp.pp_nt_or_mv_root_ty m xd fv.fv_that ^ " list" - 2032 | | Lem _ -> " list " ^ Grammar_pp.pp_nt_or_mv_root_ty m xd fv.fv_that - 2033 | ) - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - (Coq _|Isa _|Hol _|Twf _|Ascii _|Tex _|Lex _|Menhir _) - ocamlfind ocamlc -package str -package ocamlgraph -linkpkg -g -dtypes -c subrules_pp.mli - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c subrules_pp.ml - File "subrules_pp.ml", lines 167-368, characters 8-2: - 167 | ........( match m with - 168 | | Isa io when io.ppi_isa_primrec -> - 169 | let typ = - 170 | Auxl.the (Grammar_pp.pp_elements - 171 | m xd ((Si_punct "_")::sie) elbu.elb_es true false true true) ^ " list" in - ... - 365 | [ " %{ TWELF NOT IMPLEMENTED }%"], deps, [] - 366 | | Tex _ | Ascii _ | Lex _ | Menhir _ -> Auxl.errorm m "pp_subelement" - 367 | - 368 | ) - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - (Coq _|Isa _) - (However, some guarded clause may match this value.) - ocamlfind ocamlc -package str -package ocamlgraph -linkpkg -g -dtypes -c embed_pp.mli - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c embed_pp.ml - ocamlfind ocamlc -package str -package ocamlgraph -linkpkg -g -dtypes -c defns.mli - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c defns.ml - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c ln_transform.ml - File "ln_transform.ml", lines 1057-1067, characters 4-7: - 1057 | ....match mse with - 1058 | | Empty -> - 1059 | "0",[] - 1060 | | MetaVarExp mv -> - 1061 | "1",[] (* FZ is this correct in the general case? *) - ... - 1064 | | Aux (f1,nt1) -> - 1065 | let name = arity_name f1 (Auxl.promote_ntr xd_transformed (Auxl.primary_ntr_of_ntr xd_transformed (fst nt1))) in - 1066 | name ^ " " ^ Grammar_pp.pp_nonterm m xd_transformed nt1, - 1067 | [name] - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - (NonTermExp _|MetaVarListExp (_, _)|NonTermListExp (_, _)| - AuxList (_, _, _)) - ocamlfind ocamlc -package str -package ocamlgraph -linkpkg -g -dtypes -c coq_induct.mli - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c coq_induct.ml - ocamlfind ocamlc -package str -package ocamlgraph -linkpkg -g -dtypes -c system_pp.mli - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c system_pp.ml - ocamlfind ocamlc -package str -package ocamlgraph -linkpkg -g -dtypes -c lex_menhir_pp.mli - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c lex_menhir_pp.ml - File "lex_menhir_pp.ml", lines 274-285, characters 10-11: - 274 | ..........(match ocamllex_hom_opt, ocamllex_remove_hom with - 275 | | Some ocamllex_hom, false -> - 276 | Some (token_name_of mvd.mvd_name, mvd.mvd_name, TK_metavar(ocaml_type, Some ocamllex_hom, ocamllex_of_string_hom_opt)) - 277 | | None, false -> - 278 | (* hack: default to ocamllex-remove *) - ... - 282 | Auxl.error (Some mvd.mvd_loc) ("ocamllex output: both ocamllex and ocamllex-remove hom for "^mvd.mvd_name^"\n") - 283 | | None, true -> - 284 | Some (token_name_of mvd.mvd_name, mvd.mvd_name, TK_metavar(ocaml_type, None, ocamllex_of_string_hom_opt)) - 285 | ) - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: (Some ocamllex_hom, true) - - File "lex_menhir_pp.ml", line 281, characters 12-36: - 281 | | Some ocamllex_hom, false -> - ^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 11 [redundant-case]: this match case is unused. - - File "lex_menhir_pp.ml", lines 331-335, characters 13-42: - 331 | .............(match ocaml_type with - 332 | | "string" -> "" - 333 | | "int" -> "int_of_string" - 334 | | "float" -> "float_of_string" - 335 | | "bool" -> "bool_of_string") - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: "" - ocamlfind ocamlc -package str -package ocamlgraph -linkpkg -g -dtypes -c align.mli - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c align.ml - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -c main.ml - sed -e 's/__VERSION__/0.34/' \ - -e '/__DATE__/r tmp_date.txt' \ - -e '/__DATE__/d' version.tex - echo Makefile location.cmx types.cmx auxl.cmx merge.cmx global_option.cmx grammar_lexer.cmx grammar_parser.cmx version.cmx grammar_pp.cmx parse_table.cmx glr.cmx new_term_parser.cmx term_parser.cmx dependency.cmx bounds.cmx context_pp.cmx quotient_rules.cmx grammar_typecheck.cmx transform.cmx substs_pp.cmx subrules_pp.cmx embed_pp.cmx defns.cmx ln_transform.cmx coq_induct.cmx system_pp.cmx lex_menhir_pp.cmx align.cmx main.cmx align.cmi bounds.cmi coq_induct.cmi defns.cmi dependency.cmi embed_pp.cmi grammar_typecheck.cmi merge.cmi subrules_pp.cmi substs_pp.cmi system_pp.cmi lex_menhir_pp.cmi transform.cmi term_parser.cmi version.tex - Makefile location.cmx types.cmx auxl.cmx merge.cmx global_option.cmx grammar_lexer.cmx grammar_parser.cmx version.cmx grammar_pp.cmx parse_table.cmx glr.cmx new_term_parser.cmx term_parser.cmx dependency.cmx bounds.cmx context_pp.cmx quotient_rules.cmx grammar_typecheck.cmx transform.cmx substs_pp.cmx subrules_pp.cmx embed_pp.cmx defns.cmx ln_transform.cmx coq_induct.cmx system_pp.cmx lex_menhir_pp.cmx align.cmx main.cmx align.cmi bounds.cmi coq_induct.cmi defns.cmi dependency.cmi embed_pp.cmi grammar_typecheck.cmi merge.cmi subrules_pp.cmi substs_pp.cmi system_pp.cmi lex_menhir_pp.cmi transform.cmi term_parser.cmi version.tex - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -v - The OCaml native-code compiler, version 5.4.1 - Standard library directory: /home/opam/.opam/default/lib/ocaml - ocamlfind ocamlopt -package str -package ocamlgraph -linkpkg -w y -g -dtypes -unsafe -inline 9 -o ott.opt location.cmx types.cmx auxl.cmx merge.cmx global_option.cmx grammar_lexer.cmx grammar_parser.cmx version.cmx grammar_pp.cmx parse_table.cmx glr.cmx new_term_parser.cmx term_parser.cmx dependency.cmx bounds.cmx context_pp.cmx quotient_rules.cmx grammar_typecheck.cmx transform.cmx substs_pp.cmx subrules_pp.cmx embed_pp.cmx defns.cmx ln_transform.cmx coq_induct.cmx system_pp.cmx lex_menhir_pp.cmx align.cmx main.cmx - ln -s -f ott.opt ott - make[2]: Leaving directory '/home/opam/.opam/default/.opam-switch/build/ott.0.34/src' - cp ./ott ../bin/ott - make[1]: Leaving directory '/home/opam/.opam/default/.opam-switch/build/ott.0.34/src' [ott: make ott.install] + /usr/bin/make "ott.install" (CWD=/home/opam/.opam/default/.opam-switch/build/ott.0.34) - cp ott.install.nodoc ott.install - echo "doc : [" >> ott.install - echo "\"README.md\" { \"README.md\" }" >> ott.install - echo "\"LICENCE\" { \"LICENSE\" }" >> ott.install - echo "\"built_doc/top2.pdf\" { \"doc/ott_manual.pdf\" }" >> ott.install - echo "\"built_doc/top2.html\" { \"doc/ott_manual.html\" }" >> ott.install - echo "\"built_doc/top2001.png\"" "\"built_doc/top2002.png\"" "\"built_doc/top2003.png\"" "\"built_doc/top2004.png\"" "\"built_doc/top2005.png\"" "\"built_doc/top2006.png\"" "\"built_doc/top2007.png\"" "\"built_doc/top2008.png\"" "\"built_doc/top2009.png\"" "\"built_doc/top2010.png\"" "\"built_doc/top2011.png\"" "\"built_doc/top2012.png\"" "\"built_doc/top2013.png\"" "\"built_doc/top2014.png\"" "\"built_doc/top2015.png\"" "\"built_doc/top2016.png\"" "\"built_doc/top2017.png\"" "\"built_doc/top2018.png\"" "\"built_doc/top2019.png\"" "\"built_doc/top2020.png\"" "\"built_doc/top2021.png\"" "\"built_doc/top2022.png\"" "\"built_doc/top2023.png\"" "\"built_doc/top2024.png\"" "\"built_doc/top2025.png\"" "\"built_doc/top2026.png\"" "\"built_doc/top2027.png\"" "\"built_doc/top2028.png\"" "\"built_doc/top2029.png\"" "\"built_doc/top2030.png\"" "\"built_doc/top2031.png\"" "\"built_doc/top2032.png\"" "\"built_doc/top2033.png\"" "\"built_doc/top2034.png\"" "\"built_doc/top2035.png\"" "\"built_doc/top2036.png\"" "\"built_doc/top2037.png\"" >> ott.install - echo "]" >> ott.install -> compiled ott.0.34 -> installed ott.0.34