* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘ggmlR’ ...
** this is package ‘ggmlR’ version ‘0.5.1’
** package ‘ggmlR’ successfully unpacked and MD5 sums checked
** using staged installation
Checking OpenMP support...
  OpenMP C flags: -fopenmp
  OpenMP C++ flags: -fopenmp
Generating src/Makevars...
Configuration complete.
  Vulkan: disabled (use --with-vulkan to enable)
** libs
specified C++17
using C compiler: ‘gcc-15 (Debian 15.2.0-12) 15.2.0’
using C++ compiler: ‘g++-15 (Debian 15.2.0-12) 15.2.0’
using C++17
make[1]: Entering directory '/tmp/RtmpVGlbFs/R.INSTALLacc7572dc7f2c/ggmlR/src'
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c r_interface.c -o r_interface.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c r_interface_graph.c -o r_interface_graph.o
In file included from r_interface_graph.c:8:
ggml-impl.h:294:15: warning: ‘ggml_hash_find_or_insert’ defined but not used [-Wunused-function]
  294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:273:15: warning: ‘ggml_hash_insert’ defined but not used [-Wunused-function]
  273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~
ggml-impl.h:268:13: warning: ‘ggml_hash_contains’ defined but not used [-Wunused-function]
  268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |             ^~~~~~~~~~~~~~~~~~
