* installing *source* package ‘websocket’ ... ** this is package ‘websocket’ version ‘1.4.4’ ** 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.7 (3)’ clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -I./lib -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/cpp11/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/later/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c cpp11.cpp -o cpp11.o clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -I./lib -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/cpp11/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/later/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c debug.cpp -o debug.o clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -I./lib -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/cpp11/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/later/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -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); | ^ In file included from websocket.cpp:17: In file included from ./client.hpp:7: In file included from ./lib/websocketpp/config/asio_no_tls_client.hpp:32: In file included from ./lib/websocketpp/transport/asio/endpoint.hpp:32: In file included from ./lib/websocketpp/transport/asio/connection.hpp:31: In file included from ./lib/websocketpp/transport/asio/base.hpp:31: In file included from ./lib/websocketpp/common/asio.hpp:52: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include/asio.hpp:30: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include/asio/basic_datagram_socket.hpp:20: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include/asio/basic_socket.hpp:38: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include/asio/detail/reactive_socket_service.hpp:23: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include/asio/buffer.hpp:2884:37: warning: identifier '_buf' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 2884 | inline ASIO_CONST_BUFFER operator"" _buf(const char* data, std::size_t n) | ~~~~~~~~~~~^~~~ | operator""_buf /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include/asio/buffer.hpp:2892:37: warning: identifier '_buf' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 2892 | inline ASIO_CONST_BUFFER operator"" _buf() | ~~~~~~~~~~~^~~~ | operator""_buf 4 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -I./lib -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/cpp11/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/later/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -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:2: In file included from ./websocket_defs.h:4: In file included from ./client.hpp:7: In file included from ./lib/websocketpp/config/asio_no_tls_client.hpp:32: In file included from ./lib/websocketpp/transport/asio/endpoint.hpp:32: In file included from ./lib/websocketpp/transport/asio/connection.hpp:31: In file included from ./lib/websocketpp/transport/asio/base.hpp:31: In file included from ./lib/websocketpp/common/asio.hpp:52: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include/asio.hpp:30: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include/asio/basic_datagram_socket.hpp:20: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include/asio/basic_socket.hpp:38: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include/asio/detail/reactive_socket_service.hpp:23: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include/asio/buffer.hpp:2884:37: warning: identifier '_buf' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 2884 | inline ASIO_CONST_BUFFER operator"" _buf(const char* data, std::size_t n) | ~~~~~~~~~~~^~~~ | operator""_buf /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include/asio/buffer.hpp:2892:37: warning: identifier '_buf' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 2892 | inline ASIO_CONST_BUFFER operator"" _buf() | ~~~~~~~~~~~^~~~ | operator""_buf In file included from websocket_connection.cpp:1: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/cpp11/include/cpp11.hpp:5: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/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>' 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:720:9: note: in instantiation of function template specialization 'std::_Destroy>>' requested here 720 | { 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>::destroy>>' 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>, std::allocator, __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>, std::allocator, __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>, std::allocator>' 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>>::__shared_ptr>' 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>>::shared_ptr>' 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>>' requested here 64 | client = make_shared>(); | ^ /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>' 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:720:9: note: in instantiation of function template specialization 'std::_Destroy>>' requested here 720 | { 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>::destroy>>' 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>, std::allocator, __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>, std::allocator, __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>, std::allocator>' 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>>::__shared_ptr>' 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>>::shared_ptr>' 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>>' requested here 67 | client = make_shared>(); | ^ /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(); | ^ 6 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-19/include" -DNDEBUG -I./lib -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/cpp11/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include' -I'/home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/later/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -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); | ^ In file included from websocket_task.cpp:1: In file included from ./websocket_defs.h:4: In file included from ./client.hpp:7: In file included from ./lib/websocketpp/config/asio_no_tls_client.hpp:32: In file included from ./lib/websocketpp/transport/asio/endpoint.hpp:32: In file included from ./lib/websocketpp/transport/asio/connection.hpp:31: In file included from ./lib/websocketpp/transport/asio/base.hpp:31: In file included from ./lib/websocketpp/common/asio.hpp:52: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include/asio.hpp:30: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include/asio/basic_datagram_socket.hpp:20: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include/asio/basic_socket.hpp:38: In file included from /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include/asio/detail/reactive_socket_service.hpp:23: /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include/asio/buffer.hpp:2884:37: warning: identifier '_buf' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 2884 | inline ASIO_CONST_BUFFER operator"" _buf(const char* data, std::size_t n) | ~~~~~~~~~~~^~~~ | operator""_buf /home/hornik/lib/R/Library/4.6/x86_64-linux-gnu/AsioHeaders/include/asio/buffer.hpp:2892:37: warning: identifier '_buf' preceded by whitespace in a literal operator declaration is deprecated [-Wdeprecated-literal-operator] 2892 | inline ASIO_CONST_BUFFER operator"" _buf() | ~~~~~~~~~~~^~~~ | operator""_buf 4 warnings generated. clang++-19 -std=gnu++17 -shared -L/home/hornik/tmp/R-d-clang-19/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-d-clang-19/lib -lR installing to /srv/hornik/tmp/CRAN_pretest/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)