* installing *source* package ‘fastrtext’ ... ** package ‘fastrtext’ successfully unpacked and MD5 sums checked ** using staged installation ** libs make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-gcc-SAN/fastrtext/src' g++ -fsanitize=address,undefined,bounds-strict -fno-omit-frame-pointer -std=gnu++11 -I"/data/gannet/ripley/R/gcc-SAN/include" -DNDEBUG -pthread -include r_compliance.h -I./fasttext -I'/data/gannet/ripley/R/test-4.1/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-deprecated-declarations -c add_prefix.cpp -o add_prefix.o g++ -fsanitize=address,undefined,bounds-strict -fno-omit-frame-pointer -std=gnu++11 -I"/data/gannet/ripley/R/gcc-SAN/include" -DNDEBUG -pthread -include r_compliance.h -I./fasttext -I'/data/gannet/ripley/R/test-4.1/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-deprecated-declarations -c r_compliance.cc -o r_compliance.o g++ -fsanitize=address,undefined,bounds-strict -fno-omit-frame-pointer -std=gnu++11 -I"/data/gannet/ripley/R/gcc-SAN/include" -DNDEBUG -pthread -include r_compliance.h -I./fasttext -I'/data/gannet/ripley/R/test-4.1/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-deprecated-declarations -c fasttext/autotune.cc -o fasttext/autotune.o g++ -fsanitize=address,undefined,bounds-strict -fno-omit-frame-pointer -std=gnu++11 -I"/data/gannet/ripley/R/gcc-SAN/include" -DNDEBUG -pthread -include r_compliance.h -I./fasttext -I'/data/gannet/ripley/R/test-4.1/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-deprecated-declarations -c fasttext/args.cc -o fasttext/args.o g++ -fsanitize=address,undefined,bounds-strict -fno-omit-frame-pointer -std=gnu++11 -I"/data/gannet/ripley/R/gcc-SAN/include" -DNDEBUG -pthread -include r_compliance.h -I./fasttext -I'/data/gannet/ripley/R/test-4.1/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-deprecated-declarations -c fasttext/matrix.cc -o fasttext/matrix.o fasttext/args.cc: In member function ‘void fasttext::Args::parseArgs(const std::vector >&)’: fasttext/args.cc:111:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 111 | for (int ai = 2; ai < args.size(); ai += 2) { | ~~~^~~~~~~~~~~~~ g++ -fsanitize=address,undefined,bounds-strict -fno-omit-frame-pointer -std=gnu++11 -I"/data/gannet/ripley/R/gcc-SAN/include" -DNDEBUG -pthread -include r_compliance.h -I./fasttext -I'/data/gannet/ripley/R/test-4.1/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-deprecated-declarations -c fasttext/dictionary.cc -o fasttext/dictionary.o fasttext/dictionary.cc: In member function ‘void fasttext::Dictionary::computeSubwords(const string&, std::vector&, std::vector >*) const’: fasttext/dictionary.cc:181:52: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 181 | for (size_t j = i, n = 1; j < word.size() && n <= args_->maxn; n++) { | ~~^~~~~~~~~~~~~~ fasttext/dictionary.cc:186:13: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 186 | if (n >= args_->minn && !(n == 1 && (i == 0 || j == word.size()))) { | ~~^~~~~~~~~~~~~~ fasttext/dictionary.cc: In member function ‘void fasttext::Dictionary::initNgrams()’: fasttext/dictionary.cc:198:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 198 | for (size_t i = 0; i < size_; i++) { | ~~^~~~~~~ fasttext/dictionary.cc: In member function ‘void fasttext::Dictionary::initTableDiscard()’: fasttext/dictionary.cc:296:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 296 | for (size_t i = 0; i < size_; i++) { | ~~^~~~~~~ fasttext/dictionary.cc: In member function ‘void fasttext::Dictionary::addWordNgrams(std::vector&, const std::vector&, int32_t) const’: fasttext/dictionary.cc:316:25: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 316 | for (int32_t i = 0; i < hashes.size(); i++) { | ~~^~~~~~~~~~~~~~~ fasttext/dictionary.cc:318:31: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 318 | for (int32_t j = i + 1; j < hashes.size() && j < i + n; j++) { | ~~^~~~~~~~~~~~~~~ fasttext/dictionary.cc: In member function ‘void fasttext::Dictionary::prune(std::vector&)’: fasttext/dictionary.cc:515:25: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 515 | for (int32_t i = 0; i < words_.size(); i++) { | ~~^~~~~~~~~~~~~~~ fasttext/dictionary.cc:517:12: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 517 | (j < words.size() && words[j] == i)) { | ~~^~~~~~~~~~~~~~ g++ -fsanitize=address,undefined,bounds-strict -fno-omit-frame-pointer -std=gnu++11 -I"/data/gannet/ripley/R/gcc-SAN/include" -DNDEBUG -pthread -include r_compliance.h -I./fasttext -I'/data/gannet/ripley/R/test-4.1/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-deprecated-declarations -c fasttext/loss.cc -o fasttext/loss.o fasttext/loss.cc: In member function ‘void fasttext::Loss::findKBest(int32_t, fasttext::real, fasttext::Predictions&, const fasttext::Vector&) const’: fasttext/loss.cc:83:21: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 83 | if (heap.size() == k && std_log(output[i]) < heap.front().first) { | ~~~~~~~~~~~~^~~~ fasttext/loss.cc:88:21: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 88 | if (heap.size() > k) { | ~~~~~~~~~~~~^~~ fasttext/loss.cc: In member function ‘virtual fasttext::real fasttext::HierarchicalSoftmaxLoss::forward(const std::vector&, int32_t, fasttext::Model::State&, fasttext::real, bool)’: fasttext/loss.cc:257:25: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 257 | for (int32_t i = 0; i < pathToRoot.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ fasttext/loss.cc: In member function ‘void fasttext::HierarchicalSoftmaxLoss::dfs(int32_t, fasttext::real, int32_t, fasttext::real, fasttext::Predictions&, const fasttext::Vector&) const’: fasttext/loss.cc:282:19: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 282 | if (heap.size() == k && score < heap.front().first) { | ~~~~~~~~~~~~^~~~ fasttext/loss.cc:289:21: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 289 | if (heap.size() > k) { | ~~~~~~~~~~~~^~~ fasttext/loss.cc: At global scope: fasttext/loss.cc:344:2: warning: extra ‘;’ [-Wpedantic] 344 | }; | ^ g++ -fsanitize=address,undefined,bounds-strict -fno-omit-frame-pointer -std=gnu++11 -I"/data/gannet/ripley/R/gcc-SAN/include" -DNDEBUG -pthread -include r_compliance.h -I./fasttext -I'/data/gannet/ripley/R/test-4.1/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-deprecated-declarations -c fasttext/productquantizer.cc -o fasttext/productquantizer.o fasttext/productquantizer.cc: In member function ‘void fasttext::ProductQuantizer::load(std::istream&)’: fasttext/productquantizer.cc:246:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 246 | for (auto i = 0; i < centroids_.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ g++ -fsanitize=address,undefined,bounds-strict -fno-omit-frame-pointer -std=gnu++11 -I"/data/gannet/ripley/R/gcc-SAN/include" -DNDEBUG -pthread -include r_compliance.h -I./fasttext -I'/data/gannet/ripley/R/test-4.1/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-deprecated-declarations -c fasttext/densematrix.cc -o fasttext/densematrix.o g++ -fsanitize=address,undefined,bounds-strict -fno-omit-frame-pointer -std=gnu++11 -I"/data/gannet/ripley/R/gcc-SAN/include" -DNDEBUG -pthread -include r_compliance.h -I./fasttext -I'/data/gannet/ripley/R/test-4.1/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-deprecated-declarations -c fasttext/quantmatrix.cc -o fasttext/quantmatrix.o fasttext/densematrix.cc: In member function ‘void fasttext::DenseMatrix::uniform(fasttext::real, unsigned int, int32_t)’: fasttext/densematrix.cc:44:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 44 | for (int i = 0; i < thread; i++) { | ~~^~~~~~~~ fasttext/densematrix.cc:47:25: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int32_t i = 0; i < threads.size(); i++) { | ~~^~~~~~~~~~~~~~~~ fasttext/densematrix.cc: At global scope: fasttext/densematrix.cc:165:2: warning: extra ‘;’ [-Wpedantic] 165 | }; | ^ g++ -fsanitize=address,undefined,bounds-strict -fno-omit-frame-pointer -std=gnu++11 -I"/data/gannet/ripley/R/gcc-SAN/include" -DNDEBUG -pthread -include r_compliance.h -I./fasttext -I'/data/gannet/ripley/R/test-4.1/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-deprecated-declarations -c fasttext/vector.cc -o fasttext/vector.o g++ -fsanitize=address,undefined,bounds-strict -fno-omit-frame-pointer -std=gnu++11 -I"/data/gannet/ripley/R/gcc-SAN/include" -DNDEBUG -pthread -include r_compliance.h -I./fasttext -I'/data/gannet/ripley/R/test-4.1/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-deprecated-declarations -c fasttext/model.cc -o fasttext/model.o g++ -fsanitize=address,undefined,bounds-strict -fno-omit-frame-pointer -std=gnu++11 -I"/data/gannet/ripley/R/gcc-SAN/include" -DNDEBUG -pthread -include r_compliance.h -I./fasttext -I'/data/gannet/ripley/R/test-4.1/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-deprecated-declarations -c fasttext/utils.cc -o fasttext/utils.o g++ -fsanitize=address,undefined,bounds-strict -fno-omit-frame-pointer -std=gnu++11 -I"/data/gannet/ripley/R/gcc-SAN/include" -DNDEBUG -pthread -include r_compliance.h -I./fasttext -I'/data/gannet/ripley/R/test-4.1/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-deprecated-declarations -c fasttext/meter.cc -o fasttext/meter.o g++ -fsanitize=address,undefined,bounds-strict -fno-omit-frame-pointer -std=gnu++11 -I"/data/gannet/ripley/R/gcc-SAN/include" -DNDEBUG -pthread -include r_compliance.h -I./fasttext -I'/data/gannet/ripley/R/test-4.1/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-deprecated-declarations -c fasttext/fasttext.cc -o fasttext/fasttext.o g++ -fsanitize=address,undefined,bounds-strict -fno-omit-frame-pointer -std=gnu++11 -I"/data/gannet/ripley/R/gcc-SAN/include" -DNDEBUG -pthread -include r_compliance.h -I./fasttext -I'/data/gannet/ripley/R/test-4.1/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-deprecated-declarations -c fasttext/main.cc -o fasttext/main.o fasttext/fasttext.cc: In member function ‘void fasttext::FastText::getWordVector(fasttext::Vector&, const string&) const’: fasttext/fasttext.cc:93:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ngrams.size(); i++) { | ~~^~~~~~~~~~~~~~~ fasttext/fasttext.cc: In lambda function: fasttext/fasttext.cc:281:12: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 281 | if (i1 == eosid && i2 == eosid) { // satisfy strict weak ordering | ~~~^~~~~~~~ fasttext/fasttext.cc:281:27: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 281 | if (i1 == eosid && i2 == eosid) { // satisfy strict weak ordering | ~~~^~~~~~~~ fasttext/fasttext.cc:284:18: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 284 | return eosid == i1 || (eosid != i2 && norms[i1] > norms[i2]); | ~~~~~~^~~~~ fasttext/fasttext.cc:284:34: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 284 | return eosid == i1 || (eosid != i2 && norms[i1] > norms[i2]); | ~~~~~~^~~~~ fasttext/fasttext.cc: In member function ‘void fasttext::FastText::quantize(const fasttext::Args&)’: fasttext/fasttext.cc:304:40: warning: comparison of integer expressions of different signedness: ‘const size_t’ {aka ‘const long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare] 304 | if (qargs.cutoff > 0 && qargs.cutoff < input->size(0)) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ fasttext/fasttext.cc:309:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 309 | for (auto i = 0; i < idx.size(); i++) { | ~~^~~~~~~~~~~~ fasttext/fasttext.cc: In member function ‘void fasttext::FastText::cbow(fasttext::Model::State&, fasttext::real, const std::vector&)’: fasttext/fasttext.cc:362:25: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 362 | for (int32_t w = 0; w < line.size(); w++) { | ~~^~~~~~~~~~~~~ fasttext/fasttext.cc:366:41: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 366 | if (c != 0 && w + c >= 0 && w + c < line.size()) { | ~~~~~~^~~~~~~~~~~~~ fasttext/fasttext.cc: In member function ‘void fasttext::FastText::skipgram(fasttext::Model::State&, fasttext::real, const std::vector&)’: fasttext/fasttext.cc:380:25: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 380 | for (int32_t w = 0; w < line.size(); w++) { | ~~^~~~~~~~~~~~~ fasttext/fasttext.cc:384:41: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 384 | if (c != 0 && w + c >= 0 && w + c < line.size()) { | ~~~~~~^~~~~~~~~~~~~ fasttext/fasttext.cc: In member function ‘void fasttext::FastText::getSentenceVector(std::istream&, fasttext::Vector&)’: fasttext/fasttext.cc:464:27: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 464 | for (int32_t i = 0; i < line.size(); i++) { | ~~^~~~~~~~~~~~~ fasttext/fasttext.cc: In member function ‘std::vector, fasttext::Vector> > fasttext::FastText::getNgramVectors(const string&) const’: fasttext/fasttext.cc:499:25: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 499 | for (int32_t i = 0; i < ngrams.size(); i++) { | ~~^~~~~~~~~~~~~~~ fasttext/fasttext.cc: In member function ‘std::vector > > fasttext::FastText::getNN(const fasttext::DenseMatrix&, const fasttext::Vector&, int32_t, const std::set >&)’: fasttext/fasttext.cc:560:23: warning: comparison of integer expressions of different signedness: ‘std::vector > >::size_type’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 560 | if (heap.size() == k && similarity < heap.front().first) { | ~~~~~~~~~~~~^~~~ fasttext/fasttext.cc:565:23: warning: comparison of integer expressions of different signedness: ‘std::vector > >::size_type’ {aka ‘long unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 565 | if (heap.size() > k) { | ~~~~~~~~~~~~^~~ fasttext/fasttext.cc: In member function ‘std::shared_ptr fasttext::FastText::getInputMatrixFromFile(const string&) const’: fasttext/fasttext.cc:656:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare] 656 | for (size_t i = 0; i < n; i++) { | ~~^~~ fasttext/fasttext.cc:661:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare] 661 | for (size_t j = 0; j < dim; j++) { | ~~^~~~~ fasttext/fasttext.cc:673:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare] 673 | for (size_t i = 0; i < n; i++) { | ~~^~~ fasttext/fasttext.cc:678:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int64_t’ {aka ‘long int’} [-Wsign-compare] 678 | for (size_t j = 0; j < dim; j++) { | ~~^~~~~ fasttext/main.cc: In function ‘void nn(std::vector >)’: fasttext/main.cc:314:36: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized] 314 | printPredictions(fasttext.getNN(queryWord, k), true, true); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ fasttext/main.cc: In function ‘void analogies(std::vector >)’: fasttext/main.cc:330:3: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized] 330 | if (k <= 0) { | ^~ g++ -fsanitize=address,undefined,bounds-strict -fno-omit-frame-pointer -std=gnu++11 -I"/data/gannet/ripley/R/gcc-SAN/include" -DNDEBUG -pthread -include r_compliance.h -I./fasttext -I'/data/gannet/ripley/R/test-4.1/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-deprecated-declarations -c fastrtext.cpp -o fastrtext.o fastrtext.cpp: In member function ‘void fastrtext::execute(Rcpp::CharacterVector)’: fastrtext.cpp:48:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘R_xlen_t’ {aka ‘long int’} [-Wsign-compare] 48 | for(size_t i = 0; i < commands.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ fastrtext.cpp:54:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 54 | for(size_t i = 0; i < num_argc; ++i) { | ~~^~~~~~~~~~ fastrtext.cpp: In member function ‘Rcpp::NumericVector fastrtext::get_nn_by_word(const string&, int32_t)’: fastrtext.cpp:205:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 205 | for (int i = 0; i < results.size(); ++i) { | ~~^~~~~~~~~~~~~~~~ fastrtext.cpp:203:13: warning: unused variable ‘i’ [-Wunused-variable] 203 | int32_t i = 0; | ^ g++ -fsanitize=address,undefined,bounds-strict -fno-omit-frame-pointer -std=gnu++11 -I"/data/gannet/ripley/R/gcc-SAN/include" -DNDEBUG -pthread -include r_compliance.h -I./fasttext -I'/data/gannet/ripley/R/test-4.1/Rcpp/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-deprecated-declarations -c RcppExports.cpp -o RcppExports.o g++ -fsanitize=address,undefined,bounds-strict -fno-omit-frame-pointer -std=gnu++11 -shared -L/usr/local/lib64 -o fastrtext.so add_prefix.o r_compliance.o ./fasttext/autotune.o ./fasttext/args.o ./fasttext/matrix.o ./fasttext/dictionary.o ./fasttext/loss.o ./fasttext/productquantizer.o ./fasttext/densematrix.o ./fasttext/quantmatrix.o ./fasttext/vector.o ./fasttext/model.o ./fasttext/utils.o ./fasttext/meter.o ./fasttext/fasttext.o ./fasttext/main.o fastrtext.o RcppExports.o -pthread make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-gcc-SAN/fastrtext/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-gcc-SAN/fastrtext/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-gcc-SAN/fastrtext/src' installing to /data/gannet/ripley/R/packages/tests-gcc-SAN/fastrtext.Rcheck/00LOCK-fastrtext/00new/fastrtext/libs ** R ** data *** moving datasets to lazyload DB ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location Error: package or namespace load failed for ‘fastrtext’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/data/gannet/ripley/R/packages/tests-gcc-SAN/fastrtext.Rcheck/00LOCK-fastrtext/00new/fastrtext/libs/fastrtext.so': /data/gannet/ripley/R/packages/tests-gcc-SAN/fastrtext.Rcheck/00LOCK-fastrtext/00new/fastrtext/libs/fastrtext.so: undefined symbol: _ZN8fasttext8Autotune12kCutoffLimitE Error: loading failed Execution halted ERROR: loading failed * removing ‘/data/gannet/ripley/R/packages/tests-gcc-SAN/fastrtext.Rcheck/fastrtext’