ggml-impl.h:199:15: warning: ‘ggml_bitset_size’ defined but not used [-Wunused-function]
  199 | static size_t ggml_bitset_size(size_t n) {
      |               ^~~~~~~~~~~~~~~~
ggml-impl.h:162:13: warning: ‘ggml_set_op_params_f32’ defined but not used [-Wunused-function]
  162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:157:13: warning: ‘ggml_set_op_params_i32’ defined but not used [-Wunused-function]
  157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:152:14: warning: ‘ggml_get_op_params_f32’ defined but not used [-Wunused-function]
  152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
      |              ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:147:16: warning: ‘ggml_get_op_params_i32’ defined but not used [-Wunused-function]
  147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
      |                ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:141:13: warning: ‘ggml_set_op_params’ defined but not used [-Wunused-function]
  141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
      |             ^~~~~~~~~~~~~~~~~~
ggml-impl.h:88:13: warning: ‘ggml_op_is_empty’ defined but not used [-Wunused-function]
   88 | static bool ggml_op_is_empty(enum ggml_op op) {
      |             ^~~~~~~~~~~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c r_interface_vulkan.c -o r_interface_vulkan.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c r_interface_scheduler.c -o r_interface_scheduler.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c r_interface_opt.c -o r_interface_opt.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c r_interface_backend.c -o r_interface_backend.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c r_interface_quants.c -o r_interface_quants.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h -DR_GGML_IO_IMPL  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c r_ggml_io.c -o r_ggml_io.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c ggml.c -o ggml.o
ggml.c:6154:13: warning: ‘ggml_hash_map_free’ defined but not used [-Wunused-function]
 6154 | static void ggml_hash_map_free(struct hash_map * map) {
      |             ^~~~~~~~~~~~~~~~~~
ggml.c:6147:26: warning: ‘ggml_new_hash_map’ defined but not used [-Wunused-function]
 6147 | static struct hash_map * ggml_new_hash_map(size_t size) {
      |                          ^~~~~~~~~~~~~~~~~
In file included from ggml.c:5:
ggml-impl.h:294:15: warning: ‘ggml_hash_find_or_insert’ defined but not used [-Wunused-function]
  294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:268:13: warning: ‘ggml_hash_contains’ defined but not used [-Wunused-function]
  268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |             ^~~~~~~~~~~~~~~~~~
ggml-impl.h:152:14: warning: ‘ggml_get_op_params_f32’ defined but not used [-Wunused-function]
  152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
      |              ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:88:13: warning: ‘ggml_op_is_empty’ defined but not used [-Wunused-function]
   88 | static bool ggml_op_is_empty(enum ggml_op op) {
      |             ^~~~~~~~~~~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c ggml-alloc.c -o ggml-alloc.o
ggml-alloc.c:109:13: warning: ‘ggml_buffer_address_less’ defined but not used [-Wunused-function]
  109 | static bool ggml_buffer_address_less(struct buffer_address a, struct buffer_address b) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ggml-alloc.c:4:
ggml-impl.h:273:15: warning: ‘ggml_hash_insert’ defined but not used [-Wunused-function]
  273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~
ggml-impl.h:268:13: warning: ‘ggml_hash_contains’ defined but not used [-Wunused-function]
  268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |             ^~~~~~~~~~~~~~~~~~
ggml-impl.h:199:15: warning: ‘ggml_bitset_size’ defined but not used [-Wunused-function]
  199 | static size_t ggml_bitset_size(size_t n) {
      |               ^~~~~~~~~~~~~~~~
ggml-impl.h:162:13: warning: ‘ggml_set_op_params_f32’ defined but not used [-Wunused-function]
  162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:157:13: warning: ‘ggml_set_op_params_i32’ defined but not used [-Wunused-function]
  157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:152:14: warning: ‘ggml_get_op_params_f32’ defined but not used [-Wunused-function]
  152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
      |              ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:147:16: warning: ‘ggml_get_op_params_i32’ defined but not used [-Wunused-function]
  147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
      |                ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:141:13: warning: ‘ggml_set_op_params’ defined but not used [-Wunused-function]
  141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
      |             ^~~~~~~~~~~~~~~~~~
ggml-impl.h:88:13: warning: ‘ggml_op_is_empty’ defined but not used [-Wunused-function]
   88 | static bool ggml_op_is_empty(enum ggml_op op) {
      |             ^~~~~~~~~~~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c ggml-quants.c -o ggml-quants.o
ggml-quants.c:4068:12: warning: ‘iq1_find_best_neighbour’ defined but not used [-Wunused-function]
 4068 | static int iq1_find_best_neighbour(const uint16_t * GGML_RESTRICT neighbours, const uint64_t * GGML_RESTRICT grid,
      |            ^~~~~~~~~~~~~~~~~~~~~~~
ggml-quants.c:579:14: warning: ‘make_qkx1_quants’ defined but not used [-Wunused-function]
  579 | static float make_qkx1_quants(int n, int nmax, const float * GGML_RESTRICT x, uint8_t * GGML_RESTRICT L, float * GGML_RESTRICT the_min,
      |              ^~~~~~~~~~~~~~~~
In file included from ggml-quants.c:5:
ggml-impl.h:294:15: warning: ‘ggml_hash_find_or_insert’ defined but not used [-Wunused-function]
  294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:273:15: warning: ‘ggml_hash_insert’ defined but not used [-Wunused-function]
  273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~
ggml-impl.h:268:13: warning: ‘ggml_hash_contains’ defined but not used [-Wunused-function]
  268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |             ^~~~~~~~~~~~~~~~~~
ggml-impl.h:199:15: warning: ‘ggml_bitset_size’ defined but not used [-Wunused-function]
  199 | static size_t ggml_bitset_size(size_t n) {
      |               ^~~~~~~~~~~~~~~~
ggml-impl.h:162:13: warning: ‘ggml_set_op_params_f32’ defined but not used [-Wunused-function]
  162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:157:13: warning: ‘ggml_set_op_params_i32’ defined but not used [-Wunused-function]
  157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:152:14: warning: ‘ggml_get_op_params_f32’ defined but not used [-Wunused-function]
  152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
      |              ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:147:16: warning: ‘ggml_get_op_params_i32’ defined but not used [-Wunused-function]
  147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
      |                ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:141:13: warning: ‘ggml_set_op_params’ defined but not used [-Wunused-function]
  141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
      |             ^~~~~~~~~~~~~~~~~~
ggml-impl.h:88:13: warning: ‘ggml_op_is_empty’ defined but not used [-Wunused-function]
   88 | static bool ggml_op_is_empty(enum ggml_op op) {
      |             ^~~~~~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c ggml-opt.cpp -o ggml-opt.o
In file included from <command-line>:
ggml-opt.cpp: In function ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’:
./r_ggml_compat.h:140:17: warning: argument 1 null where non-null expected [-Wnonnull]
  140 | #define stderr ((FILE *) 0)
      |                ~^~~~~~~~~~~
ggml-opt.cpp:933:13: note: in expansion of macro ‘stderr’
  933 |     fprintf(stderr, "%s[", train ? "train: " : "val:   ");
      |             ^~~~~~
In file included from /usr/include/stdio.h:970,
                 from ./r_ggml_compat.h:42:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:109:1: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
  109 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
      | ^~~~~~~
./r_ggml_compat.h:140:17: warning: argument 1 null where non-null expected [-Wnonnull]
  140 | #define stderr ((FILE *) 0)
      |                ~^~~~~~~~~~~
ggml-opt.cpp:940:21: note: in expansion of macro ‘stderr’
  940 |             fprintf(stderr, "\u2588"); // full block
      |                     ^~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h:109:1: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
  109 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
      | ^~~~~~~
./r_ggml_compat.h:140:17: warning: argument 1 null where non-null expected [-Wnonnull]
  140 | #define stderr ((FILE *) 0)
      |                ~^~~~~~~~~~~
ggml-opt.cpp:942:21: note: in expansion of macro ‘stderr’
  942 |             fprintf(stderr, "\u2589"); // 7/8 filled
      |                     ^~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h:109:1: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
  109 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
      | ^~~~~~~
./r_ggml_compat.h:140:17: warning: argument 1 null where non-null expected [-Wnonnull]
  140 | #define stderr ((FILE *) 0)
      |                ~^~~~~~~~~~~
ggml-opt.cpp:944:21: note: in expansion of macro ‘stderr’
  944 |             fprintf(stderr, "\u258A"); // 6/8 filled
      |                     ^~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h:109:1: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
  109 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
      | ^~~~~~~
./r_ggml_compat.h:140:17: warning: argument 1 null where non-null expected [-Wnonnull]
  140 | #define stderr ((FILE *) 0)
      |                ~^~~~~~~~~~~
ggml-opt.cpp:946:21: note: in expansion of macro ‘stderr’
  946 |             fprintf(stderr, "\u258B"); // 5/8 filled
      |                     ^~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h:109:1: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
  109 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
      | ^~~~~~~
./r_ggml_compat.h:140:17: warning: argument 1 null where non-null expected [-Wnonnull]
  140 | #define stderr ((FILE *) 0)
      |                ~^~~~~~~~~~~
ggml-opt.cpp:948:21: note: in expansion of macro ‘stderr’
  948 |             fprintf(stderr, "\u258C"); // 4/8 filled
      |                     ^~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h:109:1: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
  109 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
      | ^~~~~~~
./r_ggml_compat.h:140:17: warning: argument 1 null where non-null expected [-Wnonnull]
  140 | #define stderr ((FILE *) 0)
      |                ~^~~~~~~~~~~
ggml-opt.cpp:950:21: note: in expansion of macro ‘stderr’
  950 |             fprintf(stderr, "\u258D"); // 3/8 filled
      |                     ^~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h:109:1: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
  109 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
      | ^~~~~~~
./r_ggml_compat.h:140:17: warning: argument 1 null where non-null expected [-Wnonnull]
  140 | #define stderr ((FILE *) 0)
      |                ~^~~~~~~~~~~
ggml-opt.cpp:952:21: note: in expansion of macro ‘stderr’
  952 |             fprintf(stderr, "\u258E"); // 2/8 filled
      |                     ^~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h:109:1: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
  109 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
      | ^~~~~~~
./r_ggml_compat.h:140:17: warning: argument 1 null where non-null expected [-Wnonnull]
  140 | #define stderr ((FILE *) 0)
      |                ~^~~~~~~~~~~
ggml-opt.cpp:954:21: note: in expansion of macro ‘stderr’
  954 |             fprintf(stderr, "\u258F"); // 1/8 filled
      |                     ^~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h:109:1: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
  109 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
      | ^~~~~~~
./r_ggml_compat.h:140:17: warning: argument 1 null where non-null expected [-Wnonnull]
  140 | #define stderr ((FILE *) 0)
      |                ~^~~~~~~~~~~
ggml-opt.cpp:956:21: note: in expansion of macro ‘stderr’
  956 |             fprintf(stderr, " ");
      |                     ^~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h:109:1: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
  109 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
      | ^~~~~~~
./r_ggml_compat.h:140:17: warning: argument 1 null where non-null expected [-Wnonnull]
  140 | #define stderr ((FILE *) 0)
      |                ~^~~~~~~~~~~
ggml-opt.cpp:986:13: note: in expansion of macro ‘stderr’
  986 |     fprintf(stderr, "] data=%07" PRId64 "/%07" PRId64 " loss=%.5lf±%.5lf acc=%.2lf±%.2lf%% "
      |             ^~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h:109:1: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
  109 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
      | ^~~~~~~
./r_ggml_compat.h:140:17: warning: argument 1 null where non-null expected [-Wnonnull]
  140 | #define stderr ((FILE *) 0)
      |                ~^~~~~~~~~~~
ggml-opt.cpp:991:17: note: in expansion of macro ‘stderr’
  991 |         fprintf(stderr, "\n");
      |                 ^~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h:109:1: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
  109 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
      | ^~~~~~~
ggml-opt.cpp: In function ‘void ggml_opt_fit(ggml_backend_sched_t, ggml_context*, ggml_tensor*, ggml_tensor*, ggml_opt_dataset_t, ggml_opt_loss_type, ggml_opt_optimizer_type, ggml_opt_get_optimizer_params, int64_t, int64_t, float, bool)’:
./r_ggml_compat.h:140:17: warning: argument 1 null where non-null expected [-Wnonnull]
  140 | #define stderr ((FILE *) 0)
      |                ~^~~~~~~~~~~
ggml-opt.cpp:1058:21: note: in expansion of macro ‘stderr’
 1058 |             fprintf(stderr, "%s: epoch %04" PRId64 "/%04" PRId64 ":\n", __func__, epoch, nepoch);
      |                     ^~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h:109:1: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
  109 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
      | ^~~~~~~
./r_ggml_compat.h:140:17: warning: argument 1 null where non-null expected [-Wnonnull]
  140 | #define stderr ((FILE *) 0)
      |                ~^~~~~~~~~~~
ggml-opt.cpp:1062:21: note: in expansion of macro ‘stderr’
 1062 |             fprintf(stderr, "\n");
      |                     ^~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h:109:1: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
  109 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
      | ^~~~~~~
./r_ggml_compat.h:140:17: warning: argument 1 null where non-null expected [-Wnonnull]
  140 | #define stderr ((FILE *) 0)
      |                ~^~~~~~~~~~~
ggml-opt.cpp:1072:17: note: in expansion of macro ‘stderr’
 1072 |         fprintf(stderr, "%s: training took %02" PRId64 ":%02" PRId64 ":%02" PRId64 "\n", __func__, t_total_h, t_total_m, t_total_s);
      |                 ^~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2.h:109:1: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
  109 | fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
      | ^~~~~~~
In file included from ggml-opt.cpp:6:
ggml-impl.h: At global scope:
ggml-impl.h:294:15: warning: ‘size_t ggml_hash_find_or_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:273:15: warning: ‘size_t ggml_hash_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~
ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |             ^~~~~~~~~~~~~~~~~~
ggml-impl.h:199:15: warning: ‘size_t ggml_bitset_size(size_t)’ defined but not used [-Wunused-function]
  199 | static size_t ggml_bitset_size(size_t n) {
      |               ^~~~~~~~~~~~~~~~
ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
  162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
  157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:152:14: warning: ‘float ggml_get_op_params_f32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
  152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
      |              ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:147:16: warning: ‘int32_t ggml_get_op_params_i32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
  147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
      |                ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
  141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
      |             ^~~~~~~~~~~~~~~~~~
ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
   88 | static bool ggml_op_is_empty(enum ggml_op op) {
      |             ^~~~~~~~~~~~~~~~
In function ‘int fprintf(FILE*, const char*, ...)’,
    inlined from ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’ at ggml-opt.cpp:933:12:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:111:24: warning: argument 1 null where non-null expected [-Wnonnull]
  111 |   return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
      |          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  112 |                         __va_arg_pack ());
      |                         ~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:954:
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h: In function ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’:
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h:49:12: note: in a call to function ‘int __fprintf_chk(FILE*, int, const char*, ...)’ declared ‘nonnull’
   49 | extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
      |            ^~~~~~~~~~~~~
In function ‘int fprintf(FILE*, const char*, ...)’,
    inlined from ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’ at ggml-opt.cpp:940:20:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:111:24: warning: argument 1 null where non-null expected [-Wnonnull]
  111 |   return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
      |          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  112 |                         __va_arg_pack ());
      |                         ~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h: In function ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’:
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h:49:12: note: in a call to function ‘int __fprintf_chk(FILE*, int, const char*, ...)’ declared ‘nonnull’
   49 | extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
      |            ^~~~~~~~~~~~~
In function ‘int fprintf(FILE*, const char*, ...)’,
    inlined from ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’ at ggml-opt.cpp:942:20:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:111:24: warning: argument 1 null where non-null expected [-Wnonnull]
  111 |   return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
      |          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  112 |                         __va_arg_pack ());
      |                         ~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h: In function ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’:
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h:49:12: note: in a call to function ‘int __fprintf_chk(FILE*, int, const char*, ...)’ declared ‘nonnull’
   49 | extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
      |            ^~~~~~~~~~~~~
In function ‘int fprintf(FILE*, const char*, ...)’,
    inlined from ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’ at ggml-opt.cpp:944:20:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:111:24: warning: argument 1 null where non-null expected [-Wnonnull]
  111 |   return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
      |          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  112 |                         __va_arg_pack ());
      |                         ~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h: In function ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’:
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h:49:12: note: in a call to function ‘int __fprintf_chk(FILE*, int, const char*, ...)’ declared ‘nonnull’
   49 | extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
      |            ^~~~~~~~~~~~~
In function ‘int fprintf(FILE*, const char*, ...)’,
    inlined from ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’ at ggml-opt.cpp:946:20:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:111:24: warning: argument 1 null where non-null expected [-Wnonnull]
  111 |   return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
      |          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  112 |                         __va_arg_pack ());
      |                         ~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h: In function ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’:
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h:49:12: note: in a call to function ‘int __fprintf_chk(FILE*, int, const char*, ...)’ declared ‘nonnull’
   49 | extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
      |            ^~~~~~~~~~~~~
In function ‘int fprintf(FILE*, const char*, ...)’,
    inlined from ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’ at ggml-opt.cpp:948:20:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:111:24: warning: argument 1 null where non-null expected [-Wnonnull]
  111 |   return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
      |          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  112 |                         __va_arg_pack ());
      |                         ~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h: In function ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’:
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h:49:12: note: in a call to function ‘int __fprintf_chk(FILE*, int, const char*, ...)’ declared ‘nonnull’
   49 | extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
      |            ^~~~~~~~~~~~~
In function ‘int fprintf(FILE*, const char*, ...)’,
    inlined from ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’ at ggml-opt.cpp:950:20:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:111:24: warning: argument 1 null where non-null expected [-Wnonnull]
  111 |   return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
      |          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  112 |                         __va_arg_pack ());
      |                         ~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h: In function ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’:
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h:49:12: note: in a call to function ‘int __fprintf_chk(FILE*, int, const char*, ...)’ declared ‘nonnull’
   49 | extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
      |            ^~~~~~~~~~~~~
In function ‘int fprintf(FILE*, const char*, ...)’,
    inlined from ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’ at ggml-opt.cpp:952:20:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:111:24: warning: argument 1 null where non-null expected [-Wnonnull]
  111 |   return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
      |          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  112 |                         __va_arg_pack ());
      |                         ~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h: In function ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’:
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h:49:12: note: in a call to function ‘int __fprintf_chk(FILE*, int, const char*, ...)’ declared ‘nonnull’
   49 | extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
      |            ^~~~~~~~~~~~~
In function ‘int fprintf(FILE*, const char*, ...)’,
    inlined from ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’ at ggml-opt.cpp:954:20:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:111:24: warning: argument 1 null where non-null expected [-Wnonnull]
  111 |   return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
      |          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  112 |                         __va_arg_pack ());
      |                         ~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h: In function ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’:
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h:49:12: note: in a call to function ‘int __fprintf_chk(FILE*, int, const char*, ...)’ declared ‘nonnull’
   49 | extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
      |            ^~~~~~~~~~~~~
In function ‘int fprintf(FILE*, const char*, ...)’,
    inlined from ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’ at ggml-opt.cpp:956:20:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:111:24: warning: argument 1 null where non-null expected [-Wnonnull]
  111 |   return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
      |          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  112 |                         __va_arg_pack ());
      |                         ~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h: In function ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’:
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h:49:12: note: in a call to function ‘int __fprintf_chk(FILE*, int, const char*, ...)’ declared ‘nonnull’
   49 | extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
      |            ^~~~~~~~~~~~~
In function ‘int fprintf(FILE*, const char*, ...)’,
    inlined from ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’ at ggml-opt.cpp:986:12:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:111:24: warning: argument 1 null where non-null expected [-Wnonnull]
  111 |   return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
      |          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  112 |                         __va_arg_pack ());
      |                         ~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h: In function ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’:
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h:49:12: note: in a call to function ‘int __fprintf_chk(FILE*, int, const char*, ...)’ declared ‘nonnull’
   49 | extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
      |            ^~~~~~~~~~~~~
In function ‘int fprintf(FILE*, const char*, ...)’,
    inlined from ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’ at ggml-opt.cpp:991:16:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:111:24: warning: argument 1 null where non-null expected [-Wnonnull]
  111 |   return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
      |          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  112 |                         __va_arg_pack ());
      |                         ~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h: In function ‘void ggml_opt_epoch_callback_progress_bar(bool, ggml_opt_context_t, ggml_opt_dataset_t, ggml_opt_result_t, int64_t, int64_t, int64_t)’:
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h:49:12: note: in a call to function ‘int __fprintf_chk(FILE*, int, const char*, ...)’ declared ‘nonnull’
   49 | extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
      |            ^~~~~~~~~~~~~
In function ‘int fprintf(FILE*, const char*, ...)’,
    inlined from ‘void ggml_opt_fit(ggml_backend_sched_t, ggml_context*, ggml_tensor*, ggml_tensor*, ggml_opt_dataset_t, ggml_opt_loss_type, ggml_opt_optimizer_type, ggml_opt_get_optimizer_params, int64_t, int64_t, float, bool)’ at ggml-opt.cpp:1058:20:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:111:24: warning: argument 1 null where non-null expected [-Wnonnull]
  111 |   return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
      |          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  112 |                         __va_arg_pack ());
      |                         ~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h: In function ‘void ggml_opt_fit(ggml_backend_sched_t, ggml_context*, ggml_tensor*, ggml_tensor*, ggml_opt_dataset_t, ggml_opt_loss_type, ggml_opt_optimizer_type, ggml_opt_get_optimizer_params, int64_t, int64_t, float, bool)’:
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h:49:12: note: in a call to function ‘int __fprintf_chk(FILE*, int, const char*, ...)’ declared ‘nonnull’
   49 | extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
      |            ^~~~~~~~~~~~~
In function ‘int fprintf(FILE*, const char*, ...)’,
    inlined from ‘void ggml_opt_fit(ggml_backend_sched_t, ggml_context*, ggml_tensor*, ggml_tensor*, ggml_opt_dataset_t, ggml_opt_loss_type, ggml_opt_optimizer_type, ggml_opt_get_optimizer_params, int64_t, int64_t, float, bool)’ at ggml-opt.cpp:1062:20:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:111:24: warning: argument 1 null where non-null expected [-Wnonnull]
  111 |   return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
      |          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  112 |                         __va_arg_pack ());
      |                         ~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h: In function ‘void ggml_opt_fit(ggml_backend_sched_t, ggml_context*, ggml_tensor*, ggml_tensor*, ggml_opt_dataset_t, ggml_opt_loss_type, ggml_opt_optimizer_type, ggml_opt_get_optimizer_params, int64_t, int64_t, float, bool)’:
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h:49:12: note: in a call to function ‘int __fprintf_chk(FILE*, int, const char*, ...)’ declared ‘nonnull’
   49 | extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
      |            ^~~~~~~~~~~~~
