* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘QuickJSR’ ...
** this is package ‘QuickJSR’ version ‘1.11.0’
** package ‘QuickJSR’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-16 (Debian 16.2.0-1) 16.2.0’
using C++ compiler: ‘g++-16 (Debian 16.2.0-1) 16.2.0’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpLaClIw/R.INSTALL1738633cef76ea/QuickJSR/src'
gcc-16 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I"include" -I"quickjs" -D_GNU_SOURCE  -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -funsigned-char -std=gnu11 -c libquickjs.c
libquickjs.c:215:9: warning: ‘stdout’ redefined
  215 | #define stdout stdout_dummy
      |         ^~~~~~
In file included from libquickjs.c:1:
/usr/include/stdio.h:154:9: note: this is the location of the previous definition
  154 | #define stdout stdout
      |         ^~~~~~
libquickjs.c:216:9: warning: ‘stderr’ redefined
  216 | #define stderr stderr_dummy
      |         ^~~~~~
/usr/include/stdio.h:155:9: note: this is the location of the previous definition
  155 | #define stderr stderr
      |         ^~~~~~
In file included from libquickjs.c:243:
quickjs/quickjs.c: In function ‘mark_weak_map_value’:
quickjs/quickjs.c:7234:17: warning: variable ‘s’ set but not used [-Wunused-but-set-variable=]
 7234 |     JSMapState *s;
      |                 ^
quickjs/quickjs.c: In function ‘num_keys_cmp’:
quickjs/quickjs.c:9477:28: warning: variable ‘atom2_is_integer’ set but not used [-Wunused-but-set-variable=]
 9477 |     bool atom1_is_integer, atom2_is_integer;
      |                            ^~~~~~~~~~~~~~~~
quickjs/quickjs.c:9477:10: warning: variable ‘atom1_is_integer’ set but not used [-Wunused-but-set-variable=]
 9477 |     bool atom1_is_integer, atom2_is_integer;
      |          ^~~~~~~~~~~~~~~~
quickjs/quickjs.c: In function ‘js_array_toSpliced’:
quickjs/quickjs.c:44424:43: warning: variable ‘last’ set but not used [-Wunused-but-set-variable=]
44424 |     JSValue arr, obj, ret, *arrp, *pval, *last;
      |                                           ^~~~
