Build:
- 0
2026-09-03 17:10.09: New job: build obuild.0.3.0 (e2f2d9c7bc50)
2026-09-03 17:10.09: Waiting for resource in pool day11-builds
2026-09-03 17:13.26: Got resource from pool day11-builds
2026-09-03 17:13.26: [profile full] build obuild.0.3.0
2026-09-03 17:13.26: build obuild.0.3.0 (e2f2d9c7bc50)
=== DEPENDENCIES (4 transitive) ===
ocaml.5.0.0 3b2ae07b112c
ocaml-base-compiler.5.0.0 e3db6b41f84b
ocaml-config.3 916d48d26793
ocamlfind.1.9.8 be139ea51990
=== STDOUT ===
Processing: [default: loading data]
[obuild.0.3.0: dl]
[obuild.0.3.0: extract]
-> retrieved obuild.0.3.0 (https://opam.ocaml.org/cache)
[obuild: ./bootstrap]
+ /home/opam/.opam/default/.opam-switch/build/obuild.0.3.0/./bootstrap (CWD=/home/opam/.opam/default/.opam-switch/build/obuild.0.3.0)
- 5.0.0
- COMPILING base/compat
- COMPILING base/location
- COMPILING base/fugue
- COMPILING base/string_utils
- COMPILING base/filepath
- COMPILING base/filesystem
- COMPILING base/cli
- File "cli.ml", line 139, characters 40-51:
- 139 | let command_with_subcommands name ~doc ?description ~commands =
- ^^^^^^^^^^^
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- COMPILING core/types
- COMPILING core/gconf
- COMPILING core/filetype
- COMPILING core/dag
- COMPILING core/libname
- COMPILING core/pp
- COMPILING core/expr
- File "expr.ml", lines 147-149, characters 6-34:
- 147 | ......match String_utils.split ':' v ~limit:2 with
- 148 | | [ _ ] -> ("", v)
- 149 | | [ 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 152-154, characters 6-34:
- 152 | ......match String_utils.split '-' rest ~limit:2 with
- 153 | | [ _ ] -> (p1, rest, "")
- 154 | | [ 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 core/utils
- File "utils.ml", line 107, characters 17-69:
- 107 | ignore (List.find (fun n -> Filesystem.exists (n p)) names);
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 5 [ignored-partial-application]: this function application is partial,
- maybe some arguments are missing.
- COMPILING core/modname
- COMPILING core/taskdep
- COMPILING core/helper
- COMPILING core/dagutils
- COMPILING core/process
- COMPILING core/findlibConf
- COMPILING core/scheduler
- COMPILING core/prog
- COMPILING core/dependencies
- COMPILING core/generators
- COMPILING core/hier
- COMPILING core/meta
- COMPILING core/metacache
- COMPILING core/obuild_lexer
- COMPILING core/obuild_ast
- COMPILING core/obuild_parser
- File "obuild_parser.ml", line 97, characters 6-15:
- 97 | let try_split sep =
- ^^^^^^^^^
- Warning 26 [unused-var]: unused variable try_split.
- COMPILING core/target
- COMPILING core/dist
- COMPILING core/digests
- COMPILING core/project
- COMPILING core/obuild_validate
- COMPILING core/project_read
- COMPILING core/analyze
- COMPILING core/configure
- COMPILING core/prepare_types
- COMPILING core/ppx_resolver
- COMPILING core/prepare
- COMPILING core/buildprogs
- COMPILING core/build_cstubs
- File "build_cstubs.ml", line 80, characters 4-43:
- 80 | Filesystem.mkdir_safe autogen_dir 0o755;
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 10 [non-unit-statement]: this expression should have type unit.
- File "_none_", line 1:
- Alert ocaml_deprecated_auto_include:
- OCaml's lib directory layout changed in 5.0. The str subdirectory has been
- automatically added to the search path, but you should add -I +str to the
- command-line to silence this alert (e.g. by adding str to the list of
- libraries in your dune file, or adding use_str to your _tags file for
- ocamlbuild, or using -package str for ocamlfind).
- File "build_cstubs.ml", line 291, characters 4-43:
- 291 | Filesystem.mkdir_safe autogen_dir 0o755;
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 10 [non-unit-statement]: this expression should have type unit.
- COMPILING core/build
- File "build.ml", lines 409-411, characters 4-87:
- 409 | ....match List.filter (fun x -> x <> []) l with
- 410 | | [] -> ("", [])
- 411 | | ((r, x) :: xs) :: ys -> (r, (x :: List.map snd xs) :: List.map (List.map snd) ys)
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- []::_
- COMPILING core/exception
- COMPILING command/sdist
- COMPILING command/doc
- COMPILING command/init
- COMPILING command/help
- COMPILING command/install
- COPYING modules to root for bootstrap
- COMPILING path_generated
- COMPILING main
- LINKING obuild.bootstrap
- File "_none_", line 1:
- Alert ocaml_deprecated_auto_include:
- OCaml's lib directory layout changed in 5.0. The str subdirectory has been
- automatically added to the search path, but you should add -I +str to the
- command-line to silence this alert (e.g. by adding str to the list of
- libraries in your dune file, or adding use_str to your _tags file for
- ocamlbuild, or using -package str for ocamlfind).
- Configuring obuild-0.3.0...
- Detected 4 CPU cores, setting default parallelism to 4
- [ 1 of 105] Compiling Location
- [ 2 of 105] Compiling Compat
- File "lib/base/location.ml", line 1:
- Warning 70 [missing-mli]: Cannot find interface file.
-
- File "lib/base/compat.ml", line 8, characters 13-15:
- 8 | let ok x = Ok x
- ^^
- Warning 41 [ambiguous-name]: Ok belongs to several types: result Stdlib.result
- The first one was selected. Please disambiguate if this is wrong.
- File "lib/base/compat.ml", line 9, characters 16-21:
- 9 | let error e = Error e
- ^^^^^
- Warning 41 [ambiguous-name]: Error belongs to several types: result Stdlib.result
- The first one was selected. Please disambiguate if this is wrong.
- File "lib/base/compat.ml", line 11, characters 23-25:
- 11 | let is_ok = function Ok _ -> true | Error _ -> false
- ^^
- Warning 41 [ambiguous-name]: Ok belongs to several types: result Stdlib.result
- The first one was selected. Please disambiguate if this is wrong.
- File "lib/base/compat.ml", line 12, characters 26-28:
- 12 | let is_error = function Ok _ -> false | Error _ -> true
- ^^
- Warning 41 [ambiguous-name]: Ok belongs to several types: result Stdlib.result
- The first one was selected. Please disambiguate if this is wrong.
- File "lib/base/compat.ml", line 15, characters 6-8:
- 15 | | Ok x -> Ok (f x)
- ^^
- Warning 41 [ambiguous-name]: Ok belongs to several types: result Stdlib.result
- The first one was selected. Please disambiguate if this is wrong.
- File "lib/base/compat.ml", line 15, characters 14-16:
- 15 | | Ok x -> Ok (f x)
- ^^
- Warning 41 [ambiguous-name]: Ok belongs to several types: result Stdlib.result
- The first one was selected. Please disambiguate if this is wrong.
- File "lib/base/compat.ml", line 19, characters 6-8:
- 19 | | Ok x -> Ok x
- ^^
- Warning 41 [ambiguous-name]: Ok belongs to several types: result Stdlib.result
- The first one was selected. Please disambiguate if this is wrong.
- File "lib/base/compat.ml", line 19, characters 14-16:
- 19 | | Ok x -> Ok x
- ^^
- Warning 41 [ambiguous-name]: Ok belongs to several types: result Stdlib.result
- The first one was selected. Please disambiguate if this is wrong.
- File "lib/base/compat.ml", line 23, characters 6-8:
- 23 | | Ok x -> f x
- ^^
- Warning 41 [ambiguous-name]: Ok belongs to several types: result Stdlib.result
- The first one was selected. Please disambiguate if this is wrong.
- File "lib/base/compat.ml", line 24, characters 17-22:
- 24 | | Error e -> Error e
- ^^^^^
- Warning 41 [ambiguous-name]: Error belongs to several types: result Stdlib.result
- The first one was selected. Please disambiguate if this is wrong.
- File "lib/base/compat.ml", line 27, characters 6-8:
- 27 | | Ok x -> x
- ^^
- Warning 41 [ambiguous-name]: Ok belongs to several types: result Stdlib.result
- The first one was selected. Please disambiguate if this is wrong.
- File "lib/base/compat.ml", line 31, characters 6-8:
- 31 | | Ok x -> x
- ^^
- Warning 41 [ambiguous-name]: Ok belongs to several types: result Stdlib.result
- The first one was selected. Please disambiguate if this is wrong.
- File "lib/base/compat.ml", line 35, characters 6-8:
- 35 | | Ok _ -> invalid_arg "Result.get_error"
- ^^
- Warning 41 [ambiguous-name]: Ok belongs to several types: result Stdlib.result
- The first one was selected. Please disambiguate if this is wrong.
- File "lib/base/compat.ml", line 1:
- Warning 70 [missing-mli]: Cannot find interface file.
-
- [ 3 of 105] Intfing Fugue
- [ 4 of 105] Compiling Fugue
- [ 5 of 105] Intfing String_utils
- [ 6 of 105] Compiling String_utils
- [ 7 of 105] Intfing Cli
- [ 8 of 105] Intfing Filepath
- [ 9 of 105] Compiling Filepath
- [ 10 of 105] Compiling Cli
- [ 11 of 105] Intfing Filesystem
- File "lib/base/cli.ml", lines 71-73, characters 4-16:
- 71 | ....match Hashtbl.find ctx.values name with
- 72 | | VBool b -> b
- 73 | | _ -> false
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type arg_value.
- File "lib/base/cli.ml", lines 78-80, characters 4-15:
- 78 | ....match Hashtbl.find ctx.values name with
- 79 | | VString s -> Some s
- 80 | | _ -> None
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type arg_value.
- File "lib/base/cli.ml", lines 90-92, characters 4-15:
- 90 | ....match Hashtbl.find ctx.values name with
- 91 | | VInt i -> Some i
- 92 | | _ -> None
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type arg_value.
- File "lib/base/cli.ml", lines 102-104, characters 4-15:
- 102 | ....match Hashtbl.find ctx.values name with
- 103 | | VBool b -> Some b
- 104 | | _ -> None
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type arg_value.
- File "lib/base/cli.ml", lines 114-117, characters 4-13:
- 114 | ....match Hashtbl.find ctx.values name with
- 115 | | VStrings l -> l
- 116 | | VString s -> [ s ]
- 117 | | _ -> []
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type arg_value.
- File "lib/base/cli.ml", line 139, characters 40-51:
- 139 | let command_with_subcommands name ~doc ?description ~commands =
- ^^^^^^^^^^^
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- File "lib/base/cli.ml", lines 634-636, characters 18-27:
- 634 | ..................match Hashtbl.find values spec.arg_name with
- 635 | | VStrings l -> l
- 636 | | _ -> []
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type arg_value.
- File "lib/base/cli.ml", line 3, characters 0-11:
- 3 | open Compat
- ^^^^^^^^^^^
- Warning 45 [open-shadow-label-constructor]: this open statement shadows the constructor Ok (which is later used)
- File "lib/base/cli.ml", line 775, characters 4-6:
- 775 | Ok ()
- ^^
- Warning 41 [ambiguous-name]: Ok belongs to several types: Compat.result Stdlib.result
- The first one was selected. Please disambiguate if this is wrong.
- File "lib/base/cli.ml", line 3, characters 0-11:
- 3 | open Compat
- ^^^^^^^^^^^
- Warning 45 [open-shadow-label-constructor]: this open statement shadows the constructor Error (which is later used)
- File "lib/base/cli.ml", line 22, characters 2-26:
- 22 | arg_env : string option;
- ^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 69 [unused-field]: record field arg_env is never read.
- (However, this field is used to build or mutate values.)
-
- File "lib/base/filesystem.mli", lines 56-57, characters 0-56:
- 56 | (** Like [write_file] but skips the write when the file already contains
- 57 | identical content, preserving the existing mtime. *)
- Warning 50 [unexpected-docstring]: ambiguous documentation comment
-
- [ 12 of 105] Compiling Filesystem
- File "lib/base/filesystem.ml", lines 19-22, characters 14-52:
- 19 | ..............match (Unix.lstat fent).Unix.st_kind with
- 20 | | Unix.S_DIR -> rmdir_recursive Unix.rmdir fent
- 21 | | Unix.S_REG -> Unix.unlink fent
- 22 | | _ -> 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.
-
- [ 13 of 105] Linking library dist/build/lib-obuild_base/obuild_base.cmxa
- [ 13 of 105] Linking library dist/build/lib-obuild_base/obuild_base.cmxs
- [ 13 of 105] Linking library dist/build/lib-obuild_base/obuild_base.cma
- [ 14 of 105] Checking dist/build/lib-obuild_base
- [ 15 of 105] Intfing Dag
- [ 16 of 105] Intfing Expr
- [ 17 of 105] Intfing Pp
- [ 18 of 105] Intfing Gconf
- File "lib/core/gconf.mli", line 61, characters 0-36:
- 61 | (** Global configuration instance *)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
-
- [ 19 of 105] Compiling Obuild_ast
- [ 20 of 105] Compiling Obuild_lexer
- File "lib/core/obuild_ast.ml", line 1:
- Warning 70 [missing-mli]: Cannot find interface file.
-
- [ 21 of 105] Intfing Filetype
- [ 22 of 105] Intfing Modname
- File "lib/core/obuild_lexer.ml", line 19, characters 0-54:
- 19 | (** A token with its location and indentation level *)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 50 [unexpected-docstring]: ambiguous documentation comment
- File "lib/core/obuild_lexer.ml", lines 142-147, characters 28-39:
- 142 | ............................function
- 143 | | ({ tok = BLOCK (name, args); indent; _ }) :: more when indent > kv_indent ->
- 144 | let cont = String.concat " " (name :: args) in
- 145 | let v' = if v = "" then cont else v ^ " " ^ cont in
- 146 | collect v' more
- 147 | | remaining -> (v, remaining)
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type token.
- File "lib/core/obuild_lexer.ml", lines 138-151, characters 17-33:
- 138 | .................function
- 139 | | [] -> []
- 140 | | ({ tok = KEY_VALUE (k, v); indent = kv_indent; _ } as kv_tok) :: rest ->
- 141 | (* Greedily collect BLOCK tokens at strictly higher indentation *)
- 142 | let rec collect v = function
- ...
- 148 | in
- 149 | let full_v, remaining = collect v rest in
- 150 | { kv_tok with tok = KEY_VALUE (k, full_v) } :: loop remaining
- 151 | | t :: rest -> t :: loop rest
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type token.
- File "lib/core/obuild_lexer.ml", line 189, characters 40-43:
- 189 | Printf.sprintf "%d:%d indent=%d %s" t.loc.line t.loc.col t.indent (token_to_string t.tok)
- ^^^
- Warning 41 [ambiguous-name]: loc belongs to several types: located_token Location.located
- The first one was selected. Please disambiguate if this is wrong.
- File "lib/core/obuild_lexer.ml", line 1:
- Warning 70 [missing-mli]: Cannot find interface file.
-
- [ 23 of 105] Intfing Types
- [ 24 of 105] Compiling Expr
- [ 25 of 105] Compiling Dag
- File "lib/core/expr.ml", lines 147-149, characters 6-34:
- 147 | ......match String_utils.split ':' v ~limit:2 with
- 148 | | [ _ ] -> ("", v)
- 149 | | [ 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 "lib/core/expr.ml", lines 152-154, characters 6-34:
- 152 | ......match String_utils.split '-' rest ~limit:2 with
- 153 | | [ _ ] -> (p1, rest, "")
- 154 | | [ 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 "lib/core/expr.ml", lines 251-256, characters 10-44:
- 251 | ..........match r with
- 252 | | Token.RPAREN :: r -> (Paren e, r)
- 253 | | Token.OR :: _ | Token.AND :: _ ->
- 254 | let e, r = parse_bin_expr e r in
- 255 | loop e r
- 256 | | _ -> raise UnbalancedParenthesis
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Token.t.
- File "lib/core/expr.ml", lines 243-265, characters 4-69:
- 243 | ....match l with
- 244 | | [] -> raise MalformedExpression
- 245 | | Token.NOT :: r ->
- 246 | let e, r = parse_sub_expr r in
- 247 | (Not e, r)
- ...
- 262 | | Token.LT :: Token.VER v :: r -> (Lt v, r)
- 263 | | Token.LE :: Token.VER v :: r -> (Le v, r)
- 264 | | Token.NE :: Token.VER v :: r -> (Ne v, r)
- 265 | | 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 "lib/core/expr.ml", lines 267-274, characters 4-36:
- 267 | ....match l with
- 268 | | Token.OR :: r ->
- 269 | let e, r = parse_sub_expr r in
- 270 | (Or (expr, e), r)
- 271 | | Token.AND :: r ->
- 272 | let e, r = parse_sub_expr r in
- 273 | (And (expr, e), r)
- 274 | | _ -> raise MalformedExpression
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Token.t.
- File "lib/core/expr.ml", lines 309-312, characters 2-63:
- 309 | ..match Token.lexer s with
- 310 | | [] -> raise ExpressionEmpty
- 311 | | Token.ID name :: constraints -> (name, parse_constraints name constraints)
- 312 | | 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.
-
- [ 26 of 105] Compiling Gconf
- [ 27 of 105] Compiling Pp
- File "lib/core/gconf.ml", lines 122-125, characters 18-18:
- 122 | ..................match opt with
- 123 | | Executable_native | Library_native | Library_bytecode -> true
- 124 | | Library_plugin -> Sys.os_type = "Unix"
- 125 | | _ -> false
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type target_option.
- File "lib/core/gconf.ml", lines 141-146, characters 2-11:
- 141 | ..match (opt, value) with
- 142 | | Executable_profiling, true -> set_target_option_typed conf Library_profiling true
- 143 | | Executable_debugging, true -> set_target_option_typed conf Library_debugging true
- 144 | | Library_plugin, true -> set_target_option_typed conf Library_native true
- 145 | | Library_native, false -> set_target_option_typed conf Library_plugin false
- 146 | | _ -> ()
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type target_option.
- File "lib/core/gconf.ml", line 1, characters 0-10:
- 1 | open Fugue
- ^^^^^^^^^^
- Warning 33 [unused-open]: unused open Fugue.
-
- [ 28 of 105] Compiling Filetype
- [ 29 of 105] Compiling Obuild_parser
- [ 30 of 105] Compiling Types
- [ 31 of 105] Compiling Modname
- File "lib/core/modname.ml", line 2, characters 0-10:
- 2 | open Fugue
- ^^^^^^^^^^
- Warning 33 [unused-open]: unused open Fugue.
-
- [ 32 of 105] Intfing Taskdep
- [ 33 of 105] Intfing Utils
- [ 34 of 105] Intfing Libname
- [ 35 of 105] Compiling Taskdep
- [ 36 of 105] Compiling Utils
- File "lib/core/obuild_parser.ml", line 200, characters 0-48:
- 200 | (** Parse generator match type from key-value *)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 50 [unexpected-docstring]: unattached documentation comment (ignored)
- File "lib/core/obuild_parser.ml", lines 206-218, characters 19-29:
- 206 | ...................(
- 207 | match t.tok with
- 208 | | KEY_VALUE (key, value) ->
- 209 | let gen' =
- 210 | match Compat.string_lowercase key with
- ...
- 215 | | _ -> gen
- 216 | in
- 217 | loop gen' rest
- 218 | | _ -> loop gen rest)
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Obuild_lexer.token.
- File "lib/core/obuild_parser.ml", lines 227-238, characters 19-29:
- 227 | ...................(
- 228 | match t.tok with
- 229 | | KEY_VALUE (key, value) ->
- 230 | let gen' =
- 231 | match Compat.string_lowercase key with
- ...
- 235 | | _ -> gen
- 236 | in
- 237 | loop gen' rest
- 238 | | _ -> loop gen rest)
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Obuild_lexer.token.
- File "lib/core/obuild_parser.ml", lines 246-287, characters 19-32:
- 246 | ...................(
- 247 | match t.tok with
- 248 | | KEY_VALUE (key, value) ->
- 249 | let cstubs' =
- 250 | match Compat.string_lowercase key with
- ...
- 284 | | _ -> cstubs
- 285 | in
- 286 | loop cstubs' rest
- 287 | | _ -> loop cstubs rest)
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Obuild_lexer.token.
- File "lib/core/obuild_parser.ml", lines 296-308, characters 19-29:
- 296 | ...................(
- 297 | match t.tok with
- 298 | | KEY_VALUE (key, value) ->
- 299 | let per' =
- 300 | match Compat.string_lowercase key with
- ...
- 305 | | _ -> per
- 306 | in
- 307 | loop per' rest
- 308 | | _ -> loop per rest)
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Obuild_lexer.token.
- File "lib/core/obuild_parser.ml", lines 331-372, characters 17-43:
- 331 | .................(
- 332 | match t.tok with
- 333 | | KEY_VALUE (key, value) ->
- 334 | let lib' =
- 335 | match Compat.string_lowercase key with
- ...
- 369 | | _ -> lib
- 370 | in
- 371 | parse_library_tokens lib' remaining
- 372 | | _ -> parse_library_tokens lib rest)
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Obuild_lexer.token.
- File "lib/core/obuild_parser.ml", lines 391-422, characters 19-29:
- 391 | ...................(
- 392 | match t.tok with
- 393 | | KEY_VALUE (key, value) ->
- 394 | let exe' =
- 395 | match Compat.string_lowercase key with
- ...
- 419 | | _ -> exe
- 420 | in
- 421 | loop exe' remaining
- 422 | | _ -> loop exe rest)
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Obuild_lexer.token.
- File "lib/core/obuild_parser.ml", lines 439-472, characters 19-30:
- 439 | ...................(
- 440 | match t.tok with
- 441 | | KEY_VALUE (key, value) ->
- 442 | let test' =
- 443 | match Compat.string_lowercase key with
- ...
- 469 | | _ -> test
- 470 | in
- 471 | loop test' remaining
- 472 | | _ -> loop test rest)
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Obuild_lexer.token.
- File "lib/core/obuild_parser.ml", lines 483-519, characters 19-33:
- 483 | ...................(
- 484 | match t.tok with
- 485 | | KEY_VALUE (key, value) ->
- 486 | let example' =
- 487 | match Compat.string_lowercase key with
- ...
- 516 | | _ -> example
- 517 | in
- 518 | loop example' remaining
- 519 | | _ -> loop example rest)
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Obuild_lexer.token.
- File "lib/core/obuild_parser.ml", lines 528-560, characters 19-31:
- 528 | ...................(
- 529 | match t.tok with
- 530 | | KEY_VALUE (key, value) ->
- 531 | let bench' =
- 532 | match Compat.string_lowercase key with
- ...
- 557 | | _ -> bench
- 558 | in
- 559 | loop bench' remaining
- 560 | | _ -> loop bench rest)
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Obuild_lexer.token.
- File "lib/core/obuild_parser.ml", lines 569-579, characters 19-30:
- 569 | ...................(
- 570 | match t.tok with
- 571 | | KEY_VALUE (key, value) ->
- 572 | let flag' =
- 573 | match Compat.string_lowercase key with
- ...
- 576 | | _ -> flag
- 577 | in
- 578 | loop flag' rest
- 579 | | _ -> loop flag rest)
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Obuild_lexer.token.
- File "lib/core/obuild_parser.ml", lines 619-679, characters 4-13:
- 619 | ....match t.tok with
- 620 | | KEY_VALUE (key, value) -> (
- 621 | let p = !proj in
- 622 | proj :=
- 623 | match Compat.string_lowercase key with
- ...
- 676 | let gen = parse_generator_block block_name block_tokens in
- 677 | { p with project_generators = p.project_generators @ [ gen ] }
- 678 | | _ -> p)
- 679 | | _ -> ()
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Obuild_lexer.token.
- File "lib/core/obuild_parser.ml", line 1:
- Warning 70 [missing-mli]: Cannot find interface file.
- File "lib/core/obuild_parser.ml", line 97, characters 6-15:
- 97 | let try_split sep =
- ^^^^^^^^^
- Warning 26 [unused-var]: unused variable try_split.
-
- [ 37 of 105] Compiling Libname
- File "lib/core/utils.ml", line 107, characters 17-69:
- 107 | ignore (List.find (fun n -> Filesystem.exists (n p)) names);
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 5 [ignored-partial-application]: this function application is partial,
- maybe some arguments are missing.
- File "lib/core/utils.ml", lines 134-136, characters 6-17:
- 134 | ......match status with
- 135 | | Unix.WEXITED 0 -> Some (int_of_string (String_utils.strip_spaces line))
- 136 | | _ -> None
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Unix.process_status.
-
- [ 38 of 105] Intfing Dagutils
- [ 39 of 105] Intfing Helper
- [ 40 of 105] Compiling Dagutils
- [ 41 of 105] Compiling Helper
- [ 42 of 105] Intfing Process
- [ 43 of 105] Compiling Process
- File "lib/core/process.ml", line 1, characters 0-11:
- 1 | open Helper
- ^^^^^^^^^^^
- Warning 44 [open-shadow-identifier]: this open statement shadows the value identifier log (which is later used)
-
- [ 44 of 105] Intfing Generators
- [ 45 of 105] Intfing Scheduler
- [ 46 of 105] Intfing Prog
- [ 47 of 105] Intfing FindlibConf
- [ 48 of 105] Compiling Scheduler
- [ 49 of 105] Compiling Generators
- [ 50 of 105] Compiling FindlibConf
- File "lib/core/generators.ml", lines 151-155, characters 2-11:
- 151 | ..match ext with
- 152 | | Filetype.FileOther s ->
- 153 | let s_with_dot = "." ^ s in
- 154 | List.filter (fun gen -> gen.suffix = s || gen.suffix = s_with_dot) gset.set_all
- 155 | | _ -> []
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Filetype.t.
- File "lib/core/generators.ml", line 2, characters 0-11:
- 2 | open Helper
- ^^^^^^^^^^^
- Warning 44 [open-shadow-identifier]: this open statement shadows the value identifier log (which is later used)
-
- [ 51 of 105] Compiling Prog
- [ 52 of 105] Intfing Hier
- [ 53 of 105] Intfing Meta
- [ 54 of 105] Intfing Dependencies
- [ 55 of 105] Compiling Hier
- [ 56 of 105] Compiling Meta
- [ 57 of 105] Compiling Dependencies
- [ 58 of 105] Intfing Target
- [ 59 of 105] Compiling Target
- File "lib/core/meta.ml", lines 143-145, characters 8-37:
- 143 | ........match p with
- 144 | | Predicate.Neg n -> not (List.mem n constraints)
- 145 | | _ -> 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 "lib/core/meta.ml", lines 158-160, characters 10-40:
- 158 | ..........match p with
- 159 | | Predicate.Neg n -> not (Hashtbl.mem preds_set n)
- 160 | | _ -> Hashtbl.mem preds_set p.
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Predicate.t.
- File "lib/core/meta.ml", lines 380-387, characters 28-20:
- 380 | ............................function
- 381 | | COMMA :: ID s :: xs ->
- 382 | let l, r = parse_predicate xs in
- 383 | (Predicate.of_string s :: l, r)
- 384 | | COMMA :: MINUS :: ID s :: xs ->
- 385 | let l, r = parse_predicate xs in
- 386 | (Predicate.Neg (Predicate.of_string s) :: l, r)
- 387 | | xs -> ([], xs)
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "lib/core/meta.ml", lines 393-395, characters 8-93:
- 393 | ........match xs2 with
- 394 | | RPAREN :: xs3 -> (Predicate.of_string s :: preds, xs3)
- 395 | | _ -> 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 "lib/core/meta.ml", lines 398-400, characters 8-93:
- 398 | ........match xs2 with
- 399 | | RPAREN :: xs3 -> (Predicate.Neg (Predicate.of_string s) :: preds, xs3)
- 400 | | _ -> 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 "lib/core/meta.ml", lines 389-401, characters 40-20:
- 389 | ........................................function
- 390 | | LPAREN :: RPAREN :: xs -> ([], xs)
- 391 | | LPAREN :: ID s :: xs -> (
- 392 | let preds, xs2 = parse_predicate xs in
- 393 | match xs2 with
- ...
- 398 | match xs2 with
- 399 | | RPAREN :: xs3 -> (Predicate.Neg (Predicate.of_string s) :: preds, xs3)
- 400 | | _ -> raise (MetaParseError (name, "expecting ')' after " ^ field ^ "'s predicate")))
- 401 | | xs -> ([], xs)
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "lib/core/meta.ml", lines 416-432, characters 8-28:
- 416 | ........match xs2 with
- 417 | | PLUSEQ :: S reqs :: xs3 | EQ :: S reqs :: xs3 ->
- 418 | let deps =
- 419 | List.map (fun r -> Libname.of_string r)
- 420 | $ (List.filter (fun x -> x <> "")
- ...
- 429 | (MetaParseError
- 430 | ( pkg_name,
- 431 | "parsing requires failed: expected '=' or '+=' followed by quoted dependency \
- 432 | list" )).
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "lib/core/meta.ml", lines 440-447, characters 8-94:
- 440 | ........match xs2 with
- 441 | | EQ :: S v :: xs3 ->
- 442 | let nacc = { acc with Pkg.warning = acc.Pkg.warning @ [ (preds, v) ] } in
- 443 | parse pkg_name nacc expecting_rparen xs3
- 444 | | _ ->
- 445 | raise
- 446 | (MetaParseError
- 447 | (pkg_name, "parsing warning failed: expected '=' followed by quoted string")).
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "lib/core/meta.ml", lines 450-462, characters 8-102:
- 450 | ........match xs2 with
- 451 | | PLUSEQ :: S v :: xs3 ->
- 452 | let nacc =
- 453 | { acc with Pkg.append_archives = acc.Pkg.append_archives @ [ (preds, v) ] }
- 454 | in
- ...
- 459 | | _ ->
- 460 | raise
- 461 | (MetaParseError
- 462 | (pkg_name, "parsing archive failed: expected '=' or '+=' followed by quoted string"))
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "lib/core/meta.ml", lines 467-480, characters 8-98:
- 467 | ........match xs2 with
- 468 | | PLUSEQ :: S v :: xs3 ->
- 469 | let nacc =
- 470 | { acc with Pkg.append_archives = acc.Pkg.append_archives @ [ (preds, v) ] }
- 471 | in
- ...
- 477 | raise
- 478 | (MetaParseError
- 479 | ( pkg_name,
- 480 | "parsing plugin failed: expected '=' or '+=' followed by quoted plugin path" )).
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "lib/core/meta.ml", lines 485-491, characters 8-101:
- 485 | ........match xs2 with
- 486 | | EQ :: S v :: xs3 ->
- 487 | parse pkg_name { acc with Pkg.ppx = Some (preds, v) } expecting_rparen xs3
- 488 | | _ ->
- 489 | raise
- 490 | (MetaParseError
- 491 | (pkg_name, "parsing ppx failed: expected '=' followed by quoted preprocessor path"))
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "lib/core/meta.ml", lines 495-503, characters 8-102:
- 495 | ........match xs2 with
- 496 | | PLUSEQ :: S v :: xs3 | EQ :: S v :: xs3 ->
- 497 | parse pkg_name
- 498 | { acc with Pkg.ppxopt = acc.Pkg.ppxopt @ [ (preds, v) ] }
- 499 | expecting_rparen xs3
- 500 | | _ ->
- 501 | raise
- 502 | (MetaParseError
- 503 | (pkg_name, "parsing ppxopt failed: expected '=' or '+=' followed by quoted options"))
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "lib/core/meta.ml", lines 510-516, characters 26-93:
- 510 | ..........................function
- 511 | | RPAREN :: zs -> zs
- 512 | | _ :: zs -> consume zs
- 513 | | [] ->
- 514 | raise
- 515 | (MetaParseError
- 516 | (pkg_name, "unexpected EOF in error field (missing closing parenthesis)"))
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "lib/core/meta.ml", lines 518-523, characters 8-98:
- 518 | ........match consume xs with
- 519 | | EQ :: S _ :: xs2 -> parse pkg_name acc expecting_rparen xs2
- 520 | | _ ->
- 521 | raise
- 522 | (MetaParseError
- 523 | (pkg_name, "parsing error field failed, expected '=' after closing parenthesis")).
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "lib/core/meta.ml", lines 526-536, characters 8-99:
- 526 | ........match xs2 with
- 527 | | EQ :: S s :: xs3 ->
- 528 | parse pkg_name
- 529 | {
- 530 | acc with
- ...
- 533 | expecting_rparen xs3
- 534 | | _ ->
- 535 | raise
- 536 | (MetaParseError (pkg_name, "parsing linkopts failed, expected '=' after predicates")).
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type t.
- File "lib/core/meta.ml", lines 403-546, characters 48-61:
- 403 | ................................................function
- 404 | | [] ->
- 405 | if expecting_rparen then
- 406 | raise (MetaParseError (pkg_name, "unclosed package block (missing closing parenthesis)"))
- 407 | else
- ...
- 543 | (MetaParseError
- 544 | ( pkg_name,
- 545 | "unknown token '" ^ to_string x ^ "' in meta file\n"
- 546 | ^ 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.
-
- [ 60 of 105] Intfing Metacache
- File "lib/core/target.ml", line 220, characters 42-56:
- 220 | (Gconf.get_target_option_typed conf Library_native, Gconf.get_target_option_typed conf Library_bytecode)
- ^^^^^^^^^^^^^^
- Warning 40 [name-out-of-scope]: Library_native was selected from type Gconf.target_option.
- It is not visible in the current scope, and will not
- be selected if the type becomes unknown.
- File "lib/core/target.ml", line 220, characters 42-56:
- 220 | (Gconf.get_target_option_typed conf Library_native, Gconf.get_target_option_typed conf Library_bytecode)
- ^^^^^^^^^^^^^^
- Warning 42 [disambiguated-name]: this use of Library_native relies on type-directed disambiguation,
- it will not compile with OCaml 4.00 or earlier.
- File "lib/core/target.ml", line 220, characters 93-109:
- 220 | (Gconf.get_target_option_typed conf Library_native, Gconf.get_target_option_typed conf Library_bytecode)
- ^^^^^^^^^^^^^^^^
- Warning 40 [name-out-of-scope]: Library_bytecode was selected from type Gconf.target_option.
- It is not visible in the current scope, and will not
- be selected if the type becomes unknown.
- File "lib/core/target.ml", line 220, characters 93-109:
- 220 | (Gconf.get_target_option_typed conf Library_native, Gconf.get_target_option_typed conf Library_bytecode)
- ^^^^^^^^^^^^^^^^
- Warning 42 [disambiguated-name]: this use of Library_bytecode relies on type-directed disambiguation,
- it will not compile with OCaml 4.00 or earlier.
- File "lib/core/target.ml", line 222, characters 42-59:
- 222 | (Gconf.get_target_option_typed conf Executable_native, Gconf.get_target_option_typed conf Executable_bytecode)
- ^^^^^^^^^^^^^^^^^
- Warning 40 [name-out-of-scope]: Executable_native was selected from type Gconf.target_option.
- It is not visible in the current scope, and will not
- be selected if the type becomes unknown.
- File "lib/core/target.ml", line 222, characters 42-59:
- 222 | (Gconf.get_target_option_typed conf Executable_native, Gconf.get_target_option_typed conf Executable_bytecode)
- ^^^^^^^^^^^^^^^^^
- Warning 42 [disambiguated-name]: this use of Executable_native relies on type-directed disambiguation,
- it will not compile with OCaml 4.00 or earlier.
- File "lib/core/target.ml", line 222, characters 96-115:
- 222 | (Gconf.get_target_option_typed conf Executable_native, Gconf.get_target_option_typed conf Executable_bytecode)
- ^^^^^^^^^^^^^^^^^^^
- Warning 40 [name-out-of-scope]: Executable_bytecode was selected from type Gconf.target_option.
- It is not visible in the current scope, and will not
- be selected if the type becomes unknown.
- File "lib/core/target.ml", line 222, characters 96-115:
- 222 | (Gconf.get_target_option_typed conf Executable_native, Gconf.get_target_option_typed conf Executable_bytecode)
- ^^^^^^^^^^^^^^^^^^^
- Warning 42 [disambiguated-name]: this use of Executable_bytecode relies on type-directed disambiguation,
- it will not compile with OCaml 4.00 or earlier.
- File "lib/core/target.ml", line 228, characters 40-57:
- 228 | (Gconf.get_target_option_typed conf Library_debugging, Gconf.get_target_option_typed conf Library_profiling)
- ^^^^^^^^^^^^^^^^^
- Warning 40 [name-out-of-scope]: Library_debugging was selected from type Gconf.target_option.
- It is not visible in the current scope, and will not
- be selected if the type becomes unknown.
- File "lib/core/target.ml", line 228, characters 40-57:
- 228 | (Gconf.get_target_option_typed conf Library_debugging, Gconf.get_target_option_typed conf Library_profiling)
- ^^^^^^^^^^^^^^^^^
- Warning 42 [disambiguated-name]: this use of Library_debugging relies on type-directed disambiguation,
- it will not compile with OCaml 4.00 or earlier.
- File "lib/core/target.ml", line 228, characters 94-111:
- 228 | (Gconf.get_target_option_typed conf Library_debugging, Gconf.get_target_option_typed conf Library_profiling)
- ^^^^^^^^^^^^^^^^^
- Warning 40 [name-out-of-scope]: Library_profiling was selected from type Gconf.target_option.
- It is not visible in the current scope, and will not
- be selected if the type becomes unknown.
- File "lib/core/target.ml", line 228, characters 94-111:
- 228 | (Gconf.get_target_option_typed conf Library_debugging, Gconf.get_target_option_typed conf Library_profiling)
- ^^^^^^^^^^^^^^^^^
- Warning 42 [disambiguated-name]: this use of Library_profiling relies on type-directed disambiguation,
- it will not compile with OCaml 4.00 or earlier.
- File "lib/core/target.ml", line 230, characters 40-60:
- 230 | (Gconf.get_target_option_typed conf Executable_debugging, Gconf.get_target_option_typed conf Executable_profiling)
- ^^^^^^^^^^^^^^^^^^^^
- Warning 40 [name-out-of-scope]: Executable_debugging was selected from type Gconf.target_option.
- It is not visible in the current scope, and will not
- be selected if the type becomes unknown.
- File "lib/core/target.ml", line 230, characters 40-60:
- 230 | (Gconf.get_target_option_typed conf Executable_debugging, Gconf.get_target_option_typed conf Executable_profiling)
- ^^^^^^^^^^^^^^^^^^^^
- Warning 42 [disambiguated-name]: this use of Executable_debugging relies on type-directed disambiguation,
- it will not compile with OCaml 4.00 or earlier.
- File "lib/core/target.ml", line 230, characters 97-117:
- 230 | (Gconf.get_target_option_typed conf Executable_debugging, Gconf.get_target_option_typed conf Executable_profiling)
- ^^^^^^^^^^^^^^^^^^^^
- Warning 40 [name-out-of-scope]: Executable_profiling was selected from type Gconf.target_option.
- It is not visible in the current scope, and will not
- be selected if the type becomes unknown.
- File "lib/core/target.ml", line 230, characters 97-117:
- 230 | (Gconf.get_target_option_typed conf Executable_debugging, Gconf.get_target_option_typed conf Executable_profiling)
- ^^^^^^^^^^^^^^^^^^^^
- Warning 42 [disambiguated-name]: this use of Executable_profiling relies on type-directed disambiguation,
- it will not compile with OCaml 4.00 or earlier.
-
- [ 61 of 105] Intfing Dist
- [ 62 of 105] Intfing Project
- [ 63 of 105] Compiling Metacache
- [ 64 of 105] Compiling Dist
- File "lib/core/metacache.ml", line 2, characters 0-11:
- 2 | open Helper
- ^^^^^^^^^^^
- Warning 44 [open-shadow-identifier]: this open statement shadows the value identifier log (which is later used)
-
- [ 65 of 105] Compiling Project
- [ 66 of 105] Intfing Digests
- [ 67 of 105] Compiling Digests
- File "lib/core/project.ml", lines 107-109, characters 6-22:
- 107 | ......match target.target_buildable with
- 108 | | BoolConst true -> BoolConst (Gconf.get_target_option_typed conf Gconf.Build_tests)
- 109 | | other -> other
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Target.runtime_bool.
- File "lib/core/project.ml", lines 136-138, characters 6-22:
- 136 | ......match target.target_buildable with
- 137 | | BoolConst true -> BoolConst (Gconf.get_target_option_typed conf Gconf.Build_benchs)
- 138 | | other -> other
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Target.runtime_bool.
- File "lib/core/project.ml", lines 164-166, characters 6-22:
- 164 | ......match target.target_buildable with
- 165 | | BoolConst true -> BoolConst (Gconf.get_target_option_typed conf Gconf.Build_examples)
- 166 | | other -> other
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Target.runtime_bool.
-
- [ 68 of 105] Compiling Obuild_validate
- [ 69 of 105] Intfing Analyze
- [ 70 of 105] Compiling Analyze
- File "lib/core/analyze.ml", lines 76-78, characters 6-17:
- 76 | ......match name with
- 77 | | Name.Lib lname -> Some lname
- 78 | | _ -> None.
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Target.Name.t.
- File "lib/core/analyze.ml", line 4, characters 0-11:
- 4 | open Helper
- ^^^^^^^^^^^
- Warning 44 [open-shadow-identifier]: this open statement shadows the value identifier log (which is later used)
- File "lib/core/analyze.ml", lines 236-245, characters 14-27:
- 236 | ..............match preds with
- 237 | | [ Meta.Predicate.Toploop ] -> ()
- 238 | | _ ->
- 239 | List.iter
- 240 | (fun reqDep ->
- 241 | log Debug " library %s depends on %s\n" (Libname.to_string dep)
- 242 | (Libname.to_string reqDep);
- 243 | Dag.add_edge (Dependency dep) (Dependency reqDep) depsDag;
- 244 | loop reqDep)
- 245 | reqDeps.
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Meta.Predicate.t.
- File "lib/core/analyze.ml", lines 263-267, characters 8-28:
- 263 | ........match target.target_name with
- 264 | | Name.Lib l ->
- 265 | Dag.add_node (Dependency l) depsDag;
- 266 | Dag.add_edge (Dependency l)
- 267 | | _ -> fun _ _ -> ()
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Target.Name.t.
-
- [ 71 of 105] Intfing Prepare_types
- File "lib/core/prepare_types.mli", line 7, characters 0-10:
- 7 | open Types
- ^^^^^^^^^^
- Warning 33 [unused-open]: unused open Types.
-
- [ 72 of 105] Intfing Configure
- [ 73 of 105] Compiling Prepare_types
- File "lib/core/obuild_validate.ml", line 1:
- Warning 70 [missing-mli]: Cannot find interface file.
- File "lib/core/obuild_validate.ml", line 7, characters 0-17:
- 7 | open Obuild_lexer
- ^^^^^^^^^^^^^^^^^
- Warning 33 [unused-open]: unused open Obuild_lexer.
-
- [ 74 of 105] Compiling Configure
- File "lib/core/prepare_types.ml", line 8, characters 0-11:
- 8 | open Target
- ^^^^^^^^^^^
- Warning 33 [unused-open]: unused open Target.
-
- [ 75 of 105] Compiling Project_read
- File "lib/core/configure.ml", line 4, characters 0-11:
- 4 | open Helper
- ^^^^^^^^^^^
- Warning 44 [open-shadow-identifier]: this open statement shadows the value identifier log (which is later used)
- File "lib/core/configure.ml", line 46, characters 4-15:
- 46 | let sanityCheck ?(needs_c_toolchain=false) () =
- ^^^^^^^^^^^
- Warning 32 [unused-value-declaration]: unused value sanityCheck.
-
- [ 76 of 105] Intfing Ppx_resolver
- [ 77 of 105] Compiling Ppx_resolver
- File "lib/core/ppx_resolver.ml", lines 80-82, characters 8-32:
- 80 | ........match node with
- 81 | | Dependency dep -> Some dep
- 82 | | _ -> None
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Analyze.dependency_tag.
- File "lib/core/ppx_resolver.ml", line 25, characters 0-11:
- 25 | open Helper
- ^^^^^^^^^^^
- Warning 44 [open-shadow-identifier]: this open statement shadows the value identifier log (which is later used)
-
- [ 78 of 105] Intfing Prepare
- File "lib/core/project_read.ml", line 1:
- Warning 70 [missing-mli]: Cannot find interface file.
-
- [ 79 of 105] Compiling Prepare
- File "lib/core/prepare.ml", line 53, characters 0-11:
- 53 | open Helper
- ^^^^^^^^^^^
- Warning 44 [open-shadow-identifier]: this open statement shadows the value identifier log (which is later used)
- File "lib/core/prepare.ml", lines 319-333, characters 10-21:
- 319 | ..........match
- 320 | Filetype.of_filepath fp
- 321 | with
- 322 | | Filetype.FileML -> Some (Modname.of_filename f)
- 323 | | Filetype.FileMLI ->
- ...
- 330 | Some (Modname.of_filename f)
- 331 | else
- 332 | None
- 333 | | _ -> None.
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Filetype.t.
- File "lib/core/prepare.ml", lines 358-360, characters 8-20:
- 358 | ........match Hashtbl.find conf.project_dep_data dep with
- 359 | | Internal -> true
- 360 | | _ -> false.
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Analyze.dep_type.
- File "lib/core/prepare.ml", lines 498-502, characters 8-17:
- 498 | ........match r with
- 499 | | CompileModule _ | CompileDirectory _ | CompileC _ ->
- 500 | Dag.add_edge (LinkTarget target) r stepsDag;
- 501 | Dag.add_edge (CheckTarget target) (LinkTarget target) stepsDag
- 502 | | _ -> ().
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Prepare_types.compile_step.
- File "lib/core/prepare.ml", lines 555-557, characters 8-64:
- 555 | ........match target.target_name with
- 556 | | Target.Name.Lib l -> l
- 557 | | _ -> failwith "cstubs can only be used with libraries"
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Target.Name.t.
- File "lib/core/prepare.ml", lines 759-871, characters 6-17:
- 759 | ......match target.target_name with
- 760 | | Target.Name.Lib lname ->
- 761 | let raw = Libname.to_string lname in
- 762 | let sanitized =
- 763 | (* String.map is OCaml >= 4.00; stay 3.x compatible *)
- ...
- 868 | pd_synthetic = synthetic;
- 869 | }
- 870 | end
- 871 | | _ -> None
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Target.Name.t.
- File "lib/core/prepare.ml", lines 939-941, characters 8-25:
- 939 | ........match target.target_name with
- 940 | | Target.Name.Lib libname -> autogenDir </> fn (Libname.to_string libname)
- 941 | | _ -> autogenDir
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Target.Name.t.
- File "lib/core/prepare.ml", lines 1238-1240, characters 10-19:
- 1238 | ..........match (target.target_cstubs, target.target_name) with
- 1239 | | Some _, Target.Name.Lib libname -> [ autogenDir </> fn (Libname.to_string libname) ]
- 1240 | | _ -> []
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Target.Name.t.
- File "lib/core/prepare.ml", line 57, characters 0-18:
- 57 | open Prepare_types
- ^^^^^^^^^^^^^^^^^^
- Warning 33 [unused-open]: unused open Prepare_types.
-
- [ 80 of 105] Intfing Buildprogs
- [ 81 of 105] Compiling Buildprogs
- File "lib/core/buildprogs.ml", lines 84-89, characters 14-76:
- 84 | ..............function
- 85 | | Filetype.FileML -> ext
- 86 | | Filetype.FileMLI -> Filetype.FileCMI
- 87 | | _ ->
- 88 | (* It should not happen *)
- 89 | if build_mode = 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.
-
- [ 82 of 105] Compiling Build_cstubs
- File "lib/core/build_cstubs.ml", line 4, characters 0-11:
- 4 | open Helper
- ^^^^^^^^^^^
- Warning 44 [open-shadow-identifier]: this open statement shadows the value identifier log (which is later used)
- File "lib/core/build_cstubs.ml", line 80, characters 4-43:
- 80 | Filesystem.mkdir_safe autogen_dir 0o755;
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 10 [non-unit-statement]: this expression should have type unit.
- File "lib/core/build_cstubs.ml", line 291, characters 4-43:
- 291 | Filesystem.mkdir_safe autogen_dir 0o755;
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 10 [non-unit-statement]: this expression should have type unit.
- File "lib/core/build_cstubs.ml", line 1:
- Warning 70 [missing-mli]: Cannot find interface file.
- File "lib/core/build_cstubs.ml", line 1, characters 0-10:
- 1 | open Fugue
- ^^^^^^^^^^
- Warning 33 [unused-open]: unused open Fugue.
- File "lib/core/build_cstubs.ml", line 5, characters 0-11:
- 5 | open Printf
- ^^^^^^^^^^^
- Warning 33 [unused-open]: unused open Stdlib.Printf.
-
- [ 83 of 105] Intfing Build
- [ 84 of 105] Compiling Build
- File "lib/core/build.ml", lines 96-121, characters 4-50:
- 96 | ....match (Filetype.of_filename bdest, srcTy) with
- 97 | | (Filetype.FileCMX | Filetype.FileCMO), (Filetype.FileCMX | Filetype.FileCMO) ->
- 98 | let bml = Filetype.replace_extension bdest Filetype.FileML in
- 99 | let bmli = Filetype.replace_extension bdest Filetype.FileMLI in
- 100 | if bml = bsrc then
- ...
- 118 | "H file " ^ fn_to_string bsrc ^ " changed"
- 119 | else
- 120 | "file changed " ^ fp_to_string changedSrc
- 121 | | _, _ -> 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 "lib/core/build.ml", lines 132-134, characters 6-17:
- 132 | ......match (t, o) with
- 133 | | ByteCode, WithProf -> false
- 134 | | _ -> true.
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Types.ocaml_compiled_type.
- File "lib/core/build.ml", lines 132-134, characters 6-17:
- 132 | ......match (t, o) with
- 133 | | ByteCode, WithProf -> false
- 134 | | _ -> true.
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Types.ocaml_compilation_option.
- File "lib/core/build.ml", line 4, characters 0-11:
- 4 | open Helper
- ^^^^^^^^^^^
- Warning 44 [open-shadow-identifier]: this open statement shadows the value identifier log (which is later used)
- File "lib/core/build.ml", lines 350-357, characters 22-26:
- 350 | ......................(
- 351 | match e with
- 352 | | Hier.FileEntry (_, f) ->
- 353 | if Filetype.of_filepath f = Filetype.FileMLI then
- 354 | Some m
- 355 | else
- 356 | None
- 357 | | _ -> None)
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Hier.file_entry.
- File "lib/core/build.ml", lines 409-411, characters 4-87:
- 409 | ....match List.filter (fun x -> x <> []) l with
- 410 | | [] -> ("", [])
- 411 | | ((r, x) :: xs) :: ys -> (r, (x :: List.map snd xs) :: List.map (List.map snd) ys)
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- []::_
- File "lib/core/build.ml", line 649, characters 10-26:
- 649 | let rec dep_is_satisfied current_pkg =
- ^^^^^^^^^^^^^^^^
- Warning 39 [unused-rec-flag]: unused rec flag.
- File "lib/core/build.ml", lines 688-690, characters 17-29:
- 688 | .................match compileOpt with
- 689 | | WithProf -> Meta.Predicate.Gprof :: preds
- 690 | | _ -> 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 "lib/core/build.ml", lines 712-722, characters 2-58:
- 712 | ..match target.target_name with
- 713 | | Name.Lib libname ->
- 714 | if plugin then
- 715 | cstate.compilation_builddir_ml Normal </> Libname.to_cmxs compileOpt libname
- 716 | else
- ...
- 719 | let outputName =
- 720 | Utils.to_exe_name (Hier.conf cstate.compilation_hier) compileOpt compiledType (Target.get_target_dest_name target)
- 721 | in
- 722 | 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 "lib/core/build.ml", lines 946-952, characters 6-15:
- 946 | ......match (target.target_cstubs, target.target_name) with
- 947 | | Some cstubs, Name.Lib libname ->
- 948 | let autogen_dir = get_cstubs_autogen_dir libname in
- 949 | let c_lib_name = cstubs.cstubs_external_library_name in
- 950 | let c_stubs_file = fn (c_lib_name ^ "_stubs.c") in
- 951 | [ autogen_dir </> o_from_cfile c_stubs_file ]
- 952 | | _ -> []
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Target.Name.t.
- File "lib/core/build.ml", lines 1050-1052, characters 8-44:
- 1050 | ........match task with
- 1051 | | CompileC _ -> raise (CCompilationFailed msg)
- 1052 | | _ -> raise (CompilationFailed msg)...
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Prepare.compile_step.
- File "lib/core/build.ml", lines 1111-1117, characters 10-19:
- 1111 | ..........match step with
- 1112 | | CompileModule h | CompileInterface h | CompileDirectory h -> (
- 1113 | try
- 1114 | let dest = fp_to_string (Hier.get_dest_file cstate.compilation_hier dir Filetype.FileCMI h) in
- 1115 | Hashtbl.replace expected (String.sub dest 0 (String.length dest - 4)) ()
- 1116 | with Not_found -> ())
- 1117 | | _ -> ().
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Prepare.compile_step.
- File "lib/core/build.ml", line 425, characters 29-36:
- 425 | let check_compilation_needed is_intf dep_descs dir_spec use_thread annot_mode pack_opt use_pp oflags
- ^^^^^^^
- Warning 27 [unused-var-strict]: unused variable is_intf.
- File "lib/core/build.ml", line 619, characters 4-10:
- 619 | let link_c cstate clib_name =
- ^^^^^^
- Warning 32 [unused-value-declaration]: unused value link_c.
-
- [ 85 of 105] Intfing Exception
- [ 86 of 105] Compiling Exception
- [ 87 of 105] Linking library dist/build/lib-obuild_core/obuild_core.cmxa
- [ 87 of 105] Linking library dist/build/lib-obuild_core/obuild_core.cmxs
- [ 87 of 105] Linking library dist/build/lib-obuild_core/obuild_core.cma
- [ 88 of 105] Checking dist/build/lib-obuild_core
- [ 89 of 105] Intfing Help
- [ 90 of 105] Intfing Install
- [ 91 of 105] Intfing Doc
- [ 92 of 105] Intfing Init
- [ 93 of 105] Intfing Sdist
- [ 94 of 105] Compiling Help
- [ 95 of 105] Compiling Install
- [ 96 of 105] Compiling Doc
- File "lib/install.ml", lines 22-31, characters 8-20:
- 22 | ........match Filetype.of_filepath (build_dir </> f) with
- 23 | | Filetype.FileCMX
- 24 | | Filetype.FileCMI
- 25 | | Filetype.FileA
- 26 | | Filetype.FileCMXS
- 27 | | Filetype.FileCMXA
- 28 | | Filetype.FileCMA
- 29 | | Filetype.FileCMT
- 30 | | Filetype.FileCMTI -> true
- 31 | | _ -> false.
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Filetype.t.
- File "lib/install.ml", lines 35-37, characters 6-18:
- 35 | ......match Filetype.of_filepath (build_dir </> f) with
- 36 | | Filetype.FileEXE -> true
- 37 | | _ -> false.
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Filetype.t.
- File "lib/install.ml", lines 70-73, characters 10-19:
- 70 | ..........match target.target_name with
- 71 | | Name.Lib l when lib_root l = proj_file.name ->
- 72 | print_target_files target (list_lib_files conf) ""
- 73 | | _ -> ().
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Target.Name.t.
- File "lib/install.ml", lines 79-82, characters 10-19:
- 79 | ..........match target.target_name with
- 80 | | Name.Lib l when lib_root l <> proj_file.name ->
- 81 | print_target_files target (list_lib_files conf) (lib_root l ^ "/")
- 82 | | _ -> ().
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Target.Name.t.
- File "lib/install.ml", lines 88-90, characters 10-19:
- 88 | ..........match target.target_name with
- 89 | | Name.Exe _ -> print_target_files target (list_exe_files conf) ""
- 90 | | _ -> ().
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Target.Name.t.
- File "lib/install.ml", line 7, characters 0-11:
- 7 | open Helper
- ^^^^^^^^^^^
- Warning 44 [open-shadow-identifier]: this open statement shadows the value identifier log (which is later used)
-
- [ 97 of 105] Compiling Init
- File "lib/doc.ml", line 5, characters 4-15:
- 5 | let runOcamldoc pp =
- ^^^^^^^^^^^
- Warning 32 [unused-value-declaration]: unused value runOcamldoc.
-
- [ 98 of 105] Compiling Sdist
- File "lib/sdist.ml", lines 28-30, characters 12-21:
- 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 Filetype.t.
- File "lib/sdist.ml", lines 38-40, characters 8-17:
- 38 | ........match Filetype.of_filepath fpath with
- 39 | | Filetype.FileC | Filetype.FileH -> Filesystem.copy_to_dir fpath dest
- 40 | | _ -> ().
- Warning 4 [fragile-match]: this pattern-matching is fragile.
- It will remain exhaustive when constructors are added to type Filetype.t.
- File "lib/sdist.ml", line 3, characters 0-11:
- 3 | open Helper
- ^^^^^^^^^^^
- Warning 44 [open-shadow-identifier]: this open statement shadows the value identifier log (which is later used)
-
- [ 99 of 105] Linking library dist/build/lib-obuild/obuild.cmxa
- [ 99 of 105] Linking library dist/build/lib-obuild/obuild.cmxs
- [ 99 of 105] Linking library dist/build/lib-obuild/obuild.cma
- [100 of 105] Checking dist/build/lib-obuild
- [101 of 105] Compiling Path_generated
- File "dist/build/autogen/path_generated.ml", line 1:
- Warning 70 [missing-mli]: Cannot find interface file.
-
- [102 of 105] Intfing Main
- [103 of 105] Compiling Main
- File "src/main.ml", line 5, characters 0-11:
- 5 | open Helper
- ^^^^^^^^^^^
- Warning 44 [open-shadow-identifier]: this open statement shadows the value identifier log (which is later used)
- File "src/main.ml", line 163, characters 5-88:
- 163 | |> Cli.option_strings "flag" ~doc:"Enable or disable a project flag (can be repeated)"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env, ?placeholder
- File "src/main.ml", line 164, characters 5-76:
- 164 | |> Cli.option_bool "library-bytecode" ~doc:"Compile libraries as bytecode"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env, ?default, ?placeholder
- File "src/main.ml", line 165, characters 5-72:
- 165 | |> Cli.option_bool "library-native" ~doc:"Compile libraries as native"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env, ?default, ?placeholder
- File "src/main.ml", line 166, characters 5-79:
- 166 | |> Cli.option_bool "library-plugin" ~doc:"Compile libraries as native plugin"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env, ?default, ?placeholder
- File "src/main.ml", line 167, characters 5-81:
- 167 | |> Cli.option_bool "executable-bytecode" ~doc:"Compile executables as bytecode"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env, ?default, ?placeholder
- File "src/main.ml", line 168, characters 5-77:
- 168 | |> Cli.option_bool "executable-native" ~doc:"Compile executables as native"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env, ?default, ?placeholder
- File "src/main.ml", line 169, characters 5-72:
- 169 | |> Cli.option_bool "library-profiling" ~doc:"Enable library profiling"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env, ?default, ?placeholder
- File "src/main.ml", line 170, characters 5-72:
- 170 | |> Cli.option_bool "library-debugging" ~doc:"Enable library debugging"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env, ?default, ?placeholder
- File "src/main.ml", line 171, characters 5-78:
- 171 | |> Cli.option_bool "executable-profiling" ~doc:"Enable executable profiling"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env, ?default, ?placeholder
- File "src/main.ml", line 172, characters 5-78:
- 172 | |> Cli.option_bool "executable-debugging" ~doc:"Enable executable debugging"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env, ?default, ?placeholder
- File "src/main.ml", line 173, characters 5-59:
- 173 | |> Cli.option_bool "build-examples" ~doc:"Build examples"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env, ?default, ?placeholder
- File "src/main.ml", line 174, characters 5-59:
- 174 | |> Cli.option_bool "build-benchs" ~doc:"Build benchmarks"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env, ?default, ?placeholder
- File "src/main.ml", line 175, characters 5-53:
- 175 | |> Cli.option_bool "build-tests" ~doc:"Build tests"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env, ?default, ?placeholder
- File "src/main.ml", line 176, characters 5-70:
- 176 | |> Cli.flag "executable-as-obj" ~doc:"Output executable as obj file"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env
- File "src/main.ml", line 177, characters 5-50:
- 177 | |> Cli.flag "annot" ~doc:"Generate .annot files"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env
- File "src/main.ml", line 178, characters 5-62:
- 178 | |> Cli.flag "g" ~short:'g' ~doc:"Compilation with debugging"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional argument ?env
- File "src/main.ml", line 179, characters 5-52:
- 179 | |> Cli.flag "pg" ~doc:"Compilation with profiling"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env
- File "src/main.ml", lines 219-220, characters 5-48:
- 219 | .....Cli.option_int "jobs" ~short:'j' ~placeholder:"N" ~default:2
- 220 | ~doc:"Maximum number of jobs in parallel"
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional argument ?env
- File "src/main.ml", line 221, characters 5-67:
- 221 | |> Cli.flag "dot" ~doc:"Dump dependencies dot files during build"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env
- File "src/main.ml", line 222, characters 5-77:
- 222 | |> Cli.flag "noocamlmklib" ~doc:"Do not use ocamlmklib when linking C code"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env
- File "src/main.ml", line 252, characters 26-84:
- 252 | cmd |> Cli.help_flag |> Cli.flag "snapshot" ~doc:"Build a snapshot of the project"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env
- File "src/main.ml", line 291, characters 5-106:
- 291 | |> Cli.option_string "destdir" ~placeholder:"DIR" ~doc:"Override destination where to install libraries"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env, ?default
- File "src/main.ml", line 292, characters 5-133:
- 292 | |> Cli.option_string "bindir" ~placeholder:"DIR" ~doc:"Override destination where to install executables (default: destdir/../bin)"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env, ?default
- File "src/main.ml", line 293, characters 5-66:
- 293 | |> Cli.flag "opam" ~doc:"Only create the .install file for opam"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env
- File "src/main.ml", line 434, characters 26-68:
- 434 | cmd |> Cli.help_flag |> Cli.flag "output" ~doc:"Show test outputs"
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Warning 48 [eliminated-optional-arguments]: implicit elimination of optional arguments ?short, ?env
- File "src/main.ml", line 7, characters 0-8:
- 7 | open Cli
- ^^^^^^^^
- Warning 33 [unused-open]: unused open Cli.
- File "src/main.ml", line 552, characters 16-19:
- 552 | ~run:(fun ctx ->
- ^^^
- Warning 27 [unused-var-strict]: unused variable ctx.
- File "src/main.ml", line 566, characters 16-19:
- 566 | ~run:(fun ctx ->
- ^^^
- Warning 27 [unused-var-strict]: unused variable ctx.
-
- [104 of 105] Linking executable dist/build/obuild/obuild
- [105 of 105] Checking dist/build/obuild
-> compiled obuild.0.3.0
-> installed obuild.0.3.0
=== STDERR ===
2026-09-03 17:13.47: OK: build obuild.0.3.0 (runc: 11.6s, disk: 79KB)
2026-09-03 17:13.47: Job succeeded