* installing *source* package ‘dbarts’ ...
** this is package ‘dbarts’ version ‘0.9-33’
** package ‘dbarts’ successfully unpacked and MD5 sums checked
** using staged installation
checking for gcc... clang -arch x86_64
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether clang -arch x86_64 accepts -g... yes
checking for clang -arch x86_64 option to enable C11 features... none needed
checking how to run the C preprocessor... clang -arch x86_64 -E
checking whether the compiler supports GNU C++... yes
checking whether clang++ -arch x86_64 -std=gnu++20 accepts -g... yes
checking for clang++ -arch x86_64 -std=gnu++20 option to enable C++11 features... -std=gnu++11
checking how to run the C++ preprocessor... clang++ -arch x86_64 -std=gnu++20 -std=gnu++11 -E
checking for C/C++ restrict keyword... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking build system type... x86_64-apple-darwin22.4.0
checking host system type... x86_64-apple-darwin22.4.0
checking for C compiler vendor... clang
checking whether C compiler accepts ... yes
checking whether C compiler accepts -msse2... yes
checking whether C compiler accepts -msse4.1... yes
checking whether C compiler accepts -mavx... yes
checking whether C compiler accepts -mavx2... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep -e... /usr/bin/grep -E
checking whether clang -arch x86_64 is Clang... yes
checking whether pthreads work with "-pthread" and "-lpthread"... yes
checking whether Clang needs flag to prevent "argument unused" warning when linking with -pthread... no
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for cstdint... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for malloc.h... no
checking for int64_t... yes
checking for uint64_t... yes
checking size of size_t... 8
checking alignment of void*... 8
checking for gettimeofday... yes
checking for clock_gettime... yes
checking for ffs... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for working posix_memalign... yes
checking for clang++ -arch x86_64 -std=gnu++20 -std=gnu++11 options needed to detect all undeclared functions... none needed
checking whether strerror_r is declared... yes
checking whether strerror_r returns char *... no
checking for snprintf... yes
checking if g++ supports namespace std... yes
checking whether snprintf is in std::... yes
checking for log1p... yes
checking whether log1p is in std::... no
configure: creating ./config.status
config.status: creating src/Makevars
config.status: creating src/config.hpp
config.status: creating src/dbarts/config.hpp
config.status: creating src/misc/config.h
config.status: creating src/external/config.h
config.status: creating inst/include/dbarts/types.hpp
config.status: creating src/include/misc/types.h
** libs
using C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
Warning in system2("xcrun", "--show-sdk-version", TRUE, TRUE) :
  running command ''xcrun' --show-sdk-version 2>&1' had status 1
using SDK: ‘NA’
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -Iinclude -pthread  -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c R_C_interface.cpp -o R_C_interface.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -Iinclude -pthread  -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c R_interface.cpp -o R_interface.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -Iinclude -pthread  -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c R_interface_common.cpp -o R_interface_common.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -Iinclude -pthread  -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c R_interface_crossvalidate.cpp -o R_interface_crossvalidate.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -Iinclude -pthread  -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c R_interface_rbart.cpp -o R_interface_rbart.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -Iinclude -pthread  -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c R_interface_sampler.cpp -o R_interface_sampler.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -Iinclude -pthread  -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c crossvalidate.cpp -o crossvalidate.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -Iinclude -pthread  -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c guessNumCores.cpp -o guessNumCores.o
clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I../inst/include -Iinclude -pthread  -I/opt/R/x86_64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c makeModelMatrixFromDataFrame.c -o makeModelMatrixFromDataFrame.o
R_interface.cpp:344:5: error: no member named 'bit_cast' in namespace 'std'
    DEF_FUNC("dbarts_create", create, 3),
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R_interface.cpp:341:45: note: expanded from macro 'DEF_FUNC'
#define DEF_FUNC(_N_, _F_, _A_) { _N_, std::bit_cast<DL_FUNC>(&_F_), _A_ }
                                       ~~~~~^
R_interface.cpp:344:5: error: unexpected type name 'DL_FUNC': expected expression
R_interface.cpp:341:54: note: expanded from macro 'DEF_FUNC'
#define DEF_FUNC(_N_, _F_, _A_) { _N_, std::bit_cast<DL_FUNC>(&_F_), _A_ }
                                                     ^
R_interface.cpp:345:5: error: no member named 'bit_cast' in namespace 'std'
    DEF_FUNC("dbarts_run", run, 4),
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R_interface.cpp:341:45: note: expanded from macro 'DEF_FUNC'
#define DEF_FUNC(_N_, _F_, _A_) { _N_, std::bit_cast<DL_FUNC>(&_F_), _A_ }
                                       ~~~~~^
R_interface.cpp:345:5: error: unexpected type name 'DL_FUNC': expected expression
R_interface.cpp:341:54: note: expanded from macro 'DEF_FUNC'
#define DEF_FUNC(_N_, _F_, _A_) { _N_, std::bit_cast<DL_FUNC>(&_F_), _A_ }
                                                     ^
R_interface.cpp:346:5: error: no member named 'bit_cast' in namespace 'std'
    DEF_FUNC("dbarts_sampleTreesFromPrior", sampleTreesFromPrior, 1),
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R_interface.cpp:341:45: note: expanded from macro 'DEF_FUNC'
#define DEF_FUNC(_N_, _F_, _A_) { _N_, std::bit_cast<DL_FUNC>(&_F_), _A_ }
                                       ~~~~~^
