* installing *source* package ‘torch’ ...
** package ‘torch’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 17.0.5’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/torch/src'
*** Skip building lantern.
*** Renaming init
"/data/gannet/ripley/R/R-clang/bin/Rscript" "../tools/renameinit.R"
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c amp.cpp -o amp.o
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c autograd.cpp -o autograd.o
In file included from amp.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from amp.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
In file included from autograd.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from autograd.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c backends.cpp -o backends.o
In file included from backends.cpp:2:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from backends.cpp:2:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c codegen.cpp -o codegen.o
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c contrib.cpp -o contrib.o
In file included from codegen.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from codegen.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c cuda.cpp -o cuda.o
In file included from contrib.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from contrib.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c device.cpp -o device.o
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c dimname_list.cpp -o dimname_list.o
In file included from cuda.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from cuda.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c dtype.cpp -o dtype.o
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c gen-namespace.cpp -o gen-namespace.o
In file included from dimname_list.cpp:2:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from dimname_list.cpp:2:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
In file included from dtype.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from device.cpp:2:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from dtype.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
In file included from device.cpp:2:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
In file included from gen-namespace.cpp:2:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from gen-namespace.cpp:2:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
3 warnings generated.
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c generator.cpp -o generator.o
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c indexing.cpp -o indexing.o
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c ivalue.cpp -o ivalue.o
In file included from generator.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from generator.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
In file included from indexing.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from indexing.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
In file included from ivalue.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from ivalue.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c jit-compile.cpp -o jit-compile.o
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c jit-execute.cpp -o jit-execute.o
In file included from jit-compile.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from jit-compile.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
In file included from jit-execute.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from jit-execute.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c lantern.cpp -o lantern.o
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c layout.cpp -o layout.o
In file included from lantern.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from lantern.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c memory_format.cpp -o memory_format.o
In file included from layout.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from layout.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c nn_utils_rnn.cpp -o nn_utils_rnn.o
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c qscheme.cpp -o qscheme.o
In file included from memory_format.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from memory_format.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
In file included from qscheme.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from nn_utils_rnn.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from qscheme.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
In file included from nn_utils_rnn.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
3 warnings generated.
3 warnings generated.
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c quantization.cpp -o quantization.o
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c reduction.cpp -o reduction.o
3 warnings generated.
3 warnings generated.
In file included from quantization.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from quantization.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
In file included from reduction.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from reduction.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c save.cpp -o save.o
In file included from save.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from save.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c scalar.cpp -o scalar.o
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c script_module.cpp -o script_module.o
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c stack.cpp -o stack.o
In file included from scalar.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from scalar.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
In file included from script_module.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from script_module.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c storage.cpp -o storage.o
In file included from stack.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from stack.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
In file included from storage.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
3 warnings generated.
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c tensor.cpp -o tensor.o
In file included from storage.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
In file included from tensor.cpp:2:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from tensor.cpp:2:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c tensor_list.cpp -o tensor_list.o
3 warnings generated.
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c torch_api.cpp -o torch_api.o
In file included from tensor_list.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
3 warnings generated.
In file included from tensor_list.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
In file included from torch_api.cpp:2:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c torch_exports.cpp -o torch_exports.o
In file included from torch_api.cpp:2:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
In file included from torch_exports.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from torch_exports.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c trace.cpp -o trace.o
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c utils.cpp -o utils.o
In file included from trace.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from trace.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
In file included from utils.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from utils.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c variable_list.cpp -o variable_list.o
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c xptr.cpp -o xptr.o
In file included from variable_list.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from variable_list.cpp:1:
In file included from ../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
3 warnings generated.
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c RcppExports.cpp -o RcppExports.o
3 warnings generated.
In file included from RcppExports.cpp:4:
In file included from ./../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from RcppExports.cpp:4:
In file included from ./../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
3 warnings generated.
3 warnings generated.
/usr/local/clang17/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang17/lib -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o torch.so RcppExports.o amp.o autograd.o backends.o codegen.o contrib.o cuda.o device.o dimname_list.o dtype.o gen-namespace.o generator.o indexing.o ivalue.o jit-compile.o jit-execute.o lantern.o layout.o memory_format.o nn_utils_rnn.o qscheme.o quantization.o reduction.o save.o scalar.o script_module.o stack.o storage.o tensor.o tensor_list.o torch_api.o torch_exports.o trace.o utils.o variable_list.o xptr.o
*** Renaming torch lib to torchpkg
"/data/gannet/ripley/R/R-clang/bin/Rscript" "../tools/renamelib.R"
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/torch/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/torch/src'
*** Renaming init
"/data/gannet/ripley/R/R-clang/bin/Rscript" "../tools/renameinit.R"
/usr/local/clang17/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang17/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3  -c RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
In file included from ./../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:128:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/routines.h:26:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   53 |         Rprintf("%.*s", num, s);
      |                  ~~^~   ~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision should have type 'int', but argument has type 'std::streamsize' (aka 'long') [-Wformat]
   57 |         REprintf("%.*s", num, s);
      |                   ~~^~   ~~~
In file included from RcppExports.cpp:4:
In file included from ./../inst/include/torch.h:5:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:181:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/print.h:30:26: note: treat the string as an argument to avoid this
   30 |     Rf_warningcall(call, s.c_str());
      |                          ^
      |                          "%s", 
3 warnings generated.
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/torch/src'
installing to /data/gannet/ripley/R/packages/tests-clang/torch.Rcheck/00LOCK-torch/00new/torch/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** 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 (torch)