* installing *source* package ‘edgemodelr’ ...
** this is package ‘edgemodelr’ version ‘0.1.0’
** package ‘edgemodelr’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++17
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I./llama -I./ggml -I./ggml/ggml-cpu -DUSING_R=1 -include r_output_redirect.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I/opt/R/x86_64/include   -DNDEBUG -DGGML_USE_CPU  -fPIC  -falign-functions=64 -Wall -g -O2   -fPIC -c bindings.cpp -o bindings.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I./llama -I./ggml -I./ggml/ggml-cpu -DUSING_R=1 -include r_output_redirect.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I/opt/R/x86_64/include   -DNDEBUG -DGGML_USE_CPU  -fPIC  -falign-functions=64 -Wall -g -O2   -fPIC -c RcppExports.cpp -o RcppExports.o
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I./llama -I./ggml -I./ggml/ggml-cpu -DUSING_R=1 -include r_output_redirect.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I/opt/R/x86_64/include   -DNDEBUG -DGGML_USE_CPU -DUSING_R=1 -fPIC -c ggml/ggml.c -o ggml/ggml.o
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I./llama -I./ggml -I./ggml/ggml-cpu -DUSING_R=1 -include r_output_redirect.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I/opt/R/x86_64/include   -DNDEBUG -DGGML_USE_CPU -DUSING_R=1 -fPIC -c ggml/ggml-alloc.c -o ggml/ggml-alloc.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I./llama -I./ggml -I./ggml/ggml-cpu -DUSING_R=1 -include r_output_redirect.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I/opt/R/x86_64/include   -DNDEBUG -DGGML_USE_CPU  -fPIC -c ggml/gguf.cpp -o ggml/gguf.o
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I./llama -I./ggml -I./ggml/ggml-cpu -DUSING_R=1 -include r_output_redirect.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I/opt/R/x86_64/include   -DNDEBUG -DGGML_USE_CPU  -fPIC -c ggml/ggml-backend.cpp -o ggml/ggml-backend.o
In file included from ggml/ggml.c:5:
In file included from ./ggml/ggml-backend.h:3:
./ggml/ggml.h:358:19: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
    GGML_NORETURN GGML_ATTRIBUTE_FORMAT(3, 4)
                  ^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
./ggml/ggml.h:835:5: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
    GGML_ATTRIBUTE_FORMAT(2, 3)
    ^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
In file included from ggml/ggml.c:6:
./ggml/ggml-impl.h:98:1: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
GGML_ATTRIBUTE_FORMAT(2, 3)
^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
In file included from ggml/ggml-alloc.c:1:
In file included from ./ggml/ggml-alloc.h:3:
./ggml/ggml.h:358:19: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
    GGML_NORETURN GGML_ATTRIBUTE_FORMAT(3, 4)
                  ^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
./ggml/ggml.h:835:5: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
    GGML_ATTRIBUTE_FORMAT(2, 3)
    ^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
In file included from ggml/ggml-alloc.c:4:
./ggml/ggml-impl.h:98:1: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
GGML_ATTRIBUTE_FORMAT(2, 3)
^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
In file included from ggml/ggml-backend.cpp:11:
In file included from ./ggml/ggml-backend.h:3:
./ggml/ggml.h:358:19: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
    GGML_NORETURN GGML_ATTRIBUTE_FORMAT(3, 4)
                  ^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
./ggml/ggml.h:835:5: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
    GGML_ATTRIBUTE_FORMAT(2, 3)
    ^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
3 warnings generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I./llama -I./ggml -I./ggml/ggml-cpu -DUSING_R=1 -include r_output_redirect.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I/opt/R/x86_64/include   -DNDEBUG -DGGML_USE_CPU  -fPIC -c ggml/ggml-backend-reg.cpp -o ggml/ggml-backend-reg.o
In file included from ggml/ggml-backend.cpp:14:
./ggml/ggml-impl.h:98:1: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
GGML_ATTRIBUTE_FORMAT(2, 3)
^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
In file included from ggml/gguf.cpp:1:
./ggml/ggml.h:358:19: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
    GGML_NORETURN GGML_ATTRIBUTE_FORMAT(3, 4)
                  ^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
./ggml/ggml.h:835:5: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
    GGML_ATTRIBUTE_FORMAT(2, 3)
    ^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
In file included from ggml/gguf.cpp:3:
./ggml/ggml-impl.h:98:1: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
GGML_ATTRIBUTE_FORMAT(2, 3)
^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
In file included from ggml/ggml-backend-reg.cpp:1:
In file included from ./ggml/ggml-backend-impl.h:5:
In file included from ./ggml/ggml-backend.h:3:
./ggml/ggml.h:358:19: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
    GGML_NORETURN GGML_ATTRIBUTE_FORMAT(3, 4)
                  ^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
