* installing *source* package ‘torch’ ... ** package ‘torch’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++-13 (GCC) 13.2.0’ make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-noRemap/torch/src' *** Skip building lantern. *** Renaming init "/data/gannet/ripley/R/R-devel/bin/Rscript" "../tools/renameinit.R" g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from RcppExports.cpp:4: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c amp.cpp -o amp.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from amp.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c autograd.cpp -o autograd.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from autograd.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c backends.cpp -o backends.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from backends.cpp:2: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c codegen.cpp -o codegen.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from codegen.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c contrib.cpp -o contrib.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from contrib.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c cuda.cpp -o cuda.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from cuda.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c device.cpp -o device.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from device.cpp:2: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition In file included from device.cpp:1: ../inst/include/lantern/lantern.h: In function 'bool lanternInit(const std::string&, std::string*)': ../inst/include/lantern/lantern.h:9774:6: note: variable tracking size limit exceeded with '-fvar-tracking-assignments', retrying without 9774 | bool lanternInit(const std::string &libPath, std::string *pError) | ^~~~~~~~~~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c dimname_list.cpp -o dimname_list.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from dimname_list.cpp:2: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c dtype.cpp -o dtype.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from dtype.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c gen-namespace.cpp -o gen-namespace.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from gen-namespace.cpp:2: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c generator.cpp -o generator.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from generator.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c indexing.cpp -o indexing.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from indexing.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition indexing.cpp: In function 'void list2env(Rcpp::Environment, Rcpp::List)': indexing.cpp:46:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 46 | for (int i = 0; i < nms.size(); i++) { | ~~^~~~~~~~~~~~ indexing.cpp: In function 'std::vector > evaluate_slices(std::vector >, Rcpp::List)': indexing.cpp:61:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 61 | for (int i = 0; i < quosures.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ indexing.cpp: In function 'std::vector slices_to_index(std::vector >, bool)': indexing.cpp:286:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 286 | for (int i = 0; i < slices.size(); i++) { | ~~^~~~~~~~~~~~~~~ indexing.cpp:296:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 296 | bool last_dim = i >= (slices.size() - 1); | ~~^~~~~~~~~~~~~~~~~~~~~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c ivalue.cpp -o ivalue.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from ivalue.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c jit-compile.cpp -o jit-compile.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from jit-compile.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c jit-execute.cpp -o jit-execute.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from jit-execute.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c lantern.cpp -o lantern.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from lantern.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c layout.cpp -o layout.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from layout.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c memory_format.cpp -o memory_format.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from memory_format.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c nn_utils_rnn.cpp -o nn_utils_rnn.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from nn_utils_rnn.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c qscheme.cpp -o qscheme.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from qscheme.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c quantization.cpp -o quantization.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from quantization.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c reduction.cpp -o reduction.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from reduction.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c save.cpp -o save.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from save.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c scalar.cpp -o scalar.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from scalar.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c script_module.cpp -o script_module.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from script_module.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c stack.cpp -o stack.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from stack.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c storage.cpp -o storage.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from storage.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c tensor.cpp -o tensor.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from tensor.cpp:2: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition tensor.cpp: In function 'void cpp_torch_tensor_print(torch::Tensor, int)': tensor.cpp:33:19: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 33 | if (cont.size() > n && n > 1) { | ~~~~~~~~~~~~^~~ tensor.cpp:39:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 39 | for (int i = 0; i < cont.size(); i++) { | ~~^~~~~~~~~~~~~ tensor.cpp:42:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 42 | if (i != (cont.size() - 1)) result += "\n"; | ~~^~~~~~~~~~~~~~~~~~~~ tensor.cpp:44:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 44 | if (i == (cont.size() - 2) && truncated) | ~~^~~~~~~~~~~~~~~~~~~~ tensor.cpp: In function 'std::vector stride_from_dim(std::vector)': tensor.cpp:82:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 82 | for (int i = 1; i < x.size(); i++) { | ~~^~~~~~~~~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c tensor_list.cpp -o tensor_list.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from tensor_list.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c torch_api.cpp -o torch_api.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from torch_api.cpp:2: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition torch_api.cpp: In function 'XPtrTorchTensorOptions from_sexp_tensor_options(SEXP)': torch_api.cpp:366:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 366 | for (auto i = 0; i < names.size(); ++i) { | ~~^~~~~~~~~~~~~~ torch_api.cpp: In function 'XPtrTorchDimnameList from_sexp_dimname_list(SEXP)': torch_api.cpp:608:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 608 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ torch_api.cpp: In function 'XPtrTorchvector_string from_sexp_vector_string(SEXP)': torch_api.cpp:773:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 773 | for (int i = 0; i < strings.size(); i++) { | ~~^~~~~~~~~~~~~~~~ torch_api.cpp: In function 'SEXPREC* operator_sexp_named_tuple_helper(const XPtrTorchNamedTupleHelper*)': torch_api.cpp:1290:21: warning: comparison of integer expressions of different signedness: 'std::vector >::size_type' {aka 'long unsigned int'} and 'R_xlen_t' {aka 'long int'} [-Wsign-compare] 1290 | if (names_.size() != elements_.size()) return elements_; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ torch_api.cpp: In function 'XPtrTorchNamedTupleHelper from_sexp_named_tuple_helper(SEXP)': torch_api.cpp:1305:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1305 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ torch_api.cpp: In function 'XPtrTorchIntArrayRef from_sexp_int_array_ref(SEXP, bool, bool)': torch_api.cpp:1443:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1443 | for (int i = 0; i < vec.size(); i++) { | ~~^~~~~~~~~~~~ torch_api.cpp: In function 'XPtrTorchOptionalIntArrayRef from_sexp_optional_int_array_ref(SEXP, bool)': torch_api.cpp:1521:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1521 | for (int i = 0; i < data.size(); i++) { | ~~^~~~~~~~~~~~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c torch_exports.cpp -o torch_exports.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from torch_exports.cpp:2: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c trace.cpp -o trace.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from trace.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c utils.cpp -o utils.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from utils.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition utils.cpp: In function 'Rcpp::List transpose2(Rcpp::List)': utils.cpp:77:24: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const long int' [-Wsign-compare] 77 | for (size_t j = 0; j < size; j++) { | ~~^~~~~~ g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c variable_list.cpp -o variable_list.o In file included from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:30, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from ../inst/include/torch.h:5, from variable_list.cpp:1: /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp/r/headers.h:26: warning: "R_NO_REMAP" redefined 26 | #define R_NO_REMAP | : note: this is the location of the previous definition g++-13 -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I../inst/include/ -DRCPP_NO_UNWIND_PROTECT -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -DR_NO_REMAP -c xptr.cpp -o xptr.o xptr.cpp: In function 'void check_is_xptr(SEXP)': xptr.cpp:13:5: error: 'error' was not declared in this scope; did you mean 'perror'? 13 | error("expect an externalptr"); | ^~~~~ | perror make[2]: *** [/data/gannet/ripley/R/R-devel/etc/Makeconf:202: xptr.o] Error 1 make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-noRemap/torch/src' ERROR: compilation failed for package ‘torch’ * removing ‘/data/gannet/ripley/R/packages/tests-noRemap/Libs/torch-lib/torch’ Command exited with non-zero status 1 Time 19:17.62, 1090.17 + 54.80