Build:
- 0
2026-06-16 11:55.22: New job: build ocaml-lua.1.8 (bfffd1ab1525)
2026-06-16 11:55.22: Waiting for resource in pool day11-builds
2026-06-16 12:26.36: Got resource from pool day11-builds
2026-06-16 12:26.36: [profile full] build ocaml-lua.1.8
2026-06-16 12:26.36: build ocaml-lua.1.8 (bfffd1ab1525)
=== DEPENDENCIES (7 transitive) ===
base-threads.base b7164ff76afe
base-unix.base 839dc585f12d
dune.3.23.1 d50060dd2cab
ocaml.5.4.1 708fed352b2a
ocaml-base-compiler.5.4.1 89b85703f841
ocaml-compiler.5.4.1 a719b8419b8e
ocaml-config.3 aa27f63940d8
=== STDOUT ===
Processing: [default: loading data]
[ocaml-lua.1.8: dl]
[ocaml-lua.1.8: extract]
-> retrieved ocaml-lua.1.8 (https://opam.ocaml.org/cache)
[ocaml-lua: sh]
+ /usr/bin/sh "-c" "cd src/lua_c ; tar xf lua-5.1.5.tar.gz" (CWD=/home/opam/.opam/default/.opam-switch/build/ocaml-lua.1.8)
[ocaml-lua: sh]
+ /usr/bin/sh "-c" "cd src/lua_c/lua-5.1.5 ; patch -p1 -i ../lua.patch" (CWD=/home/opam/.opam/default/.opam-switch/build/ocaml-lua.1.8)
- patching file src/Makefile
[ocaml-lua: sh]
+ /usr/bin/sh "-c" "cd src/lua_c ; mv lua-5.1.5 lua515" (CWD=/home/opam/.opam/default/.opam-switch/build/ocaml-lua.1.8)
[ocaml-lua: dune build]
+ /home/opam/.opam/default/bin/dune "build" "-p" "ocaml-lua" "-j" "39" "@install" (CWD=/home/opam/.opam/default/.opam-switch/build/ocaml-lua.1.8)
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/.lua.objs/byte -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I src/lua_c/.lua_c.objs/byte -cmi-file src/.lua.objs/byte/lua_api_lib.cmi -no-alias-deps -o src/.lua.objs/byte/lua_api_lib.cmo -c -impl src/lua_api_lib.ml)
- File "src/lua_api_lib.ml", line 271, characters 4-18:
- 271 | Printf.kprintf k
- ^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.Printf.kprintf
- Use Printf.ksprintf instead.
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/.lua.objs/byte -I src/.lua.objs/native -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I src/lua_c/.lua_c.objs/byte -I src/lua_c/.lua_c.objs/native -cmi-file src/.lua.objs/byte/lua_api_lib.cmi -no-alias-deps -o src/.lua.objs/native/lua_api_lib.cmx -c -impl src/lua_api_lib.ml)
- File "src/lua_api_lib.ml", line 271, characters 4-18:
- 271 | Printf.kprintf k
- ^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.Printf.kprintf
- Use Printf.ksprintf instead.
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/.lua.objs/byte -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I src/lua_c/.lua_c.objs/byte -cmi-file src/.lua.objs/byte/lua_aux_lib.cmi -no-alias-deps -o src/.lua.objs/byte/lua_aux_lib.cmo -c -impl src/lua_aux_lib.ml)
- File "src/lua_aux_lib.ml", line 96, characters 4-18:
- 96 | Printf.kprintf k
- ^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.Printf.kprintf
- Use Printf.ksprintf instead.
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/.lua.objs/byte -I src/.lua.objs/native -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I src/lua_c/.lua_c.objs/byte -I src/lua_c/.lua_c.objs/native -cmi-file src/.lua.objs/byte/lua_aux_lib.cmi -no-alias-deps -o src/.lua.objs/native/lua_aux_lib.cmx -c -impl src/lua_aux_lib.ml)
- File "src/lua_aux_lib.ml", line 96, characters 4-18:
- 96 | Printf.kprintf k
- ^^^^^^^^^^^^^^
- Alert deprecated: Stdlib.Printf.kprintf
- Use Printf.ksprintf instead.
- (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O3 -Wall -Ilua_c/lua515/src -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -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/default/lib/ocaml/caml/mlvalues.h:366:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #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/default/lib/ocaml/caml/mlvalues.h:366:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #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/default/lib/ocaml/caml/mlvalues.h:366:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #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 -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O3 -Wall -Ilua_c/lua515/src -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -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/default/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #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/default/lib/ocaml/caml/mlvalues.h:366:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #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/default/.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/default/.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
- 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
- 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
- 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
- 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/default/.opam-switch/build/ocaml-lua.1.8/_build/default/src/lua_c/lua515/src'
- make[1]: Leaving directory '/home/opam/.opam/default/.opam-switch/build/ocaml-lua.1.8/_build/default/src/lua_c/lua515/src'
- 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)
- | ^~
- 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;
- | ^~
- 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);
- | ^~~~~~~~~~~~~
- ar: `u' modifier ignored since `D' is the default (see `U')
-> compiled ocaml-lua.1.8
-> installed ocaml-lua.1.8
=== STDERR ===
2026-06-16 12:26.45: OK: build ocaml-lua.1.8 (runc: 8.2s, disk: 16KB)
2026-06-16 12:26.45: Job succeeded