* 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=-I/opt/R/arm64/include
Using PKG_LIBS=-L/opt/R/arm64/lib -lssl -lcrypto
** libs
using C++ compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’
using SDK: ‘MacOSX14.5.sdk’
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./lib -I/opt/R/arm64/include -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/cpp11/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/AsioHeaders/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/later/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c cpp11.cpp -o cpp11.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./lib -I/opt/R/arm64/include -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/cpp11/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/AsioHeaders/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/later/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c debug.cpp -o debug.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./lib -I/opt/R/arm64/include -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/cpp11/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/AsioHeaders/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/later/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c websocket.cpp -o websocket.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./lib -I/opt/R/arm64/include -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/cpp11/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/AsioHeaders/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/later/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c websocket_connection.cpp -o websocket_connection.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./lib -I/opt/R/arm64/include -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/cpp11/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/AsioHeaders/include' -I'/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/later/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -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_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.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.
2 warnings generated.
In file included from websocket_connection.cpp:1:
In file included from /Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/cpp11/include/cpp11.hpp:5:
In file included from /Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/cpp11/include/cpp11/as.hpp:5:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/memory:898:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: 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]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: 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
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: 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<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: 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>>>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::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>>, void>' requested here
   64 |     client = make_shared<ClientImpl<ws_client>>();
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:9: 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]
  324 |         __get_elem()->~_Tp();
      |         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:290:14: 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
  290 |     explicit __shared_ptr_emplace(_Alloc __a, _Args&& ...__args)
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1023:55: 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<>' requested here
 1023 |     ::new ((void*)_VSTD::addressof(*__guard.__get())) _ControlBlock(__a, _VSTD::forward<_Args>(__args)...);
      |                                                       ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:1032:19: 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>>>, void>' requested here
 1032 |     return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::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>>, void>' requested here
   67 |     client = make_shared<ClientImpl<wss_client>>();
      |              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__memory/shared_ptr.h:324:24: note: qualify call to silence this warning
  324 |         __get_elem()->~_Tp();
      |                        ^
4 warnings generated.
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o websocket.so cpp11.o debug.o websocket.o websocket_connection.o websocket_task.o -L/opt/R/arm64/lib -lssl -lcrypto -F/Library/Frameworks/R.framework/.. -framework R
installing to /Volumes/Builds/packages/sonoma-arm64/results/4.6/websocket.Rcheck/00LOCK-websocket/00new/websocket/libs
** generating debug symbols (dSYM)
** 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)