* installing *source* package ‘memshare’ ...
** this is package ‘memshare’ version ‘1.1.0’
** package ‘memshare’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
specified C++17
using C++ compiler: ‘clang version 21.1.8’
using C++17
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/memshare/src'
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c altrep.cpp -o altrep.o
In file included from altrep.cpp:1:
In file included from ./altrep.h:36:
In file included from ./metadata.h:3:
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:30:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/check_r_headers.h:27:13: warning: R.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410 [-W#pragma-messages]
   27 |     #pragma message "R.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410"
      |             ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/check_r_headers.h:35:13: warning: Rinternals.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410 [-W#pragma-messages]
   35 |     #pragma message "Rinternals.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410"
      |             ^
2 warnings generated.
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c c_mutualinfo.cpp -o c_mutualinfo.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c init.cpp -o init.o
In file included from init.cpp:1:
In file included from ./altrep.h:36:
In file included from ./metadata.h:3:
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:30:
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/check_r_headers.h:27:13: warning: R.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410 [-W#pragma-messages]
   27 |     #pragma message "R.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410"
      |             ^
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/check_r_headers.h:35:13: warning: Rinternals.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410 [-W#pragma-messages]
   35 |     #pragma message "Rinternals.h has been included before any Rcpp headers. This can lead to hard-to-debug errors, and is not necessary. See https://github.com/RcppCore/Rcpp/issues/1410"
      |             ^
2 warnings generated.
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c memory_page.cpp -o memory_page.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c metadata.cpp -o metadata.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c register.cpp -o register.o
In file included from register.cpp:5:
./shared_memory.h:138:20: warning: unused function 'type_to_string' [-Wunused-function]
  138 | static const char* type_to_string(metadata::type t) {
      |                    ^~~~~~~~~~~~~~
1 warning generated.
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c retrieve.cpp -o retrieve.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c shared_memory.cpp -o shared_memory.o
/usr/local/clang21/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang21/lib -L/usr/local/clang21/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -o memshare.so altrep.o c_mutualinfo.o init.o memory_page.o metadata.o register.o retrieve.o shared_memory.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/memshare/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/memshare/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/memshare/src'
installing to /data/gannet/ripley/R/packages/tests-clang/memshare.Rcheck/00LOCK-memshare/00new/memshare/libs
** R
** 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
** 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 (memshare)