./ggml/ggml.h:835:5: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
    GGML_ATTRIBUTE_FORMAT(2, 3)
    ^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
In file included from ggml/ggml-backend-reg.cpp:3:
./ggml/ggml-impl.h:98:1: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
GGML_ATTRIBUTE_FORMAT(2, 3)
^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
3 warnings generated.
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I./llama -I./ggml -I./ggml/ggml-cpu -DUSING_R=1 -include r_output_redirect.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I/opt/R/x86_64/include   -DNDEBUG -DGGML_USE_CPU -DUSING_R=1 -fPIC -c ggml/ggml-quants.c -o ggml/ggml-quants.o
In file included from ggml/ggml-quants.c:4:
In file included from ./ggml/ggml-quants.h:6:
./ggml/ggml.h:358:19: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
    GGML_NORETURN GGML_ATTRIBUTE_FORMAT(3, 4)
                  ^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
./ggml/ggml.h:835:5: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
    GGML_ATTRIBUTE_FORMAT(2, 3)
    ^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
In file included from ggml/ggml-quants.c:5:
./ggml/ggml-impl.h:98:1: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
GGML_ATTRIBUTE_FORMAT(2, 3)
^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
3 warnings generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I./llama -I./ggml -I./ggml/ggml-cpu -DUSING_R=1 -include r_output_redirect.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I/opt/R/x86_64/include   -DNDEBUG -DGGML_USE_CPU  -fPIC -c ggml/ggml-threading.cpp -o ggml/ggml-threading.o
In file included from ggml/ggml-threading.cpp:1:
In file included from ./ggml/ggml-threading.h:3:
./ggml/ggml.h:358:19: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
    GGML_NORETURN GGML_ATTRIBUTE_FORMAT(3, 4)
                  ^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
./ggml/ggml.h:835:5: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
    GGML_ATTRIBUTE_FORMAT(2, 3)
    ^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
In file included from ggml/ggml-backend-reg.cpp:20:
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach-o/dyld.h:146:20: error: redefinition of enumerator 'FALSE'
  enum DYLD_BOOL { FALSE, TRUE };
                   ^
/Library/Frameworks/R.framework/Resources/include/R_ext/Boolean.h:65:23: note: previous definition is here
  typedef enum :int { FALSE = 0, TRUE } Rboolean;  // so NOT NA
                      ^
In file included from ggml/ggml-backend-reg.cpp:20:
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/mach-o/dyld.h:146:27: error: redefinition of enumerator 'TRUE'
  enum DYLD_BOOL { FALSE, TRUE };
                          ^
/Library/Frameworks/R.framework/Resources/include/R_ext/Boolean.h:65:34: note: previous definition is here
  typedef enum :int { FALSE = 0, TRUE } Rboolean;  // so NOT NA
                                 ^
3 warnings generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -I./llama -I./ggml -I./ggml/ggml-cpu -DUSING_R=1 -include r_output_redirect.h -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I/opt/R/x86_64/include   -DNDEBUG -DGGML_USE_CPU  -fPIC -c ggml/ggml-opt.cpp -o ggml/ggml-opt.o
In file included from ggml/ggml-opt.cpp:1:
In file included from ./ggml/ggml-opt.h:9:
./ggml/ggml.h:358:19: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
    GGML_NORETURN GGML_ATTRIBUTE_FORMAT(3, 4)
                  ^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
./ggml/ggml.h:835:5: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
    GGML_ATTRIBUTE_FORMAT(2, 3)
    ^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
In file included from ggml/ggml-opt.cpp:6:
./ggml/ggml-impl.h:98:1: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
GGML_ATTRIBUTE_FORMAT(2, 3)
^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
3 warnings and 2 errors generated.
make: *** [ggml/ggml-backend-reg.o] Error 1
make: *** Waiting for unfinished jobs....
2 warnings generated.
In file included from bindings.cpp:10:
In file included from ./llama/llama.h:4:
./ggml/ggml.h:358:19: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
    GGML_NORETURN GGML_ATTRIBUTE_FORMAT(3, 4)
                  ^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
./ggml/ggml.h:835:5: warning: 'format' attribute argument not supported: r_printf [-Wignored-attributes]
    GGML_ATTRIBUTE_FORMAT(2, 3)
    ^
./ggml/ggml.h:204:55: note: expanded from macro 'GGML_ATTRIBUTE_FORMAT'
#    define GGML_ATTRIBUTE_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
                                                      ^
3 warnings generated.
3 warnings generated.
2 warnings generated.
ERROR: compilation failed for package ‘edgemodelr’
* removing ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.5/edgemodelr.Rcheck/edgemodelr’