* installing *source* package ‘rstanarm’ ... ** package ‘rstanarm’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using C++17 using SDK: ‘MacOSX11.3.sdk’ "/Library/Frameworks/R.framework/Resources/bin/Rscript" -e "source(file.path('..', 'tools', 'make_cc.R')); make_cc(commandArgs(TRUE))" stan_files/bernoulli.stan Wrote C++ file "stan_files/bernoulli.cc" clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -I/opt/R/arm64/include -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -falign-functions=64 -Wall -g -O2 -c stan_files/bernoulli.cc -o stan_files/bernoulli.o In file included from stan_files/bernoulli.cc:3: In file included from stan_files/bernoulli.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:21: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] virtual std::streamsize xsputn(const char_type* s, int n) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int') virtual streamsize xsputn(const char_type* __s, streamsize __n); ^ In file included from stan_files/bernoulli.cc:3: In file included from stan_files/bernoulli.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:21: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] virtual std::streamsize xsputn(const char_type* s, int n) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int') virtual streamsize xsputn(const char_type* __s, streamsize __n); ^ In file included from stan_files/bernoulli.cc:3: In file included from stan_files/bernoulli.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:43: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct ops_partials_edge> { ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? class ops_partials_edge; ^~~~~ struct In file included from stan_files/bernoulli.cc:3: In file included from stan_files/bernoulli.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret = stan::services::error_codes::CONFIG; ^ In file included from stan_files/bernoulli.cc:3: stan_files/bernoulli.hpp:5321:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] int pos__ = std::numeric_limits::min(); ^ In file included from stan_files/bernoulli.cc:3: In file included from stan_files/bernoulli.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:43: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/binomial.hpp:15: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/beta.hpp:1721: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable] const T x_extrema = 1 / (1 + a); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:304:7: note: in instantiation of member function 'boost::math::detail::temme_root_finder::temme_root_finder' requested here temme_root_finder(-lu, alpha), x, lower, upper, policies::digits() / 2); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:615:20: note: in instantiation of function template specialization 'boost::math::detail::temme_method_2_ibeta_inverse, boost::math::policies::promote_float, boost::math::policies::promote_double>>' requested here x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:992:17: note: in instantiation of function template specialization 'boost::math::detail::ibeta_inv_imp, boost::math::policies::promote_float, boost::math::policies::promote_double>>' requested here rx = detail::ibeta_inv_imp( ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:1023:11: note: in instantiation of function template specialization 'boost::math::ibeta_inv, boost::math::policies::pole_error, boost::math::policies::promote_double, boost::math::policies::digits2<0>>>' requested here return ibeta_inv(a, b, p, static_cast(nullptr), pol); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/inv_inc_beta.hpp:32:23: note: in instantiation of function template specialization 'boost::math::ibeta_inv, boost::math::policies::pole_error, boost::math::policies::promote_double, boost::math::policies::digits2<0>>>' requested here return boost::math::ibeta_inv(a, b, p, boost_policy_t<>()); ^ 6 warnings generated. "/Library/Frameworks/R.framework/Resources/bin/Rscript" -e "source(file.path('..', 'tools', 'make_cc.R')); make_cc(commandArgs(TRUE))" stan_files/binomial.stan Wrote C++ file "stan_files/binomial.cc" clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -I/opt/R/arm64/include -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -falign-functions=64 -Wall -g -O2 -c stan_files/binomial.cc -o stan_files/binomial.o In file included from stan_files/binomial.cc:3: In file included from stan_files/binomial.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:21: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] virtual std::streamsize xsputn(const char_type* s, int n) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int') virtual streamsize xsputn(const char_type* __s, streamsize __n); ^ In file included from stan_files/binomial.cc:3: In file included from stan_files/binomial.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:21: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] virtual std::streamsize xsputn(const char_type* s, int n) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int') virtual streamsize xsputn(const char_type* __s, streamsize __n); ^ In file included from stan_files/binomial.cc:3: In file included from stan_files/binomial.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:43: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct ops_partials_edge> { ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? class ops_partials_edge; ^~~~~ struct In file included from stan_files/binomial.cc:3: In file included from stan_files/binomial.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret = stan::services::error_codes::CONFIG; ^ In file included from stan_files/binomial.cc:3: stan_files/binomial.hpp:4114:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] int pos__ = std::numeric_limits::min(); ^ In file included from stan_files/binomial.cc:3: In file included from stan_files/binomial.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:43: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/binomial.hpp:15: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/beta.hpp:1721: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable] const T x_extrema = 1 / (1 + a); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:304:7: note: in instantiation of member function 'boost::math::detail::temme_root_finder::temme_root_finder' requested here temme_root_finder(-lu, alpha), x, lower, upper, policies::digits() / 2); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:615:20: note: in instantiation of function template specialization 'boost::math::detail::temme_method_2_ibeta_inverse, boost::math::policies::promote_float, boost::math::policies::promote_double>>' requested here x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:992:17: note: in instantiation of function template specialization 'boost::math::detail::ibeta_inv_imp, boost::math::policies::promote_float, boost::math::policies::promote_double>>' requested here rx = detail::ibeta_inv_imp( ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:1023:11: note: in instantiation of function template specialization 'boost::math::ibeta_inv, boost::math::policies::pole_error, boost::math::policies::promote_double, boost::math::policies::digits2<0>>>' requested here return ibeta_inv(a, b, p, static_cast(nullptr), pol); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/inv_inc_beta.hpp:32:23: note: in instantiation of function template specialization 'boost::math::ibeta_inv, boost::math::policies::pole_error, boost::math::policies::promote_double, boost::math::policies::digits2<0>>>' requested here return boost::math::ibeta_inv(a, b, p, boost_policy_t<>()); ^ 6 warnings generated. "/Library/Frameworks/R.framework/Resources/bin/Rscript" -e "source(file.path('..', 'tools', 'make_cc.R')); make_cc(commandArgs(TRUE))" stan_files/continuous.stan Wrote C++ file "stan_files/continuous.cc" clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -I/opt/R/arm64/include -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -falign-functions=64 -Wall -g -O2 -c stan_files/continuous.cc -o stan_files/continuous.o In file included from stan_files/continuous.cc:3: In file included from stan_files/continuous.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:21: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] virtual std::streamsize xsputn(const char_type* s, int n) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int') virtual streamsize xsputn(const char_type* __s, streamsize __n); ^ In file included from stan_files/continuous.cc:3: In file included from stan_files/continuous.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:21: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] virtual std::streamsize xsputn(const char_type* s, int n) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int') virtual streamsize xsputn(const char_type* __s, streamsize __n); ^ In file included from stan_files/continuous.cc:3: In file included from stan_files/continuous.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:43: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct ops_partials_edge> { ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? class ops_partials_edge; ^~~~~ struct In file included from stan_files/continuous.cc:3: In file included from stan_files/continuous.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret = stan::services::error_codes::CONFIG; ^ In file included from stan_files/continuous.cc:3: stan_files/continuous.hpp:8196:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] int pos__ = std::numeric_limits::min(); ^ In file included from stan_files/continuous.cc:3: In file included from stan_files/continuous.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:43: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/binomial.hpp:15: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/beta.hpp:1721: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable] const T x_extrema = 1 / (1 + a); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:304:7: note: in instantiation of member function 'boost::math::detail::temme_root_finder::temme_root_finder' requested here temme_root_finder(-lu, alpha), x, lower, upper, policies::digits() / 2); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:615:20: note: in instantiation of function template specialization 'boost::math::detail::temme_method_2_ibeta_inverse, boost::math::policies::promote_float, boost::math::policies::promote_double>>' requested here x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:992:17: note: in instantiation of function template specialization 'boost::math::detail::ibeta_inv_imp, boost::math::policies::promote_float, boost::math::policies::promote_double>>' requested here rx = detail::ibeta_inv_imp( ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:1023:11: note: in instantiation of function template specialization 'boost::math::ibeta_inv, boost::math::policies::pole_error, boost::math::policies::promote_double, boost::math::policies::digits2<0>>>' requested here return ibeta_inv(a, b, p, static_cast(nullptr), pol); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/inv_inc_beta.hpp:32:23: note: in instantiation of function template specialization 'boost::math::ibeta_inv, boost::math::policies::pole_error, boost::math::policies::promote_double, boost::math::policies::digits2<0>>>' requested here return boost::math::ibeta_inv(a, b, p, boost_policy_t<>()); ^ 6 warnings generated. "/Library/Frameworks/R.framework/Resources/bin/Rscript" -e "source(file.path('..', 'tools', 'make_cc.R')); make_cc(commandArgs(TRUE))" stan_files/count.stan Wrote C++ file "stan_files/count.cc" clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -I/opt/R/arm64/include -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -falign-functions=64 -Wall -g -O2 -c stan_files/count.cc -o stan_files/count.o In file included from stan_files/count.cc:3: In file included from stan_files/count.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:21: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] virtual std::streamsize xsputn(const char_type* s, int n) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int') virtual streamsize xsputn(const char_type* __s, streamsize __n); ^ In file included from stan_files/count.cc:3: In file included from stan_files/count.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:21: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] virtual std::streamsize xsputn(const char_type* s, int n) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int') virtual streamsize xsputn(const char_type* __s, streamsize __n); ^ In file included from stan_files/count.cc:3: In file included from stan_files/count.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:43: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct ops_partials_edge> { ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? class ops_partials_edge; ^~~~~ struct In file included from stan_files/count.cc:3: In file included from stan_files/count.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret = stan::services::error_codes::CONFIG; ^ In file included from stan_files/count.cc:3: stan_files/count.hpp:4542:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] int pos__ = std::numeric_limits::min(); ^ In file included from stan_files/count.cc:3: In file included from stan_files/count.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:43: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/binomial.hpp:15: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/beta.hpp:1721: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable] const T x_extrema = 1 / (1 + a); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:304:7: note: in instantiation of member function 'boost::math::detail::temme_root_finder::temme_root_finder' requested here temme_root_finder(-lu, alpha), x, lower, upper, policies::digits() / 2); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:615:20: note: in instantiation of function template specialization 'boost::math::detail::temme_method_2_ibeta_inverse, boost::math::policies::promote_float, boost::math::policies::promote_double>>' requested here x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:992:17: note: in instantiation of function template specialization 'boost::math::detail::ibeta_inv_imp, boost::math::policies::promote_float, boost::math::policies::promote_double>>' requested here rx = detail::ibeta_inv_imp( ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:1023:11: note: in instantiation of function template specialization 'boost::math::ibeta_inv, boost::math::policies::pole_error, boost::math::policies::promote_double, boost::math::policies::digits2<0>>>' requested here return ibeta_inv(a, b, p, static_cast(nullptr), pol); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/inv_inc_beta.hpp:32:23: note: in instantiation of function template specialization 'boost::math::ibeta_inv, boost::math::policies::pole_error, boost::math::policies::promote_double, boost::math::policies::digits2<0>>>' requested here return boost::math::ibeta_inv(a, b, p, boost_policy_t<>()); ^ 6 warnings generated. "/Library/Frameworks/R.framework/Resources/bin/Rscript" -e "source(file.path('..', 'tools', 'make_cc.R')); make_cc(commandArgs(TRUE))" stan_files/jm.stan Wrote C++ file "stan_files/jm.cc" clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -I/opt/R/arm64/include -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -falign-functions=64 -Wall -g -O2 -c stan_files/jm.cc -o stan_files/jm.o In file included from stan_files/jm.cc:3: In file included from stan_files/jm.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:21: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] virtual std::streamsize xsputn(const char_type* s, int n) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int') virtual streamsize xsputn(const char_type* __s, streamsize __n); ^ In file included from stan_files/jm.cc:3: In file included from stan_files/jm.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:21: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] virtual std::streamsize xsputn(const char_type* s, int n) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int') virtual streamsize xsputn(const char_type* __s, streamsize __n); ^ In file included from stan_files/jm.cc:3: In file included from stan_files/jm.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:43: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct ops_partials_edge> { ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? class ops_partials_edge; ^~~~~ struct In file included from stan_files/jm.cc:3: In file included from stan_files/jm.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret = stan::services::error_codes::CONFIG; ^ In file included from stan_files/jm.cc:3: stan_files/jm.hpp:6340:15: warning: variable 'shift_nb' set but not used [-Wunused-but-set-variable] int shift_nb = std::numeric_limits::min(); ^ stan_files/jm.hpp:6341:15: warning: variable 'shift_lb' set but not used [-Wunused-but-set-variable] int shift_lb = std::numeric_limits::min(); ^ stan_files/jm.hpp:6342:15: warning: variable 'shift_ub' set but not used [-Wunused-but-set-variable] int shift_ub = std::numeric_limits::min(); ^ stan_files/jm.hpp:15492:13: warning: variable 'mark' set but not used [-Wunused-but-set-variable] int mark = std::numeric_limits::min(); ^ stan_files/jm.hpp:18219:13: warning: variable 'mark' set but not used [-Wunused-but-set-variable] int mark = std::numeric_limits::min(); ^ stan_files/jm.hpp:18578:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] int pos__ = std::numeric_limits::min(); ^ In file included from stan_files/jm.cc:3: In file included from stan_files/jm.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:43: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/binomial.hpp:15: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/beta.hpp:1721: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable] const T x_extrema = 1 / (1 + a); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:304:7: note: in instantiation of member function 'boost::math::detail::temme_root_finder::temme_root_finder' requested here temme_root_finder(-lu, alpha), x, lower, upper, policies::digits() / 2); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:615:20: note: in instantiation of function template specialization 'boost::math::detail::temme_method_2_ibeta_inverse, boost::math::policies::promote_float, boost::math::policies::promote_double>>' requested here x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:992:17: note: in instantiation of function template specialization 'boost::math::detail::ibeta_inv_imp, boost::math::policies::promote_float, boost::math::policies::promote_double>>' requested here rx = detail::ibeta_inv_imp( ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:1023:11: note: in instantiation of function template specialization 'boost::math::ibeta_inv, boost::math::policies::pole_error, boost::math::policies::promote_double, boost::math::policies::digits2<0>>>' requested here return ibeta_inv(a, b, p, static_cast(nullptr), pol); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/inv_inc_beta.hpp:32:23: note: in instantiation of function template specialization 'boost::math::ibeta_inv, boost::math::policies::pole_error, boost::math::policies::promote_double, boost::math::policies::digits2<0>>>' requested here return boost::math::ibeta_inv(a, b, p, boost_policy_t<>()); ^ In file included from stan_files/jm.cc:3: stan_files/jm.hpp:5392:15: warning: unused variable 'log_y' [-Wunused-variable] const auto& log_y = stan::math::to_ref(log_y_arg__); ^ stan_files/jm.hpp:15658:26: note: in instantiation of function template specialization 'model_jm_namespace::glm_lpdf, 0>, Eigen::Matrix, double, double, Eigen::Map, 0>, Eigen::Map, 0>, nullptr>' requested here lp_accum__.add(glm_lpdf(yReal1, yInt1, yEta1, yAux1, ^ stan_files/jm.hpp:20794:12: note: in instantiation of function template specialization 'model_jm_namespace::model_jm::log_prob_impl, std::vector, nullptr, nullptr>' requested here return log_prob_impl(params_r, params_i, pstream); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_jm_namespace::model_jm::log_prob' requested here log_prob = model.template log_prob(unconstrained, ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stan_files/jm.cc:13:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ In file included from stan_files/jm.cc:3: stan_files/jm.hpp:5999:15: warning: unused variable 'scale' [-Wunused-variable] const auto& scale = stan::math::to_ref(scale_arg__); ^ stan_files/jm.hpp:17548:24: note: in instantiation of function template specialization 'model_jm_namespace::basehaz_lpdf, Eigen::Map, 0>, Eigen::Map, 0>, nullptr>' requested here lp_accum__.add(basehaz_lpdf(e_aux_unscaled, ^ stan_files/jm.hpp:20794:12: note: in instantiation of function template specialization 'model_jm_namespace::model_jm::log_prob_impl, std::vector, nullptr, nullptr>' requested here return log_prob_impl(params_r, params_i, pstream); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_jm_namespace::model_jm::log_prob' requested here log_prob = model.template log_prob(unconstrained, ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stan_files/jm.cc:13:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ In file included from stan_files/jm.cc:3: stan_files/jm.hpp:5392:15: warning: unused variable 'log_y' [-Wunused-variable] const auto& log_y = stan::math::to_ref(log_y_arg__); ^ stan_files/jm.hpp:15658:26: note: in instantiation of function template specialization 'model_jm_namespace::glm_lpdf, 0>, Eigen::Matrix, -1, 1, 0>, stan::math::var_value, double, Eigen::Map, 0>, Eigen::Map, 0>, nullptr>' requested here lp_accum__.add(glm_lpdf(yReal1, yInt1, yEta1, yAux1, ^ stan_files/jm.hpp:20794:12: note: in instantiation of function template specialization 'model_jm_namespace::model_jm::log_prob_impl>, std::vector, nullptr, nullptr>' requested here return log_prob_impl(params_r, params_i, pstream); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_jm_namespace::model_jm::log_prob>' requested here var adLogProb = model.template log_prob( ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here log_prob = stan::model::log_prob_grad( ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stan_files/jm.cc:13:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ In file included from stan_files/jm.cc:3: stan_files/jm.hpp:5999:15: warning: unused variable 'scale' [-Wunused-variable] const auto& scale = stan::math::to_ref(scale_arg__); ^ stan_files/jm.hpp:17548:24: note: in instantiation of function template specialization 'model_jm_namespace::basehaz_lpdf, -1, 1, 0>, Eigen::Map, 0>, Eigen::Map, 0>, nullptr>' requested here lp_accum__.add(basehaz_lpdf(e_aux_unscaled, ^ stan_files/jm.hpp:20794:12: note: in instantiation of function template specialization 'model_jm_namespace::model_jm::log_prob_impl>, std::vector, nullptr, nullptr>' requested here return log_prob_impl(params_r, params_i, pstream); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_jm_namespace::model_jm::log_prob>' requested here var adLogProb = model.template log_prob( ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here log_prob = stan::model::log_prob_grad( ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stan_files/jm.cc:13:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ 15 warnings generated. "/Library/Frameworks/R.framework/Resources/bin/Rscript" -e "source(file.path('..', 'tools', 'make_cc.R')); make_cc(commandArgs(TRUE))" stan_files/lm.stan Wrote C++ file "stan_files/lm.cc" clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -I/opt/R/arm64/include -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -falign-functions=64 -Wall -g -O2 -c stan_files/lm.cc -o stan_files/lm.o In file included from stan_files/lm.cc:3: In file included from stan_files/lm.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:21: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] virtual std::streamsize xsputn(const char_type* s, int n) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int') virtual streamsize xsputn(const char_type* __s, streamsize __n); ^ In file included from stan_files/lm.cc:3: In file included from stan_files/lm.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:21: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] virtual std::streamsize xsputn(const char_type* s, int n) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int') virtual streamsize xsputn(const char_type* __s, streamsize __n); ^ In file included from stan_files/lm.cc:3: In file included from stan_files/lm.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:43: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct ops_partials_edge> { ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? class ops_partials_edge; ^~~~~ struct In file included from stan_files/lm.cc:3: In file included from stan_files/lm.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret = stan::services::error_codes::CONFIG; ^ In file included from stan_files/lm.cc:3: stan_files/lm.hpp:950:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] int pos__ = std::numeric_limits::min(); ^ In file included from stan_files/lm.cc:3: In file included from stan_files/lm.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:43: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/binomial.hpp:15: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/beta.hpp:1721: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable] const T x_extrema = 1 / (1 + a); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:304:7: note: in instantiation of member function 'boost::math::detail::temme_root_finder::temme_root_finder' requested here temme_root_finder(-lu, alpha), x, lower, upper, policies::digits() / 2); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:615:20: note: in instantiation of function template specialization 'boost::math::detail::temme_method_2_ibeta_inverse, boost::math::policies::promote_float, boost::math::policies::promote_double>>' requested here x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:992:17: note: in instantiation of function template specialization 'boost::math::detail::ibeta_inv_imp, boost::math::policies::promote_float, boost::math::policies::promote_double>>' requested here rx = detail::ibeta_inv_imp( ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:1023:11: note: in instantiation of function template specialization 'boost::math::ibeta_inv, boost::math::policies::pole_error, boost::math::policies::promote_double, boost::math::policies::digits2<0>>>' requested here return ibeta_inv(a, b, p, static_cast(nullptr), pol); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/inv_inc_beta.hpp:32:23: note: in instantiation of function template specialization 'boost::math::ibeta_inv, boost::math::policies::pole_error, boost::math::policies::promote_double, boost::math::policies::digits2<0>>>' requested here return boost::math::ibeta_inv(a, b, p, boost_policy_t<>()); ^ 6 warnings generated. "/Library/Frameworks/R.framework/Resources/bin/Rscript" -e "source(file.path('..', 'tools', 'make_cc.R')); make_cc(commandArgs(TRUE))" stan_files/mvmer.stan Wrote C++ file "stan_files/mvmer.cc" clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -I/opt/R/arm64/include -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -falign-functions=64 -Wall -g -O2 -c stan_files/mvmer.cc -o stan_files/mvmer.o In file included from stan_files/mvmer.cc:3: In file included from stan_files/mvmer.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:21: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] virtual std::streamsize xsputn(const char_type* s, int n) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int') virtual streamsize xsputn(const char_type* __s, streamsize __n); ^ In file included from stan_files/mvmer.cc:3: In file included from stan_files/mvmer.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:21: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] virtual std::streamsize xsputn(const char_type* s, int n) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int') virtual streamsize xsputn(const char_type* __s, streamsize __n); ^ In file included from stan_files/mvmer.cc:3: In file included from stan_files/mvmer.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:43: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct ops_partials_edge> { ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? class ops_partials_edge; ^~~~~ struct In file included from stan_files/mvmer.cc:3: In file included from stan_files/mvmer.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret = stan::services::error_codes::CONFIG; ^ In file included from stan_files/mvmer.cc:3: stan_files/mvmer.hpp:8870:13: warning: variable 'mark' set but not used [-Wunused-but-set-variable] int mark = std::numeric_limits::min(); ^ stan_files/mvmer.hpp:9784:13: warning: variable 'mark' set but not used [-Wunused-but-set-variable] int mark = std::numeric_limits::min(); ^ stan_files/mvmer.hpp:10107:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] int pos__ = std::numeric_limits::min(); ^ In file included from stan_files/mvmer.cc:3: In file included from stan_files/mvmer.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:43: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/binomial.hpp:15: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/beta.hpp:1721: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable] const T x_extrema = 1 / (1 + a); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:304:7: note: in instantiation of member function 'boost::math::detail::temme_root_finder::temme_root_finder' requested here temme_root_finder(-lu, alpha), x, lower, upper, policies::digits() / 2); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:615:20: note: in instantiation of function template specialization 'boost::math::detail::temme_method_2_ibeta_inverse, boost::math::policies::promote_float, boost::math::policies::promote_double>>' requested here x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:992:17: note: in instantiation of function template specialization 'boost::math::detail::ibeta_inv_imp, boost::math::policies::promote_float, boost::math::policies::promote_double>>' requested here rx = detail::ibeta_inv_imp( ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:1023:11: note: in instantiation of function template specialization 'boost::math::ibeta_inv, boost::math::policies::pole_error, boost::math::policies::promote_double, boost::math::policies::digits2<0>>>' requested here return ibeta_inv(a, b, p, static_cast(nullptr), pol); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/inv_inc_beta.hpp:32:23: note: in instantiation of function template specialization 'boost::math::ibeta_inv, boost::math::policies::pole_error, boost::math::policies::promote_double, boost::math::policies::digits2<0>>>' requested here return boost::math::ibeta_inv(a, b, p, boost_policy_t<>()); ^ In file included from stan_files/mvmer.cc:3: stan_files/mvmer.hpp:4495:15: warning: unused variable 'log_y' [-Wunused-variable] const auto& log_y = stan::math::to_ref(log_y_arg__); ^ stan_files/mvmer.hpp:9019:26: note: in instantiation of function template specialization 'model_mvmer_namespace::glm_lpdf, 0>, Eigen::Matrix, double, double, Eigen::Map, 0>, Eigen::Map, 0>, nullptr>' requested here lp_accum__.add(glm_lpdf(yReal1, yInt1, yEta1, yAux1, ^ stan_files/mvmer.hpp:11772:12: note: in instantiation of function template specialization 'model_mvmer_namespace::model_mvmer::log_prob_impl, std::vector, nullptr, nullptr>' requested here return log_prob_impl(params_r, params_i, pstream); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_mvmer_namespace::model_mvmer::log_prob' requested here log_prob = model.template log_prob(unconstrained, ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stan_files/mvmer.cc:13:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ In file included from stan_files/mvmer.cc:3: stan_files/mvmer.hpp:4495:15: warning: unused variable 'log_y' [-Wunused-variable] const auto& log_y = stan::math::to_ref(log_y_arg__); ^ stan_files/mvmer.hpp:9019:26: note: in instantiation of function template specialization 'model_mvmer_namespace::glm_lpdf, 0>, Eigen::Matrix, -1, 1, 0>, stan::math::var_value, double, Eigen::Map, 0>, Eigen::Map, 0>, nullptr>' requested here lp_accum__.add(glm_lpdf(yReal1, yInt1, yEta1, yAux1, ^ stan_files/mvmer.hpp:11772:12: note: in instantiation of function template specialization 'model_mvmer_namespace::model_mvmer::log_prob_impl>, std::vector, nullptr, nullptr>' requested here return log_prob_impl(params_r, params_i, pstream); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_mvmer_namespace::model_mvmer::log_prob>' requested here var adLogProb = model.template log_prob( ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/util/initialize.hpp:167:31: note: in instantiation of function template specialization 'stan::model::log_prob_grad' requested here log_prob = stan::model::log_prob_grad( ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize, boost::random::linear_congruential_engine>>' requested here std::vector cont_vector = util::initialize( ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose' requested here return_code = stan::services::diagnose::diagnose(model, ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command, boost::random::linear_congruential_engine>>' requested here ret = command(args, model_, holder, names_oi_tidx_, ^ stan_files/mvmer.cc:13:87: note: in instantiation of member function 'rstan::stan_fit, boost::random::linear_congruential_engine>>::call_sampler' requested here .method("call_sampler", &rstan::stan_fit ::call_sampler) ^ 10 warnings generated. "/Library/Frameworks/R.framework/Resources/bin/Rscript" -e "source(file.path('..', 'tools', 'make_cc.R')); make_cc(commandArgs(TRUE))" stan_files/polr.stan Wrote C++ file "stan_files/polr.cc" clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -I/opt/R/arm64/include -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -falign-functions=64 -Wall -g -O2 -c stan_files/polr.cc -o stan_files/polr.o In file included from stan_files/polr.cc:3: In file included from stan_files/polr.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:21: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] virtual std::streamsize xsputn(const char_type* s, int n) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int') virtual streamsize xsputn(const char_type* __s, streamsize __n); ^ In file included from stan_files/polr.cc:3: In file included from stan_files/polr.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:21: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual] virtual std::streamsize xsputn(const char_type* s, int n) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int') virtual streamsize xsputn(const char_type* __s, streamsize __n); ^ In file included from stan_files/polr.cc:3: In file included from stan_files/polr.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:43: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun.hpp:35: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags] struct ops_partials_edge> { ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here? class ops_partials_edge; ^~~~~ struct In file included from stan_files/polr.cc:3: In file included from stan_files/polr.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret = stan::services::error_codes::CONFIG; ^ In file included from stan_files/polr.cc:3: stan_files/polr.hpp:629:9: warning: variable 'iter' set but not used [-Wunused-but-set-variable] int iter = std::numeric_limits::min(); ^ stan_files/polr.hpp:1872:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable] int pos__ = std::numeric_limits::min(); ^ In file included from stan_files/polr.cc:3: In file included from stan_files/polr.hpp:18: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/rstaninc.hpp:4: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:43: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/io/dump.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim.hpp:14: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun.hpp:46: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/choose.hpp:7: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/binomial.hpp:15: In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/beta.hpp:1721: /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable] const T x_extrema = 1 / (1 + a); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:304:7: note: in instantiation of member function 'boost::math::detail::temme_root_finder::temme_root_finder' requested here temme_root_finder(-lu, alpha), x, lower, upper, policies::digits() / 2); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:615:20: note: in instantiation of function template specialization 'boost::math::detail::temme_method_2_ibeta_inverse, boost::math::policies::promote_float, boost::math::policies::promote_double>>' requested here x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:992:17: note: in instantiation of function template specialization 'boost::math::detail::ibeta_inv_imp, boost::math::policies::promote_float, boost::math::policies::promote_double>>' requested here rx = detail::ibeta_inv_imp( ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:1023:11: note: in instantiation of function template specialization 'boost::math::ibeta_inv, boost::math::policies::pole_error, boost::math::policies::promote_double, boost::math::policies::digits2<0>>>' requested here return ibeta_inv(a, b, p, static_cast(nullptr), pol); ^ /Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/prim/fun/inv_inc_beta.hpp:32:23: note: in instantiation of function template specialization 'boost::math::ibeta_inv, boost::math::policies::pole_error, boost::math::policies::promote_double, boost::math::policies::digits2<0>>>' requested here return boost::math::ibeta_inv(a, b, p, boost_policy_t<>()); ^ 7 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/BH/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -I/opt/R/arm64/include -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS -fPIC -falign-functions=64 -Wall -g -O2 -c init.cpp -o init.o 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 rstanarm.so stan_files/bernoulli.o stan_files/binomial.o stan_files/continuous.o stan_files/count.o stan_files/jm.o stan_files/lm.o stan_files/mvmer.o stan_files/polr.o init.o -L/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/lib/ -Wl,-rpath,/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppParallel/lib/ -ltbb -ltbbmalloc -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation rm stan_files/binomial.cc stan_files/jm.cc stan_files/continuous.cc stan_files/bernoulli.cc stan_files/lm.cc stan_files/polr.cc stan_files/count.cc stan_files/mvmer.cc installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/rstanarm.Rcheck/00LOCK-rstanarm/00new/rstanarm/libs ** generating debug symbols (dSYM) ** R ** data *** moving datasets to lazyload DB ** demo ** 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 (rstanarm)