Building on apache.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.45 ---> 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.45 ---> 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.45 ---> 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.45 ---> using "f46d72ea67943cab7c832114e4ca486dbfd4f12ff8812515d1a06b3a229da8ee" from cache /: (run (network host) (shell "git clone -q 'https://github.com/kit-ty-kate/opam-alpha-repository' ~/'alpha' && git -C ~/'alpha' checkout -q 076a4c8b84954fc0cb7d4b8555dd3ef526983967")) 2022-11-02 19:34.45 ---> using "d0cc4487ef08ec8933669840a0a4a09a690fc372319648cfb5be23220879fd8d" from cache /: (run (shell "opam repository add --dont-select 'alpha' ~/'alpha'")) [alpha] Initialised 2022-11-02 19:34.45 ---> using "18078122c14dbafc9fbe33091f99eb13e673e35ecfad480502cb289b424eef02" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=alpha,default '4.14+alpha-repo' '4.14.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.14.0"} | "ocaml-system" {= "4.14.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.4.14.0 (cached) -> installed ocaml-base-compiler.4.14.0 -> installed ocaml-config.2 -> installed ocaml.4.14.0 Done. # Run eval $(opam env --switch=4.14+alpha-repo) to update the current shell environment 2022-11-02 19:34.45 ---> using "a2391df823c5ef92b9a1c79b97666f1e2ee46ce120801a72cfd45829990c9c4a" 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 2s (124 kB/s) - Reading package lists... - 2022-11-02 19:34.45 ---> using "11e0dbd88da4d1eab0bd24c90edf527301667b9bc7b034c83a4a1bdc0c485264" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"camlidl.1.09\"\ \nopam install -vy \"camlidl.1.09\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"camlidl.1.09\" | 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")) Nothing to do. [NOTE] camlidl.1.09 is not installed. The following actions will be performed: === install 1 package - install camlidl 1.09 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/3: -> retrieved camlidl.1.09 (cached) 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.14+alpha-repo/.opam-switch/build/camlidl.1.09) Processing 2/3: [camlidl: make all] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/camlidl.1.09) - cd compiler; make all - make[1]: Entering directory '/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/camlidl.1.09/compiler' - rm -f config.ml - sed -e 's|%%CPP%%|cpp|' \ - config.mlp > config.ml - chmod -w config.ml - ocamlc -g -c config.mli - ocamlc -g -c config.ml - ocamlc -g -c utils.mli - ocamlc -g -c utils.ml - ocamlc -g -c clflags.ml - ocamlc -g -c idltypes.mli - ocamlc -g -c prefix.mli - ocamlc -g -c prefix.ml - ocamlc -g -c lexpr.mli - ocamlc -g -c lexpr.ml - ocamlc -g -c cvttyp.mli - ocamlc -g -c cvttyp.ml - ocamlc -g -c variables.mli - ocamlc -g -c variables.ml - ocamlc -g -c idlarray.mli - ocamlc -g -c idlarray.ml - ocamlc -g -c struct.mli - ocamlc -g -c struct.ml - ocamlc -g -c enum.mli - ocamlc -g -c enum.ml - ocamlc -g -c union.mli - ocamlc -g -c union.ml - ocamlc -g -c cvtval.mli - ocamlc -g -c cvtval.ml - ocamlc -g -c structdecl.mli - ocamlc -g -c structdecl.ml - ocamlc -g -c enumdecl.mli - ocamlc -g -c enumdecl.ml - ocamlc -g -c uniondecl.mli - ocamlc -g -c uniondecl.ml - ocamlc -g -c typedef.mli - ocamlc -g -c typedef.ml - ocamlc -g -c funct.mli - ocamlc -g -c funct.ml - ocamlc -g -c constdecl.mli - ocamlc -g -c constdecl.ml - ocamlc -g -c intf.mli - ocamlc -g -c intf.ml - ocamlc -g -c file.mli - ocamlc -g -c file.ml - ocamlc -g -c predef.mli - ocamlc -g -c predef.ml - ocamllex linenum.mll - 16 states, 331 transitions, table size 1420 bytes - ocamlc -g -c linenum.mli - ocamlc -g -c linenum.ml - ocamlc -g -c parse_aux.mli - ocamlc -g -c parse_aux.ml - ocamlyacc -v parser_midl.mly - 12 shift/reduce conflicts, 4 reduce/reduce conflicts. - ocamlc -g -c parser_midl.mli - ocamlc -g -c parser_midl.ml - ocamllex lexer_midl.mll - 129 states, 1747 transitions, table size 7762 bytes - ocamlc -g -c lexer_midl.mli - ocamlc -g -c lexer_midl.ml - ocamlc -g -c parse.mli - ocamlc -g -c parse.ml - ocamlc -g -c fixlabels.mli - ocamlc -g -c fixlabels.ml - ocamlc -g -c normalize.mli - ocamlc -g -c normalize.ml - ocamlc -g -c main.ml - ocamlc -g -o camlidl config.cmo utils.cmo clflags.cmo prefix.cmo lexpr.cmo cvttyp.cmo variables.cmo idlarray.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.14+alpha-repo/.opam-switch/build/camlidl.1.09/compiler' - cd runtime; make all - make[1]: Entering directory '/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/camlidl.1.09/runtime' - ocamlc -g -ccopt "-Wall -g" idlalloc.c - idlalloc.c: In function 'camlidl_find_enum': - idlalloc.c:35:13: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead - 35 | invalid_argument(errmsg); - | ^~~~~~~~~~~~~~~ - idlalloc.c: In function 'camlidl_alloc_flag_list': - idlalloc.c:47:13: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead - 47 | value v = alloc_small(2, 0); - | ^~~~~~~~~~~~~~~~~~~~~~~~ - idlalloc.c: In function 'camlidl_register_allocation': - idlalloc.c:73:13: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead - 73 | stat_alloc(sizeof(struct camlidl_block_list)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - idlalloc.c: In function 'camlidl_malloc': - idlalloc.c:95:13: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead - 95 | void * res = stat_alloc(sz); - | ^~~~~~~~~~~~~~~~~~ - idlalloc.c:96:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead - 96 | camlidl_register_allocation(stat_free, res, ctx); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - idlalloc.c: In function 'camlidl_free': - idlalloc.c:108:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead - 108 | stat_free(tmp); - | ^~~~~~~ - idlalloc.c: In function 'camlidl_malloc_string': - idlalloc.c:114:13: warning: "string_length" is deprecated: use "caml_string_length" instead - 114 | mlsize_t len = string_length(mlstring); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ocamlc -g -ccopt "-Wall -g" comintf.c - comintf.c: In function 'camlidl_pack_interface': - comintf.c:37:13: warning: "alloc_final" is deprecated: use "caml_alloc_final" instead - 37 | value res = alloc_final(2, camlidl_finalize_interface, 0, 1); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - comintf.c: In function 'camlidl_make_interface': - comintf.c:59:13: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead - 59 | (struct camlidl_component *) stat_alloc(sizeof(struct camlidl_component)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - comintf.c:73:13: warning: "register_global_root" is deprecated: use "caml_register_global_root" instead - 73 | register_global_root(&(comp->intf[0].caml_object)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - comintf.c: In function 'camlidl_Release': - comintf.c:128:13: warning: "remove_global_root" is deprecated: use "caml_remove_global_root" instead - 128 | remove_global_root(&(intf->caml_object)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - comintf.c:134:13: warning: "stat_free" is deprecated: use "caml_stat_free" instead - 134 | stat_free(comp); - | ^~~~~~~~ - comintf.c: In function 'camlidl_com_combine': - comintf.c:175:13: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead - 175 | stat_alloc(sizeof(struct camlidl_component) + - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - comintf.c:185:13: warning: "register_global_root" is deprecated: use "caml_register_global_root" instead - 185 | register_global_root(&(c->intf[i].caml_object)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - comintf.c: In function 'camlidl_com_create_instance': - comintf.c:207:13: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead - 207 | invalid_argument("Com.create_instance not implemented"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - comintf.c: In function 'camlidl_com_register_factory': - comintf.c:235:13: warning: "stat_alloc" is deprecated: use "caml_stat_alloc" instead - 235 | struct camlidl_comp * c = stat_alloc(sizeof(struct camlidl_comp)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - comintf.c:237:13: warning: "register_global_root" is deprecated: use "caml_register_global_root" instead - 237 | register_global_root(&(c->compdata)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - comintf.c: In function 'camlidl_com_parse_uid': - comintf.c:250:13: warning: "string_length" is deprecated: use "caml_string_length" instead - 250 | if (string_length(str) != 36 || - | ^~~~~~~~~~~~~~~~~~~~~ - comintf.c:255:13: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead - 255 | res = alloc_small((sizeof(GUID) + sizeof(value) - 1) / sizeof(value), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ocamlc -g -ccopt "-Wall -g" comerror.c - comerror.c: In function 'camlidl_raise_error': - comerror.c:37:13: warning: "invalid_argument" is deprecated: use "caml_invalid_argument" instead - 37 | invalid_argument("Exception Com.Error not initialized"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - comerror.c:40:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead - 40 | vwho = copy_string(who); - | ^~~~~~~~~~~~~~~~ - comerror.c:41:13: warning: "copy_string" is deprecated: use "caml_copy_string" instead - 41 | vmsg = copy_string(msg); - | ^~~~~~~~~~~~~~~~ - comerror.c:42:13: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead - 42 | bucket = alloc_small(4, 0); - | ^~~~~~~~~~~~~~~~~~~ - comerror.c:48:13: warning: "mlraise" is deprecated: use "caml_raise" instead - 48 | mlraise(bucket); - | ^~~~~~ - comerror.c: In function 'camlidl_uncaught_exception': - comerror.c:173:13: warning: "format_caml_exception" is deprecated: use "caml_format_exception" instead - 173 | 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.14+alpha-repo/.opam-switch/build/camlidl.1.09/runtime' - cd lib; make all - make[1]: Entering directory '/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/camlidl.1.09/lib' - ocamlc -g -c com.mli - ocamlc -g -c com.ml - ocamlc -g -a -o com.cma -dllib -lcamlidl -cclib -lcamlidl com.cmo - ocamlopt -c com.ml - ocamlopt -a -o com.cmxa -cclib -lcamlidl com.cmx - make[1]: Leaving directory '/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/camlidl.1.09/lib' - cd tools; make all - make[1]: Entering directory '/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/camlidl.1.09/tools' - make[1]: Nothing to be done for 'all'. - make[1]: Leaving directory '/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/camlidl.1.09/tools' -> compiled camlidl.1.09 -> installed camlidl.1.09 Done. # Run eval $(opam env) to update the current shell environment 2022-11-02 19:34.53 ---> saved as "204d020cb60f456ec572181702d09c3ba2b7423b940da64453c47a48cc6ee718" Job succeeded