* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘websocket’ ...
** 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: ‘Debian clang version 19.1.5 (1)’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpK8L7vA/R.INSTALL3064d53216557/websocket/src'
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./lib  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/cpp11/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/AsioHeaders/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/later/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -DR_NO_REMAP -c cpp11.cpp -o cpp11.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./lib  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/cpp11/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/AsioHeaders/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/later/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -DR_NO_REMAP -c debug.cpp -o debug.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./lib  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/cpp11/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/AsioHeaders/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/later/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -DR_NO_REMAP -c websocket.cpp -o websocket.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);
      |           ^
2 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./lib  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/cpp11/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/AsioHeaders/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/later/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -DR_NO_REMAP -c websocket_connection.cpp -o websocket_connection.o
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);
      |           ^
In file included from websocket_connection.cpp:1:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/cpp11/include/cpp11.hpp:5:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/cpp11/include/cpp11/as.hpp:5:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/memory:66:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/stl_tempbuf.h:61:
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/stl_construct.h:151:7: 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]
  151 |       __pointer->~_Tp();
      |       ^
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/alloc_traits.h:708:9: note: in instantiation of function template specialization 'std::_Destroy<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>>' requested here
  708 |         { std::_Destroy(__p); }
      |                ^
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr_base.h:616:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>>' requested here
  616 |         allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
      |                                   ^
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr_base.h:602:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
  602 |         _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
      |         ^
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
  970 |             _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
      |             ^
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr_base.h:1713:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>, std::allocator<void>>' requested here
 1713 |         : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
      |                     ^
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>>::__shared_ptr<std::allocator<void>>' requested here
  463 |         : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
      |           ^
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>>::shared_ptr<std::allocator<void>>' requested here
 1007 |       return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
      |              ^
websocket_connection.cpp:64:14: note: in instantiation of function template specialization 'std::make_shared<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_client>>>' requested here
   64 |     client = make_shared<ClientImpl<ws_client>>();
      |              ^
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/stl_construct.h:151:19: note: qualify call to silence this warning
  151 |       __pointer->~_Tp();
      |                   ^
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/stl_construct.h:151:7: 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]
  151 |       __pointer->~_Tp();
      |       ^
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/alloc_traits.h:708:9: note: in instantiation of function template specialization 'std::_Destroy<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_tls_client>>>' requested here
  708 |         { std::_Destroy(__p); }
      |                ^
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr_base.h:616:28: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<void>>::destroy<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_tls_client>>>' requested here
  616 |         allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr());
      |                                   ^
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr_base.h:602:2: note: in instantiation of member function 'std::_Sp_counted_ptr_inplace<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_tls_client>>, std::allocator<void>, __gnu_cxx::_S_atomic>::_M_dispose' requested here
  602 |         _Sp_counted_ptr_inplace(_Alloc __a, _Args&&... __args)
      |         ^
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr_base.h:970:6: note: in instantiation of function template specialization 'std::_Sp_counted_ptr_inplace<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_tls_client>>, std::allocator<void>, __gnu_cxx::_S_atomic>::_Sp_counted_ptr_inplace<>' requested here
  970 |             _Sp_cp_type(__a._M_a, std::forward<_Args>(__args)...);
      |             ^
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr_base.h:1713:14: note: in instantiation of function template specialization 'std::__shared_count<>::__shared_count<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_tls_client>>, std::allocator<void>>' requested here
 1713 |         : _M_ptr(), _M_refcount(_M_ptr, __tag, std::forward<_Args>(__args)...)
      |                     ^
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr.h:463:4: note: in instantiation of function template specialization 'std::__shared_ptr<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_tls_client>>>::__shared_ptr<std::allocator<void>>' requested here
  463 |         : __shared_ptr<_Tp>(__tag, std::forward<_Args>(__args)...)
      |           ^
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/shared_ptr.h:1007:14: note: in instantiation of function template specialization 'std::shared_ptr<ClientImpl<ws_websocketpp::client<ws_websocketpp::config::asio_tls_client>>>::shared_ptr<std::allocator<void>>' requested here
 1007 |       return shared_ptr<_Tp>(_Sp_alloc_shared_tag<_Alloc>{__a},
      |              ^
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>>>' requested here
   67 |     client = make_shared<ClientImpl<wss_client>>();
      |              ^
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/stl_construct.h:151:19: note: qualify call to silence this warning
  151 |       __pointer->~_Tp();
      |                   ^
4 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./lib  -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/cpp11/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/AsioHeaders/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/later/include' -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -DR_NO_REMAP -c websocket_task.cpp -o websocket_task.o
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);
      |           ^
2 warnings generated.
clang++-19 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o websocket.so cpp11.o debug.o websocket.o websocket_connection.o websocket_task.o -lssl -lcrypto -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpK8L7vA/R.INSTALL3064d53216557/websocket/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpK8L7vA/R.INSTALL3064d53216557/websocket/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpK8L7vA/R.INSTALL3064d53216557/websocket/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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)