In function ‘int fprintf(FILE*, const char*, ...)’,
    inlined from ‘void ggml_opt_fit(ggml_backend_sched_t, ggml_context*, ggml_tensor*, ggml_tensor*, ggml_opt_dataset_t, ggml_opt_loss_type, ggml_opt_optimizer_type, ggml_opt_get_optimizer_params, int64_t, int64_t, float, bool)’ at ggml-opt.cpp:1072:16:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:111:24: warning: argument 1 null where non-null expected [-Wnonnull]
  111 |   return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
      |          ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  112 |                         __va_arg_pack ());
      |                         ~~~~~~~~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h: In function ‘void ggml_opt_fit(ggml_backend_sched_t, ggml_context*, ggml_tensor*, ggml_tensor*, ggml_opt_dataset_t, ggml_opt_loss_type, ggml_opt_optimizer_type, ggml_opt_get_optimizer_params, int64_t, int64_t, float, bool)’:
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h:49:12: note: in a call to function ‘int __fprintf_chk(FILE*, int, const char*, ...)’ declared ‘nonnull’
   49 | extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
      |            ^~~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c gguf.cpp -o gguf.o
In file included from gguf.cpp:3:
ggml-impl.h:294:15: warning: ‘size_t ggml_hash_find_or_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:273:15: warning: ‘size_t ggml_hash_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~
ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |             ^~~~~~~~~~~~~~~~~~
ggml-impl.h:199:15: warning: ‘size_t ggml_bitset_size(size_t)’ defined but not used [-Wunused-function]
  199 | static size_t ggml_bitset_size(size_t n) {
      |               ^~~~~~~~~~~~~~~~
ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
  162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
  157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:152:14: warning: ‘float ggml_get_op_params_f32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
  152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
      |              ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:147:16: warning: ‘int32_t ggml_get_op_params_i32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
  147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
      |                ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
  141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
      |             ^~~~~~~~~~~~~~~~~~
ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
   88 | static bool ggml_op_is_empty(enum ggml_op op) {
      |             ^~~~~~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c ggml-backend.cpp -o ggml-backend.o
In file included from ggml-backend.cpp:14:
ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |             ^~~~~~~~~~~~~~~~~~
ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
  162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
  157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:152:14: warning: ‘float ggml_get_op_params_f32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
  152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
      |              ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:147:16: warning: ‘int32_t ggml_get_op_params_i32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
  147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
      |                ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
  141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
      |             ^~~~~~~~~~~~~~~~~~
ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
   88 | static bool ggml_op_is_empty(enum ggml_op op) {
      |             ^~~~~~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c ggml-backend-reg.cpp -o ggml-backend-reg.o
In file included from ggml-backend-reg.cpp:3:
ggml-impl.h:294:15: warning: ‘size_t ggml_hash_find_or_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:273:15: warning: ‘size_t ggml_hash_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~
ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |             ^~~~~~~~~~~~~~~~~~
ggml-impl.h:199:15: warning: ‘size_t ggml_bitset_size(size_t)’ defined but not used [-Wunused-function]
  199 | static size_t ggml_bitset_size(size_t n) {
      |               ^~~~~~~~~~~~~~~~
ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
  162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
  157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:152:14: warning: ‘float ggml_get_op_params_f32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
  152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
      |              ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:147:16: warning: ‘int32_t ggml_get_op_params_i32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
  147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
      |                ^~~~~~~~~~~~~~~~~~~~~~
ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
  141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
      |             ^~~~~~~~~~~~~~~~~~
ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
   88 | static bool ggml_op_is_empty(enum ggml_op op) {
      |             ^~~~~~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c ggml-threading.cpp -o ggml-threading.o
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c ggml-cpu/traits.cpp -o ggml-cpu/traits.o
In file included from ggml-cpu/ggml-cpu-impl.h:6,
                 from ggml-cpu/traits.h:3,
                 from ggml-cpu/traits.cpp:1:
./ggml-impl.h:294:15: warning: ‘size_t ggml_hash_find_or_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:273:15: warning: ‘size_t ggml_hash_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~
./ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |             ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:199:15: warning: ‘size_t ggml_bitset_size(size_t)’ defined but not used [-Wunused-function]
  199 | static size_t ggml_bitset_size(size_t n) {
      |               ^~~~~~~~~~~~~~~~
./ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
  162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
  157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:152:14: warning: ‘float ggml_get_op_params_f32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
  152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
      |              ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:147:16: warning: ‘int32_t ggml_get_op_params_i32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
  147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
      |                ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
  141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
      |             ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
   88 | static bool ggml_op_is_empty(enum ggml_op op) {
      |             ^~~~~~~~~~~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c ggml-cpu/ggml-cpu-backend.c -o ggml-cpu/ggml-cpu-backend.o
ggml-cpu/ggml-cpu-backend.c:2423:21: warning: ‘ggml_graph_compute_secondary_thread’ declared ‘static’ but never defined [-Wunused-function]
 2423 | static thread_ret_t ggml_graph_compute_secondary_thread(void* data);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ggml-cpu/ggml-cpu-backend.c:717:13: warning: ‘ggml_init_riscv_arch_features’ defined but not used [-Wunused-function]
  717 | static void ggml_init_riscv_arch_features(void) {}
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ggml-cpu/ggml-cpu-impl.h:6,
                 from ggml-cpu/traits.h:3,
                 from ggml-cpu/ggml-cpu-backend.c:6:
./ggml-impl.h:294:15: warning: ‘ggml_hash_find_or_insert’ defined but not used [-Wunused-function]
  294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:273:15: warning: ‘ggml_hash_insert’ defined but not used [-Wunused-function]
  273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~
./ggml-impl.h:268:13: warning: ‘ggml_hash_contains’ defined but not used [-Wunused-function]
  268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |             ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:199:15: warning: ‘ggml_bitset_size’ defined but not used [-Wunused-function]
  199 | static size_t ggml_bitset_size(size_t n) {
      |               ^~~~~~~~~~~~~~~~
./ggml-impl.h:162:13: warning: ‘ggml_set_op_params_f32’ defined but not used [-Wunused-function]
  162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:157:13: warning: ‘ggml_set_op_params_i32’ defined but not used [-Wunused-function]
  157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:152:14: warning: ‘ggml_get_op_params_f32’ defined but not used [-Wunused-function]
  152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
      |              ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:141:13: warning: ‘ggml_set_op_params’ defined but not used [-Wunused-function]
  141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
      |             ^~~~~~~~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c ggml-cpu/ggml-cpu.cpp -o ggml-cpu/ggml-cpu.o
In file included from ggml-cpu/ggml-cpu-impl.h:6,
                 from ggml-cpu/traits.h:3,
                 from ggml-cpu/repack.h:6,
                 from ggml-cpu/ggml-cpu.cpp:4:
./ggml-impl.h:294:15: warning: ‘size_t ggml_hash_find_or_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:273:15: warning: ‘size_t ggml_hash_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~
./ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |             ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:199:15: warning: ‘size_t ggml_bitset_size(size_t)’ defined but not used [-Wunused-function]
  199 | static size_t ggml_bitset_size(size_t n) {
      |               ^~~~~~~~~~~~~~~~
./ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
  162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
  157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:152:14: warning: ‘float ggml_get_op_params_f32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
  152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
      |              ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:147:16: warning: ‘int32_t ggml_get_op_params_i32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
  147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
      |                ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
  141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
      |             ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
   88 | static bool ggml_op_is_empty(enum ggml_op op) {
      |             ^~~~~~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c ggml-cpu/ops.cpp -o ggml-cpu/ops.o
In file included from ggml-cpu/ops.cpp:4:
./ggml-impl.h:294:15: warning: ‘size_t ggml_hash_find_or_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:273:15: warning: ‘size_t ggml_hash_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~
./ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |             ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:199:15: warning: ‘size_t ggml_bitset_size(size_t)’ defined but not used [-Wunused-function]
  199 | static size_t ggml_bitset_size(size_t n) {
      |               ^~~~~~~~~~~~~~~~
./ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
  162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
  157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
  141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
      |             ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
   88 | static bool ggml_op_is_empty(enum ggml_op op) {
      |             ^~~~~~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c ggml-cpu/vec.cpp -o ggml-cpu/vec.o
In file included from ggml-cpu/vec.h:5,
                 from ggml-cpu/vec.cpp:1:
./ggml-impl.h:294:15: warning: ‘size_t ggml_hash_find_or_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:273:15: warning: ‘size_t ggml_hash_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~
./ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |             ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:199:15: warning: ‘size_t ggml_bitset_size(size_t)’ defined but not used [-Wunused-function]
  199 | static size_t ggml_bitset_size(size_t n) {
      |               ^~~~~~~~~~~~~~~~
./ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
  162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
  157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:152:14: warning: ‘float ggml_get_op_params_f32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
  152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
      |              ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:147:16: warning: ‘int32_t ggml_get_op_params_i32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
  147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
      |                ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
  141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
      |             ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
   88 | static bool ggml_op_is_empty(enum ggml_op op) {
      |             ^~~~~~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c ggml-cpu/binary-ops.cpp -o ggml-cpu/binary-ops.o
In file included from ggml-cpu/ggml-cpu-impl.h:6,
                 from ggml-cpu/traits.h:3,
                 from ggml-cpu/common.h:4,
                 from ggml-cpu/binary-ops.h:3,
                 from ggml-cpu/binary-ops.cpp:1:
./ggml-impl.h:294:15: warning: ‘size_t ggml_hash_find_or_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:273:15: warning: ‘size_t ggml_hash_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~
./ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |             ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:199:15: warning: ‘size_t ggml_bitset_size(size_t)’ defined but not used [-Wunused-function]
  199 | static size_t ggml_bitset_size(size_t n) {
      |               ^~~~~~~~~~~~~~~~
./ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
  162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
  157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:152:14: warning: ‘float ggml_get_op_params_f32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
  152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
      |              ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:147:16: warning: ‘int32_t ggml_get_op_params_i32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
  147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
      |                ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
  141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
      |             ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
   88 | static bool ggml_op_is_empty(enum ggml_op op) {
      |             ^~~~~~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c ggml-cpu/unary-ops.cpp -o ggml-cpu/unary-ops.o
In file included from ggml-cpu/ggml-cpu-impl.h:6,
                 from ggml-cpu/traits.h:3,
                 from ggml-cpu/common.h:4,
                 from ggml-cpu/unary-ops.h:3,
                 from ggml-cpu/unary-ops.cpp:1:
./ggml-impl.h:294:15: warning: ‘size_t ggml_hash_find_or_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:273:15: warning: ‘size_t ggml_hash_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~
./ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |             ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:199:15: warning: ‘size_t ggml_bitset_size(size_t)’ defined but not used [-Wunused-function]
  199 | static size_t ggml_bitset_size(size_t n) {
      |               ^~~~~~~~~~~~~~~~
./ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
  162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
  157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:147:16: warning: ‘int32_t ggml_get_op_params_i32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
  147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
      |                ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
  141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
      |             ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
   88 | static bool ggml_op_is_empty(enum ggml_op op) {
      |             ^~~~~~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c ggml-cpu/repack.cpp -o ggml-cpu/repack.o
In file included from ggml-cpu/repack.cpp:6:
./ggml-impl.h:294:15: warning: ‘size_t ggml_hash_find_or_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:273:15: warning: ‘size_t ggml_hash_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~
./ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |             ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:199:15: warning: ‘size_t ggml_bitset_size(size_t)’ defined but not used [-Wunused-function]
  199 | static size_t ggml_bitset_size(size_t n) {
      |               ^~~~~~~~~~~~~~~~
./ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
  162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
  157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:152:14: warning: ‘float ggml_get_op_params_f32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
  152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
      |              ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:147:16: warning: ‘int32_t ggml_get_op_params_i32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
  147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
      |                ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
  141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
      |             ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
   88 | static bool ggml_op_is_empty(enum ggml_op op) {
      |             ^~~~~~~~~~~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c ggml-cpu/quants.c -o ggml-cpu/quants.o
In file included from ggml-cpu/ggml-cpu-impl.h:6,
                 from ggml-cpu/quants.c:4:
./ggml-impl.h:294:15: warning: ‘ggml_hash_find_or_insert’ defined but not used [-Wunused-function]
  294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:273:15: warning: ‘ggml_hash_insert’ defined but not used [-Wunused-function]
  273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~
./ggml-impl.h:268:13: warning: ‘ggml_hash_contains’ defined but not used [-Wunused-function]
  268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |             ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:199:15: warning: ‘ggml_bitset_size’ defined but not used [-Wunused-function]
  199 | static size_t ggml_bitset_size(size_t n) {
      |               ^~~~~~~~~~~~~~~~
./ggml-impl.h:162:13: warning: ‘ggml_set_op_params_f32’ defined but not used [-Wunused-function]
  162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:157:13: warning: ‘ggml_set_op_params_i32’ defined but not used [-Wunused-function]
  157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:152:14: warning: ‘ggml_get_op_params_f32’ defined but not used [-Wunused-function]
  152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
      |              ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:147:16: warning: ‘ggml_get_op_params_i32’ defined but not used [-Wunused-function]
  147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
      |                ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:141:13: warning: ‘ggml_set_op_params’ defined but not used [-Wunused-function]
  141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
      |             ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:88:13: warning: ‘ggml_op_is_empty’ defined but not used [-Wunused-function]
   88 | static bool ggml_op_is_empty(enum ggml_op op) {
      |             ^~~~~~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c ggml-cpu/hbm.cpp -o ggml-cpu/hbm.o
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c ggml-cpu/arch/x86/cpu-feats.cpp -o ggml-cpu/arch/x86/cpu-feats.o
ggml-cpu/arch/x86/cpu-feats.cpp:263:12: warning: ‘int ggml_backend_cpu_x86_score()’ defined but not used [-Wunused-function]
  263 | static int ggml_backend_cpu_x86_score() {
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c ggml-cpu/arch/x86/quants.c -o ggml-cpu/arch/x86/quants.o
In file included from ggml-cpu/arch/x86/quants.c:4:
./ggml-impl.h:294:15: warning: ‘ggml_hash_find_or_insert’ defined but not used [-Wunused-function]
  294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:273:15: warning: ‘ggml_hash_insert’ defined but not used [-Wunused-function]
  273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~
./ggml-impl.h:268:13: warning: ‘ggml_hash_contains’ defined but not used [-Wunused-function]
  268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |             ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:199:15: warning: ‘ggml_bitset_size’ defined but not used [-Wunused-function]
  199 | static size_t ggml_bitset_size(size_t n) {
      |               ^~~~~~~~~~~~~~~~
./ggml-impl.h:162:13: warning: ‘ggml_set_op_params_f32’ defined but not used [-Wunused-function]
  162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:157:13: warning: ‘ggml_set_op_params_i32’ defined but not used [-Wunused-function]
  157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:152:14: warning: ‘ggml_get_op_params_f32’ defined but not used [-Wunused-function]
  152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
      |              ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:147:16: warning: ‘ggml_get_op_params_i32’ defined but not used [-Wunused-function]
  147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
      |                ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:141:13: warning: ‘ggml_set_op_params’ defined but not used [-Wunused-function]
  141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
      |             ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:88:13: warning: ‘ggml_op_is_empty’ defined but not used [-Wunused-function]
   88 | static bool ggml_op_is_empty(enum ggml_op op) {
      |             ^~~~~~~~~~~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I. -Iggml-cpu -Iggml-cpu/arch/x86 -DGGML_VERSION='"0.9.5"' -DGGML_COMMIT='"ggmlR"' -DGGML_USE_CPU -D_GNU_SOURCE -DGGML_USE_OPENMP  -DGGML_R_PACKAGE -include r_ggml_compat.h  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -fpic  -g -O2 -Wall -pedantic -mtune=native   -c ggml-cpu/arch/x86/repack.cpp -o ggml-cpu/arch/x86/repack.o
In file included from ggml-cpu/arch/x86/repack.cpp:6:
./ggml-impl.h:294:15: warning: ‘size_t ggml_hash_find_or_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  294 | static size_t ggml_hash_find_or_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:273:15: warning: ‘size_t ggml_hash_insert(ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  273 | static size_t ggml_hash_insert(struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |               ^~~~~~~~~~~~~~~~
./ggml-impl.h:268:13: warning: ‘bool ggml_hash_contains(const ggml_hash_set*, ggml_tensor*)’ defined but not used [-Wunused-function]
  268 | static bool ggml_hash_contains(const struct ggml_hash_set * hash_set, struct ggml_tensor * key) {
      |             ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:199:15: warning: ‘size_t ggml_bitset_size(size_t)’ defined but not used [-Wunused-function]
  199 | static size_t ggml_bitset_size(size_t n) {
      |               ^~~~~~~~~~~~~~~~
./ggml-impl.h:162:13: warning: ‘void ggml_set_op_params_f32(ggml_tensor*, uint32_t, float)’ defined but not used [-Wunused-function]
  162 | static void ggml_set_op_params_f32(struct ggml_tensor * tensor, uint32_t i, float value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:157:13: warning: ‘void ggml_set_op_params_i32(ggml_tensor*, uint32_t, int32_t)’ defined but not used [-Wunused-function]
  157 | static void ggml_set_op_params_i32(struct ggml_tensor * tensor, uint32_t i, int32_t value) {
      |             ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:152:14: warning: ‘float ggml_get_op_params_f32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
  152 | static float ggml_get_op_params_f32(const struct ggml_tensor * tensor, uint32_t i) {
      |              ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:147:16: warning: ‘int32_t ggml_get_op_params_i32(const ggml_tensor*, uint32_t)’ defined but not used [-Wunused-function]
  147 | static int32_t ggml_get_op_params_i32(const struct ggml_tensor * tensor, uint32_t i) {
      |                ^~~~~~~~~~~~~~~~~~~~~~
./ggml-impl.h:141:13: warning: ‘void ggml_set_op_params(ggml_tensor*, const void*, size_t)’ defined but not used [-Wunused-function]
  141 | static void ggml_set_op_params(struct ggml_tensor * tensor, const void * params, size_t params_size) {
      |             ^~~~~~~~~~~~~~~~~~
./ggml-impl.h:88:13: warning: ‘bool ggml_op_is_empty(ggml_op)’ defined but not used [-Wunused-function]
   88 | static bool ggml_op_is_empty(enum ggml_op op) {
      |             ^~~~~~~~~~~~~~~~
ar rcs libggml.a r_ggml_io.o ggml.o ggml-alloc.o ggml-quants.o ggml-opt.o gguf.o ggml-backend.o ggml-backend-reg.o ggml-threading.o ggml-cpu/traits.o ggml-cpu/ggml-cpu-backend.o ggml-cpu/ggml-cpu.o ggml-cpu/ops.o ggml-cpu/vec.o ggml-cpu/binary-ops.o ggml-cpu/unary-ops.o ggml-cpu/repack.o ggml-cpu/quants.o ggml-cpu/hbm.o ggml-cpu/arch/x86/cpu-feats.o ggml-cpu/arch/x86/quants.o ggml-cpu/arch/x86/repack.o 
mkdir -p ../inst/lib
cp libggml.a ../inst/lib/
g++-15 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o ggmlR.so r_interface.o r_interface_graph.o r_interface_vulkan.o r_interface_scheduler.o r_interface_opt.o r_interface_backend.o r_interface_quants.o r_ggml_io.o ggml.o ggml-alloc.o ggml-quants.o ggml-opt.o gguf.o ggml-backend.o ggml-backend-reg.o ggml-threading.o ggml-cpu/traits.o ggml-cpu/ggml-cpu-backend.o ggml-cpu/ggml-cpu.o ggml-cpu/ops.o ggml-cpu/vec.o ggml-cpu/binary-ops.o ggml-cpu/unary-ops.o ggml-cpu/repack.o ggml-cpu/quants.o ggml-cpu/hbm.o ggml-cpu/arch/x86/cpu-feats.o ggml-cpu/arch/x86/quants.o ggml-cpu/arch/x86/repack.o -fopenmp -lpthread -lm -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpVGlbFs/R.INSTALLacc7572dc7f2c/ggmlR/src'
make[1]: Entering directory '/tmp/RtmpVGlbFs/R.INSTALLacc7572dc7f2c/ggmlR/src'
make[1]: Leaving directory '/tmp/RtmpVGlbFs/R.INSTALLacc7572dc7f2c/ggmlR/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-ggmlR/00new/ggmlR/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 (ggmlR)