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


Building on x86-bm-c18.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:a708df2d96414c61dc47c9f06e6c2d22e9a6350ad772417bd0e7a3550e440e73
Status: Downloaded newer image for ocaml/opam:debian-unstable
2024-08-04 19:34.47 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache

/: (user (uid 1000) (gid 1000))

/: (env OPAMPRECISETRACKING 1)

/: (env OPAMUTF8 never)

/: (env OPAMEXTERNALSOLVER builtin-0install)

/: (env OPAMCRITERIA +removed)

/: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-08-04 19:34.47 ---> using "65c3237f501f7c75f3828458ecf2342bc41c98aaef8c6a7fd82bf46a58cb258c" 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 fe8dffac61bbab376897c0f4e7cc5b7b8c4eecc1"))
2024-08-04 19:34.47 ---> using "828e9194b01b44f44dbe3a17fa70d9df857e6edbfbc28830335e417ee457f303" 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-08-04 19:34.47 ---> using "e4c5e8d9ee051813ad71799bcfd0cce33f59a36ff0befb5e5fbb9434b383bc16" 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  (cached)
-> installed ocaml-base-compiler.4.11.2
-> installed ocaml-config.1
-> installed ocaml.4.11.2
Done.
# Run eval $(opam env --switch=4.11) to update the current shell environment
2024-08-04 19:34.47 ---> using "5448c06b60d2145bc3d43c48d8517d69e5039dd7da7d98c35587f4415bf9c823" from cache

/: (run (network host)
        (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [198 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-08-04-1414.55-F-2024-07-29-1441.34.pdiff [496 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-08-04-1414.55-F-2024-07-29-1441.34.pdiff [496 kB]
- Fetched 758 kB in 3s (293 kB/s)
- Reading package lists...
- 
2024-08-04 19:34.47 ---> using "2de7a56ed158c10d79a858614377ba292ca6ddee7fedb9ee0d2bf8af22311fa1" 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
[ERROR] The compilation of camlidl.1.05 failed at "make all".

#=== ERROR while compiling camlidl.1.05 =======================================#
# context              2.3.0~alpha~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-efc70e.env
# output-file          ~/.opam/log/camlidl-8-efc70e.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

'opam install -vy camlidl.1.05' failed.
- 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
# Run eval $(opam env) to update the current shell environment
"/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