R_interface.cpp:346:5: error: unexpected type name 'DL_FUNC': expected expression
R_interface.cpp:341:54: note: expanded from macro 'DEF_FUNC'
#define DEF_FUNC(_N_, _F_, _A_) { _N_, std::bit_cast<DL_FUNC>(&_F_), _A_ }
                                                     ^
R_interface.cpp:347:5: error: no member named 'bit_cast' in namespace 'std'
    DEF_FUNC("dbarts_sampleNodeParametersFromPrior", sampleNodeParametersFromPrior, 1),
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R_interface.cpp:341:45: note: expanded from macro 'DEF_FUNC'
#define DEF_FUNC(_N_, _F_, _A_) { _N_, std::bit_cast<DL_FUNC>(&_F_), _A_ }
                                       ~~~~~^
R_interface.cpp:347:5: error: unexpected type name 'DL_FUNC': expected expression
R_interface.cpp:341:54: note: expanded from macro 'DEF_FUNC'
#define DEF_FUNC(_N_, _F_, _A_) { _N_, std::bit_cast<DL_FUNC>(&_F_), _A_ }
                                                     ^
R_interface.cpp:348:5: error: no member named 'bit_cast' in namespace 'std'
    DEF_FUNC("dbarts_printTrees", printTrees, 4),
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R_interface.cpp:341:45: note: expanded from macro 'DEF_FUNC'
#define DEF_FUNC(_N_, _F_, _A_) { _N_, std::bit_cast<DL_FUNC>(&_F_), _A_ }
                                       ~~~~~^
R_interface.cpp:348:5: error: unexpected type name 'DL_FUNC': expected expression
R_interface.cpp:341:54: note: expanded from macro 'DEF_FUNC'
#define DEF_FUNC(_N_, _F_, _A_) { _N_, std::bit_cast<DL_FUNC>(&_F_), _A_ }
                                                     ^
R_interface.cpp:349:5: error: no member named 'bit_cast' in namespace 'std'
    DEF_FUNC("dbarts_getTrees", getTrees, 4),
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R_interface.cpp:341:45: note: expanded from macro 'DEF_FUNC'
#define DEF_FUNC(_N_, _F_, _A_) { _N_, std::bit_cast<DL_FUNC>(&_F_), _A_ }
                                       ~~~~~^
R_interface.cpp:349:5: error: unexpected type name 'DL_FUNC': expected expression
R_interface.cpp:341:54: note: expanded from macro 'DEF_FUNC'
#define DEF_FUNC(_N_, _F_, _A_) { _N_, std::bit_cast<DL_FUNC>(&_F_), _A_ }
                                                     ^
R_interface.cpp:350:5: error: no member named 'bit_cast' in namespace 'std'
    DEF_FUNC("dbarts_predict", predict, 4),
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R_interface.cpp:341:45: note: expanded from macro 'DEF_FUNC'
#define DEF_FUNC(_N_, _F_, _A_) { _N_, std::bit_cast<DL_FUNC>(&_F_), _A_ }
                                       ~~~~~^
R_interface.cpp:350:5: error: unexpected type name 'DL_FUNC': expected expression
R_interface.cpp:341:54: note: expanded from macro 'DEF_FUNC'
#define DEF_FUNC(_N_, _F_, _A_) { _N_, std::bit_cast<DL_FUNC>(&_F_), _A_ }
                                                     ^
R_interface.cpp:351:5: error: no member named 'bit_cast' in namespace 'std'
    DEF_FUNC("dbarts_setResponse", setResponse, 2),
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R_interface.cpp:341:45: note: expanded from macro 'DEF_FUNC'
#define DEF_FUNC(_N_, _F_, _A_) { _N_, std::bit_cast<DL_FUNC>(&_F_), _A_ }
                                       ~~~~~^
R_interface.cpp:351:5: error: unexpected type name 'DL_FUNC': expected expression
R_interface.cpp:341:54: note: expanded from macro 'DEF_FUNC'
#define DEF_FUNC(_N_, _F_, _A_) { _N_, std::bit_cast<DL_FUNC>(&_F_), _A_ }
                                                     ^
R_interface.cpp:352:5: error: no member named 'bit_cast' in namespace 'std'
    DEF_FUNC("dbarts_setOffset", setOffset, 3),
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R_interface.cpp:341:45: note: expanded from macro 'DEF_FUNC'
#define DEF_FUNC(_N_, _F_, _A_) { _N_, std::bit_cast<DL_FUNC>(&_F_), _A_ }
                                       ~~~~~^
R_interface.cpp:352:5: error: unexpected type name 'DL_FUNC': expected expression
R_interface.cpp:341:54: note: expanded from macro 'DEF_FUNC'
#define DEF_FUNC(_N_, _F_, _A_) { _N_, std::bit_cast<DL_FUNC>(&_F_), _A_ }
                                                     ^
R_interface.cpp:353:5: error: no member named 'bit_cast' in namespace 'std'
    DEF_FUNC("dbarts_setSigma", setSigma, 2),
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
R_interface.cpp:341:45: note: expanded from macro 'DEF_FUNC'
#define DEF_FUNC(_N_, _F_, _A_) { _N_, std::bit_cast<DL_FUNC>(&_F_), _A_ }
                                       ~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [R_interface.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR: compilation failed for package ‘dbarts’
* removing ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.6/dbarts.Rcheck/dbarts’