* installing *source* package ‘N2R’ ... ** this is package ‘N2R’ version ‘1.0.5’ ** using staged installation ** libs using C++ compiler: ‘Debian clang version 21.1.8 (3+b1)’ clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/BH/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/RcppSpdlog/include' -I'/home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I"../inst/include" -I"./n2/include" -fpic -g -O3 -Wall -pedantic -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:26: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseCore:61: /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from RcppExports.cpp:4: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:29: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseLU:35: /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from RcppExports.cpp:4: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:31: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from RcppExports.cpp:4: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:37: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ 5 warnings generated. clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/BH/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/RcppSpdlog/include' -I'/home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I"../inst/include" -I"./n2/include" -fpic -g -O3 -Wall -pedantic -c check_openmp.cpp -o check_openmp.o clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/BH/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/RcppSpdlog/include' -I'/home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I"../inst/include" -I"./n2/include" -fpic -g -O3 -Wall -pedantic -c n2knn.cpp -o n2knn.o In file included from n2knn.cpp:27: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:26: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseCore:61: /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from n2knn.cpp:27: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:29: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseLU:35: /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from n2knn.cpp:27: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:31: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from n2knn.cpp:27: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:37: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ 5 warnings generated. (cd n2 && CFLAGS="-g -O3 -Wall -pedantic" CXXFLAGS="-g -O3 -Wall -pedantic " MAKE="make -f \"/home/hornik/tmp/R-d-clang-21/etc/Makeconf\" -f Makefile" make -f "/home/hornik/tmp/R-d-clang-21/etc/Makeconf" -f Makefile lib) || exit 1; make[1]: Entering directory '/srv/hornik/tmp/CRAN_pretest/N2R.Rcheck/00_pkg_src/N2R/src/n2' clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/BH/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/RcppSpdlog/include' -I'/home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I"./include" -fpic -g -O3 -Wall -pedantic -c hnsw.cc -o hnsw.o In file included from hnsw.cc:14: In file included from ./include/n2/hnsw.h:47: In file included from ./include/n2/hnsw_build.h:24: In file included from ./include/n2/distance.h:22: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:26: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseCore:61: /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from hnsw.cc:14: In file included from ./include/n2/hnsw.h:47: In file included from ./include/n2/hnsw_build.h:24: In file included from ./include/n2/distance.h:22: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:29: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseLU:35: /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from hnsw.cc:14: In file included from ./include/n2/hnsw.h:47: In file included from ./include/n2/hnsw_build.h:24: In file included from ./include/n2/distance.h:22: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:31: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from hnsw.cc:14: In file included from ./include/n2/hnsw.h:47: In file included from ./include/n2/hnsw_build.h:24: In file included from ./include/n2/distance.h:22: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:37: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ 5 warnings generated. clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/BH/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/RcppSpdlog/include' -I'/home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I"./include" -fpic -g -O3 -Wall -pedantic -c hnsw_build.cc -o hnsw_build.o In file included from hnsw_build.cc:15: In file included from ./include/n2/hnsw_build.h:24: In file included from ./include/n2/distance.h:22: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:26: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseCore:61: /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from hnsw_build.cc:15: In file included from ./include/n2/hnsw_build.h:24: In file included from ./include/n2/distance.h:22: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:29: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseLU:35: /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from hnsw_build.cc:15: In file included from ./include/n2/hnsw_build.h:24: In file included from ./include/n2/distance.h:22: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:31: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from hnsw_build.cc:15: In file included from ./include/n2/hnsw_build.h:24: In file included from ./include/n2/distance.h:22: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:37: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ 5 warnings generated. clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/BH/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/RcppSpdlog/include' -I'/home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I"./include" -fpic -g -O3 -Wall -pedantic -c hnsw_search.cc -o hnsw_search.o In file included from hnsw_search.cc:15: In file included from ./include/n2/hnsw_search_impl.h:21: In file included from ./include/n2/distance.h:22: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:26: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseCore:61: /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from hnsw_search.cc:15: In file included from ./include/n2/hnsw_search_impl.h:21: In file included from ./include/n2/distance.h:22: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:29: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/Sparse:29: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/SparseLU:35: /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from hnsw_search.cc:15: In file included from ./include/n2/hnsw_search_impl.h:21: In file included from ./include/n2/distance.h:22: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:31: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from hnsw_search.cc:15: In file included from ./include/n2/hnsw_search_impl.h:21: In file included from ./include/n2/distance.h:22: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigen.h:25: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/RcppEigenForward.h:37: In file included from /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ 5 warnings generated. clang++-21 -std=gnu++20 -I"/home/hornik/tmp/R-d-clang-21/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/BH/include' -I'/srv/hornik/tmp/CRAN_pretest/Library/RcppSpdlog/include' -I'/home/hornik/lib/R/Library/4.7/x86_64-linux-gnu/RcppEigen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I"./include" -fpic -g -O3 -Wall -pedantic -c hnsw_model.cc -o hnsw_model.o In file included from hnsw_model.cc:15: ./include/n2/hnsw_model.h:70:12: error: no member named 'memcpy' in namespace 'std'; did you mean 'wmemcpy'? 70 | std::memcpy(ptr, &val, sizeof(T)); | ^~~~~~ | wmemcpy /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/cwchar:203:11: note: 'wmemcpy' declared here 203 | using ::wmemcpy; | ^ In file included from hnsw_model.cc:15: ./include/n2/hnsw_model.h:76:12: error: no member named 'memcpy' in namespace 'std'; did you mean 'wmemcpy'? 76 | std::memcpy(&val, ptr, sizeof(T)); | ^~~~~~ | wmemcpy /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/cwchar:203:11: note: 'wmemcpy' declared here 203 | using ::wmemcpy; | ^ In file included from hnsw_model.cc:15: ./include/n2/hnsw_model.h:70:19: error: cannot initialize a parameter of type 'wchar_t *' with an lvalue of type 'char *' 70 | std::memcpy(ptr, &val, sizeof(T)); | ^~~ hnsw_model.cc:168:11: note: in instantiation of function template specialization 'n2::HnswModel::SetValueAndIncPtr' requested here 168 | ptr = SetValueAndIncPtr(ptr, max_level_); | ^ /usr/include/wchar.h:287:46: note: passing argument to parameter '__s1' here 287 | extern wchar_t *wmemcpy (wchar_t *__restrict __s1, | ^ In file included from hnsw_model.cc:15: ./include/n2/hnsw_model.h:70:19: error: cannot initialize a parameter of type 'wchar_t *' with an lvalue of type 'char *' 70 | std::memcpy(ptr, &val, sizeof(T)); | ^~~ hnsw_model.cc:171:11: note: in instantiation of function template specialization 'n2::HnswModel::SetValueAndIncPtr' requested here 171 | ptr = SetValueAndIncPtr(ptr, metric_); | ^ /usr/include/wchar.h:287:46: note: passing argument to parameter '__s1' here 287 | extern wchar_t *wmemcpy (wchar_t *__restrict __s1, | ^ In file included from hnsw_model.cc:15: ./include/n2/hnsw_model.h:70:19: error: cannot initialize a parameter of type 'wchar_t *' with an lvalue of type 'char *' 70 | std::memcpy(ptr, &val, sizeof(T)); | ^~~ hnsw_model.cc:172:11: note: in instantiation of function template specialization 'n2::HnswModel::SetValueAndIncPtr' requested here 172 | ptr = SetValueAndIncPtr(ptr, data_dim_); | ^ /usr/include/wchar.h:287:46: note: passing argument to parameter '__s1' here 287 | extern wchar_t *wmemcpy (wchar_t *__restrict __s1, | ^ In file included from hnsw_model.cc:15: ./include/n2/hnsw_model.h:76:19: error: cannot initialize a parameter of type 'wchar_t *' with an rvalue of type 'int *' 76 | std::memcpy(&val, ptr, sizeof(T)); | ^~~~ hnsw_model.cc:192:11: note: in instantiation of function template specialization 'n2::HnswModel::GetValueAndIncPtr' requested here 192 | ptr = GetValueAndIncPtr(ptr, max_level_); | ^ /usr/include/wchar.h:287:46: note: passing argument to parameter '__s1' here 287 | extern wchar_t *wmemcpy (wchar_t *__restrict __s1, | ^ In file included from hnsw_model.cc:15: ./include/n2/hnsw_model.h:76:19: error: cannot initialize a parameter of type 'wchar_t *' with an rvalue of type 'n2::DistanceKind *' 76 | std::memcpy(&val, ptr, sizeof(T)); | ^~~~ hnsw_model.cc:195:11: note: in instantiation of function template specialization 'n2::HnswModel::GetValueAndIncPtr' requested here 195 | ptr = GetValueAndIncPtr(ptr, metric_); | ^ /usr/include/wchar.h:287:46: note: passing argument to parameter '__s1' here 287 | extern wchar_t *wmemcpy (wchar_t *__restrict __s1, | ^ In file included from hnsw_model.cc:15: ./include/n2/hnsw_model.h:76:19: error: cannot initialize a parameter of type 'wchar_t *' with an rvalue of type 'unsigned long *' 76 | std::memcpy(&val, ptr, sizeof(T)); | ^~~~ hnsw_model.cc:200:11: note: in instantiation of function template specialization 'n2::HnswModel::GetValueAndIncPtr' requested here 200 | ptr = GetValueAndIncPtr(ptr, data_dim_); | ^ /usr/include/wchar.h:287:46: note: passing argument to parameter '__s1' here 287 | extern wchar_t *wmemcpy (wchar_t *__restrict __s1, | ^ 8 errors generated. make[1]: *** [/home/hornik/tmp/R-d-clang-21/etc/Makeconf:195: hnsw_model.o] Error 1 make[1]: Leaving directory '/srv/hornik/tmp/CRAN_pretest/N2R.Rcheck/00_pkg_src/N2R/src/n2' make: *** [Makevars:15: sublibraries] Error 1 ERROR: compilation failed for package ‘N2R’ * removing ‘/srv/hornik/tmp/CRAN_pretest/N2R.Rcheck/N2R’