* installing *source* package ‘websocket’ ...
** this is package ‘websocket’ version ‘1.4.4’
** package ‘websocket’ successfully unpacked and MD5 sums checked
** using staged installation
Found pkg-config cflags and libs!
Using PKG_CFLAGS=
Using PKG_LIBS=-lssl -lcrypto
** libs
using C++ compiler: ‘clang version 22.1.0 (https://github.com/llvm/llvm-project 4434dabb69916856b824f68a64b029c67175e532)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/websocket/src'
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I./lib -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS -I'/data/gannet/ripley/R/test-clang/cpp11/include' -I'/data/gannet/ripley/R/test-clang/AsioHeaders/include' -I'/data/gannet/ripley/R/test-clang/later/include' -isystem /usr/local/clang22/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 cpp11.cpp -o cpp11.o
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I./lib -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS -I'/data/gannet/ripley/R/test-clang/cpp11/include' -I'/data/gannet/ripley/R/test-clang/AsioHeaders/include' -I'/data/gannet/ripley/R/test-clang/later/include' -isystem /usr/local/clang22/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 debug.cpp -o debug.o
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I./lib -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS -I'/data/gannet/ripley/R/test-clang/cpp11/include' -I'/data/gannet/ripley/R/test-clang/AsioHeaders/include' -I'/data/gannet/ripley/R/test-clang/later/include' -isystem /usr/local/clang22/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 websocket.cpp -o websocket.o
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I./lib -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS -I'/data/gannet/ripley/R/test-clang/cpp11/include' -I'/data/gannet/ripley/R/test-clang/AsioHeaders/include' -I'/data/gannet/ripley/R/test-clang/later/include' -isystem /usr/local/clang22/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 websocket_connection.cpp -o websocket_connection.o
In file included from websocket.cpp:15:
./wrapped_print.h:37:11: warning: variable 'res' set but not used [-Wunused-but-set-variable]
37 | ssize_t res = write(STDERR_FILENO, buf, n);
| ^
./wrapped_print.h:56:11: warning: variable 'res' set but not used [-Wunused-but-set-variable]
56 | ssize_t res = write(STDOUT_FILENO, buf, n);
| ^
In file included from websocket_connection.cpp:2:
In file included from ./websocket_defs.h:4:
In file included from ./client.hpp:5:
./wrapped_print.h:37:11: warning: variable 'res' set but not used [-Wunused-but-set-variable]
37 | ssize_t res = write(STDERR_FILENO, buf, n);
| ^
./wrapped_print.h:56:11: warning: variable 'res' set but not used [-Wunused-but-set-variable]
56 | ssize_t res = write(STDOUT_FILENO, buf, n);
| ^
clang++-22 -stdlib=libc++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I./lib -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS -I'/data/gannet/ripley/R/test-clang/cpp11/include' -I'/data/gannet/ripley/R/test-clang/AsioHeaders/include' -I'/data/gannet/ripley/R/test-clang/later/include' -isystem /usr/local/clang22/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 websocket_task.cpp -o websocket_task.o
2 warnings generated.
In file included from websocket_task.cpp:1:
In file included from ./websocket_defs.h:4:
In file included from ./client.hpp:5:
./wrapped_print.h:37:11: warning: variable 'res' set but not used [-Wunused-but-set-variable]
37 | ssize_t res = write(STDERR_FILENO, buf, n);
| ^
./wrapped_print.h:56:11: warning: variable 'res' set but not used [-Wunused-but-set-variable]
56 | ssize_t res = write(STDOUT_FILENO, buf, n);
| ^
In file included from websocket_connection.cpp:1:
In file included from /data/gannet/ripley/R/test-clang/cpp11/include/cpp11.hpp:5:
In file included from /data/gannet/ripley/R/test-clang/cpp11/include/cpp11/as.hpp:5:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/memory:946:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/allocator.h:17:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/allocator_traits.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/construct_at.h:67:5: warning: destructor called on non-final 'ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
67 | __loc->~_Tp();
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/allocator_traits.h:313:10: note: in instantiation of function template specialization 'std::__destroy_at<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>>' requested here
313 | std::__destroy_at(__p);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/shared_ptr.h:180:33: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>>>::destroy<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>, 0>' requested here
180 | allocator_traits<_TpAlloc>::destroy(__tmp, __get_elem());
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/shared_ptr.h:183:78: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>, std::allocator<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>>>::__on_zero_shared_impl<std::allocator<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>>, 0>' requested here
183 | _LIBCPP_HIDE_FROM_ABI_VIRTUAL void __on_zero_shared() _NOEXCEPT override { __on_zero_shared_impl(); }
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/shared_ptr.h:158:34: note: in instantiation of member function 'std::__shared_ptr_emplace<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>, std::allocator<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>>>::__on_zero_shared' requested here
158 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __storage_(std::move(__a)) {
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/shared_ptr.h:682:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>, std::allocator<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>>>::__shared_ptr_emplace<std::allocator<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>>, 0>' requested here
682 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__a, std::forward<_Args>(__args)...);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/shared_ptr.h:690:15: note: in instantiation of function template specialization 'std::allocate_shared<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>, std::allocator<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>>, 0>' requested here
690 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...);
| ^
websocket_connection.cpp:64:14: note: in instantiation of function template specialization 'std::make_shared<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>, 0>' requested here
64 | client = make_shared<ClientImpl<ws_client>>();
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/construct_at.h:67:13: note: qualify call to silence this warning
67 | __loc->~_Tp();
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/construct_at.h:67:5: warning: destructor called on non-final 'ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_tls_client>>' that has virtual functions but non-virtual destructor [-Wdelete-non-abstract-non-virtual-dtor]
67 | __loc->~_Tp();
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/allocator_traits.h:313:10: note: in instantiation of function template specialization 'std::__destroy_at<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_tls_client>>>' requested here
313 | std::__destroy_at(__p);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/shared_ptr.h:180:33: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_tls_client>>>>::destroy<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_tls_client>>, 0>' requested here
180 | allocator_traits<_TpAlloc>::destroy(__tmp, __get_elem());
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/shared_ptr.h:183:78: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_tls_client>>, std::allocator<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_tls_client>>>>::__on_zero_shared_impl<std::allocator<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_tls_client>>>, 0>' requested here
183 | _LIBCPP_HIDE_FROM_ABI_VIRTUAL void __on_zero_shared() _NOEXCEPT override { __on_zero_shared_impl(); }
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/shared_ptr.h:158:34: note: in instantiation of member function 'std::__shared_ptr_emplace<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_tls_client>>, std::allocator<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_tls_client>>>>::__on_zero_shared' requested here
158 | _LIBCPP_HIDE_FROM_ABI explicit __shared_ptr_emplace(_Alloc __a, _Args&&... __args) : __storage_(std::move(__a)) {
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/shared_ptr.h:682:51: note: in instantiation of function template specialization 'std::__shared_ptr_emplace<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_tls_client>>, std::allocator<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_tls_client>>>>::__shared_ptr_emplace<std::allocator<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_tls_client>>>, 0>' requested here
682 | ::new ((void*)std::addressof(*__guard.__get())) _ControlBlock(__a, std::forward<_Args>(__args)...);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/shared_ptr.h:690:15: note: in instantiation of function template specialization 'std::allocate_shared<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_tls_client>>, std::allocator<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_tls_client>>>, 0>' requested here
690 | return std::allocate_shared<_Tp>(allocator<__remove_cv_t<_Tp> >(), std::forward<_Args>(__args)...);
| ^
websocket_connection.cpp:67:14: note: in instantiation of function template specialization 'std::make_shared<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_tls_client>>, 0>' requested here
67 | client = make_shared<ClientImpl<wss_client>>();
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.0-Linux-X64/bin/../include/c++/v1/__memory/construct_at.h:67:13: note: qualify call to silence this warning
67 | __loc->~_Tp();
| ^
2 warnings generated.
4 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++20 -shared -L/usr/local/clang/lib64 -L/usr/local/clang22/lib -L/usr/local/clang22/lib/x86_64-unknown-linux-gnu -L/usr/local/lib64 -L/usr/local/clang21/lib/clang/22/lib/x86_64-unknown-linux-gnu -o websocket.so cpp11.o debug.o websocket.o websocket_connection.o websocket_task.o -lssl -lcrypto
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/websocket/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/websocket/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/websocket/src'
installing to /data/gannet/ripley/R/packages/tests-clang/websocket.Rcheck/00LOCK-websocket/00new/websocket/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 (websocket)