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


Building on apache.ocamllabs.io

(from ocaml/opam:debian-unstable@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1)
Unable to find image 'ocaml/opam:debian-unstable@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1' locally
docker.io/ocaml/opam@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1: Pulling from ocaml/opam
88273bdcc4bc: Pulling fs layer
88273bdcc4bc: Verifying Checksum
88273bdcc4bc: Download complete
88273bdcc4bc: Pull complete
Digest: sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1
Status: Downloaded newer image for ocaml/opam@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1
2022-10-12 20:48.21 ---> using "72789ea385c156750aa7dd96aa50ee44bc632bea844e975f245441d9aee8bfd2" 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-10-12 20:48.21 ---> using "00a95b0dc29356854a2323387bb3765564e1fe55593574ff6be6315935e9f655" 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 b1c9c96444d9fdc81f076b2f18ffaccd2f7c8f2f"))
2022-10-12 20:48.21 ---> using "78ae84c730ce1e5c34c37c027b1e573b31333de9c356d764a1de3654115799af" 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-10-12 20:48.21 ---> using "3910cf3733834024da3f31717f53c4d64ec6165d9ca48b4a2ad73da600e53b71" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam switch create --repositories=default '4.14' '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) to update the current shell environment
2022-10-12 20:48.21 ---> using "fb1eb500f11be569274ad29ee0db9fcc0909ae204e539c4aea07285e5410519c" 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-10-11-2005.54-F-2022-10-10-1406.43.pdiff [117 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-10-11-2005.54-F-2022-10-10-1406.43.pdiff [117 kB]
- Fetched 341 kB in 2s (156 kB/s)
- Reading package lists...
- 
2022-10-12 20:48.21 ---> using "bb3fedd8441a3a40aad051f4d87b043f4b5b40252dccad127b059938a578d2b7" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell  "\
               \nopam remove -y \"ocaml-lua.1.8\"\
               \nopam install -vy \"ocaml-lua.1.8\"\
               \nres=$?\
               \nif [ $res = 31 ]; then\
               \n    if opam show -f x-ci-accept-failures: \"ocaml-lua.1.8\" | 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] ocaml-lua.1.8 is not installed.

Nothing to do.
The following actions will be performed:
=== install 2 packages
  - install dune      3.4.1 [required by ocaml-lua]
  - install ocaml-lua 1.8

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/6:
Processing  2/6: [ocaml-lua.1.8: http]
-> retrieved dune.3.4.1  (cached)
Processing  3/6: [ocaml-lua.1.8: http] [dune: ocaml bootstrap.ml]
Processing  3/6: [dune: ocaml bootstrap.ml]
-> retrieved ocaml-lua.1.8  (https://github.com/pdonadeo/ocaml-lua/archive/v1.8.tar.gz)
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "bootstrap.ml" "-j" "127" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune.3.4.1)
- ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml
- ./.duneboot.exe -j 127
- 

Processing  3/6: [dune: ./dune.exe build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "127" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune.3.4.1)
-> compiled  dune.3.4.1
-> installed dune.3.4.1
Processing  5/6: [ocaml-lua: sh]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-c" "cd src/lua_c ; tar xf lua-5.1.5.tar.gz" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ocaml-lua.1.8)
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-c" "cd src/lua_c/lua-5.1.5 ; patch -p1 -i ../lua.patch" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ocaml-lua.1.8)
- patching file src/Makefile
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-c" "cd src/lua_c ; mv lua-5.1.5 lua515" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ocaml-lua.1.8)
Processing  5/6: [ocaml-lua: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ocaml-lua" "-j" "127" "@install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ocaml-lua.1.8)
- (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O3 -Wall -Ilua_c/lua515/src -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/ocaml/threads -I lua_c -o lua_aux_lib_stubs.o -c lua_aux_lib_stubs.c)
- lua_aux_lib_stubs.c: In function 'default_panic':
- lua_aux_lib_stubs.c:215:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   215 |     value *default_panic_v = caml_named_value("default_panic");
-       |                              ^~~~~~~~~~~~~~~~
- lua_aux_lib_stubs.c: In function 'luaL_newstate__stub':
- lua_aux_lib_stubs.c:275:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   275 |     value *default_panic_v = caml_named_value("default_panic");
-       |                              ^~~~~~~~~~~~~~~~
- In file included from lua_aux_lib_stubs.c:9:
- lua_aux_lib_stubs.c: In function 'luaL_gsub__stub':
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- lua_aux_lib_stubs.c:382:22: note: in expansion of macro 'String_val'
-   382 |   char *retval_str = String_val(ret_val);
-       |                      ^~~~~~~~~~
- lua_aux_lib_stubs.c: In function 'luaL_checkstring__stub':
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- lua_aux_lib_stubs.c:411:13: note: in expansion of macro 'String_val'
-   411 |   char *s = String_val(ret_val);
-       |             ^~~~~~~~~~
- lua_aux_lib_stubs.c: In function 'luaL_findtable__stub':
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- lua_aux_lib_stubs.c:469:28: note: in expansion of macro 'String_val'
-   469 |         char *retval_str = String_val(ret_string);
-       |                            ^~~~~~~~~~
- (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O3 -Wall -Ilua_c/lua515/src -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/ocaml/threads -I lua_c -o lua_api_lib_stubs.o -c lua_api_lib_stubs.c)
- In file included from lua_api_lib_stubs.c:9:
- lua_api_lib_stubs.c: In function 'writer_function':
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- lua_api_lib_stubs.c:242:12: note: in expansion of macro 'String_val'
-   242 |     memcpy(String_val(buffer), p, sz);
-       |            ^~~~~~~~~~
- In file included from lua_api_lib_stubs.c:1:
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
-    43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- lua_api_lib_stubs.c: In function 'lua_tolstring__stub':
- /home/opam/.opam/4.14/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- lua_api_lib_stubs.c:683:15: note: in expansion of macro 'String_val'
-   683 |     char *s = String_val(ret_val);
-       |               ^~~~~~~~~~
- (cd _build/default/src/lua_c/lua515 && /usr/bin/make linux)
- cd src && /usr/bin/make linux
- make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocaml-lua.1.8/_build/default/src/lua_c/lua515/src'
- /usr/bin/make all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl"
- make[2]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/ocaml-lua.1.8/_build/default/src/lua_c/lua515/src'
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lapi.o lapi.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lcode.o lcode.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o ldebug.o ldebug.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o ldo.o ldo.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o ldump.o ldump.c
- ldump.c: In function 'DumpString':
- ldump.c:63:26: warning: the comparison will always evaluate as 'false' for the pointer operand in 's + 24' must not be NULL [-Waddress]
-    63 |  if (s==NULL || getstr(s)==NULL)
-       |                          ^~
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lfunc.o lfunc.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lgc.o lgc.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o llex.o llex.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lmem.o lmem.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lobject.o lobject.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lopcodes.o lopcodes.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lparser.o lparser.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lstate.o lstate.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lstring.o lstring.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o ltable.o ltable.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o ltm.o ltm.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lundump.o lundump.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lvm.o lvm.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lzio.o lzio.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lauxlib.o lauxlib.c
- lauxlib.c: In function 'luaL_loadfile':
- lauxlib.c:577:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
-   577 |    while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ;
-       |    ^~~~~
- lauxlib.c:578:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
-   578 |     lf.extraline = 0;
-       |     ^~
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lbaselib.o lbaselib.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o ldblib.o ldblib.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o liolib.o liolib.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lmathlib.o lmathlib.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o loslib.o loslib.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o ltablib.o ltablib.c
- ltablib.c: In function 'addfield':
- ltablib.c:137:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
-   137 |   if (!lua_isstring(L, -1))
-       |   ^~
- ltablib.c:140:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
-   140 |     luaL_addvalue(b);
-       |     ^~~~~~~~~~~~~
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o lstrlib.o lstrlib.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o loadlib.o loadlib.c
- gcc -O2 -Wall -DLUA_USE_LINUX -fPIC   -c -o linit.o linit.c
- ar rcu liblua.a lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o ltablib.o lstrlib.o loadlib.o linit.o	# DLL needs all object files
- ar: `u' modifier ignored since `D' is the default (see `U')
- ranlib liblua.a
- gcc -shared -ldl -Wl,-soname,liblua.so -o liblua.so lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o ltablib.o lstrlib.o loadlib.o linit.o -lm 
- make[2]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ocaml-lua.1.8/_build/default/src/lua_c/lua515/src'
- make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/ocaml-lua.1.8/_build/default/src/lua_c/lua515/src'
-> compiled  ocaml-lua.1.8
-> installed ocaml-lua.1.8
Done.
# Run eval $(opam env) to update the current shell environment
2022-10-12 20:48.50 ---> saved as "e3e970d5dadb082f485acbdee27b20174f88803670b580eaf50989473c6c7c24"
Job succeeded