Building on clete.ocamllabs.io (from ocaml/opam:debian-unstable@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a) Unable to find image 'ocaml/opam:debian-unstable@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a' locally docker.io/ocaml/opam@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a: Pulling from ocaml/opam d94e46e039c4: Pulling fs layer d94e46e039c4: Verifying Checksum d94e46e039c4: Download complete d94e46e039c4: Pull complete Digest: sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a Status: Downloaded newer image for ocaml/opam@sha256:a59c08d2fe55bc0ee92a97b004206ab89a8dd5cacadd8528a0d0e9b978dcba1a 2022-11-02 19:34.37 ---> using "6615d3400d8dabf8928c82fbcb18e477501a38f64d3b1412a91a4e86499e265b" 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")) 2022-11-02 19:34.37 ---> using "c909a0ff168e383d01aa2cb84f3e6cbc7a0c470ffe3d07946f43f83d47cc9bfa" 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 94675aaefe68e1e4a4ad959d88dd65afa3a9ed3d")) 2022-11-02 19:34.37 ---> using "5315c90a66cfce3be1f8ac668b7f4445c317bfeb4b1de04fe278a4bdf33753ae" 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. 2022-11-02 19:34.37 ---> using "f46d72ea67943cab7c832114e4ca486dbfd4f12ff8812515d1a06b3a229da8ee" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.06' '4.06.1'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.06.1"} | "ocaml-system" {= "4.06.1"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-base-compiler.4.06.1 (cached) -> installed ocaml-base-compiler.4.06.1 -> installed ocaml-config.1 -> installed ocaml.4.06.1 Done. # Run eval $(opam env --switch=4.06) to update the current shell environment 2022-11-02 19:34.37 ---> using "5c889e0cb624e4f5fe51252fe1a3fddf3fd9500f9b8cb48cf05e8ec0cace814e" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [161 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-2022-11-02-0803.40-F-2022-11-01-2004.36.pdiff [67.9 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-11-02-0803.40-F-2022-11-01-2004.36.pdiff [67.9 kB] - Fetched 293 kB in 3s (112 kB/s) - Reading package lists... - 2022-11-02 19:34.37 ---> using "433b1bd648a832dd2b45983f48a5853269fb8bf30afe024ef0c3ce879bb42dc8" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install -y ocaml-secondary-compiler")) The following actions will be performed: === install 1 package - install ocaml-secondary-compiler 4.08.1-1 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-secondary-compiler.4.08.1-1 (cached) -> installed ocaml-secondary-compiler.4.08.1-1 Done. # Run eval $(opam env) to update the current shell environment 2022-11-02 19:34.37 ---> using "f3b88ca4032c21db8f56567b01af0421e5aea52e394b812c2b0a8d67a6ad2dab" 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: -> retrieved camlidl.1.05 (cached) [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.06/.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.06/.opam-switch/build/camlidl.1.05) - cd compiler; make all - make[1]: Entering directory '/home/opam/.opam/4.06/.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: - Warning 3: deprecated: 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: - 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: - Warning 3: deprecated: String.capitalize - Use String.capitalize_ascii instead. - File "cvttyp.ml", line 127, characters 20-39: - Warning 3: deprecated: String.uncapitalize - Use String.uncapitalize_ascii instead. - File "cvttyp.ml", line 132, characters 49-66: - Warning 3: deprecated: String.capitalize - Use String.capitalize_ascii instead. - File "cvttyp.ml", line 135, characters 25-44: - Warning 3: deprecated: 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: - Warning 3: deprecated: String.uncapitalize - Use String.uncapitalize_ascii instead. - File "structdecl.ml", line 39, characters 19-38: - Warning 3: deprecated: 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: - Warning 3: deprecated: String.uncapitalize - Use String.uncapitalize_ascii instead. - File "enumdecl.ml", line 32, characters 37-54: - Warning 3: deprecated: 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: - Warning 3: deprecated: String.uncapitalize - Use String.uncapitalize_ascii instead. - File "uniondecl.ml", line 37, characters 24-41: - Warning 3: deprecated: 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: - Warning 3: deprecated: String.uncapitalize - Use String.uncapitalize_ascii instead. - File "typedef.ml", line 50, characters 25-44: - Warning 3: deprecated: String.uncapitalize - Use String.uncapitalize_ascii instead. - File "typedef.ml", line 53, characters 15-34: - Warning 3: deprecated: 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: - Warning 3: deprecated: 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: - Warning 3: deprecated: String.uncapitalize - Use String.uncapitalize_ascii instead. - File "constdecl.ml", line 54, characters 13-32: - Warning 3: deprecated: String.uncapitalize - Use String.uncapitalize_ascii instead. - File "constdecl.ml", line 36, characters 4-24: - 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: - Warning 3: deprecated: String.uncapitalize - Use String.uncapitalize_ascii instead. - File "intf.ml", line 51, characters 15-34: - Warning 3: deprecated: String.uncapitalize - Use String.uncapitalize_ascii instead. - File "intf.ml", line 52, characters 16-35: - Warning 3: deprecated: String.uncapitalize - Use String.uncapitalize_ascii instead. - File "intf.ml", line 62, characters 18-37: - Warning 3: deprecated: String.uncapitalize - Use String.uncapitalize_ascii instead. - File "intf.ml", line 162, characters 17-36: - Warning 3: deprecated: String.uncapitalize - Use String.uncapitalize_ascii instead. - File "intf.ml", line 163, characters 18-37: - Warning 3: deprecated: String.uncapitalize - Use String.uncapitalize_ascii instead. - File "intf.ml", line 199, characters 21-40: - Warning 3: deprecated: String.uncapitalize - Use String.uncapitalize_ascii instead. - File "intf.ml", line 260, characters 31-50: - Warning 3: deprecated: String.uncapitalize - Use String.uncapitalize_ascii instead. - File "intf.ml", line 312, characters 12-16: - Warning 26: unused variable outs. - File "intf.ml", line 312, characters 7-10: - Warning 26: unused variable ins. - ocamlc -g -warn-error -31 -c file.mli - ocamlc -g -warn-error -31 -c file.ml - File "file.ml", line 216, characters 31-47: - Warning 3: deprecated: 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: - 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: - 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: - 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: - Warning 3: deprecated: String.lowercase - Use String.lowercase_ascii instead. - File "parse_aux.ml", line 459, characters 10-26: - Warning 3: deprecated: 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 - File "array.cmo", line 1: - Warning 31: files array.cmo and /home/opam/.opam/4.06/lib/ocaml/stdlib.cma(Array) both define a module named Array - make[1]: Leaving directory '/home/opam/.opam/4.06/.opam-switch/build/camlidl.1.05/compiler' - cd runtime; make all - make[1]: Entering directory '/home/opam/.opam/4.06/.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_error': - comerror.c:52:8: warning: unused variable 'msg' [-Wunused-variable] - 52 | char msg[1024]; - | ^~~ - In file included from /home/opam/.opam/4.06/lib/ocaml/caml/mlvalues.h:20, - from comerror.c:20: - comerror.c: In function 'camlidl_uncaught_exception': - /home/opam/.opam/4.06/lib/ocaml/caml/compatibility.h:255:31: warning: 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.06/lib/ocaml/caml/compatibility.h:255:31: warning: 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); - | ^~~~~~~~~~~~~~~~~~~~~ - rm -f dllcamlidl.so - ocamlmklib -o camlidl idlalloc.o comintf.o comerror.o - make[1]: Leaving directory '/home/opam/.opam/4.06/.opam-switch/build/camlidl.1.05/runtime' - cd lib; make all - make[1]: Entering directory '/home/opam/.opam/4.06/.opam-switch/build/camlidl.1.05/lib' - ocamlc -g -warn-error -31 -c com.mli - ocamlc -g -warn-error -31 -c com.ml - ocamlc -g -warn-error -31 -a -o com.cma com.cmo - ocamlopt -c com.ml - ocamlopt -a -o com.cmxa com.cmx - make[1]: Leaving directory '/home/opam/.opam/4.06/.opam-switch/build/camlidl.1.05/lib' - cd tools; make all - make[1]: Entering directory '/home/opam/.opam/4.06/.opam-switch/build/camlidl.1.05/tools' - make[1]: Nothing to be done for 'all'. - make[1]: Leaving directory '/home/opam/.opam/4.06/.opam-switch/build/camlidl.1.05/tools' -> compiled camlidl.1.05 -> installed camlidl.1.05 Done. # Run eval $(opam env) to update the current shell environment 2022-11-02 19:34.46 ---> saved as "c39ad1f3ea6f88d95c2a1886f790fa3c01926fda3c1b3d866470bcec2d68c0ee" Job succeeded