Building on x86-bm-c16.sw.ocaml.org (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam Digest: sha256:730ba1f0177ca25fd2003dcf99bd6c4e2bc2f1957c5aebd8d47e1bd69cf161a0 Status: Downloaded newer image for ocaml/opam:debian-unstable 2024-11-09 15:15.17 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (env CI true) /: (env OPAM_HEALTH_CHECK_CI true) /: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2024-11-09 15:15.17 ---> using "40df4fa4cdfc68a5fa7a326047e82a7adc5df52b8059d4a7b745bdd50aad56e7" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q eecf6d033c6c13a6bda9b445601ddcbaa09dd288")) 2024-11-09 15:15.17 ---> using "659878f189cdb906ec3e452fdc4f26cfb0c3654f53f43b380cf690e70b2f5ac6" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository")) Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults. Checking for available remotes: rsync and local, git. - you won't be able to use mercurial repositories unless you install the hg command on your system. - you won't be able to use darcs repositories unless you install the darcs command on your system. <><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><> [default] Initialised User configuration: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2024-11-09 15:15.17 ---> using "b22293df705e6cba3afecfd99e3970445bf105f18df9a7b31bf5584e65710795" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.11' '4.11.2'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.11.2"} | "ocaml-system" {= "4.11.2"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.1 (cached) -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-base-compiler.4.11.2 (https://github.com/ocaml/ocaml/archive/4.11.2.tar.gz) -> installed ocaml-base-compiler.4.11.2 -> installed ocaml-config.1 -> installed ocaml.4.11.2 Done. # To update the current shell environment, run: eval $(opam env --switch=4.11) 2024-11-09 15:15.17 ---> using "d6babd118b512ac5d42fbb80b59572bd6d6721061fa9843bb4ffecaa66049b26" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [202 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-11-09-0804.37-F-2024-11-04-2012.18.pdiff [276 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-11-09-0804.37-F-2024-11-04-2012.18.pdiff [276 kB] - Fetched 542 kB in 2s (239 kB/s) - Reading package lists... - 2024-11-09 15:15.17 ---> using "b84095aa2ee7525f2beaa5fa8b01dfe584bde1055e6b468141ab9dca2f7073f4" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"camlidl.1.05\"\ \nopam install -vy \"camlidl.1.05\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"camlidl.1.05\" | grep -q '\"debian-unstable\"'; then\ \n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\ \n exit 69\ \n fi\ \nfi\ \n\ \n\ \nexit $res\ \n")) [NOTE] camlidl.1.05 is not installed. Nothing to do. The following actions will be performed: === install 1 package - install camlidl 1.05 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/3: [camlidl.1.05: http] Processing 1/3: [camlidl.1.05: extract] Processing 1/3: [camlidl.1.05/META: dl] Processing 1/3: [camlidl.1.05/build-dll.diff: dl] Processing 1/3: [camlidl.1.05/camlidl.install: dl] Processing 1/3: [camlidl.1.05/cpp-location.diff: dl] Processing 1/3: [camlidl.1.05/disable-fatal-warn-31.diff: dl] -> retrieved camlidl.1.05 (https://github.com/ocaml/opam-source-archives/raw/main/camlidl.1.05.tar.gz) [camlidl: patch] applying cpp-location.diff Processing 2/3: [camlidl: patch] [camlidl: patch] applying disable-fatal-warn-31.diff [camlidl: patch] applying build-dll.diff Processing 2/3: [camlidl: mv] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "mv" "config/Makefile.unix" "config/Makefile" (CWD=/home/opam/.opam/4.11/.opam-switch/build/camlidl.1.05) Processing 2/3: [camlidl: make all] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/4.11/.opam-switch/build/camlidl.1.05) - cd compiler; make all - make[1]: Entering directory '/home/opam/.opam/4.11/.opam-switch/build/camlidl.1.05/compiler' - rm -f config.ml - sed -e 's|%%CPP%%|cpp|' \ - config.mlp > config.ml - chmod -w config.ml - ocamlc -g -warn-error -31 -c config.mli - ocamlc -g -warn-error -31 -c config.ml - ocamlc -g -warn-error -31 -c utils.mli - ocamlc -g -warn-error -31 -c utils.ml - File "utils.ml", line 51, characters 15-28: - 51 | let buffer = String.create 256 in - ^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.create - Use Bytes.create instead. - ocamlc -g -warn-error -31 -c clflags.ml - ocamlc -g -warn-error -31 -c idltypes.mli - ocamlc -g -warn-error -31 -c prefix.mli - ocamlc -g -warn-error -31 -c prefix.ml - ocamlc -g -warn-error -31 -c lexpr.mli - ocamlc -g -warn-error -31 -c lexpr.ml - File "lexpr.ml", line 268, characters 10-16: - 268 | let trail' = - ^^^^^^ - Warning 26: unused variable trail'. - ocamlc -g -warn-error -31 -c cvttyp.mli - ocamlc -g -warn-error -31 -c cvttyp.ml - File "cvttyp.ml", line 126, characters 49-66: - 126 | if modl <> !module_name then fprintf oc "%s." (String.capitalize modl); - ^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.capitalize - Use String.capitalize_ascii instead. - File "cvttyp.ml", line 127, characters 20-39: - 127 | output_string oc (String.uncapitalize name) - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.uncapitalize - Use String.uncapitalize_ascii instead. - File "cvttyp.ml", line 132, characters 49-66: - 132 | if modl <> !module_name then fprintf oc "%s." (String.capitalize modl); - ^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.capitalize - Use String.capitalize_ascii instead. - File "cvttyp.ml", line 135, characters 25-44: - 135 | else output_string oc (String.uncapitalize name) - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.uncapitalize - Use String.uncapitalize_ascii instead. - ocamlc -g -warn-error -31 -c variables.mli - ocamlc -g -warn-error -31 -c variables.ml - ocamlc -g -warn-error -31 -c array.mli - ocamlc -g -warn-error -31 -c array.ml - ocamlc -g -warn-error -31 -c struct.mli - ocamlc -g -warn-error -31 -c struct.ml - ocamlc -g -warn-error -31 -c enum.mli - ocamlc -g -warn-error -31 -c enum.ml - ocamlc -g -warn-error -31 -c union.mli - ocamlc -g -warn-error -31 -c union.ml - ocamlc -g -warn-error -31 -c cvtval.mli - ocamlc -g -warn-error -31 -c cvtval.ml - ocamlc -g -warn-error -31 -c structdecl.mli - ocamlc -g -warn-error -31 -c structdecl.ml - File "structdecl.ml", line 30, characters 27-46: - 30 | else fprintf oc "%s = " (String.uncapitalize sd.sd_name); - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.uncapitalize - Use String.uncapitalize_ascii instead. - File "structdecl.ml", line 39, characters 19-38: - 39 | (String.uncapitalize f.field_mlname) - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.uncapitalize - Use String.uncapitalize_ascii instead. - ocamlc -g -warn-error -31 -c enumdecl.mli - ocamlc -g -warn-error -31 -c enumdecl.ml - File "enumdecl.ml", line 30, characters 28-47: - 30 | else fprintf oc "%s =\n" (String.uncapitalize en.en_name); - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.uncapitalize - Use String.uncapitalize_ascii instead. - File "enumdecl.ml", line 32, characters 37-54: - 32 | (fun c -> fprintf oc " | %s\n" (String.capitalize c.const_name)) - ^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.capitalize - Use String.capitalize_ascii instead. - ocamlc -g -warn-error -31 -c uniondecl.mli - ocamlc -g -warn-error -31 -c uniondecl.ml - File "uniondecl.ml", line 30, characters 28-47: - 30 | else fprintf oc "%s =\n" (String.uncapitalize ud.ud_name); - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.uncapitalize - Use String.uncapitalize_ascii instead. - File "uniondecl.ml", line 37, characters 24-41: - 37 | output_string oc (String.capitalize c) in - ^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.capitalize - Use String.capitalize_ascii instead. - ocamlc -g -warn-error -31 -c typedef.mli - ocamlc -g -warn-error -31 -c typedef.ml - File "typedef.ml", line 48, characters 30-49: - 48 | fprintf oc "%s = %s\n" (String.uncapitalize td.td_name) s - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.uncapitalize - Use String.uncapitalize_ascii instead. - File "typedef.ml", line 50, characters 25-44: - 50 | fprintf oc "%s\n" (String.uncapitalize td.td_name) - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.uncapitalize - Use String.uncapitalize_ascii instead. - File "typedef.ml", line 53, characters 15-34: - 53 | (String.uncapitalize td.td_name) out_ml_type td.td_type - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.uncapitalize - Use String.uncapitalize_ascii instead. - ocamlc -g -warn-error -31 -c funct.mli - ocamlc -g -warn-error -31 -c funct.ml - File "funct.ml", line 104, characters 31-50: - 104 | fprintf oc "external %s : " (String.uncapitalize (mlname fundecl)); - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.uncapitalize - Use String.uncapitalize_ascii instead. - ocamlc -g -warn-error -31 -c constdecl.mli - ocamlc -g -warn-error -31 -c constdecl.ml - File "constdecl.ml", line 34, characters 26-45: - 34 | fprintf oc "val %s : " (String.uncapitalize c.cd_name); - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.uncapitalize - Use String.uncapitalize_ascii instead. - File "constdecl.ml", line 54, characters 13-32: - 54 | let name = String.uncapitalize c.cd_name in - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.uncapitalize - Use String.uncapitalize_ascii instead. - File "constdecl.ml", line 36, characters 4-24: - 36 | Type_int(_, _) as ty -> - ^^^^^^^^^^^^^^^^^^^^ - Warning 26: unused variable ty. - ocamlc -g -warn-error -31 -c intf.mli - ocamlc -g -warn-error -31 -c intf.ml - File "intf.ml", line 46, characters 21-40: - 46 | fprintf oc "%s\n" (String.uncapitalize intf.intf_name) - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.uncapitalize - Use String.uncapitalize_ascii instead. - File "intf.ml", line 51, characters 15-34: - 51 | let mlintf = String.uncapitalize intf.intf_name in - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.uncapitalize - Use String.uncapitalize_ascii instead. - File "intf.ml", line 52, characters 16-35: - 52 | let mlsuper = String.uncapitalize intf.intf_super.intf_name in - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.uncapitalize - Use String.uncapitalize_ascii instead. - File "intf.ml", line 62, characters 18-37: - 62 | (String.uncapitalize meth.fun_name) out_method_type meth) - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.uncapitalize - Use String.uncapitalize_ascii instead. - File "intf.ml", line 162, characters 17-36: - 162 | let intfname = String.uncapitalize intf.intf_name in - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.uncapitalize - Use String.uncapitalize_ascii instead. - File "intf.ml", line 163, characters 18-37: - 163 | let supername = String.uncapitalize intf.intf_super.intf_name in - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.uncapitalize - Use String.uncapitalize_ascii instead. - File "intf.ml", line 199, characters 21-40: - 199 | let methname = String.uncapitalize meth.fun_name in - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.uncapitalize - Use String.uncapitalize_ascii instead. - File "intf.ml", line 260, characters 31-50: - 260 | (Oo.public_method_label (String.uncapitalize meth.fun_name)) : int) in - ^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.uncapitalize - Use String.uncapitalize_ascii instead. - File "intf.ml", line 312, characters 7-10: - 312 | let (ins, outs) = ml_view meth in - ^^^ - Warning 26: unused variable ins. - File "intf.ml", line 312, characters 12-16: - 312 | let (ins, outs) = ml_view meth in - ^^^^ - Warning 26: unused variable outs. - ocamlc -g -warn-error -31 -c file.mli - ocamlc -g -warn-error -31 -c file.ml - File "file.ml", line 216, characters 31-47: - 216 | let symbname = "_CAMLIDL_" ^ String.uppercase !module_name ^ "_H" in - ^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.uppercase - Use String.uppercase_ascii instead. - ocamlc -g -warn-error -31 -c predef.mli - ocamlc -g -warn-error -31 -c predef.ml - ocamllex linenum.mll - 16 states, 331 transitions, table size 1420 bytes - ocamlc -g -warn-error -31 -c linenum.mli - ocamlc -g -warn-error -31 -c linenum.ml - ocamlc -g -warn-error -31 -c parse_aux.mli - ocamlc -g -warn-error -31 -c parse_aux.ml - File "parse_aux.ml", line 167, characters 23-54: - 167 | Type_union(name, {attr with discriminant = rexp}) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 23: all the fields are explicitly listed in this record: - the 'with' clause is useless. - File "parse_aux.ml", line 169, characters 42-74: - 169 | Type_pointer(attr, Type_union(name, {attr' with discriminant = rexp})) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 23: all the fields are explicitly listed in this record: - the 'with' clause is useless. - File "parse_aux.ml", line 171, characters 22-47: - 171 | Type_enum(name, {attr with bitset = true}) - ^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 23: all the fields are explicitly listed in this record: - the 'with' clause is useless. - File "parse_aux.ml", line 230, characters 10-26: - 230 | match String.lowercase label with - ^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.lowercase - Use String.lowercase_ascii instead. - File "parse_aux.ml", line 459, characters 10-26: - 459 | match String.lowercase id with - ^^^^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.lowercase - Use String.lowercase_ascii instead. - ocamlyacc -v parser_midl.mly - 12 shift/reduce conflicts. - ocamlc -g -warn-error -31 -c parser_midl.mli - ocamlc -g -warn-error -31 -c parser_midl.ml - ocamllex lexer_midl.mll - 129 states, 1747 transitions, table size 7762 bytes - ocamlc -g -warn-error -31 -c lexer_midl.mli - ocamlc -g -warn-error -31 -c lexer_midl.ml - ocamlc -g -warn-error -31 -c parse.mli - ocamlc -g -warn-error -31 -c parse.ml - ocamlc -g -warn-error -31 -c fixlabels.mli - ocamlc -g -warn-error -31 -c fixlabels.ml - ocamlc -g -warn-error -31 -c normalize.mli - ocamlc -g -warn-error -31 -c normalize.ml - ocamlc -g -warn-error -31 -c main.ml - ocamlc -g -warn-error -31 -o camlidl config.cmo utils.cmo clflags.cmo prefix.cmo lexpr.cmo cvttyp.cmo variables.cmo array.cmo struct.cmo enum.cmo union.cmo cvtval.cmo structdecl.cmo enumdecl.cmo uniondecl.cmo typedef.cmo funct.cmo constdecl.cmo intf.cmo file.cmo predef.cmo linenum.cmo parse_aux.cmo parser_midl.cmo lexer_midl.cmo parse.cmo fixlabels.cmo normalize.cmo main.cmo - make[1]: Leaving directory '/home/opam/.opam/4.11/.opam-switch/build/camlidl.1.05/compiler' - cd runtime; make all - make[1]: Entering directory '/home/opam/.opam/4.11/.opam-switch/build/camlidl.1.05/runtime' - ocamlc -g -warn-error -31 -ccopt "-Wall -g" idlalloc.c - ocamlc -g -warn-error -31 -ccopt "-Wall -g" comintf.c - ocamlc -g -warn-error -31 -ccopt "-Wall -g" comerror.c - comerror.c: In function 'camlidl_raise_error': - comerror.c:34:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 34 | com_error_exn = caml_named_value("Com.Error"); - | ^ - comerror.c: In function 'camlidl_error': - comerror.c:52:8: warning: unused variable 'msg' [-Wunused-variable] - 52 | char msg[1024]; - | ^~~ - In file included from /home/opam/.opam/4.11/lib/ocaml/caml/mlvalues.h:20, - from comerror.c:20: - comerror.c: In function 'camlidl_uncaught_exception': - /home/opam/.opam/4.11/lib/ocaml/caml/compatibility.h:255:31: error: implicit declaration of function 'caml_format_exception'; did you mean 'camlidl_result_exception'? [-Wimplicit-function-declaration] - 255 | #define format_caml_exception caml_format_exception /*SP*/ - | ^~~~~~~~~~~~~~~~~~~~~ - comerror.c:171:16: note: in expansion of macro 'format_caml_exception' - 171 | char * msg = format_caml_exception(exn_bucket); - | ^~~~~~~~~~~~~~~~~~~~~ - /home/opam/.opam/4.11/lib/ocaml/caml/compatibility.h:255:31: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] - 255 | #define format_caml_exception caml_format_exception /*SP*/ - | ^~~~~~~~~~~~~~~~~~~~~ - comerror.c:171:16: note: in expansion of macro 'format_caml_exception' - 171 | char * msg = format_caml_exception(exn_bucket); - | ^~~~~~~~~~~~~~~~~~~~~ - make[1]: *** [Makefile.unix:40: comerror.o] Error 2 - make[1]: Leaving directory '/home/opam/.opam/4.11/.opam-switch/build/camlidl.1.05/runtime' - make: *** [Makefile:19: all] Error 2 [ERROR] The compilation of camlidl.1.05 failed at "make all". #=== ERROR while compiling camlidl.1.05 =======================================# # context 2.4.0~alpha1~dev | linux/x86_64 | ocaml-base-compiler.4.11.2 | file:///home/opam/opam-repository # path ~/.opam/4.11/.opam-switch/build/camlidl.1.05 # command ~/.opam/opam-init/hooks/sandbox.sh build make all # exit-code 2 # env-file ~/.opam/log/camlidl-8-202c79.env # output-file ~/.opam/log/camlidl-8-202c79.out ### output ### # cd compiler; make all # make[1]: Entering directory '/home/opam/.opam/4.11/.opam-switch/build/camlidl.1.05/compiler' # rm -f config.ml # sed -e 's|%%CPP%%|cpp|' \ # config.mlp > config.ml # chmod -w config.ml # ocamlc -g -warn-error -31 -c config.mli # ocamlc -g -warn-error -31 -c config.ml # ocamlc -g -warn-error -31 -c utils.mli # ocamlc -g -warn-error -31 -c utils.ml # File "utils.ml", line 51, characters 15-28: # 51 | let buffer = String.create 256 in # ^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.create # Use Bytes.create instead. # ocamlc -g -warn-error -31 -c clflags.ml # ocamlc -g -warn-error -31 -c idltypes.mli # ocamlc -g -warn-error -31 -c prefix.mli # ocamlc -g -warn-error -31 -c prefix.ml # ocamlc -g -warn-error -31 -c lexpr.mli # ocamlc -g -warn-error -31 -c lexpr.ml # File "lexpr.ml", line 268, characters 10-16: # 268 | let trail' = # ^^^^^^ # Warning 26: unused variable trail'. # ocamlc -g -warn-error -31 -c cvttyp.mli # ocamlc -g -warn-error -31 -c cvttyp.ml # File "cvttyp.ml", line 126, characters 49-66: # 126 | if modl <> !module_name then fprintf oc "%s." (String.capitalize modl); # ^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.capitalize # Use String.capitalize_ascii instead. # File "cvttyp.ml", line 127, characters 20-39: # 127 | output_string oc (String.uncapitalize name) # ^^^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.uncapitalize # Use String.uncapitalize_ascii instead. # File "cvttyp.ml", line 132, characters 49-66: # 132 | if modl <> !module_name then fprintf oc "%s." (String.capitalize modl); # ^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.capitalize # Use String.capitalize_ascii instead. # File "cvttyp.ml", line 135, characters 25-44: # 135 | else output_string oc (String.uncapitalize name) # ^^^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.uncapitalize # Use String.uncapitalize_ascii instead. # ocamlc -g -warn-error -31 -c variables.mli # ocamlc -g -warn-error -31 -c variables.ml # ocamlc -g -warn-error -31 -c array.mli # ocamlc -g -warn-error -31 -c array.ml # ocamlc -g -warn-error -31 -c struct.mli # ocamlc -g -warn-error -31 -c struct.ml # ocamlc -g -warn-error -31 -c enum.mli # ocamlc -g -warn-error -31 -c enum.ml # ocamlc -g -warn-error -31 -c union.mli # ocamlc -g -warn-error -31 -c union.ml # ocamlc -g -warn-error -31 -c cvtval.mli # ocamlc -g -warn-error -31 -c cvtval.ml # ocamlc -g -warn-error -31 -c structdecl.mli # ocamlc -g -warn-error -31 -c structdecl.ml # File "structdecl.ml", line 30, characters 27-46: # 30 | else fprintf oc "%s = " (String.uncapitalize sd.sd_name); # ^^^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.uncapitalize # Use String.uncapitalize_ascii instead. # File "structdecl.ml", line 39, characters 19-38: # 39 | (String.uncapitalize f.field_mlname) # ^^^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.uncapitalize # Use String.uncapitalize_ascii instead. # ocamlc -g -warn-error -31 -c enumdecl.mli # ocamlc -g -warn-error -31 -c enumdecl.ml # File "enumdecl.ml", line 30, characters 28-47: # 30 | else fprintf oc "%s =\n" (String.uncapitalize en.en_name); # ^^^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.uncapitalize # Use String.uncapitalize_ascii instead. # File "enumdecl.ml", line 32, characters 37-54: # 32 | (fun c -> fprintf oc " | %s\n" (String.capitalize c.const_name)) # ^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.capitalize # Use String.capitalize_ascii instead. # ocamlc -g -warn-error -31 -c uniondecl.mli # ocamlc -g -warn-error -31 -c uniondecl.ml # File "uniondecl.ml", line 30, characters 28-47: # 30 | else fprintf oc "%s =\n" (String.uncapitalize ud.ud_name); # ^^^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.uncapitalize # Use String.uncapitalize_ascii instead. # File "uniondecl.ml", line 37, characters 24-41: # 37 | output_string oc (String.capitalize c) in # ^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.capitalize # Use String.capitalize_ascii instead. # ocamlc -g -warn-error -31 -c typedef.mli # ocamlc -g -warn-error -31 -c typedef.ml # File "typedef.ml", line 48, characters 30-49: # 48 | fprintf oc "%s = %s\n" (String.uncapitalize td.td_name) s # ^^^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.uncapitalize # Use String.uncapitalize_ascii instead. # File "typedef.ml", line 50, characters 25-44: # 50 | fprintf oc "%s\n" (String.uncapitalize td.td_name) # ^^^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.uncapitalize # Use String.uncapitalize_ascii instead. # File "typedef.ml", line 53, characters 15-34: # 53 | (String.uncapitalize td.td_name) out_ml_type td.td_type # ^^^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.uncapitalize # Use String.uncapitalize_ascii instead. # ocamlc -g -warn-error -31 -c funct.mli # ocamlc -g -warn-error -31 -c funct.ml # File "funct.ml", line 104, characters 31-50: # 104 | fprintf oc "external %s : " (String.uncapitalize (mlname fundecl)); # ^^^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.uncapitalize # Use String.uncapitalize_ascii instead. # ocamlc -g -warn-error -31 -c constdecl.mli # ocamlc -g -warn-error -31 -c constdecl.ml # File "constdecl.ml", line 34, characters 26-45: # 34 | fprintf oc "val %s : " (String.uncapitalize c.cd_name); # ^^^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.uncapitalize # Use String.uncapitalize_ascii instead. # File "constdecl.ml", line 54, characters 13-32: # 54 | let name = String.uncapitalize c.cd_name in # ^^^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.uncapitalize # Use String.uncapitalize_ascii instead. # File "constdecl.ml", line 36, characters 4-24: # 36 | Type_int(_, _) as ty -> # ^^^^^^^^^^^^^^^^^^^^ # Warning 26: unused variable ty. # ocamlc -g -warn-error -31 -c intf.mli # ocamlc -g -warn-error -31 -c intf.ml # File "intf.ml", line 46, characters 21-40: # 46 | fprintf oc "%s\n" (String.uncapitalize intf.intf_name) # ^^^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.uncapitalize # Use String.uncapitalize_ascii instead. # File "intf.ml", line 51, characters 15-34: # 51 | let mlintf = String.uncapitalize intf.intf_name in # ^^^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.uncapitalize # Use String.uncapitalize_ascii instead. # File "intf.ml", line 52, characters 16-35: # 52 | let mlsuper = String.uncapitalize intf.intf_super.intf_name in # ^^^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.uncapitalize # Use String.uncapitalize_ascii instead. # File "intf.ml", line 62, characters 18-37: # 62 | (String.uncapitalize meth.fun_name) out_method_type meth) # ^^^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.uncapitalize # Use String.uncapitalize_ascii instead. # File "intf.ml", line 162, characters 17-36: # 162 | let intfname = String.uncapitalize intf.intf_name in # ^^^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.uncapitalize # Use String.uncapitalize_ascii instead. # File "intf.ml", line 163, characters 18-37: # 163 | let supername = String.uncapitalize intf.intf_super.intf_name in # ^^^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.uncapitalize # Use String.uncapitalize_ascii instead. # File "intf.ml", line 199, characters 21-40: # 199 | let methname = String.uncapitalize meth.fun_name in # ^^^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.uncapitalize # Use String.uncapitalize_ascii instead. # File "intf.ml", line 260, characters 31-50: # 260 | (Oo.public_method_label (String.uncapitalize meth.fun_name)) : int) in # ^^^^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.uncapitalize # Use String.uncapitalize_ascii instead. # File "intf.ml", line 312, characters 7-10: # 312 | let (ins, outs) = ml_view meth in # ^^^ # Warning 26: unused variable ins. # File "intf.ml", line 312, characters 12-16: # 312 | let (ins, outs) = ml_view meth in # ^^^^ # Warning 26: unused variable outs. # ocamlc -g -warn-error -31 -c file.mli # ocamlc -g -warn-error -31 -c file.ml # File "file.ml", line 216, characters 31-47: # 216 | let symbname = "_CAMLIDL_" ^ String.uppercase !module_name ^ "_H" in # ^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.uppercase # Use String.uppercase_ascii instead. # ocamlc -g -warn-error -31 -c predef.mli # ocamlc -g -warn-error -31 -c predef.ml # ocamllex linenum.mll # 16 states, 331 transitions, table size 1420 bytes # ocamlc -g -warn-error -31 -c linenum.mli # ocamlc -g -warn-error -31 -c linenum.ml # ocamlc -g -warn-error -31 -c parse_aux.mli # ocamlc -g -warn-error -31 -c parse_aux.ml # File "parse_aux.ml", line 167, characters 23-54: # 167 | Type_union(name, {attr with discriminant = rexp}) # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # Warning 23: all the fields are explicitly listed in this record: # the 'with' clause is useless. # File "parse_aux.ml", line 169, characters 42-74: # 169 | Type_pointer(attr, Type_union(name, {attr' with discriminant = rexp})) # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # Warning 23: all the fields are explicitly listed in this record: # the 'with' clause is useless. # File "parse_aux.ml", line 171, characters 22-47: # 171 | Type_enum(name, {attr with bitset = true}) # ^^^^^^^^^^^^^^^^^^^^^^^^^ # Warning 23: all the fields are explicitly listed in this record: # the 'with' clause is useless. # File "parse_aux.ml", line 230, characters 10-26: # 230 | match String.lowercase label with # ^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.lowercase # Use String.lowercase_ascii instead. # File "parse_aux.ml", line 459, characters 10-26: # 459 | match String.lowercase id with # ^^^^^^^^^^^^^^^^ # Alert deprecated: Stdlib.String.lowercase # Use String.lowercase_ascii instead. # ocamlyacc -v parser_midl.mly # 12 shift/reduce conflicts. # ocamlc -g -warn-error -31 -c parser_midl.mli # ocamlc -g -warn-error -31 -c parser_midl.ml # ocamllex lexer_midl.mll # 129 states, 1747 transitions, table size 7762 bytes # ocamlc -g -warn-error -31 -c lexer_midl.mli # ocamlc -g -warn-error -31 -c lexer_midl.ml # ocamlc -g -warn-error -31 -c parse.mli # ocamlc -g -warn-error -31 -c parse.ml # ocamlc -g -warn-error -31 -c fixlabels.mli # ocamlc -g -warn-error -31 -c fixlabels.ml # ocamlc -g -warn-error -31 -c normalize.mli # ocamlc -g -warn-error -31 -c normalize.ml # ocamlc -g -warn-error -31 -c main.ml # ocamlc -g -warn-error -31 -o camlidl config.cmo utils.cmo clflags.cmo prefix.cmo lexpr.cmo cvttyp.cmo variables.cmo array.cmo struct.cmo enum.cmo union.cmo cvtval.cmo structdecl.cmo enumdecl.cmo uniondecl.cmo typedef.cmo funct.cmo constdecl.cmo intf.cmo file.cmo predef.cmo linenum.cmo parse_aux.cmo parser_midl.cmo lexer_midl.cmo parse.cmo fixlabels.cmo normalize.cmo main.cmo # make[1]: Leaving directory '/home/opam/.opam/4.11/.opam-switch/build/camlidl.1.05/compiler' # cd runtime; make all # make[1]: Entering directory '/home/opam/.opam/4.11/.opam-switch/build/camlidl.1.05/runtime' # ocamlc -g -warn-error -31 -ccopt "-Wall -g" idlalloc.c # ocamlc -g -warn-error -31 -ccopt "-Wall -g" comintf.c # ocamlc -g -warn-error -31 -ccopt "-Wall -g" comerror.c # comerror.c: In function 'camlidl_raise_error': # comerror.c:34:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] # 34 | com_error_exn = caml_named_value("Com.Error"); # | ^ # comerror.c: In function 'camlidl_error': # comerror.c:52:8: warning: unused variable 'msg' [-Wunused-variable] # 52 | char msg[1024]; # | ^~~ # In file included from /home/opam/.opam/4.11/lib/ocaml/caml/mlvalues.h:20, # from comerror.c:20: # comerror.c: In function 'camlidl_uncaught_exception': # /home/opam/.opam/4.11/lib/ocaml/caml/compatibility.h:255:31: error: implicit declaration of function 'caml_format_exception'; did you mean 'camlidl_result_exception'? [-Wimplicit-function-declaration] # 255 | #define format_caml_exception caml_format_exception /*SP*/ # | ^~~~~~~~~~~~~~~~~~~~~ # comerror.c:171:16: note: in expansion of macro 'format_caml_exception' # 171 | char * msg = format_caml_exception(exn_bucket); # | ^~~~~~~~~~~~~~~~~~~~~ # /home/opam/.opam/4.11/lib/ocaml/caml/compatibility.h:255:31: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] # 255 | #define format_caml_exception caml_format_exception /*SP*/ # | ^~~~~~~~~~~~~~~~~~~~~ # comerror.c:171:16: note: in expansion of macro 'format_caml_exception' # 171 | char * msg = format_caml_exception(exn_bucket); # | ^~~~~~~~~~~~~~~~~~~~~ # make[1]: *** [Makefile.unix:40: comerror.o] Error 2 # make[1]: Leaving directory '/home/opam/.opam/4.11/.opam-switch/build/camlidl.1.05/runtime' # make: *** [Makefile:19: all] Error 2 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build camlidl 1.05 +- - No changes have been performed # To update the current shell environment, run: eval $(opam env) 'opam install -vy camlidl.1.05' failed. "/usr/bin/env" "bash" "-c" " opam remove -y "camlidl.1.05" opam install -vy "camlidl.1.05" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "camlidl.1.05" | grep -q '"debian-unstable"'; then echo "This package failed and has been disabled for CI using the 'x-ci-accept-failures' field." exit 69 fi fi exit $res " failed with exit status 31 Failed: Build failed