In file included from libquickjs.c:242:
quickjs/libunicode.c: In function ‘cr_op’:
quickjs/libunicode.c:501:12: warning: ‘is_in’ may be used uninitialized [-Wmaybe-uninitialized]
  501 |         if (is_in != (cr->len & 1)) {
      |            ^
quickjs/libunicode.c:458:23: note: ‘is_in’ was declared here
  458 |     int a_idx, b_idx, is_in;
      |                       ^~~~~
quickjs/quickjs.c: In function ‘js_compare_bigint’:
quickjs/quickjs.c:15891:19: warning: ‘p1’ may be used uninitialized [-Wmaybe-uninitialized]
15891 |             val = js_bigint_float64_cmp(ctx, p2, JS_VALUE_GET_FLOAT64(op1));
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:15846:15: note: ‘p1’ was declared here
15846 |     JSBigInt *p1;
      |               ^~
quickjs/quickjs.c:15907:19: warning: ‘p1’ may be used uninitialized [-Wmaybe-uninitialized]
15907 |             val = js_bigint_cmp(ctx, p1, p2);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:15846:15: note: ‘p1’ was declared here
15846 |     JSBigInt *p1;
      |               ^~
quickjs/quickjs.c:15907:19: warning: ‘p1’ may be used uninitialized [-Wmaybe-uninitialized]
15907 |             val = js_bigint_cmp(ctx, p1, p2);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:15846:15: note: ‘p1’ was declared here
15846 |     JSBigInt *p1;
      |               ^~
quickjs/quickjs.c:15897:19: warning: ‘p1’ may be used uninitialized [-Wmaybe-uninitialized]
15897 |             val = js_bigint_float64_cmp(ctx, p1, JS_VALUE_GET_FLOAT64(op2));
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:15846:15: note: ‘p1’ was declared here
15846 |     JSBigInt *p1;
      |               ^~
quickjs/quickjs.c:15932:12: warning: ‘res’ may be used uninitialized [-Wmaybe-uninitialized]
15932 |     return res;
      |            ^~~
quickjs/quickjs.c:15869:9: note: ‘res’ was declared here
15869 |     int res, val, tag1, tag2;
      |         ^~~
quickjs/quickjs.c: In function ‘js_closure2’:
quickjs/quickjs.c:17598:25: warning: ‘var_ref’ may be used uninitialized [-Wmaybe-uninitialized]
17598 |             var_refs[i] = var_ref;
      |             ~~~~~~~~~~~~^~~~~~~~~
quickjs/quickjs.c:17578:23: note: ‘var_ref’ was declared here
17578 |             JSVarRef *var_ref;
      |                       ^~~~~~~
quickjs/quickjs.c: In function ‘js_typed_array_sort’:
quickjs/quickjs.c:61495:13: warning: ‘cmpfun’ may be used uninitialized [-Wmaybe-uninitialized]
61495 |             rqsort(p->u.array.u.ptr, len, elt_size, cmpfun, &tsc);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:61360:11: note: ‘cmpfun’ was declared here
61360 |     int (*cmpfun)(const void *a, const void *b, void *opaque);
      |           ^~~~~~
quickjs/quickjs.c: In function ‘__JS_ToFloat64Free’:
quickjs/quickjs.c:14046:11: warning: ‘d’ may be used uninitialized [-Wmaybe-uninitialized]
14046 |     *pres = d;
      |     ~~~~~~^~~
quickjs/quickjs.c:14029:12: note: ‘d’ was declared here
14029 |     double d;
      |            ^
In function ‘js_int64’,
    inlined from ‘js_binary_arith_slow’ at quickjs/quickjs.c:15476:18:
quickjs/quickjs.c:1618:24: warning: ‘v’ may be used uninitialized [-Wmaybe-uninitialized]
 1618 |     if (v >= INT32_MIN && v <= INT32_MAX)
      |                        ^
quickjs/quickjs.c: In function ‘js_binary_arith_slow’:
quickjs/quickjs.c:15439:17: note: ‘v’ was declared here
15439 |         int64_t v;
      |                 ^
quickjs/quickjs.c:15515:12: warning: ‘r’ may be used uninitialized [-Wmaybe-uninitialized]
15515 |         if (!r)
      |            ^
quickjs/quickjs.c:15479:29: note: ‘r’ was declared here
15479 |         JSBigInt *p1, *p2, *r;
      |                             ^
In file included from quickjs/dtoa.c:35,
                 from libquickjs.c:240:
quickjs/cutils.h:85:44: warning: ‘v’ may be used uninitialized [-Wmaybe-uninitialized]
   85 | #  define likely(x)       __builtin_expect(!!(x), 1)
      |                                            ^~~~~
quickjs/quickjs.c:15414:13: note: in expansion of macro ‘likely’
15414 |         if (likely(v >= JS_SHORT_BIG_INT_MIN && v <= JS_SHORT_BIG_INT_MAX)) {
      |             ^~~~~~
quickjs/quickjs.c:15383:21: note: ‘v’ was declared here
15383 |         js_sdlimb_t v;
      |                     ^
quickjs/quickjs.c:15549:18: warning: ‘dr’ may be used uninitialized [-Wmaybe-uninitialized]
15549 |         sp[-2] = js_float64(dr);
      |                  ^~~~~~~~~~~~~~
quickjs/quickjs.c:15519:16: note: ‘dr’ was declared here
15519 |         double dr;
      |                ^~
quickjs/quickjs.c: In function ‘js_binary_logic_slow’:
quickjs/quickjs.c:15833:18: warning: ‘r’ may be used uninitialized [-Wmaybe-uninitialized]
15833 |         sp[-2] = js_int32(r);
      |                  ^~~~~~~~~~~
quickjs/quickjs.c:15682:22: note: ‘r’ was declared here
15682 |     uint32_t v1, v2, r;
      |                      ^
quickjs/quickjs.c:15804:12: warning: ‘r’ may be used uninitialized [-Wmaybe-uninitialized]
15804 |         if (!r)
      |            ^
quickjs/quickjs.c:15760:29: note: ‘r’ was declared here
15760 |         JSBigInt *p1, *p2, *r;
      |                             ^
quickjs/quickjs.c:15742:18: warning: ‘v’ may be used uninitialized [-Wmaybe-uninitialized]
15742 |         sp[-2] = __JS_NewShortBigInt(ctx, v);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:15690:28: note: ‘v’ was declared here
15690 |         js_slimb_t v1, v2, v;
      |                            ^
quickjs/quickjs.c: In function ‘js_unary_arith_slow’:
quickjs/quickjs.c:15283:16: warning: ‘r’ may be used uninitialized [-Wmaybe-uninitialized]
15283 |             if (!r)
      |                ^
quickjs/quickjs.c:15256:23: note: ‘r’ was declared here
15256 |             JSBigInt *r;
      |                       ^
quickjs/quickjs.c: In function ‘js_parse_expr_binary’:
quickjs/quickjs.c:28083:9: warning: ‘opcode’ may be used uninitialized [-Wmaybe-uninitialized]
28083 |         emit_op(s, opcode);
      |         ^~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:27928:13: note: ‘opcode’ was declared here
27928 |     int op, opcode;
      |             ^~~~~~
ar -rs ../inst/lib//libquickjs.a libquickjs.o
ar: creating ../inst/lib//libquickjs.a
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I"include" -I"quickjs" -D_GNU_SOURCE  -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c quickjsr.cpp -o quickjsr.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I"include" -I"quickjs" -D_GNU_SOURCE  -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c init.cpp -o init.o
g++-16 -std=gnu++20 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o QuickJSR.so quickjsr.o init.o ../inst/lib//libquickjs.a -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpLaClIw/R.INSTALL1738633cef76ea/QuickJSR/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpLaClIw/R.INSTALL1738633cef76ea/QuickJSR/src'
gcc-16 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I"include" -I"quickjs" -D_GNU_SOURCE  -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -funsigned-char -std=gnu11 -c libquickjs.c
libquickjs.c:215:9: warning: ‘stdout’ redefined
  215 | #define stdout stdout_dummy
      |         ^~~~~~
In file included from libquickjs.c:1:
/usr/include/stdio.h:154:9: note: this is the location of the previous definition
  154 | #define stdout stdout
      |         ^~~~~~
libquickjs.c:216:9: warning: ‘stderr’ redefined
  216 | #define stderr stderr_dummy
      |         ^~~~~~
/usr/include/stdio.h:155:9: note: this is the location of the previous definition
  155 | #define stderr stderr
      |         ^~~~~~
In file included from libquickjs.c:243:
quickjs/quickjs.c: In function ‘mark_weak_map_value’:
quickjs/quickjs.c:7234:17: warning: variable ‘s’ set but not used [-Wunused-but-set-variable=]
 7234 |     JSMapState *s;
      |                 ^
quickjs/quickjs.c: In function ‘num_keys_cmp’:
quickjs/quickjs.c:9477:28: warning: variable ‘atom2_is_integer’ set but not used [-Wunused-but-set-variable=]
 9477 |     bool atom1_is_integer, atom2_is_integer;
      |                            ^~~~~~~~~~~~~~~~
quickjs/quickjs.c:9477:10: warning: variable ‘atom1_is_integer’ set but not used [-Wunused-but-set-variable=]
 9477 |     bool atom1_is_integer, atom2_is_integer;
      |          ^~~~~~~~~~~~~~~~
quickjs/quickjs.c: In function ‘js_array_toSpliced’:
quickjs/quickjs.c:44424:43: warning: variable ‘last’ set but not used [-Wunused-but-set-variable=]
44424 |     JSValue arr, obj, ret, *arrp, *pval, *last;
      |                                           ^~~~
In file included from libquickjs.c:242:
quickjs/libunicode.c: In function ‘cr_op’:
quickjs/libunicode.c:501:12: warning: ‘is_in’ may be used uninitialized [-Wmaybe-uninitialized]
  501 |         if (is_in != (cr->len & 1)) {
      |            ^
quickjs/libunicode.c:458:23: note: ‘is_in’ was declared here
  458 |     int a_idx, b_idx, is_in;
      |                       ^~~~~
quickjs/quickjs.c: In function ‘js_compare_bigint’:
quickjs/quickjs.c:15891:19: warning: ‘p1’ may be used uninitialized [-Wmaybe-uninitialized]
15891 |             val = js_bigint_float64_cmp(ctx, p2, JS_VALUE_GET_FLOAT64(op1));
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:15846:15: note: ‘p1’ was declared here
15846 |     JSBigInt *p1;
      |               ^~
quickjs/quickjs.c:15907:19: warning: ‘p1’ may be used uninitialized [-Wmaybe-uninitialized]
15907 |             val = js_bigint_cmp(ctx, p1, p2);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:15846:15: note: ‘p1’ was declared here
15846 |     JSBigInt *p1;
      |               ^~
quickjs/quickjs.c:15907:19: warning: ‘p1’ may be used uninitialized [-Wmaybe-uninitialized]
15907 |             val = js_bigint_cmp(ctx, p1, p2);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:15846:15: note: ‘p1’ was declared here
15846 |     JSBigInt *p1;
      |               ^~
quickjs/quickjs.c:15897:19: warning: ‘p1’ may be used uninitialized [-Wmaybe-uninitialized]
15897 |             val = js_bigint_float64_cmp(ctx, p1, JS_VALUE_GET_FLOAT64(op2));
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:15846:15: note: ‘p1’ was declared here
15846 |     JSBigInt *p1;
      |               ^~
quickjs/quickjs.c:15932:12: warning: ‘res’ may be used uninitialized [-Wmaybe-uninitialized]
15932 |     return res;
      |            ^~~
quickjs/quickjs.c:15869:9: note: ‘res’ was declared here
15869 |     int res, val, tag1, tag2;
      |         ^~~
quickjs/quickjs.c: In function ‘js_closure2’:
quickjs/quickjs.c:17598:25: warning: ‘var_ref’ may be used uninitialized [-Wmaybe-uninitialized]
17598 |             var_refs[i] = var_ref;
      |             ~~~~~~~~~~~~^~~~~~~~~
quickjs/quickjs.c:17578:23: note: ‘var_ref’ was declared here
17578 |             JSVarRef *var_ref;
      |                       ^~~~~~~
quickjs/quickjs.c: In function ‘js_typed_array_sort’:
quickjs/quickjs.c:61495:13: warning: ‘cmpfun’ may be used uninitialized [-Wmaybe-uninitialized]
61495 |             rqsort(p->u.array.u.ptr, len, elt_size, cmpfun, &tsc);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:61360:11: note: ‘cmpfun’ was declared here
61360 |     int (*cmpfun)(const void *a, const void *b, void *opaque);
      |           ^~~~~~
quickjs/quickjs.c: In function ‘__JS_ToFloat64Free’:
quickjs/quickjs.c:14046:11: warning: ‘d’ may be used uninitialized [-Wmaybe-uninitialized]
14046 |     *pres = d;
      |     ~~~~~~^~~
quickjs/quickjs.c:14029:12: note: ‘d’ was declared here
14029 |     double d;
      |            ^
In function ‘js_int64’,
    inlined from ‘js_binary_arith_slow’ at quickjs/quickjs.c:15476:18:
quickjs/quickjs.c:1618:24: warning: ‘v’ may be used uninitialized [-Wmaybe-uninitialized]
 1618 |     if (v >= INT32_MIN && v <= INT32_MAX)
      |                        ^
quickjs/quickjs.c: In function ‘js_binary_arith_slow’:
quickjs/quickjs.c:15439:17: note: ‘v’ was declared here
15439 |         int64_t v;
      |                 ^
quickjs/quickjs.c:15515:12: warning: ‘r’ may be used uninitialized [-Wmaybe-uninitialized]
15515 |         if (!r)
      |            ^
quickjs/quickjs.c:15479:29: note: ‘r’ was declared here
15479 |         JSBigInt *p1, *p2, *r;
      |                             ^
In file included from quickjs/dtoa.c:35,
                 from libquickjs.c:240:
quickjs/cutils.h:85:44: warning: ‘v’ may be used uninitialized [-Wmaybe-uninitialized]
   85 | #  define likely(x)       __builtin_expect(!!(x), 1)
      |                                            ^~~~~
quickjs/quickjs.c:15414:13: note: in expansion of macro ‘likely’
15414 |         if (likely(v >= JS_SHORT_BIG_INT_MIN && v <= JS_SHORT_BIG_INT_MAX)) {
      |             ^~~~~~
quickjs/quickjs.c:15383:21: note: ‘v’ was declared here
15383 |         js_sdlimb_t v;
      |                     ^
quickjs/quickjs.c:15549:18: warning: ‘dr’ may be used uninitialized [-Wmaybe-uninitialized]
15549 |         sp[-2] = js_float64(dr);
      |                  ^~~~~~~~~~~~~~
quickjs/quickjs.c:15519:16: note: ‘dr’ was declared here
15519 |         double dr;
      |                ^~
quickjs/quickjs.c: In function ‘js_binary_logic_slow’:
quickjs/quickjs.c:15833:18: warning: ‘r’ may be used uninitialized [-Wmaybe-uninitialized]
15833 |         sp[-2] = js_int32(r);
      |                  ^~~~~~~~~~~
quickjs/quickjs.c:15682:22: note: ‘r’ was declared here
15682 |     uint32_t v1, v2, r;
      |                      ^
quickjs/quickjs.c:15804:12: warning: ‘r’ may be used uninitialized [-Wmaybe-uninitialized]
15804 |         if (!r)
      |            ^
quickjs/quickjs.c:15760:29: note: ‘r’ was declared here
15760 |         JSBigInt *p1, *p2, *r;
      |                             ^
quickjs/quickjs.c:15742:18: warning: ‘v’ may be used uninitialized [-Wmaybe-uninitialized]
15742 |         sp[-2] = __JS_NewShortBigInt(ctx, v);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:15690:28: note: ‘v’ was declared here
15690 |         js_slimb_t v1, v2, v;
      |                            ^
quickjs/quickjs.c: In function ‘js_unary_arith_slow’:
quickjs/quickjs.c:15283:16: warning: ‘r’ may be used uninitialized [-Wmaybe-uninitialized]
15283 |             if (!r)
      |                ^
quickjs/quickjs.c:15256:23: note: ‘r’ was declared here
15256 |             JSBigInt *r;
      |                       ^
quickjs/quickjs.c: In function ‘js_parse_expr_binary’:
quickjs/quickjs.c:28083:9: warning: ‘opcode’ may be used uninitialized [-Wmaybe-uninitialized]
28083 |         emit_op(s, opcode);
      |         ^~~~~~~~~~~~~~~~~~
quickjs/quickjs.c:27928:13: note: ‘opcode’ was declared here
27928 |     int op, opcode;
      |             ^~~~~~
ar -rs ../inst/lib//libquickjs.a libquickjs.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I"include" -I"quickjs" -D_GNU_SOURCE  -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c quickjsr.cpp -o quickjsr.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I"include" -I"quickjs" -D_GNU_SOURCE  -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O2 -Wall -pedantic -mtune=native   -c init.cpp -o init.o
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpLaClIw/R.INSTALL1738633cef76ea/QuickJSR/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-QuickJSR/00new/QuickJSR/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (QuickJSR)