* installing *source* package ‘cbq’ ...
** package ‘cbq’ 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’


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/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/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/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 RcppExports.cpp -o RcppExports.o


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/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/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/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 stanExports_cbqb.cc -o stanExports_cbqb.o
In file included from stanExports_cbqb.cc:5:
In file included from ./stanExports_cbqb.h:23:
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<char>::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 stanExports_cbqb.cc:5:
In file included from ./stanExports_cbqb.h:23:
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<char>::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 stanExports_cbqb.cc:5:
In file included from ./stanExports_cbqb.h:23:
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<ViewElt, Op, require_st_arithmetic<Op>> {
^
/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 stanExports_cbqb.cc:5:
In file included from ./stanExports_cbqb.h:23:
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 stanExports_cbqb.cc:5:
./stanExports_cbqb.h:312:20: warning: unused variable 'jacobian__' [-Wunused-variable]
    constexpr bool jacobian__ = false;
                   ^
./stanExports_cbqb.h:350:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_cbqb.cc:5:
In file included from ./stanExports_cbqb.h:23:
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<double>::temme_root_finder' requested here
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(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<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, 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/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/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/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 stanExports_cbqbv.cc -o stanExports_cbqbv.o
In file included from stanExports_cbqbv.cc:5:
In file included from ./stanExports_cbqbv.h:23:
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<char>::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 stanExports_cbqbv.cc:5:
In file included from ./stanExports_cbqbv.h:23:
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<char>::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 stanExports_cbqbv.cc:5:
In file included from ./stanExports_cbqbv.h:23:
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<ViewElt, Op, require_st_arithmetic<Op>> {
^
/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 stanExports_cbqbv.cc:5:
In file included from ./stanExports_cbqbv.h:23:
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 stanExports_cbqbv.cc:5:
./stanExports_cbqbv.h:309:20: warning: unused variable 'jacobian__' [-Wunused-variable]
    constexpr bool jacobian__ = false;
                   ^
./stanExports_cbqbv.h:347:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_cbqbv.cc:5:
In file included from ./stanExports_cbqbv.h:23:
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<double>::temme_root_finder' requested here
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(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<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, 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/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/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/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 stanExports_cbqd.cc -o stanExports_cbqd.o
In file included from stanExports_cbqd.cc:5:
In file included from ./stanExports_cbqd.h:23:
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<char>::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 stanExports_cbqd.cc:5:
In file included from ./stanExports_cbqd.h:23:
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<char>::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 stanExports_cbqd.cc:5:
In file included from ./stanExports_cbqd.h:23:
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<ViewElt, Op, require_st_arithmetic<Op>> {
^
/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 stanExports_cbqd.cc:5:
In file included from ./stanExports_cbqd.h:23:
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 stanExports_cbqd.cc:5:
./stanExports_cbqd.h:565:20: warning: unused variable 'jacobian__' [-Wunused-variable]
    constexpr bool jacobian__ = false;
                   ^
./stanExports_cbqd.h:604:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_cbqd.cc:5:
In file included from ./stanExports_cbqd.h:23:
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<double>::temme_root_finder' requested here
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(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<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
  return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
                      ^
In file included from stanExports_cbqd.cc:5:
./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqd.h:743:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl<false, true, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqd_namespace::model_cbqd::log_prob<false, true, double>' requested here
      log_prob = model.template log_prob<false, Jacobian>(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<true, model_cbqd_namespace::model_cbqd, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> 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<model_cbqd_namespace::model_cbqd>' 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<model_cbqd_namespace::model_cbqd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqd_namespace::model_cbqd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqd.cc:5:
./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqd.h:743:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl<true, true, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqd_namespace::model_cbqd::log_prob<true, true, stan::math::var_value<double>>' requested here
    var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
                                   ^
/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<true, true, model_cbqd_namespace::model_cbqd>' requested here
      log_prob = stan::model::log_prob_grad<true, Jacobian>(
                              ^
/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<true, model_cbqd_namespace::model_cbqd, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> 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<model_cbqd_namespace::model_cbqd>' 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<model_cbqd_namespace::model_cbqd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqd_namespace::model_cbqd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqd.cc:5:
./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqd.h:743:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl<true, false, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqd_namespace::model_cbqd::log_prob<true, false, stan::math::var_value<double>>' requested here
    var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
                                   ^
/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<true, false, model_cbqd_namespace::model_cbqd>' requested here
      log_prob = stan::model::log_prob_grad<true, Jacobian>(
                              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/optimize/newton.hpp:50:43: note: in instantiation of function template specialization 'stan::services::util::initialize<false, model_cbqd_namespace::model_cbqd, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> cont_vector = util::initialize<false>(
                                          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton<model_cbqd_namespace::model_cbqd, false>' requested here
      = stan::services::optimize::newton(model, *init_context_ptr,
                                  ^
/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<model_cbqd_namespace::model_cbqd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqd_namespace::model_cbqd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqd.cc:5:
./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqd.h:743:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl<false, false, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/optimize/newton.hpp:56:25: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob<false, false, double>' requested here
    lp = model.template log_prob<false, jacobian>(cont_vector, disc_vector,
                        ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton<model_cbqd_namespace::model_cbqd, false>' requested here
      = stan::services::optimize::newton(model, *init_context_ptr,
                                  ^
/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<model_cbqd_namespace::model_cbqd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqd_namespace::model_cbqd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqd.cc:5:
./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqd.h:738:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl<true, true, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_functional.hpp:21:27: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob<true, true, stan::math::var_value<double>>' requested here
    return model.template log_prob<true, true, T>(
                          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/rev/functor/gradient.hpp:51:16: note: in instantiation of function template specialization 'stan::model::model_functional<model_cbqd_namespace::model_cbqd>::operator()<stan::math::var_value<double>>' requested here
  var fx_var = f(x_var);
               ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/gradient.hpp:27:17: note: in instantiation of function template specialization 'stan::math::gradient<stan::model::model_functional<model_cbqd_namespace::model_cbqd>>' requested here
    stan::math::gradient(model_functional<M>(model, &ss), x, f, grad_f);
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/base_hamiltonian.hpp:63:20: note: in instantiation of function template specialization 'stan::model::gradient<model_cbqd_namespace::model_cbqd>' requested here
      stan::model::gradient(model_, z.q, z.V, z.g, logger);
                   ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/mcmc/hmc/integrators/expl_leapfrog.hpp:25:17: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
    hamiltonian.update_potential_gradient(z, logger);
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts<model_cbqd_namespace::model_cbqd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::dense_e_nuts' requested here
  stan::mcmc::dense_e_nuts<Model, boost::ecuyer1988> sampler(model, rng);
                                                     ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e<model_cbqd_namespace::model_cbqd>' requested here
  return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain,
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e<model_cbqd_namespace::model_cbqd>' requested here
          ::hmc_nuts_dense_e(model, *init_context_ptr,
            ^
/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<model_cbqd_namespace::model_cbqd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqd_namespace::model_cbqd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqd.cc:5:
./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqd.h:738:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl<false, true, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/variational/advi.hpp:514:31: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob<false, true, double>' requested here
      log_p = model_.template log_prob<false, true>(cont_params_, &msg2);
                              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi<model_cbqd_namespace::model_cbqd, stan::variational::normal_fullrank, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::run' requested here
  cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj,
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank<model_cbqd_namespace::model_cbqd>' requested here
      ::fullrank(model, *init_context_ptr,
        ^
/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<model_cbqd_namespace::model_cbqd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqd_namespace::model_cbqd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqd.cc:5:
./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqd.h:738:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl<false, false, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:93:50: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob<false, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false, double>(
                                                 ^
./stanExports_cbqd.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqd_namespace::model_cbqd>::log_prob' requested here
  ~model_cbqd() {}
  ^
./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqd.h:738:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl<false, false, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:98:50: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob<false, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false>(theta,
                                                 ^
./stanExports_cbqd.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqd_namespace::model_cbqd>::log_prob' requested here
  ~model_cbqd() {}
  ^
./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqd.h:738:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl<false, true, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:109:50: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob<false, true, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, true>(theta,
                                                 ^
./stanExports_cbqd.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqd_namespace::model_cbqd>::log_prob_jacobian' requested here
  ~model_cbqd() {}
  ^
./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqd.h:738:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl<true, false, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:115:50: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob<true, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(theta,
                                                 ^
./stanExports_cbqd.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqd_namespace::model_cbqd>::log_prob_propto' requested here
  ~model_cbqd() {}
  ^
./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqd.h:738:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl<true, false, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:120:50: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob<true, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(theta,
                                                 ^
./stanExports_cbqd.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqd_namespace::model_cbqd>::log_prob_propto' requested here
  ~model_cbqd() {}
  ^
./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqd.h:738:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl<true, true, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:126:50: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob<true, true, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, true>(theta,
                                                 ^
./stanExports_cbqd.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqd_namespace::model_cbqd>::log_prob_propto_jacobian' requested here
  ~model_cbqd() {}
  ^
./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqd.h:743:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl<false, false, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:162:50: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob<false, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false>(
                                                 ^
./stanExports_cbqd.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqd_namespace::model_cbqd>::log_prob' requested here
  ~model_cbqd() {}
  ^
./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqd.h:743:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl<false, true, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:175:50: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob<false, true, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, true>(
                                                 ^
./stanExports_cbqd.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqd_namespace::model_cbqd>::log_prob_jacobian' requested here
  ~model_cbqd() {}
  ^
./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqd.h:743:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl<true, false, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:182:50: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob<true, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(
                                                 ^
./stanExports_cbqd.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqd_namespace::model_cbqd>::log_prob_propto' requested here
  ~model_cbqd() {}
  ^
./stanExports_cbqd.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqd.h:743:12: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob_impl<true, true, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:195:50: note: in instantiation of function template specialization 'model_cbqd_namespace::model_cbqd::log_prob<true, true, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, true>(
                                                 ^
./stanExports_cbqd.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqd_namespace::model_cbqd>::log_prob_propto_jacobian' requested here
  ~model_cbqd() {}
  ^
23 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/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/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/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 stanExports_cbqdv.cc -o stanExports_cbqdv.o
In file included from stanExports_cbqdv.cc:5:
In file included from ./stanExports_cbqdv.h:23:
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<char>::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 stanExports_cbqdv.cc:5:
In file included from ./stanExports_cbqdv.h:23:
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<char>::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 stanExports_cbqdv.cc:5:
In file included from ./stanExports_cbqdv.h:23:
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<ViewElt, Op, require_st_arithmetic<Op>> {
^
/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 stanExports_cbqdv.cc:5:
In file included from ./stanExports_cbqdv.h:23:
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 stanExports_cbqdv.cc:5:
./stanExports_cbqdv.h:565:20: warning: unused variable 'jacobian__' [-Wunused-variable]
    constexpr bool jacobian__ = false;
                   ^
./stanExports_cbqdv.h:604:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_cbqdv.cc:5:
In file included from ./stanExports_cbqdv.h:23:
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<double>::temme_root_finder' requested here
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(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<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
  return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
                      ^
In file included from stanExports_cbqdv.cc:5:
./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqdv.h:743:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl<false, true, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqdv_namespace::model_cbqdv::log_prob<false, true, double>' requested here
      log_prob = model.template log_prob<false, Jacobian>(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<true, model_cbqdv_namespace::model_cbqdv, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> 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<model_cbqdv_namespace::model_cbqdv>' 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<model_cbqdv_namespace::model_cbqdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqdv_namespace::model_cbqdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqdv.cc:5:
./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqdv.h:743:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl<true, true, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqdv_namespace::model_cbqdv::log_prob<true, true, stan::math::var_value<double>>' requested here
    var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
                                   ^
/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<true, true, model_cbqdv_namespace::model_cbqdv>' requested here
      log_prob = stan::model::log_prob_grad<true, Jacobian>(
                              ^
/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<true, model_cbqdv_namespace::model_cbqdv, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> 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<model_cbqdv_namespace::model_cbqdv>' 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<model_cbqdv_namespace::model_cbqdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqdv_namespace::model_cbqdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqdv.cc:5:
./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqdv.h:743:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl<true, false, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqdv_namespace::model_cbqdv::log_prob<true, false, stan::math::var_value<double>>' requested here
    var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
                                   ^
/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<true, false, model_cbqdv_namespace::model_cbqdv>' requested here
      log_prob = stan::model::log_prob_grad<true, Jacobian>(
                              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/optimize/newton.hpp:50:43: note: in instantiation of function template specialization 'stan::services::util::initialize<false, model_cbqdv_namespace::model_cbqdv, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> cont_vector = util::initialize<false>(
                                          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton<model_cbqdv_namespace::model_cbqdv, false>' requested here
      = stan::services::optimize::newton(model, *init_context_ptr,
                                  ^
/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<model_cbqdv_namespace::model_cbqdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqdv_namespace::model_cbqdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqdv.cc:5:
./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqdv.h:743:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl<false, false, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/optimize/newton.hpp:56:25: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob<false, false, double>' requested here
    lp = model.template log_prob<false, jacobian>(cont_vector, disc_vector,
                        ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton<model_cbqdv_namespace::model_cbqdv, false>' requested here
      = stan::services::optimize::newton(model, *init_context_ptr,
                                  ^
/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<model_cbqdv_namespace::model_cbqdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqdv_namespace::model_cbqdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqdv.cc:5:
./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqdv.h:738:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl<true, true, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_functional.hpp:21:27: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob<true, true, stan::math::var_value<double>>' requested here
    return model.template log_prob<true, true, T>(
                          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/rev/functor/gradient.hpp:51:16: note: in instantiation of function template specialization 'stan::model::model_functional<model_cbqdv_namespace::model_cbqdv>::operator()<stan::math::var_value<double>>' requested here
  var fx_var = f(x_var);
               ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/gradient.hpp:27:17: note: in instantiation of function template specialization 'stan::math::gradient<stan::model::model_functional<model_cbqdv_namespace::model_cbqdv>>' requested here
    stan::math::gradient(model_functional<M>(model, &ss), x, f, grad_f);
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/base_hamiltonian.hpp:63:20: note: in instantiation of function template specialization 'stan::model::gradient<model_cbqdv_namespace::model_cbqdv>' requested here
      stan::model::gradient(model_, z.q, z.V, z.g, logger);
                   ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/mcmc/hmc/integrators/expl_leapfrog.hpp:25:17: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
    hamiltonian.update_potential_gradient(z, logger);
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts<model_cbqdv_namespace::model_cbqdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::dense_e_nuts' requested here
  stan::mcmc::dense_e_nuts<Model, boost::ecuyer1988> sampler(model, rng);
                                                     ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e<model_cbqdv_namespace::model_cbqdv>' requested here
  return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain,
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e<model_cbqdv_namespace::model_cbqdv>' requested here
          ::hmc_nuts_dense_e(model, *init_context_ptr,
            ^
/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<model_cbqdv_namespace::model_cbqdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqdv_namespace::model_cbqdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqdv.cc:5:
./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqdv.h:738:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl<false, true, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/variational/advi.hpp:514:31: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob<false, true, double>' requested here
      log_p = model_.template log_prob<false, true>(cont_params_, &msg2);
                              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi<model_cbqdv_namespace::model_cbqdv, stan::variational::normal_fullrank, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::run' requested here
  cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj,
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank<model_cbqdv_namespace::model_cbqdv>' requested here
      ::fullrank(model, *init_context_ptr,
        ^
/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<model_cbqdv_namespace::model_cbqdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqdv_namespace::model_cbqdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqdv.cc:5:
./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqdv.h:738:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl<false, false, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:93:50: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob<false, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false, double>(
                                                 ^
./stanExports_cbqdv.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqdv_namespace::model_cbqdv>::log_prob' requested here
  ~model_cbqdv() {}
  ^
./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqdv.h:738:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl<false, false, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:98:50: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob<false, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false>(theta,
                                                 ^
./stanExports_cbqdv.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqdv_namespace::model_cbqdv>::log_prob' requested here
  ~model_cbqdv() {}
  ^
./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqdv.h:738:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl<false, true, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:109:50: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob<false, true, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, true>(theta,
                                                 ^
./stanExports_cbqdv.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqdv_namespace::model_cbqdv>::log_prob_jacobian' requested here
  ~model_cbqdv() {}
  ^
./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqdv.h:738:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl<true, false, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:115:50: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob<true, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(theta,
                                                 ^
./stanExports_cbqdv.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqdv_namespace::model_cbqdv>::log_prob_propto' requested here
  ~model_cbqdv() {}
  ^
./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqdv.h:738:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl<true, false, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:120:50: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob<true, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(theta,
                                                 ^
./stanExports_cbqdv.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqdv_namespace::model_cbqdv>::log_prob_propto' requested here
  ~model_cbqdv() {}
  ^
./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqdv.h:738:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl<true, true, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:126:50: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob<true, true, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, true>(theta,
                                                 ^
./stanExports_cbqdv.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqdv_namespace::model_cbqdv>::log_prob_propto_jacobian' requested here
  ~model_cbqdv() {}
  ^
./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqdv.h:743:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl<false, false, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:162:50: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob<false, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false>(
                                                 ^
./stanExports_cbqdv.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqdv_namespace::model_cbqdv>::log_prob' requested here
  ~model_cbqdv() {}
  ^
./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqdv.h:743:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl<false, true, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:175:50: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob<false, true, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, true>(
                                                 ^
./stanExports_cbqdv.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqdv_namespace::model_cbqdv>::log_prob_jacobian' requested here
  ~model_cbqdv() {}
  ^
./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqdv.h:743:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl<true, false, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:182:50: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob<true, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(
                                                 ^
./stanExports_cbqdv.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqdv_namespace::model_cbqdv>::log_prob_propto' requested here
  ~model_cbqdv() {}
  ^
./stanExports_cbqdv.h:448:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqdv.h:743:12: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob_impl<true, true, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:195:50: note: in instantiation of function template specialization 'model_cbqdv_namespace::model_cbqdv::log_prob<true, true, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, true>(
                                                 ^
./stanExports_cbqdv.h:252:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqdv_namespace::model_cbqdv>::log_prob_propto_jacobian' requested here
  ~model_cbqdv() {}
  ^
23 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/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/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/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 stanExports_cbqfixb.cc -o stanExports_cbqfixb.o
In file included from stanExports_cbqfixb.cc:5:
In file included from ./stanExports_cbqfixb.h:23:
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<char>::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 stanExports_cbqfixb.cc:5:
In file included from ./stanExports_cbqfixb.h:23:
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<char>::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 stanExports_cbqfixb.cc:5:
In file included from ./stanExports_cbqfixb.h:23:
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<ViewElt, Op, require_st_arithmetic<Op>> {
^
/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 stanExports_cbqfixb.cc:5:
In file included from ./stanExports_cbqfixb.h:23:
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 stanExports_cbqfixb.cc:5:
./stanExports_cbqfixb.h:352:20: warning: unused variable 'jacobian__' [-Wunused-variable]
    constexpr bool jacobian__ = false;
                   ^
./stanExports_cbqfixb.h:397:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_cbqfixb.cc:5:
In file included from ./stanExports_cbqfixb.h:23:
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<double>::temme_root_finder' requested here
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(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<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, 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/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/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/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 stanExports_cbqfixbv.cc -o stanExports_cbqfixbv.o
In file included from stanExports_cbqfixbv.cc:5:
In file included from ./stanExports_cbqfixbv.h:23:
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<char>::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 stanExports_cbqfixbv.cc:5:
In file included from ./stanExports_cbqfixbv.h:23:
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<char>::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 stanExports_cbqfixbv.cc:5:
In file included from ./stanExports_cbqfixbv.h:23:
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<ViewElt, Op, require_st_arithmetic<Op>> {
^
/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 stanExports_cbqfixbv.cc:5:
In file included from ./stanExports_cbqfixbv.h:23:
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 stanExports_cbqfixbv.cc:5:
./stanExports_cbqfixbv.h:352:20: warning: unused variable 'jacobian__' [-Wunused-variable]
    constexpr bool jacobian__ = false;
                   ^
./stanExports_cbqfixbv.h:397:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_cbqfixbv.cc:5:
In file included from ./stanExports_cbqfixbv.h:23:
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<double>::temme_root_finder' requested here
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(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<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, 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/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/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/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 stanExports_cbqfixd.cc -o stanExports_cbqfixd.o
In file included from stanExports_cbqfixd.cc:5:
In file included from ./stanExports_cbqfixd.h:23:
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<char>::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 stanExports_cbqfixd.cc:5:
In file included from ./stanExports_cbqfixd.h:23:
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<char>::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 stanExports_cbqfixd.cc:5:
In file included from ./stanExports_cbqfixd.h:23:
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<ViewElt, Op, require_st_arithmetic<Op>> {
^
/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 stanExports_cbqfixd.cc:5:
In file included from ./stanExports_cbqfixd.h:23:
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 stanExports_cbqfixd.cc:5:
./stanExports_cbqfixd.h:606:20: warning: unused variable 'jacobian__' [-Wunused-variable]
    constexpr bool jacobian__ = false;
                   ^
./stanExports_cbqfixd.h:652:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_cbqfixd.cc:5:
In file included from ./stanExports_cbqfixd.h:23:
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<double>::temme_root_finder' requested here
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(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<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
  return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
                      ^
In file included from stanExports_cbqfixd.cc:5:
./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixd.h:828:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl<false, true, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqfixd_namespace::model_cbqfixd::log_prob<false, true, double>' requested here
      log_prob = model.template log_prob<false, Jacobian>(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<true, model_cbqfixd_namespace::model_cbqfixd, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> 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<model_cbqfixd_namespace::model_cbqfixd>' 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<model_cbqfixd_namespace::model_cbqfixd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqfixd_namespace::model_cbqfixd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqfixd.cc:5:
./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixd.h:828:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl<true, true, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqfixd_namespace::model_cbqfixd::log_prob<true, true, stan::math::var_value<double>>' requested here
    var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
                                   ^
/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<true, true, model_cbqfixd_namespace::model_cbqfixd>' requested here
      log_prob = stan::model::log_prob_grad<true, Jacobian>(
                              ^
/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<true, model_cbqfixd_namespace::model_cbqfixd, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> 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<model_cbqfixd_namespace::model_cbqfixd>' 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<model_cbqfixd_namespace::model_cbqfixd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqfixd_namespace::model_cbqfixd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqfixd.cc:5:
./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixd.h:828:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl<true, false, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqfixd_namespace::model_cbqfixd::log_prob<true, false, stan::math::var_value<double>>' requested here
    var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
                                   ^
/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<true, false, model_cbqfixd_namespace::model_cbqfixd>' requested here
      log_prob = stan::model::log_prob_grad<true, Jacobian>(
                              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/optimize/newton.hpp:50:43: note: in instantiation of function template specialization 'stan::services::util::initialize<false, model_cbqfixd_namespace::model_cbqfixd, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> cont_vector = util::initialize<false>(
                                          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton<model_cbqfixd_namespace::model_cbqfixd, false>' requested here
      = stan::services::optimize::newton(model, *init_context_ptr,
                                  ^
/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<model_cbqfixd_namespace::model_cbqfixd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqfixd_namespace::model_cbqfixd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqfixd.cc:5:
./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixd.h:828:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl<false, false, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/optimize/newton.hpp:56:25: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob<false, false, double>' requested here
    lp = model.template log_prob<false, jacobian>(cont_vector, disc_vector,
                        ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton<model_cbqfixd_namespace::model_cbqfixd, false>' requested here
      = stan::services::optimize::newton(model, *init_context_ptr,
                                  ^
/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<model_cbqfixd_namespace::model_cbqfixd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqfixd_namespace::model_cbqfixd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqfixd.cc:5:
./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixd.h:823:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl<true, true, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_functional.hpp:21:27: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob<true, true, stan::math::var_value<double>>' requested here
    return model.template log_prob<true, true, T>(
                          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/rev/functor/gradient.hpp:51:16: note: in instantiation of function template specialization 'stan::model::model_functional<model_cbqfixd_namespace::model_cbqfixd>::operator()<stan::math::var_value<double>>' requested here
  var fx_var = f(x_var);
               ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/gradient.hpp:27:17: note: in instantiation of function template specialization 'stan::math::gradient<stan::model::model_functional<model_cbqfixd_namespace::model_cbqfixd>>' requested here
    stan::math::gradient(model_functional<M>(model, &ss), x, f, grad_f);
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/base_hamiltonian.hpp:63:20: note: in instantiation of function template specialization 'stan::model::gradient<model_cbqfixd_namespace::model_cbqfixd>' requested here
      stan::model::gradient(model_, z.q, z.V, z.g, logger);
                   ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/mcmc/hmc/integrators/expl_leapfrog.hpp:25:17: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
    hamiltonian.update_potential_gradient(z, logger);
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts<model_cbqfixd_namespace::model_cbqfixd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::dense_e_nuts' requested here
  stan::mcmc::dense_e_nuts<Model, boost::ecuyer1988> sampler(model, rng);
                                                     ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e<model_cbqfixd_namespace::model_cbqfixd>' requested here
  return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain,
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e<model_cbqfixd_namespace::model_cbqfixd>' requested here
          ::hmc_nuts_dense_e(model, *init_context_ptr,
            ^
/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<model_cbqfixd_namespace::model_cbqfixd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqfixd_namespace::model_cbqfixd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqfixd.cc:5:
./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixd.h:823:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl<false, true, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/variational/advi.hpp:514:31: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob<false, true, double>' requested here
      log_p = model_.template log_prob<false, true>(cont_params_, &msg2);
                              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi<model_cbqfixd_namespace::model_cbqfixd, stan::variational::normal_fullrank, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::run' requested here
  cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj,
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank<model_cbqfixd_namespace::model_cbqfixd>' requested here
      ::fullrank(model, *init_context_ptr,
        ^
/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<model_cbqfixd_namespace::model_cbqfixd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqfixd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqfixd_namespace::model_cbqfixd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqfixd.cc:5:
./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixd.h:823:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl<false, false, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:93:50: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob<false, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false, double>(
                                                 ^
./stanExports_cbqfixd.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqfixd_namespace::model_cbqfixd>::log_prob' requested here
  ~model_cbqfixd() {}
  ^
./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixd.h:823:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl<false, false, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:98:50: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob<false, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false>(theta,
                                                 ^
./stanExports_cbqfixd.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqfixd_namespace::model_cbqfixd>::log_prob' requested here
  ~model_cbqfixd() {}
  ^
./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixd.h:823:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl<false, true, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:109:50: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob<false, true, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, true>(theta,
                                                 ^
./stanExports_cbqfixd.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqfixd_namespace::model_cbqfixd>::log_prob_jacobian' requested here
  ~model_cbqfixd() {}
  ^
./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixd.h:823:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl<true, false, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:115:50: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob<true, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(theta,
                                                 ^
./stanExports_cbqfixd.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqfixd_namespace::model_cbqfixd>::log_prob_propto' requested here
  ~model_cbqfixd() {}
  ^
./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixd.h:823:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl<true, false, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:120:50: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob<true, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(theta,
                                                 ^
./stanExports_cbqfixd.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqfixd_namespace::model_cbqfixd>::log_prob_propto' requested here
  ~model_cbqfixd() {}
  ^
./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixd.h:823:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl<true, true, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:126:50: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob<true, true, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, true>(theta,
                                                 ^
./stanExports_cbqfixd.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqfixd_namespace::model_cbqfixd>::log_prob_propto_jacobian' requested here
  ~model_cbqfixd() {}
  ^
./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixd.h:828:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl<false, false, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:162:50: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob<false, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false>(
                                                 ^
./stanExports_cbqfixd.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqfixd_namespace::model_cbqfixd>::log_prob' requested here
  ~model_cbqfixd() {}
  ^
./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixd.h:828:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl<false, true, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:175:50: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob<false, true, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, true>(
                                                 ^
./stanExports_cbqfixd.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqfixd_namespace::model_cbqfixd>::log_prob_jacobian' requested here
  ~model_cbqfixd() {}
  ^
./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixd.h:828:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl<true, false, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:182:50: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob<true, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(
                                                 ^
./stanExports_cbqfixd.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqfixd_namespace::model_cbqfixd>::log_prob_propto' requested here
  ~model_cbqfixd() {}
  ^
./stanExports_cbqfixd.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixd.h:828:12: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob_impl<true, true, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:195:50: note: in instantiation of function template specialization 'model_cbqfixd_namespace::model_cbqfixd::log_prob<true, true, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, true>(
                                                 ^
./stanExports_cbqfixd.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqfixd_namespace::model_cbqfixd>::log_prob_propto_jacobian' requested here
  ~model_cbqfixd() {}
  ^
23 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/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/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/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 stanExports_cbqfixdv.cc -o stanExports_cbqfixdv.o
In file included from stanExports_cbqfixdv.cc:5:
In file included from ./stanExports_cbqfixdv.h:23:
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<char>::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 stanExports_cbqfixdv.cc:5:
In file included from ./stanExports_cbqfixdv.h:23:
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<char>::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 stanExports_cbqfixdv.cc:5:
In file included from ./stanExports_cbqfixdv.h:23:
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<ViewElt, Op, require_st_arithmetic<Op>> {
^
/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 stanExports_cbqfixdv.cc:5:
In file included from ./stanExports_cbqfixdv.h:23:
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 stanExports_cbqfixdv.cc:5:
./stanExports_cbqfixdv.h:606:20: warning: unused variable 'jacobian__' [-Wunused-variable]
    constexpr bool jacobian__ = false;
                   ^
./stanExports_cbqfixdv.h:652:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_cbqfixdv.cc:5:
In file included from ./stanExports_cbqfixdv.h:23:
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<double>::temme_root_finder' requested here
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(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<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
  return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
                      ^
In file included from stanExports_cbqfixdv.cc:5:
./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixdv.h:828:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl<false, true, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqfixdv_namespace::model_cbqfixdv::log_prob<false, true, double>' requested here
      log_prob = model.template log_prob<false, Jacobian>(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<true, model_cbqfixdv_namespace::model_cbqfixdv, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> 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<model_cbqfixdv_namespace::model_cbqfixdv>' 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<model_cbqfixdv_namespace::model_cbqfixdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqfixdv_namespace::model_cbqfixdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqfixdv.cc:5:
./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixdv.h:828:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl<true, true, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqfixdv_namespace::model_cbqfixdv::log_prob<true, true, stan::math::var_value<double>>' requested here
    var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
                                   ^
/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<true, true, model_cbqfixdv_namespace::model_cbqfixdv>' requested here
      log_prob = stan::model::log_prob_grad<true, Jacobian>(
                              ^
/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<true, model_cbqfixdv_namespace::model_cbqfixdv, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> 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<model_cbqfixdv_namespace::model_cbqfixdv>' 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<model_cbqfixdv_namespace::model_cbqfixdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqfixdv_namespace::model_cbqfixdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqfixdv.cc:5:
./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixdv.h:828:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl<true, false, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqfixdv_namespace::model_cbqfixdv::log_prob<true, false, stan::math::var_value<double>>' requested here
    var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
                                   ^
/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<true, false, model_cbqfixdv_namespace::model_cbqfixdv>' requested here
      log_prob = stan::model::log_prob_grad<true, Jacobian>(
                              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/optimize/newton.hpp:50:43: note: in instantiation of function template specialization 'stan::services::util::initialize<false, model_cbqfixdv_namespace::model_cbqfixdv, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> cont_vector = util::initialize<false>(
                                          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton<model_cbqfixdv_namespace::model_cbqfixdv, false>' requested here
      = stan::services::optimize::newton(model, *init_context_ptr,
                                  ^
/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<model_cbqfixdv_namespace::model_cbqfixdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqfixdv_namespace::model_cbqfixdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqfixdv.cc:5:
./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixdv.h:828:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl<false, false, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/optimize/newton.hpp:56:25: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob<false, false, double>' requested here
    lp = model.template log_prob<false, jacobian>(cont_vector, disc_vector,
                        ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton<model_cbqfixdv_namespace::model_cbqfixdv, false>' requested here
      = stan::services::optimize::newton(model, *init_context_ptr,
                                  ^
/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<model_cbqfixdv_namespace::model_cbqfixdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqfixdv_namespace::model_cbqfixdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqfixdv.cc:5:
./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixdv.h:823:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl<true, true, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_functional.hpp:21:27: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob<true, true, stan::math::var_value<double>>' requested here
    return model.template log_prob<true, true, T>(
                          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/rev/functor/gradient.hpp:51:16: note: in instantiation of function template specialization 'stan::model::model_functional<model_cbqfixdv_namespace::model_cbqfixdv>::operator()<stan::math::var_value<double>>' requested here
  var fx_var = f(x_var);
               ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/gradient.hpp:27:17: note: in instantiation of function template specialization 'stan::math::gradient<stan::model::model_functional<model_cbqfixdv_namespace::model_cbqfixdv>>' requested here
    stan::math::gradient(model_functional<M>(model, &ss), x, f, grad_f);
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/base_hamiltonian.hpp:63:20: note: in instantiation of function template specialization 'stan::model::gradient<model_cbqfixdv_namespace::model_cbqfixdv>' requested here
      stan::model::gradient(model_, z.q, z.V, z.g, logger);
                   ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/mcmc/hmc/integrators/expl_leapfrog.hpp:25:17: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
    hamiltonian.update_potential_gradient(z, logger);
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts<model_cbqfixdv_namespace::model_cbqfixdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::dense_e_nuts' requested here
  stan::mcmc::dense_e_nuts<Model, boost::ecuyer1988> sampler(model, rng);
                                                     ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e<model_cbqfixdv_namespace::model_cbqfixdv>' requested here
  return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain,
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e<model_cbqfixdv_namespace::model_cbqfixdv>' requested here
          ::hmc_nuts_dense_e(model, *init_context_ptr,
            ^
/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<model_cbqfixdv_namespace::model_cbqfixdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqfixdv_namespace::model_cbqfixdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqfixdv.cc:5:
./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixdv.h:823:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl<false, true, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/variational/advi.hpp:514:31: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob<false, true, double>' requested here
      log_p = model_.template log_prob<false, true>(cont_params_, &msg2);
                              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi<model_cbqfixdv_namespace::model_cbqfixdv, stan::variational::normal_fullrank, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::run' requested here
  cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj,
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank<model_cbqfixdv_namespace::model_cbqfixdv>' requested here
      ::fullrank(model, *init_context_ptr,
        ^
/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<model_cbqfixdv_namespace::model_cbqfixdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqfixdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqfixdv_namespace::model_cbqfixdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqfixdv.cc:5:
./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixdv.h:823:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl<false, false, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:93:50: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob<false, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false, double>(
                                                 ^
./stanExports_cbqfixdv.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqfixdv_namespace::model_cbqfixdv>::log_prob' requested here
  ~model_cbqfixdv() {}
  ^
./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixdv.h:823:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl<false, false, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:98:50: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob<false, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false>(theta,
                                                 ^
./stanExports_cbqfixdv.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqfixdv_namespace::model_cbqfixdv>::log_prob' requested here
  ~model_cbqfixdv() {}
  ^
./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixdv.h:823:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl<false, true, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:109:50: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob<false, true, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, true>(theta,
                                                 ^
./stanExports_cbqfixdv.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqfixdv_namespace::model_cbqfixdv>::log_prob_jacobian' requested here
  ~model_cbqfixdv() {}
  ^
./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixdv.h:823:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl<true, false, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:115:50: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob<true, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(theta,
                                                 ^
./stanExports_cbqfixdv.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqfixdv_namespace::model_cbqfixdv>::log_prob_propto' requested here
  ~model_cbqfixdv() {}
  ^
./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixdv.h:823:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl<true, false, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:120:50: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob<true, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(theta,
                                                 ^
./stanExports_cbqfixdv.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqfixdv_namespace::model_cbqfixdv>::log_prob_propto' requested here
  ~model_cbqfixdv() {}
  ^
./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixdv.h:823:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl<true, true, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:126:50: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob<true, true, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, true>(theta,
                                                 ^
./stanExports_cbqfixdv.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqfixdv_namespace::model_cbqfixdv>::log_prob_propto_jacobian' requested here
  ~model_cbqfixdv() {}
  ^
./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixdv.h:828:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl<false, false, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:162:50: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob<false, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false>(
                                                 ^
./stanExports_cbqfixdv.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqfixdv_namespace::model_cbqfixdv>::log_prob' requested here
  ~model_cbqfixdv() {}
  ^
./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixdv.h:828:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl<false, true, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:175:50: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob<false, true, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, true>(
                                                 ^
./stanExports_cbqfixdv.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqfixdv_namespace::model_cbqfixdv>::log_prob_jacobian' requested here
  ~model_cbqfixdv() {}
  ^
./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixdv.h:828:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl<true, false, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:182:50: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob<true, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(
                                                 ^
./stanExports_cbqfixdv.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqfixdv_namespace::model_cbqfixdv>::log_prob_propto' requested here
  ~model_cbqfixdv() {}
  ^
./stanExports_cbqfixdv.h:482:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqfixdv.h:828:12: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob_impl<true, true, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:195:50: note: in instantiation of function template specialization 'model_cbqfixdv_namespace::model_cbqfixdv::log_prob<true, true, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, true>(
                                                 ^
./stanExports_cbqfixdv.h:263:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqfixdv_namespace::model_cbqfixdv>::log_prob_propto_jacobian' requested here
  ~model_cbqfixdv() {}
  ^
23 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/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/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/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 stanExports_cbqpanelb.cc -o stanExports_cbqpanelb.o
In file included from stanExports_cbqpanelb.cc:5:
In file included from ./stanExports_cbqpanelb.h:23:
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<char>::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 stanExports_cbqpanelb.cc:5:
In file included from ./stanExports_cbqpanelb.h:23:
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<char>::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 stanExports_cbqpanelb.cc:5:
In file included from ./stanExports_cbqpanelb.h:23:
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<ViewElt, Op, require_st_arithmetic<Op>> {
^
/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 stanExports_cbqpanelb.cc:5:
In file included from ./stanExports_cbqpanelb.h:23:
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 stanExports_cbqpanelb.cc:5:
./stanExports_cbqpanelb.h:458:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_cbqpanelb.cc:5:
In file included from ./stanExports_cbqpanelb.h:23:
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<double>::temme_root_finder' requested here
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(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<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
  return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
                      ^
6 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/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/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/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 stanExports_cbqpanelbv.cc -o stanExports_cbqpanelbv.o
In file included from stanExports_cbqpanelbv.cc:5:
In file included from ./stanExports_cbqpanelbv.h:23:
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<char>::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 stanExports_cbqpanelbv.cc:5:
In file included from ./stanExports_cbqpanelbv.h:23:
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<char>::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 stanExports_cbqpanelbv.cc:5:
In file included from ./stanExports_cbqpanelbv.h:23:
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<ViewElt, Op, require_st_arithmetic<Op>> {
^
/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 stanExports_cbqpanelbv.cc:5:
In file included from ./stanExports_cbqpanelbv.h:23:
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 stanExports_cbqpanelbv.cc:5:
./stanExports_cbqpanelbv.h:458:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_cbqpanelbv.cc:5:
In file included from ./stanExports_cbqpanelbv.h:23:
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<double>::temme_root_finder' requested here
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(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<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
  return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
                      ^
6 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/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/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/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 stanExports_cbqpaneld.cc -o stanExports_cbqpaneld.o
In file included from stanExports_cbqpaneld.cc:5:
In file included from ./stanExports_cbqpaneld.h:23:
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<char>::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 stanExports_cbqpaneld.cc:5:
In file included from ./stanExports_cbqpaneld.h:23:
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<char>::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 stanExports_cbqpaneld.cc:5:
In file included from ./stanExports_cbqpaneld.h:23:
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<ViewElt, Op, require_st_arithmetic<Op>> {
^
/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 stanExports_cbqpaneld.cc:5:
In file included from ./stanExports_cbqpaneld.h:23:
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 stanExports_cbqpaneld.cc:5:
./stanExports_cbqpaneld.h:709:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_cbqpaneld.cc:5:
In file included from ./stanExports_cbqpaneld.h:23:
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<double>::temme_root_finder' requested here
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(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<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
  return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
                      ^
In file included from stanExports_cbqpaneld.cc:5:
./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneld.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl<false, true, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqpaneld_namespace::model_cbqpaneld::log_prob<false, true, double>' requested here
      log_prob = model.template log_prob<false, Jacobian>(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<true, model_cbqpaneld_namespace::model_cbqpaneld, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> 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<model_cbqpaneld_namespace::model_cbqpaneld>' 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<model_cbqpaneld_namespace::model_cbqpaneld, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqpaneld_namespace::model_cbqpaneld, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqpaneld.cc:5:
./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneld.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl<true, true, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqpaneld_namespace::model_cbqpaneld::log_prob<true, true, stan::math::var_value<double>>' requested here
    var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
                                   ^
/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<true, true, model_cbqpaneld_namespace::model_cbqpaneld>' requested here
      log_prob = stan::model::log_prob_grad<true, Jacobian>(
                              ^
/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<true, model_cbqpaneld_namespace::model_cbqpaneld, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> 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<model_cbqpaneld_namespace::model_cbqpaneld>' 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<model_cbqpaneld_namespace::model_cbqpaneld, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqpaneld_namespace::model_cbqpaneld, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqpaneld.cc:5:
./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneld.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl<true, false, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqpaneld_namespace::model_cbqpaneld::log_prob<true, false, stan::math::var_value<double>>' requested here
    var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
                                   ^
/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<true, false, model_cbqpaneld_namespace::model_cbqpaneld>' requested here
      log_prob = stan::model::log_prob_grad<true, Jacobian>(
                              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/optimize/newton.hpp:50:43: note: in instantiation of function template specialization 'stan::services::util::initialize<false, model_cbqpaneld_namespace::model_cbqpaneld, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> cont_vector = util::initialize<false>(
                                          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton<model_cbqpaneld_namespace::model_cbqpaneld, false>' requested here
      = stan::services::optimize::newton(model, *init_context_ptr,
                                  ^
/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<model_cbqpaneld_namespace::model_cbqpaneld, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqpaneld_namespace::model_cbqpaneld, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqpaneld.cc:5:
./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneld.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl<false, false, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/optimize/newton.hpp:56:25: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob<false, false, double>' requested here
    lp = model.template log_prob<false, jacobian>(cont_vector, disc_vector,
                        ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton<model_cbqpaneld_namespace::model_cbqpaneld, false>' requested here
      = stan::services::optimize::newton(model, *init_context_ptr,
                                  ^
/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<model_cbqpaneld_namespace::model_cbqpaneld, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqpaneld_namespace::model_cbqpaneld, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqpaneld.cc:5:
./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneld.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl<true, true, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_functional.hpp:21:27: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob<true, true, stan::math::var_value<double>>' requested here
    return model.template log_prob<true, true, T>(
                          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/rev/functor/gradient.hpp:51:16: note: in instantiation of function template specialization 'stan::model::model_functional<model_cbqpaneld_namespace::model_cbqpaneld>::operator()<stan::math::var_value<double>>' requested here
  var fx_var = f(x_var);
               ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/gradient.hpp:27:17: note: in instantiation of function template specialization 'stan::math::gradient<stan::model::model_functional<model_cbqpaneld_namespace::model_cbqpaneld>>' requested here
    stan::math::gradient(model_functional<M>(model, &ss), x, f, grad_f);
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/base_hamiltonian.hpp:63:20: note: in instantiation of function template specialization 'stan::model::gradient<model_cbqpaneld_namespace::model_cbqpaneld>' requested here
      stan::model::gradient(model_, z.q, z.V, z.g, logger);
                   ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/mcmc/hmc/integrators/expl_leapfrog.hpp:25:17: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
    hamiltonian.update_potential_gradient(z, logger);
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts<model_cbqpaneld_namespace::model_cbqpaneld, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::dense_e_nuts' requested here
  stan::mcmc::dense_e_nuts<Model, boost::ecuyer1988> sampler(model, rng);
                                                     ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e<model_cbqpaneld_namespace::model_cbqpaneld>' requested here
  return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain,
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e<model_cbqpaneld_namespace::model_cbqpaneld>' requested here
          ::hmc_nuts_dense_e(model, *init_context_ptr,
            ^
/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<model_cbqpaneld_namespace::model_cbqpaneld, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqpaneld_namespace::model_cbqpaneld, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqpaneld.cc:5:
./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneld.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl<false, true, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/variational/advi.hpp:514:31: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob<false, true, double>' requested here
      log_p = model_.template log_prob<false, true>(cont_params_, &msg2);
                              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi<model_cbqpaneld_namespace::model_cbqpaneld, stan::variational::normal_fullrank, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::run' requested here
  cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj,
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank<model_cbqpaneld_namespace::model_cbqpaneld>' requested here
      ::fullrank(model, *init_context_ptr,
        ^
/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<model_cbqpaneld_namespace::model_cbqpaneld, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqpaneld.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqpaneld_namespace::model_cbqpaneld, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqpaneld.cc:5:
./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneld.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl<false, false, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:93:50: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob<false, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false, double>(
                                                 ^
./stanExports_cbqpaneld.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqpaneld_namespace::model_cbqpaneld>::log_prob' requested here
  ~model_cbqpaneld() {}
  ^
./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneld.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl<false, false, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:98:50: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob<false, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false>(theta,
                                                 ^
./stanExports_cbqpaneld.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqpaneld_namespace::model_cbqpaneld>::log_prob' requested here
  ~model_cbqpaneld() {}
  ^
./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneld.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl<false, true, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:109:50: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob<false, true, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, true>(theta,
                                                 ^
./stanExports_cbqpaneld.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqpaneld_namespace::model_cbqpaneld>::log_prob_jacobian' requested here
  ~model_cbqpaneld() {}
  ^
./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneld.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl<true, false, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:115:50: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob<true, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(theta,
                                                 ^
./stanExports_cbqpaneld.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqpaneld_namespace::model_cbqpaneld>::log_prob_propto' requested here
  ~model_cbqpaneld() {}
  ^
./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneld.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl<true, false, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:120:50: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob<true, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(theta,
                                                 ^
./stanExports_cbqpaneld.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqpaneld_namespace::model_cbqpaneld>::log_prob_propto' requested here
  ~model_cbqpaneld() {}
  ^
./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneld.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl<true, true, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:126:50: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob<true, true, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, true>(theta,
                                                 ^
./stanExports_cbqpaneld.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqpaneld_namespace::model_cbqpaneld>::log_prob_propto_jacobian' requested here
  ~model_cbqpaneld() {}
  ^
./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneld.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl<false, false, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:162:50: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob<false, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false>(
                                                 ^
./stanExports_cbqpaneld.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqpaneld_namespace::model_cbqpaneld>::log_prob' requested here
  ~model_cbqpaneld() {}
  ^
./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneld.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl<false, true, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:175:50: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob<false, true, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, true>(
                                                 ^
./stanExports_cbqpaneld.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqpaneld_namespace::model_cbqpaneld>::log_prob_jacobian' requested here
  ~model_cbqpaneld() {}
  ^
./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneld.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl<true, false, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:182:50: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob<true, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(
                                                 ^
./stanExports_cbqpaneld.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqpaneld_namespace::model_cbqpaneld>::log_prob_propto' requested here
  ~model_cbqpaneld() {}
  ^
./stanExports_cbqpaneld.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneld.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob_impl<true, true, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:195:50: note: in instantiation of function template specialization 'model_cbqpaneld_namespace::model_cbqpaneld::log_prob<true, true, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, true>(
                                                 ^
./stanExports_cbqpaneld.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqpaneld_namespace::model_cbqpaneld>::log_prob_propto_jacobian' requested here
  ~model_cbqpaneld() {}
  ^
22 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/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/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/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 stanExports_cbqpaneldv.cc -o stanExports_cbqpaneldv.o
In file included from stanExports_cbqpaneldv.cc:5:
In file included from ./stanExports_cbqpaneldv.h:23:
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<char>::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 stanExports_cbqpaneldv.cc:5:
In file included from ./stanExports_cbqpaneldv.h:23:
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<char>::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 stanExports_cbqpaneldv.cc:5:
In file included from ./stanExports_cbqpaneldv.h:23:
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<ViewElt, Op, require_st_arithmetic<Op>> {
^
/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 stanExports_cbqpaneldv.cc:5:
In file included from ./stanExports_cbqpaneldv.h:23:
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 stanExports_cbqpaneldv.cc:5:
./stanExports_cbqpaneldv.h:709:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_cbqpaneldv.cc:5:
In file included from ./stanExports_cbqpaneldv.h:23:
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<double>::temme_root_finder' requested here
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(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<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
  return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
                      ^
In file included from stanExports_cbqpaneldv.cc:5:
./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneldv.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl<false, true, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqpaneldv_namespace::model_cbqpaneldv::log_prob<false, true, double>' requested here
      log_prob = model.template log_prob<false, Jacobian>(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<true, model_cbqpaneldv_namespace::model_cbqpaneldv, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> 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<model_cbqpaneldv_namespace::model_cbqpaneldv>' 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<model_cbqpaneldv_namespace::model_cbqpaneldv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqpaneldv_namespace::model_cbqpaneldv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqpaneldv.cc:5:
./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneldv.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl<true, true, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqpaneldv_namespace::model_cbqpaneldv::log_prob<true, true, stan::math::var_value<double>>' requested here
    var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
                                   ^
/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<true, true, model_cbqpaneldv_namespace::model_cbqpaneldv>' requested here
      log_prob = stan::model::log_prob_grad<true, Jacobian>(
                              ^
/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<true, model_cbqpaneldv_namespace::model_cbqpaneldv, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> 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<model_cbqpaneldv_namespace::model_cbqpaneldv>' 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<model_cbqpaneldv_namespace::model_cbqpaneldv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqpaneldv_namespace::model_cbqpaneldv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqpaneldv.cc:5:
./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneldv.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl<true, false, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqpaneldv_namespace::model_cbqpaneldv::log_prob<true, false, stan::math::var_value<double>>' requested here
    var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
                                   ^
/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<true, false, model_cbqpaneldv_namespace::model_cbqpaneldv>' requested here
      log_prob = stan::model::log_prob_grad<true, Jacobian>(
                              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/optimize/newton.hpp:50:43: note: in instantiation of function template specialization 'stan::services::util::initialize<false, model_cbqpaneldv_namespace::model_cbqpaneldv, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> cont_vector = util::initialize<false>(
                                          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton<model_cbqpaneldv_namespace::model_cbqpaneldv, false>' requested here
      = stan::services::optimize::newton(model, *init_context_ptr,
                                  ^
/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<model_cbqpaneldv_namespace::model_cbqpaneldv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqpaneldv_namespace::model_cbqpaneldv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqpaneldv.cc:5:
./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneldv.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl<false, false, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/optimize/newton.hpp:56:25: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob<false, false, double>' requested here
    lp = model.template log_prob<false, jacobian>(cont_vector, disc_vector,
                        ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton<model_cbqpaneldv_namespace::model_cbqpaneldv, false>' requested here
      = stan::services::optimize::newton(model, *init_context_ptr,
                                  ^
/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<model_cbqpaneldv_namespace::model_cbqpaneldv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqpaneldv_namespace::model_cbqpaneldv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqpaneldv.cc:5:
./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneldv.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl<true, true, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_functional.hpp:21:27: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob<true, true, stan::math::var_value<double>>' requested here
    return model.template log_prob<true, true, T>(
                          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/rev/functor/gradient.hpp:51:16: note: in instantiation of function template specialization 'stan::model::model_functional<model_cbqpaneldv_namespace::model_cbqpaneldv>::operator()<stan::math::var_value<double>>' requested here
  var fx_var = f(x_var);
               ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/gradient.hpp:27:17: note: in instantiation of function template specialization 'stan::math::gradient<stan::model::model_functional<model_cbqpaneldv_namespace::model_cbqpaneldv>>' requested here
    stan::math::gradient(model_functional<M>(model, &ss), x, f, grad_f);
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/base_hamiltonian.hpp:63:20: note: in instantiation of function template specialization 'stan::model::gradient<model_cbqpaneldv_namespace::model_cbqpaneldv>' requested here
      stan::model::gradient(model_, z.q, z.V, z.g, logger);
                   ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/mcmc/hmc/integrators/expl_leapfrog.hpp:25:17: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
    hamiltonian.update_potential_gradient(z, logger);
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts<model_cbqpaneldv_namespace::model_cbqpaneldv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::dense_e_nuts' requested here
  stan::mcmc::dense_e_nuts<Model, boost::ecuyer1988> sampler(model, rng);
                                                     ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e<model_cbqpaneldv_namespace::model_cbqpaneldv>' requested here
  return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain,
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e<model_cbqpaneldv_namespace::model_cbqpaneldv>' requested here
          ::hmc_nuts_dense_e(model, *init_context_ptr,
            ^
/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<model_cbqpaneldv_namespace::model_cbqpaneldv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqpaneldv_namespace::model_cbqpaneldv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqpaneldv.cc:5:
./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneldv.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl<false, true, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/variational/advi.hpp:514:31: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob<false, true, double>' requested here
      log_p = model_.template log_prob<false, true>(cont_params_, &msg2);
                              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi<model_cbqpaneldv_namespace::model_cbqpaneldv, stan::variational::normal_fullrank, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::run' requested here
  cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj,
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank<model_cbqpaneldv_namespace::model_cbqpaneldv>' requested here
      ::fullrank(model, *init_context_ptr,
        ^
/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<model_cbqpaneldv_namespace::model_cbqpaneldv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqpaneldv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqpaneldv_namespace::model_cbqpaneldv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqpaneldv.cc:5:
./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneldv.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl<false, false, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:93:50: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob<false, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false, double>(
                                                 ^
./stanExports_cbqpaneldv.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqpaneldv_namespace::model_cbqpaneldv>::log_prob' requested here
  ~model_cbqpaneldv() {}
  ^
./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneldv.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl<false, false, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:98:50: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob<false, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false>(theta,
                                                 ^
./stanExports_cbqpaneldv.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqpaneldv_namespace::model_cbqpaneldv>::log_prob' requested here
  ~model_cbqpaneldv() {}
  ^
./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneldv.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl<false, true, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:109:50: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob<false, true, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, true>(theta,
                                                 ^
./stanExports_cbqpaneldv.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqpaneldv_namespace::model_cbqpaneldv>::log_prob_jacobian' requested here
  ~model_cbqpaneldv() {}
  ^
./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneldv.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl<true, false, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:115:50: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob<true, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(theta,
                                                 ^
./stanExports_cbqpaneldv.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqpaneldv_namespace::model_cbqpaneldv>::log_prob_propto' requested here
  ~model_cbqpaneldv() {}
  ^
./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneldv.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl<true, false, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:120:50: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob<true, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(theta,
                                                 ^
./stanExports_cbqpaneldv.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqpaneldv_namespace::model_cbqpaneldv>::log_prob_propto' requested here
  ~model_cbqpaneldv() {}
  ^
./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneldv.h:932:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl<true, true, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:126:50: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob<true, true, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, true>(theta,
                                                 ^
./stanExports_cbqpaneldv.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqpaneldv_namespace::model_cbqpaneldv>::log_prob_propto_jacobian' requested here
  ~model_cbqpaneldv() {}
  ^
./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneldv.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl<false, false, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:162:50: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob<false, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false>(
                                                 ^
./stanExports_cbqpaneldv.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqpaneldv_namespace::model_cbqpaneldv>::log_prob' requested here
  ~model_cbqpaneldv() {}
  ^
./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneldv.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl<false, true, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:175:50: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob<false, true, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, true>(
                                                 ^
./stanExports_cbqpaneldv.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqpaneldv_namespace::model_cbqpaneldv>::log_prob_jacobian' requested here
  ~model_cbqpaneldv() {}
  ^
./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneldv.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl<true, false, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:182:50: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob<true, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(
                                                 ^
./stanExports_cbqpaneldv.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqpaneldv_namespace::model_cbqpaneldv>::log_prob_propto' requested here
  ~model_cbqpaneldv() {}
  ^
./stanExports_cbqpaneldv.h:527:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqpaneldv.h:937:12: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob_impl<true, true, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:195:50: note: in instantiation of function template specialization 'model_cbqpaneldv_namespace::model_cbqpaneldv::log_prob<true, true, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, true>(
                                                 ^
./stanExports_cbqpaneldv.h:273:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqpaneldv_namespace::model_cbqpaneldv>::log_prob_propto_jacobian' requested here
  ~model_cbqpaneldv() {}
  ^
22 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/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/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/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 stanExports_cbqrandomb.cc -o stanExports_cbqrandomb.o
In file included from stanExports_cbqrandomb.cc:5:
In file included from ./stanExports_cbqrandomb.h:23:
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<char>::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 stanExports_cbqrandomb.cc:5:
In file included from ./stanExports_cbqrandomb.h:23:
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<char>::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 stanExports_cbqrandomb.cc:5:
In file included from ./stanExports_cbqrandomb.h:23:
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<ViewElt, Op, require_st_arithmetic<Op>> {
^
/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 stanExports_cbqrandomb.cc:5:
In file included from ./stanExports_cbqrandomb.h:23:
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 stanExports_cbqrandomb.cc:5:
./stanExports_cbqrandomb.h:409:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_cbqrandomb.cc:5:
In file included from ./stanExports_cbqrandomb.h:23:
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<double>::temme_root_finder' requested here
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(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<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
  return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
                      ^
6 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/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/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/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 stanExports_cbqrandombv.cc -o stanExports_cbqrandombv.o
In file included from stanExports_cbqrandombv.cc:5:
In file included from ./stanExports_cbqrandombv.h:23:
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<char>::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 stanExports_cbqrandombv.cc:5:
In file included from ./stanExports_cbqrandombv.h:23:
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<char>::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 stanExports_cbqrandombv.cc:5:
In file included from ./stanExports_cbqrandombv.h:23:
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<ViewElt, Op, require_st_arithmetic<Op>> {
^
/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 stanExports_cbqrandombv.cc:5:
In file included from ./stanExports_cbqrandombv.h:23:
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 stanExports_cbqrandombv.cc:5:
./stanExports_cbqrandombv.h:409:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_cbqrandombv.cc:5:
In file included from ./stanExports_cbqrandombv.h:23:
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<double>::temme_root_finder' requested here
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(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<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
  return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
                      ^
6 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/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/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/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 stanExports_cbqrandomd.cc -o stanExports_cbqrandomd.o
In file included from stanExports_cbqrandomd.cc:5:
In file included from ./stanExports_cbqrandomd.h:23:
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<char>::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 stanExports_cbqrandomd.cc:5:
In file included from ./stanExports_cbqrandomd.h:23:
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<char>::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 stanExports_cbqrandomd.cc:5:
In file included from ./stanExports_cbqrandomd.h:23:
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<ViewElt, Op, require_st_arithmetic<Op>> {
^
/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 stanExports_cbqrandomd.cc:5:
In file included from ./stanExports_cbqrandomd.h:23:
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 stanExports_cbqrandomd.cc:5:
./stanExports_cbqrandomd.h:668:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_cbqrandomd.cc:5:
In file included from ./stanExports_cbqrandomd.h:23:
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<double>::temme_root_finder' requested here
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(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<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
  return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
                      ^
In file included from stanExports_cbqrandomd.cc:5:
./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomd.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl<false, true, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqrandomd_namespace::model_cbqrandomd::log_prob<false, true, double>' requested here
      log_prob = model.template log_prob<false, Jacobian>(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<true, model_cbqrandomd_namespace::model_cbqrandomd, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> 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<model_cbqrandomd_namespace::model_cbqrandomd>' 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<model_cbqrandomd_namespace::model_cbqrandomd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqrandomd_namespace::model_cbqrandomd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqrandomd.cc:5:
./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomd.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl<true, true, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqrandomd_namespace::model_cbqrandomd::log_prob<true, true, stan::math::var_value<double>>' requested here
    var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
                                   ^
/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<true, true, model_cbqrandomd_namespace::model_cbqrandomd>' requested here
      log_prob = stan::model::log_prob_grad<true, Jacobian>(
                              ^
/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<true, model_cbqrandomd_namespace::model_cbqrandomd, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> 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<model_cbqrandomd_namespace::model_cbqrandomd>' 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<model_cbqrandomd_namespace::model_cbqrandomd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqrandomd_namespace::model_cbqrandomd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqrandomd.cc:5:
./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomd.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl<true, false, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqrandomd_namespace::model_cbqrandomd::log_prob<true, false, stan::math::var_value<double>>' requested here
    var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
                                   ^
/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<true, false, model_cbqrandomd_namespace::model_cbqrandomd>' requested here
      log_prob = stan::model::log_prob_grad<true, Jacobian>(
                              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/optimize/newton.hpp:50:43: note: in instantiation of function template specialization 'stan::services::util::initialize<false, model_cbqrandomd_namespace::model_cbqrandomd, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> cont_vector = util::initialize<false>(
                                          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton<model_cbqrandomd_namespace::model_cbqrandomd, false>' requested here
      = stan::services::optimize::newton(model, *init_context_ptr,
                                  ^
/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<model_cbqrandomd_namespace::model_cbqrandomd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqrandomd_namespace::model_cbqrandomd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqrandomd.cc:5:
./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomd.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl<false, false, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/optimize/newton.hpp:56:25: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob<false, false, double>' requested here
    lp = model.template log_prob<false, jacobian>(cont_vector, disc_vector,
                        ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton<model_cbqrandomd_namespace::model_cbqrandomd, false>' requested here
      = stan::services::optimize::newton(model, *init_context_ptr,
                                  ^
/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<model_cbqrandomd_namespace::model_cbqrandomd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqrandomd_namespace::model_cbqrandomd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqrandomd.cc:5:
./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomd.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl<true, true, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_functional.hpp:21:27: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob<true, true, stan::math::var_value<double>>' requested here
    return model.template log_prob<true, true, T>(
                          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/rev/functor/gradient.hpp:51:16: note: in instantiation of function template specialization 'stan::model::model_functional<model_cbqrandomd_namespace::model_cbqrandomd>::operator()<stan::math::var_value<double>>' requested here
  var fx_var = f(x_var);
               ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/gradient.hpp:27:17: note: in instantiation of function template specialization 'stan::math::gradient<stan::model::model_functional<model_cbqrandomd_namespace::model_cbqrandomd>>' requested here
    stan::math::gradient(model_functional<M>(model, &ss), x, f, grad_f);
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/base_hamiltonian.hpp:63:20: note: in instantiation of function template specialization 'stan::model::gradient<model_cbqrandomd_namespace::model_cbqrandomd>' requested here
      stan::model::gradient(model_, z.q, z.V, z.g, logger);
                   ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/mcmc/hmc/integrators/expl_leapfrog.hpp:25:17: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
    hamiltonian.update_potential_gradient(z, logger);
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts<model_cbqrandomd_namespace::model_cbqrandomd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::dense_e_nuts' requested here
  stan::mcmc::dense_e_nuts<Model, boost::ecuyer1988> sampler(model, rng);
                                                     ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e<model_cbqrandomd_namespace::model_cbqrandomd>' requested here
  return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain,
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e<model_cbqrandomd_namespace::model_cbqrandomd>' requested here
          ::hmc_nuts_dense_e(model, *init_context_ptr,
            ^
/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<model_cbqrandomd_namespace::model_cbqrandomd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqrandomd_namespace::model_cbqrandomd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqrandomd.cc:5:
./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomd.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl<false, true, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/variational/advi.hpp:514:31: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob<false, true, double>' requested here
      log_p = model_.template log_prob<false, true>(cont_params_, &msg2);
                              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi<model_cbqrandomd_namespace::model_cbqrandomd, stan::variational::normal_fullrank, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::run' requested here
  cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj,
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank<model_cbqrandomd_namespace::model_cbqrandomd>' requested here
      ::fullrank(model, *init_context_ptr,
        ^
/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<model_cbqrandomd_namespace::model_cbqrandomd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqrandomd.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqrandomd_namespace::model_cbqrandomd, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqrandomd.cc:5:
./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomd.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl<false, false, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:93:50: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob<false, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false, double>(
                                                 ^
./stanExports_cbqrandomd.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqrandomd_namespace::model_cbqrandomd>::log_prob' requested here
  ~model_cbqrandomd() {}
  ^
./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomd.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl<false, false, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:98:50: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob<false, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false>(theta,
                                                 ^
./stanExports_cbqrandomd.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqrandomd_namespace::model_cbqrandomd>::log_prob' requested here
  ~model_cbqrandomd() {}
  ^
./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomd.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl<false, true, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:109:50: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob<false, true, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, true>(theta,
                                                 ^
./stanExports_cbqrandomd.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqrandomd_namespace::model_cbqrandomd>::log_prob_jacobian' requested here
  ~model_cbqrandomd() {}
  ^
./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomd.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl<true, false, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:115:50: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob<true, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(theta,
                                                 ^
./stanExports_cbqrandomd.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqrandomd_namespace::model_cbqrandomd>::log_prob_propto' requested here
  ~model_cbqrandomd() {}
  ^
./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomd.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl<true, false, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:120:50: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob<true, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(theta,
                                                 ^
./stanExports_cbqrandomd.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqrandomd_namespace::model_cbqrandomd>::log_prob_propto' requested here
  ~model_cbqrandomd() {}
  ^
./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomd.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl<true, true, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:126:50: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob<true, true, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, true>(theta,
                                                 ^
./stanExports_cbqrandomd.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqrandomd_namespace::model_cbqrandomd>::log_prob_propto_jacobian' requested here
  ~model_cbqrandomd() {}
  ^
./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomd.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl<false, false, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:162:50: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob<false, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false>(
                                                 ^
./stanExports_cbqrandomd.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqrandomd_namespace::model_cbqrandomd>::log_prob' requested here
  ~model_cbqrandomd() {}
  ^
./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomd.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl<false, true, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:175:50: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob<false, true, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, true>(
                                                 ^
./stanExports_cbqrandomd.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqrandomd_namespace::model_cbqrandomd>::log_prob_jacobian' requested here
  ~model_cbqrandomd() {}
  ^
./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomd.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl<true, false, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:182:50: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob<true, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(
                                                 ^
./stanExports_cbqrandomd.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqrandomd_namespace::model_cbqrandomd>::log_prob_propto' requested here
  ~model_cbqrandomd() {}
  ^
./stanExports_cbqrandomd.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomd.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob_impl<true, true, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:195:50: note: in instantiation of function template specialization 'model_cbqrandomd_namespace::model_cbqrandomd::log_prob<true, true, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, true>(
                                                 ^
./stanExports_cbqrandomd.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqrandomd_namespace::model_cbqrandomd>::log_prob_propto_jacobian' requested here
  ~model_cbqrandomd() {}
  ^
22 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/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/rstan/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/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 stanExports_cbqrandomdv.cc -o stanExports_cbqrandomdv.o
In file included from stanExports_cbqrandomdv.cc:5:
In file included from ./stanExports_cbqrandomdv.h:23:
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<char>::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 stanExports_cbqrandomdv.cc:5:
In file included from ./stanExports_cbqrandomdv.h:23:
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<char>::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 stanExports_cbqrandomdv.cc:5:
In file included from ./stanExports_cbqrandomdv.h:23:
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<ViewElt, Op, require_st_arithmetic<Op>> {
^
/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 stanExports_cbqrandomdv.cc:5:
In file included from ./stanExports_cbqrandomdv.h:23:
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 stanExports_cbqrandomdv.cc:5:
./stanExports_cbqrandomdv.h:668:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_cbqrandomdv.cc:5:
In file included from ./stanExports_cbqrandomdv.h:23:
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<double>::temme_root_finder' requested here
      temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, boost::math::policies::policy<boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_float<false>, boost::math::policies::promote_double<false>>>' 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<double, double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
   return ibeta_inv(a, b, p, static_cast<result_type*>(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<double, double, double, boost::math::policies::policy<boost::math::policies::overflow_error<boost::math::policies::errno_on_error>, boost::math::policies::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<0>>>' requested here
  return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
                      ^
In file included from stanExports_cbqrandomdv.cc:5:
./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomdv.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl<false, true, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqrandomdv_namespace::model_cbqrandomdv::log_prob<false, true, double>' requested here
      log_prob = model.template log_prob<false, Jacobian>(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<true, model_cbqrandomdv_namespace::model_cbqrandomdv, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> 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<model_cbqrandomdv_namespace::model_cbqrandomdv>' 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<model_cbqrandomdv_namespace::model_cbqrandomdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqrandomdv_namespace::model_cbqrandomdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqrandomdv.cc:5:
./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomdv.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl<true, true, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqrandomdv_namespace::model_cbqrandomdv::log_prob<true, true, stan::math::var_value<double>>' requested here
    var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
                                   ^
/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<true, true, model_cbqrandomdv_namespace::model_cbqrandomdv>' requested here
      log_prob = stan::model::log_prob_grad<true, Jacobian>(
                              ^
/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<true, model_cbqrandomdv_namespace::model_cbqrandomdv, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> 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<model_cbqrandomdv_namespace::model_cbqrandomdv>' 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<model_cbqrandomdv_namespace::model_cbqrandomdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqrandomdv_namespace::model_cbqrandomdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqrandomdv.cc:5:
./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomdv.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl<true, false, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(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_cbqrandomdv_namespace::model_cbqrandomdv::log_prob<true, false, stan::math::var_value<double>>' requested here
    var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
                                   ^
/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<true, false, model_cbqrandomdv_namespace::model_cbqrandomdv>' requested here
      log_prob = stan::model::log_prob_grad<true, Jacobian>(
                              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/optimize/newton.hpp:50:43: note: in instantiation of function template specialization 'stan::services::util::initialize<false, model_cbqrandomdv_namespace::model_cbqrandomdv, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> cont_vector = util::initialize<false>(
                                          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton<model_cbqrandomdv_namespace::model_cbqrandomdv, false>' requested here
      = stan::services::optimize::newton(model, *init_context_ptr,
                                  ^
/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<model_cbqrandomdv_namespace::model_cbqrandomdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqrandomdv_namespace::model_cbqrandomdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqrandomdv.cc:5:
./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomdv.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl<false, false, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/optimize/newton.hpp:56:25: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob<false, false, double>' requested here
    lp = model.template log_prob<false, jacobian>(cont_vector, disc_vector,
                        ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton<model_cbqrandomdv_namespace::model_cbqrandomdv, false>' requested here
      = stan::services::optimize::newton(model, *init_context_ptr,
                                  ^
/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<model_cbqrandomdv_namespace::model_cbqrandomdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqrandomdv_namespace::model_cbqrandomdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqrandomdv.cc:5:
./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomdv.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl<true, true, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_functional.hpp:21:27: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob<true, true, stan::math::var_value<double>>' requested here
    return model.template log_prob<true, true, T>(
                          ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/stan/math/rev/functor/gradient.hpp:51:16: note: in instantiation of function template specialization 'stan::model::model_functional<model_cbqrandomdv_namespace::model_cbqrandomdv>::operator()<stan::math::var_value<double>>' requested here
  var fx_var = f(x_var);
               ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/gradient.hpp:27:17: note: in instantiation of function template specialization 'stan::math::gradient<stan::model::model_functional<model_cbqrandomdv_namespace::model_cbqrandomdv>>' requested here
    stan::math::gradient(model_functional<M>(model, &ss), x, f, grad_f);
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/base_hamiltonian.hpp:63:20: note: in instantiation of function template specialization 'stan::model::gradient<model_cbqrandomdv_namespace::model_cbqrandomdv>' requested here
      stan::model::gradient(model_, z.q, z.V, z.g, logger);
                   ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/mcmc/hmc/integrators/expl_leapfrog.hpp:25:17: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
    hamiltonian.update_potential_gradient(z, logger);
                ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:74:54: note: in instantiation of member function 'stan::mcmc::dense_e_nuts<model_cbqrandomdv_namespace::model_cbqrandomdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::dense_e_nuts' requested here
  stan::mcmc::dense_e_nuts<Model, boost::ecuyer1988> sampler(model, rng);
                                                     ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/sample/hmc_nuts_dense_e.hpp:128:10: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e<model_cbqrandomdv_namespace::model_cbqrandomdv>' requested here
  return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain,
         ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e<model_cbqrandomdv_namespace::model_cbqrandomdv>' requested here
          ::hmc_nuts_dense_e(model, *init_context_ptr,
            ^
/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<model_cbqrandomdv_namespace::model_cbqrandomdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqrandomdv_namespace::model_cbqrandomdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqrandomdv.cc:5:
./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomdv.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl<false, true, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/variational/advi.hpp:514:31: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob<false, true, double>' requested here
      log_p = model_.template log_prob<false, true>(cont_params_, &msg2);
                              ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi<model_cbqrandomdv_namespace::model_cbqrandomdv, stan::variational::normal_fullrank, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::run' requested here
  cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj,
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank<model_cbqrandomdv_namespace::model_cbqrandomdv>' requested here
      ::fullrank(model, *init_context_ptr,
        ^
/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<model_cbqrandomdv_namespace::model_cbqrandomdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_cbqrandomdv.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_cbqrandomdv_namespace::model_cbqrandomdv, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
                                                                                      ^
In file included from stanExports_cbqrandomdv.cc:5:
./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomdv.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl<false, false, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:93:50: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob<false, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false, double>(
                                                 ^
./stanExports_cbqrandomdv.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqrandomdv_namespace::model_cbqrandomdv>::log_prob' requested here
  ~model_cbqrandomdv() {}
  ^
./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomdv.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl<false, false, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:98:50: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob<false, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false>(theta,
                                                 ^
./stanExports_cbqrandomdv.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqrandomdv_namespace::model_cbqrandomdv>::log_prob' requested here
  ~model_cbqrandomdv() {}
  ^
./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomdv.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl<false, true, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:109:50: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob<false, true, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, true>(theta,
                                                 ^
./stanExports_cbqrandomdv.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqrandomdv_namespace::model_cbqrandomdv>::log_prob_jacobian' requested here
  ~model_cbqrandomdv() {}
  ^
./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomdv.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl<true, false, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:115:50: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob<true, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(theta,
                                                 ^
./stanExports_cbqrandomdv.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqrandomdv_namespace::model_cbqrandomdv>::log_prob_propto' requested here
  ~model_cbqrandomdv() {}
  ^
./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomdv.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl<true, false, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:120:50: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob<true, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(theta,
                                                 ^
./stanExports_cbqrandomdv.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqrandomdv_namespace::model_cbqrandomdv>::log_prob_propto' requested here
  ~model_cbqrandomdv() {}
  ^
./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomdv.h:853:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl<true, true, Eigen::Matrix<double, -1, 1, 0>, Eigen::Matrix<int, -1, 1, 0>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:126:50: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob<true, true, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, true>(theta,
                                                 ^
./stanExports_cbqrandomdv.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqrandomdv_namespace::model_cbqrandomdv>::log_prob_propto_jacobian' requested here
  ~model_cbqrandomdv() {}
  ^
./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomdv.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl<false, false, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:162:50: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob<false, false, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, false>(
                                                 ^
./stanExports_cbqrandomdv.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqrandomdv_namespace::model_cbqrandomdv>::log_prob' requested here
  ~model_cbqrandomdv() {}
  ^
./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomdv.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl<false, true, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:175:50: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob<false, true, stan::math::var_value<double>>' requested here
    return static_cast<const M*>(this)->template log_prob<false, true>(
                                                 ^
./stanExports_cbqrandomdv.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqrandomdv_namespace::model_cbqrandomdv>::log_prob_jacobian' requested here
  ~model_cbqrandomdv() {}
  ^
./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomdv.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl<true, false, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:182:50: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob<true, false, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, false>(
                                                 ^
./stanExports_cbqrandomdv.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqrandomdv_namespace::model_cbqrandomdv>::log_prob_propto' requested here
  ~model_cbqrandomdv() {}
  ^
./stanExports_cbqrandomdv.h:493:28: warning: unused variable 'lik4' [-Wunused-variable]
          local_scalar_t__ lik4 = DUMMY_VAR__;
                           ^
./stanExports_cbqrandomdv.h:858:12: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob_impl<true, true, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
    return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
           ^
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/StanHeaders/include/src/stan/model/model_base_crtp.hpp:195:50: note: in instantiation of function template specialization 'model_cbqrandomdv_namespace::model_cbqrandomdv::log_prob<true, true, double>' requested here
    return static_cast<const M*>(this)->template log_prob<true, true>(
                                                 ^
./stanExports_cbqrandomdv.h:265:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_cbqrandomdv_namespace::model_cbqrandomdv>::log_prob_propto_jacobian' requested here
  ~model_cbqrandomdv() {}
  ^
22 warnings generated.
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o cbq.so RcppExports.o stanExports_cbqb.o stanExports_cbqbv.o stanExports_cbqd.o stanExports_cbqdv.o stanExports_cbqfixb.o stanExports_cbqfixbv.o stanExports_cbqfixd.o stanExports_cbqfixdv.o stanExports_cbqpanelb.o stanExports_cbqpanelbv.o stanExports_cbqpaneld.o stanExports_cbqpaneldv.o stanExports_cbqrandomb.o stanExports_cbqrandombv.o stanExports_cbqrandomd.o stanExports_cbqrandomdv.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
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.4/cbq.Rcheck/00LOCK-cbq/00new/cbq/libs
** generating debug symbols (dSYM)
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** 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 (cbq)