* installing *source* package ‘bmstdr’ ...
** package ‘bmstdr’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 18.1.1’
using C++17
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/bmstdr/src'


/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/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'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c RcppExports.cpp -o RcppExports.o
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
5 warnings generated.


/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/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'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c crps.cpp -o crps.o


/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/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'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c stanExports_gp_marginal.cc -o stanExports_gp_marginal.o
In file included from stanExports_gp_marginal.cc:5:
In file included from ./stanExports_gp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from stanExports_gp_marginal.cc:5:
In file included from ./stanExports_gp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from stanExports_gp_marginal.cc:5:
In file included from ./stanExports_gp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   47 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_gp_marginal.cc:5:
In file included from ./stanExports_gp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   70 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_gp_marginal.cc:5:
In file included from ./stanExports_gp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from stanExports_gp_marginal.cc:5:
In file included from ./stanExports_gp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
In file included from stanExports_gp_marginal.cc:5:
In file included from ./stanExports_gp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/data/gannet/ripley/R/test-clang/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]
   57 | struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
      | ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
   45 | class ops_partials_edge;
      | ^~~~~
      | struct
In file included from stanExports_gp_marginal.cc:5:
In file included from ./stanExports_gp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:34:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token]
  166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_gp_marginal.cc:5:
In file included from ./stanExports_gp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:35:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/dimension.hpp:21:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token]
  125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_gp_marginal.cc:5:
In file included from ./stanExports_gp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:35:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/dimension.hpp:21:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/dimension_list.hpp:131:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token]
   49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_gp_marginal.cc:5:
In file included from ./stanExports_gp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:39:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/linear_algebra.hpp:20:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token]
   75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_gp_marginal.cc:5:
In file included from ./stanExports_gp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:40:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/unscale.hpp:28:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token]
  139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_gp_marginal.cc:5:
In file included from ./stanExports_gp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token]
  120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_gp_marginal.cc:5:
In file included from ./stanExports_gp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:21:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token]
   99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_gp_marginal.cc:5:
In file included from ./stanExports_gp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token]
  495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_gp_marginal.cc:5:
In file included from ./stanExports_gp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
 1252 |     int ret = stan::services::error_codes::CONFIG;
      |         ^
In file included from stanExports_gp_marginal.cc:5:
./stanExports_gp_marginal.h:717:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
  717 |       int pos__ = std::numeric_limits<int>::min();
      |           ^
In file included from stanExports_gp_marginal.cc:5:
In file included from ./stanExports_gp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:46:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/choose.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/binomial.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/beta.hpp:1721:
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable]
   29 |       const T x_extrema = 1 / (1 + a);
      |               ^~~~~~~~~
/data/gannet/ripley/R/test-clang/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
  304 |       temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 2);
      |       ^
/data/gannet/ripley/R/test-clang/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
  615 |                x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol);
      |                    ^
/data/gannet/ripley/R/test-clang/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
  992 |    rx = detail::ibeta_inv_imp(
      |                 ^
/data/gannet/ripley/R/test-clang/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::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
 1023 |    return ibeta_inv(a, b, p, static_cast<result_type*>(nullptr), pol);
      |           ^
/data/gannet/ripley/R/test-clang/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::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
   32 |   return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
      |                       ^
In file included from stanExports_gp_marginal.cc:5:
./stanExports_gp_marginal.h:469:26: warning: unused variable 'u' [-Wunused-variable]
  469 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_gp_marginal.h:921:12: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob_impl<false, true, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
  921 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob<false, true, double>' requested here
  129 |       log_prob = model.template log_prob<false, Jacobian>(unconstrained,
      |                                 ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_gp_marginal_namespace::model_gp_marginal, 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
   49 |   std::vector<double> cont_vector = util::initialize(
      |                                           ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_gp_marginal_namespace::model_gp_marginal>' requested here
  481 |     return_code = stan::services::diagnose::diagnose(model,
      |                                             ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_gp_marginal_namespace::model_gp_marginal, 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
 1215 |     ret = command(args, model_, holder, names_oi_tidx_,
      |           ^
stanExports_gp_marginal.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_gp_marginal_namespace::model_gp_marginal, 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
   15 |     .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
      |                                                                                       ^
In file included from stanExports_gp_marginal.cc:5:
./stanExports_gp_marginal.h:469:26: warning: unused variable 'u' [-Wunused-variable]
  469 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_gp_marginal.h:921:12: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob_impl<true, true, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
  921 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob<true, true, stan::math::var_value<double>>' requested here
   40 |     var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
      |                                    ^
/data/gannet/ripley/R/test-clang/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_gp_marginal_namespace::model_gp_marginal>' requested here
  167 |       log_prob = stan::model::log_prob_grad<true, Jacobian>(
      |                               ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_gp_marginal_namespace::model_gp_marginal, 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
   49 |   std::vector<double> cont_vector = util::initialize(
      |                                           ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_gp_marginal_namespace::model_gp_marginal>' requested here
  481 |     return_code = stan::services::diagnose::diagnose(model,
      |                                             ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_gp_marginal_namespace::model_gp_marginal, 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
 1215 |     ret = command(args, model_, holder, names_oi_tidx_,
      |           ^
stanExports_gp_marginal.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_gp_marginal_namespace::model_gp_marginal, 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
   15 |     .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
      |                                                                                       ^
In file included from stanExports_gp_marginal.cc:5:
./stanExports_gp_marginal.h:469:26: warning: unused variable 'u' [-Wunused-variable]
  469 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_gp_marginal.h:921:12: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob_impl<true, false, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
  921 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob<true, false, stan::math::var_value<double>>' requested here
   40 |     var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
      |                                    ^
/data/gannet/ripley/R/test-clang/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_gp_marginal_namespace::model_gp_marginal>' requested here
  167 |       log_prob = stan::model::log_prob_grad<true, Jacobian>(
      |                               ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/optimize/newton.hpp:50:43: note: in instantiation of function template specialization 'stan::services::util::initialize<false, model_gp_marginal_namespace::model_gp_marginal, 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
   50 |   std::vector<double> cont_vector = util::initialize<false>(
      |                                           ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton<model_gp_marginal_namespace::model_gp_marginal, false>' requested here
  502 |       = stan::services::optimize::newton(model, *init_context_ptr,
      |                                   ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_gp_marginal_namespace::model_gp_marginal, 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
 1215 |     ret = command(args, model_, holder, names_oi_tidx_,
      |           ^
stanExports_gp_marginal.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_gp_marginal_namespace::model_gp_marginal, 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
   15 |     .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
      |                                                                                       ^
In file included from stanExports_gp_marginal.cc:5:
./stanExports_gp_marginal.h:469:26: warning: unused variable 'u' [-Wunused-variable]
  469 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_gp_marginal.h:921:12: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob_impl<false, false, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
  921 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/optimize/newton.hpp:56:25: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob<false, false, double>' requested here
   56 |     lp = model.template log_prob<false, jacobian>(cont_vector, disc_vector,
      |                         ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton<model_gp_marginal_namespace::model_gp_marginal, false>' requested here
  502 |       = stan::services::optimize::newton(model, *init_context_ptr,
      |                                   ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_gp_marginal_namespace::model_gp_marginal, 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
 1215 |     ret = command(args, model_, holder, names_oi_tidx_,
      |           ^
stanExports_gp_marginal.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_gp_marginal_namespace::model_gp_marginal, 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
   15 |     .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
      |                                                                                       ^
In file included from stanExports_gp_marginal.cc:5:
./stanExports_gp_marginal.h:469:26: warning: unused variable 'u' [-Wunused-variable]
  469 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_gp_marginal.h:916:12: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob_impl<true, true, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Matrix<int, -1, 1>, nullptr, nullptr>' requested here
  916 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_functional.hpp:21:27: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob<true, true, stan::math::var_value<double>>' requested here
   21 |     return model.template log_prob<true, true, T>(
      |                           ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/functor/gradient.hpp:51:16: note: in instantiation of function template specialization 'stan::model::model_functional<model_gp_marginal_namespace::model_gp_marginal>::operator()<stan::math::var_value<double>>' requested here
   51 |   var fx_var = f(x_var);
      |                ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/gradient.hpp:27:17: note: in instantiation of function template specialization 'stan::math::gradient<stan::model::model_functional<model_gp_marginal_namespace::model_gp_marginal>>' requested here
   27 |     stan::math::gradient(model_functional<M>(model, &ss), x, f, grad_f);
      |                 ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/base_hamiltonian.hpp:63:20: note: in instantiation of function template specialization 'stan::model::gradient<model_gp_marginal_namespace::model_gp_marginal>' requested here
   63 |       stan::model::gradient(model_, z.q, z.V, z.g, logger);
      |                    ^
/data/gannet/ripley/R/test-clang/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)
   25 |     hamiltonian.update_potential_gradient(z, logger);
      |                 ^
/data/gannet/ripley/R/test-clang/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_gp_marginal_namespace::model_gp_marginal, 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
   74 |   stan::mcmc::dense_e_nuts<Model, boost::ecuyer1988> sampler(model, rng);
      |                                                      ^
/data/gannet/ripley/R/test-clang/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_gp_marginal_namespace::model_gp_marginal>' requested here
  128 |   return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain,
      |          ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e<model_gp_marginal_namespace::model_gp_marginal>' requested here
  621 |           ::hmc_nuts_dense_e(model, *init_context_ptr,
      |             ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_gp_marginal_namespace::model_gp_marginal, 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
 1215 |     ret = command(args, model_, holder, names_oi_tidx_,
      |           ^
stanExports_gp_marginal.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_gp_marginal_namespace::model_gp_marginal, 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
   15 |     .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
      |                                                                                       ^
In file included from stanExports_gp_marginal.cc:5:
./stanExports_gp_marginal.h:469:26: warning: unused variable 'u' [-Wunused-variable]
  469 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_gp_marginal.h:916:12: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob_impl<false, true, Eigen::Matrix<double, -1, 1>, Eigen::Matrix<int, -1, 1>, nullptr, nullptr>' requested here
  916 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/variational/advi.hpp:514:31: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob<false, true, double>' requested here
  514 |       log_p = model_.template log_prob<false, true>(cont_params_, &msg2);
      |                               ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi<model_gp_marginal_namespace::model_gp_marginal, 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
   82 |   cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj,
      |            ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank<model_gp_marginal_namespace::model_gp_marginal>' requested here
  890 |       ::fullrank(model, *init_context_ptr,
      |         ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_gp_marginal_namespace::model_gp_marginal, 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
 1215 |     ret = command(args, model_, holder, names_oi_tidx_,
      |           ^
stanExports_gp_marginal.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_gp_marginal_namespace::model_gp_marginal, 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
   15 |     .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
      |                                                                                       ^
In file included from stanExports_gp_marginal.cc:5:
./stanExports_gp_marginal.h:469:26: warning: unused variable 'u' [-Wunused-variable]
  469 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_gp_marginal.h:916:12: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob_impl<false, false, Eigen::Matrix<double, -1, 1>, Eigen::Matrix<int, -1, 1>, nullptr, nullptr>' requested here
  916 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base_crtp.hpp:93:50: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob<false, false, double>' requested here
   93 |     return static_cast<const M*>(this)->template log_prob<false, false, double>(
      |                                                  ^
./stanExports_gp_marginal.h:149:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_gp_marginal_namespace::model_gp_marginal>::log_prob' requested here
  149 |   ~model_gp_marginal() {}
      |   ^
./stanExports_gp_marginal.h:469:26: warning: unused variable 'u' [-Wunused-variable]
  469 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_gp_marginal.h:916:12: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob_impl<false, false, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Matrix<int, -1, 1>, nullptr, nullptr>' requested here
  916 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base_crtp.hpp:98:50: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob<false, false, stan::math::var_value<double>>' requested here
   98 |     return static_cast<const M*>(this)->template log_prob<false, false>(theta,
      |                                                  ^
./stanExports_gp_marginal.h:149:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_gp_marginal_namespace::model_gp_marginal>::log_prob' requested here
  149 |   ~model_gp_marginal() {}
      |   ^
./stanExports_gp_marginal.h:469:26: warning: unused variable 'u' [-Wunused-variable]
  469 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_gp_marginal.h:916:12: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob_impl<false, true, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Matrix<int, -1, 1>, nullptr, nullptr>' requested here
  916 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base_crtp.hpp:109:50: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob<false, true, stan::math::var_value<double>>' requested here
  109 |     return static_cast<const M*>(this)->template log_prob<false, true>(theta,
      |                                                  ^
./stanExports_gp_marginal.h:149:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_gp_marginal_namespace::model_gp_marginal>::log_prob_jacobian' requested here
  149 |   ~model_gp_marginal() {}
      |   ^
./stanExports_gp_marginal.h:469:26: warning: unused variable 'u' [-Wunused-variable]
  469 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_gp_marginal.h:916:12: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob_impl<true, false, Eigen::Matrix<double, -1, 1>, Eigen::Matrix<int, -1, 1>, nullptr, nullptr>' requested here
  916 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base_crtp.hpp:115:50: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob<true, false, double>' requested here
  115 |     return static_cast<const M*>(this)->template log_prob<true, false>(theta,
      |                                                  ^
./stanExports_gp_marginal.h:149:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_gp_marginal_namespace::model_gp_marginal>::log_prob_propto' requested here
  149 |   ~model_gp_marginal() {}
      |   ^
./stanExports_gp_marginal.h:469:26: warning: unused variable 'u' [-Wunused-variable]
  469 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_gp_marginal.h:916:12: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob_impl<true, false, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Matrix<int, -1, 1>, nullptr, nullptr>' requested here
  916 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base_crtp.hpp:120:50: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob<true, false, stan::math::var_value<double>>' requested here
  120 |     return static_cast<const M*>(this)->template log_prob<true, false>(theta,
      |                                                  ^
./stanExports_gp_marginal.h:149:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_gp_marginal_namespace::model_gp_marginal>::log_prob_propto' requested here
  149 |   ~model_gp_marginal() {}
      |   ^
./stanExports_gp_marginal.h:469:26: warning: unused variable 'u' [-Wunused-variable]
  469 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_gp_marginal.h:916:12: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob_impl<true, true, Eigen::Matrix<double, -1, 1>, Eigen::Matrix<int, -1, 1>, nullptr, nullptr>' requested here
  916 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base_crtp.hpp:126:50: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob<true, true, double>' requested here
  126 |     return static_cast<const M*>(this)->template log_prob<true, true>(theta,
      |                                                  ^
./stanExports_gp_marginal.h:149:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_gp_marginal_namespace::model_gp_marginal>::log_prob_propto_jacobian' requested here
  149 |   ~model_gp_marginal() {}
      |   ^
./stanExports_gp_marginal.h:469:26: warning: unused variable 'u' [-Wunused-variable]
  469 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_gp_marginal.h:921:12: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob_impl<false, false, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
  921 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base_crtp.hpp:162:50: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob<false, false, stan::math::var_value<double>>' requested here
  162 |     return static_cast<const M*>(this)->template log_prob<false, false>(
      |                                                  ^
./stanExports_gp_marginal.h:149:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_gp_marginal_namespace::model_gp_marginal>::log_prob' requested here
  149 |   ~model_gp_marginal() {}
      |   ^
./stanExports_gp_marginal.h:469:26: warning: unused variable 'u' [-Wunused-variable]
  469 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_gp_marginal.h:921:12: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob_impl<false, true, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
  921 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base_crtp.hpp:175:50: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob<false, true, stan::math::var_value<double>>' requested here
  175 |     return static_cast<const M*>(this)->template log_prob<false, true>(
      |                                                  ^
./stanExports_gp_marginal.h:149:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_gp_marginal_namespace::model_gp_marginal>::log_prob_jacobian' requested here
  149 |   ~model_gp_marginal() {}
      |   ^
./stanExports_gp_marginal.h:469:26: warning: unused variable 'u' [-Wunused-variable]
  469 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_gp_marginal.h:921:12: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob_impl<true, false, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
  921 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base_crtp.hpp:182:50: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob<true, false, double>' requested here
  182 |     return static_cast<const M*>(this)->template log_prob<true, false>(
      |                                                  ^
./stanExports_gp_marginal.h:149:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_gp_marginal_namespace::model_gp_marginal>::log_prob_propto' requested here
  149 |   ~model_gp_marginal() {}
      |   ^
./stanExports_gp_marginal.h:469:26: warning: unused variable 'u' [-Wunused-variable]
  469 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_gp_marginal.h:921:12: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob_impl<true, true, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
  921 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base_crtp.hpp:195:50: note: in instantiation of function template specialization 'model_gp_marginal_namespace::model_gp_marginal::log_prob<true, true, double>' requested here
  195 |     return static_cast<const M*>(this)->template log_prob<true, true>(
      |                                                  ^
./stanExports_gp_marginal.h:149:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_gp_marginal_namespace::model_gp_marginal>::log_prob_propto_jacobian' requested here
  149 |   ~model_gp_marginal() {}
      |   ^
35 warnings generated.


/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/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'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c stanExports_ind_gpp_marginal.cc -o stanExports_ind_gpp_marginal.o
In file included from stanExports_ind_gpp_marginal.cc:5:
In file included from ./stanExports_ind_gpp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from stanExports_ind_gpp_marginal.cc:5:
In file included from ./stanExports_ind_gpp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from stanExports_ind_gpp_marginal.cc:5:
In file included from ./stanExports_ind_gpp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   47 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_ind_gpp_marginal.cc:5:
In file included from ./stanExports_ind_gpp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   70 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_ind_gpp_marginal.cc:5:
In file included from ./stanExports_ind_gpp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from stanExports_ind_gpp_marginal.cc:5:
In file included from ./stanExports_ind_gpp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
In file included from stanExports_ind_gpp_marginal.cc:5:
In file included from ./stanExports_ind_gpp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/data/gannet/ripley/R/test-clang/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]
   57 | struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
      | ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
   45 | class ops_partials_edge;
      | ^~~~~
      | struct
In file included from stanExports_ind_gpp_marginal.cc:5:
In file included from ./stanExports_ind_gpp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:34:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token]
  166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_ind_gpp_marginal.cc:5:
In file included from ./stanExports_ind_gpp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:35:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/dimension.hpp:21:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token]
  125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_ind_gpp_marginal.cc:5:
In file included from ./stanExports_ind_gpp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:35:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/dimension.hpp:21:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/dimension_list.hpp:131:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token]
   49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_ind_gpp_marginal.cc:5:
In file included from ./stanExports_ind_gpp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:39:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/linear_algebra.hpp:20:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token]
   75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_ind_gpp_marginal.cc:5:
In file included from ./stanExports_ind_gpp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:40:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/unscale.hpp:28:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token]
  139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_ind_gpp_marginal.cc:5:
In file included from ./stanExports_ind_gpp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token]
  120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_ind_gpp_marginal.cc:5:
In file included from ./stanExports_ind_gpp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:21:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token]
   99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_ind_gpp_marginal.cc:5:
In file included from ./stanExports_ind_gpp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token]
  495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_ind_gpp_marginal.cc:5:
In file included from ./stanExports_ind_gpp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
 1252 |     int ret = stan::services::error_codes::CONFIG;
      |         ^
In file included from stanExports_ind_gpp_marginal.cc:5:
./stanExports_ind_gpp_marginal.h:1084:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
 1084 |       int pos__ = std::numeric_limits<int>::min();
      |           ^
In file included from stanExports_ind_gpp_marginal.cc:5:
In file included from ./stanExports_ind_gpp_marginal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:46:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/choose.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/binomial.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/beta.hpp:1721:
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable]
   29 |       const T x_extrema = 1 / (1 + a);
      |               ^~~~~~~~~
/data/gannet/ripley/R/test-clang/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
  304 |       temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 2);
      |       ^
/data/gannet/ripley/R/test-clang/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
  615 |                x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol);
      |                    ^
/data/gannet/ripley/R/test-clang/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
  992 |    rx = detail::ibeta_inv_imp(
      |                 ^
/data/gannet/ripley/R/test-clang/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::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
 1023 |    return ibeta_inv(a, b, p, static_cast<result_type*>(nullptr), pol);
      |           ^
/data/gannet/ripley/R/test-clang/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::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
   32 |   return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
      |                       ^
19 warnings generated.


/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/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'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c stanExports_normal.cc -o stanExports_normal.o
In file included from stanExports_normal.cc:5:
In file included from ./stanExports_normal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from stanExports_normal.cc:5:
In file included from ./stanExports_normal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from stanExports_normal.cc:5:
In file included from ./stanExports_normal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   47 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_normal.cc:5:
In file included from ./stanExports_normal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   70 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_normal.cc:5:
In file included from ./stanExports_normal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from stanExports_normal.cc:5:
In file included from ./stanExports_normal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
In file included from stanExports_normal.cc:5:
In file included from ./stanExports_normal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/data/gannet/ripley/R/test-clang/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]
   57 | struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
      | ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
   45 | class ops_partials_edge;
      | ^~~~~
      | struct
In file included from stanExports_normal.cc:5:
In file included from ./stanExports_normal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:34:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token]
  166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_normal.cc:5:
In file included from ./stanExports_normal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:35:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/dimension.hpp:21:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token]
  125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_normal.cc:5:
In file included from ./stanExports_normal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:35:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/dimension.hpp:21:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/dimension_list.hpp:131:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token]
   49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_normal.cc:5:
In file included from ./stanExports_normal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:39:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/linear_algebra.hpp:20:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token]
   75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_normal.cc:5:
In file included from ./stanExports_normal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:40:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/unscale.hpp:28:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token]
  139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_normal.cc:5:
In file included from ./stanExports_normal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token]
  120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_normal.cc:5:
In file included from ./stanExports_normal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:21:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token]
   99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_normal.cc:5:
In file included from ./stanExports_normal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token]
  495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_normal.cc:5:
In file included from ./stanExports_normal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
 1252 |     int ret = stan::services::error_codes::CONFIG;
      |         ^
In file included from stanExports_normal.cc:5:
./stanExports_normal.h:74:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
   74 |       int pos__ = std::numeric_limits<int>::min();
      |           ^
./stanExports_normal.h:246:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
  246 |       int pos__ = std::numeric_limits<int>::min();
      |           ^
./stanExports_normal.h:277:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
  277 |       int pos__ = std::numeric_limits<int>::min();
      |           ^
In file included from stanExports_normal.cc:5:
In file included from ./stanExports_normal.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:46:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/choose.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/binomial.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/beta.hpp:1721:
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable]
   29 |       const T x_extrema = 1 / (1 + a);
      |               ^~~~~~~~~
/data/gannet/ripley/R/test-clang/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
  304 |       temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 2);
      |       ^
/data/gannet/ripley/R/test-clang/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
  615 |                x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol);
      |                    ^
/data/gannet/ripley/R/test-clang/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
  992 |    rx = detail::ibeta_inv_imp(
      |                 ^
/data/gannet/ripley/R/test-clang/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::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
 1023 |    return ibeta_inv(a, b, p, static_cast<result_type*>(nullptr), pol);
      |           ^
/data/gannet/ripley/R/test-clang/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::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
   32 |   return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
      |                       ^
21 warnings generated.


/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"/data/gannet/ripley/R/test-clang/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'/data/gannet/ripley/R/test-clang/BH/include' -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/rstan/include' -I'/data/gannet/ripley/R/test-clang/StanHeaders/include' -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -I'/data/gannet/ripley/R/test-clang/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c stanExports_spatial_model.cc -o stanExports_spatial_model.o
In file included from stanExports_spatial_model.cc:5:
In file included from ./stanExports_spatial_model.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from stanExports_spatial_model.cc:5:
In file included from ./stanExports_spatial_model.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:3:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
In file included from stanExports_spatial_model.cc:5:
In file included from ./stanExports_spatial_model.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   47 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_spatial_model.cc:5:
In file included from ./stanExports_spatial_model.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:21:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
   70 |       virtual std::streamsize xsputn(const char_type* s, int n) {
      |                               ^
/usr/local/clang18/bin/../include/c++/v1/streambuf:276:22: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('streamsize' (aka 'long') vs 'int')
  276 |   virtual streamsize xsputn(const char_type* __s, streamsize __n);
      |                      ^
In file included from stanExports_spatial_model.cc:5:
In file included from ./stanExports_spatial_model.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
   72 |                         Index replacements = 0;
      |                               ^
In file included from stanExports_spatial_model.cc:5:
In file included from ./stanExports_spatial_model.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  246 |   int count = 0;
      |       ^
In file included from stanExports_spatial_model.cc:5:
In file included from ./stanExports_spatial_model.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/data/gannet/ripley/R/test-clang/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]
   57 | struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
      | ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
   45 | class ops_partials_edge;
      | ^~~~~
      | struct
In file included from stanExports_spatial_model.cc:5:
In file included from ./stanExports_spatial_model.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:34:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/static_rational.hpp:166:10: warning: extension used [-Wlanguage-extension-token]
  166 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_spatial_model.cc:5:
In file included from ./stanExports_spatial_model.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:35:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/dimension.hpp:21:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/dimension_list.hpp:125:10: warning: extension used [-Wlanguage-extension-token]
  125 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_spatial_model.cc:5:
In file included from ./stanExports_spatial_model.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:35:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/dimension.hpp:21:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/dimension_list.hpp:131:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/dimensionless_type.hpp:49:10: warning: extension used [-Wlanguage-extension-token]
   49 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_spatial_model.cc:5:
In file included from ./stanExports_spatial_model.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:39:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/linear_algebra.hpp:20:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/dim.hpp:75:10: warning: extension used [-Wlanguage-extension-token]
   75 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_spatial_model.cc:5:
In file included from ./stanExports_spatial_model.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:40:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/unscale.hpp:28:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/scale.hpp:139:10: warning: extension used [-Wlanguage-extension-token]
  139 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_spatial_model.cc:5:
In file included from ./stanExports_spatial_model.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:20:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/heterogeneous_system.hpp:120:10: warning: extension used [-Wlanguage-extension-token]
  120 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_spatial_model.cc:5:
In file included from ./stanExports_spatial_model.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:29:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/conversion.hpp:17:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/units/detail/conversion_impl.hpp:21:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/homogeneous_system.hpp:99:10: warning: extension used [-Wlanguage-extension-token]
   99 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_spatial_model.cc:5:
In file included from ./stanExports_spatial_model.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor.hpp:16:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint.hpp:25:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/ublas_wrapper.hpp:30:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/algebra/default_operations.hpp:26:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/numeric/odeint/util/unit_helper.hpp:23:
/data/gannet/ripley/R/test-clang/BH/include/boost/units/quantity.hpp:495:10: warning: extension used [-Wlanguage-extension-token]
  495 | #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
      |          ^
/data/gannet/ripley/R/test-clang/BH/include/boost/typeof/typeof.hpp:28:13: note: expanded from macro 'BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP'
   28 |      <boost/typeof/incr_registration_group.hpp>
      |             ^
In file included from stanExports_spatial_model.cc:5:
In file included from ./stanExports_spatial_model.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
 1252 |     int ret = stan::services::error_codes::CONFIG;
      |         ^
In file included from stanExports_spatial_model.cc:5:
./stanExports_spatial_model.h:490:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
  490 |       int pos__ = std::numeric_limits<int>::min();
      |           ^
In file included from stanExports_spatial_model.cc:5:
In file included from ./stanExports_spatial_model.h:23:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/rstaninc.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:43:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun.hpp:46:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/fun/choose.hpp:7:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/binomial.hpp:15:
In file included from /data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/beta.hpp:1721:
/data/gannet/ripley/R/test-clang/BH/include/boost/math/special_functions/detail/ibeta_inverse.hpp:29:15: warning: unused variable 'x_extrema' [-Wunused-variable]
   29 |       const T x_extrema = 1 / (1 + a);
      |               ^~~~~~~~~
/data/gannet/ripley/R/test-clang/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
  304 |       temme_root_finder<T>(-lu, alpha), x, lower, upper, policies::digits<T, Policy>() / 2);
      |       ^
/data/gannet/ripley/R/test-clang/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
  615 |                x = temme_method_2_ibeta_inverse(a, b, p, r, theta, pol);
      |                    ^
/data/gannet/ripley/R/test-clang/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
  992 |    rx = detail::ibeta_inv_imp(
      |                 ^
/data/gannet/ripley/R/test-clang/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::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
 1023 |    return ibeta_inv(a, b, p, static_cast<result_type*>(nullptr), pol);
      |           ^
/data/gannet/ripley/R/test-clang/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::pole_error<boost::math::policies::errno_on_error>, boost::math::policies::promote_double<false>, boost::math::policies::digits2<>>>' requested here
   32 |   return boost::math::ibeta_inv(a, b, p, boost_policy_t<>());
      |                       ^
In file included from stanExports_spatial_model.cc:5:
./stanExports_spatial_model.h:360:26: warning: unused variable 'u' [-Wunused-variable]
  360 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_spatial_model.h:693:12: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob_impl<false, true, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
  693 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob<false, true, double>' requested here
  129 |       log_prob = model.template log_prob<false, Jacobian>(unconstrained,
      |                                 ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_spatial_model_namespace::model_spatial_model, 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
   49 |   std::vector<double> cont_vector = util::initialize(
      |                                           ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_spatial_model_namespace::model_spatial_model>' requested here
  481 |     return_code = stan::services::diagnose::diagnose(model,
      |                                             ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_spatial_model_namespace::model_spatial_model, 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
 1215 |     ret = command(args, model_, holder, names_oi_tidx_,
      |           ^
stanExports_spatial_model.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_spatial_model_namespace::model_spatial_model, 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
   15 |     .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
      |                                                                                       ^
In file included from stanExports_spatial_model.cc:5:
./stanExports_spatial_model.h:360:26: warning: unused variable 'u' [-Wunused-variable]
  360 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_spatial_model.h:693:12: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob_impl<true, true, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
  693 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob<true, true, stan::math::var_value<double>>' requested here
   40 |     var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
      |                                    ^
/data/gannet/ripley/R/test-clang/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_spatial_model_namespace::model_spatial_model>' requested here
  167 |       log_prob = stan::model::log_prob_grad<true, Jacobian>(
      |                               ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_spatial_model_namespace::model_spatial_model, 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
   49 |   std::vector<double> cont_vector = util::initialize(
      |                                           ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_spatial_model_namespace::model_spatial_model>' requested here
  481 |     return_code = stan::services::diagnose::diagnose(model,
      |                                             ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_spatial_model_namespace::model_spatial_model, 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
 1215 |     ret = command(args, model_, holder, names_oi_tidx_,
      |           ^
stanExports_spatial_model.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_spatial_model_namespace::model_spatial_model, 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
   15 |     .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
      |                                                                                       ^
In file included from stanExports_spatial_model.cc:5:
./stanExports_spatial_model.h:360:26: warning: unused variable 'u' [-Wunused-variable]
  360 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_spatial_model.h:693:12: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob_impl<true, false, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
  693 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/log_prob_grad.hpp:40:36: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob<true, false, stan::math::var_value<double>>' requested here
   40 |     var adLogProb = model.template log_prob<propto, jacobian_adjust_transform>(
      |                                    ^
/data/gannet/ripley/R/test-clang/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_spatial_model_namespace::model_spatial_model>' requested here
  167 |       log_prob = stan::model::log_prob_grad<true, Jacobian>(
      |                               ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/optimize/newton.hpp:50:43: note: in instantiation of function template specialization 'stan::services::util::initialize<false, model_spatial_model_namespace::model_spatial_model, 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
   50 |   std::vector<double> cont_vector = util::initialize<false>(
      |                                           ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton<model_spatial_model_namespace::model_spatial_model, false>' requested here
  502 |       = stan::services::optimize::newton(model, *init_context_ptr,
      |                                   ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_spatial_model_namespace::model_spatial_model, 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
 1215 |     ret = command(args, model_, holder, names_oi_tidx_,
      |           ^
stanExports_spatial_model.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_spatial_model_namespace::model_spatial_model, 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
   15 |     .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
      |                                                                                       ^
In file included from stanExports_spatial_model.cc:5:
./stanExports_spatial_model.h:360:26: warning: unused variable 'u' [-Wunused-variable]
  360 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_spatial_model.h:693:12: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob_impl<false, false, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
  693 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/optimize/newton.hpp:56:25: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob<false, false, double>' requested here
   56 |     lp = model.template log_prob<false, jacobian>(cont_vector, disc_vector,
      |                         ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:502:35: note: in instantiation of function template specialization 'stan::services::optimize::newton<model_spatial_model_namespace::model_spatial_model, false>' requested here
  502 |       = stan::services::optimize::newton(model, *init_context_ptr,
      |                                   ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_spatial_model_namespace::model_spatial_model, 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
 1215 |     ret = command(args, model_, holder, names_oi_tidx_,
      |           ^
stanExports_spatial_model.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_spatial_model_namespace::model_spatial_model, 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
   15 |     .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
      |                                                                                       ^
In file included from stanExports_spatial_model.cc:5:
./stanExports_spatial_model.h:360:26: warning: unused variable 'u' [-Wunused-variable]
  360 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_spatial_model.h:688:12: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob_impl<true, true, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Matrix<int, -1, 1>, nullptr, nullptr>' requested here
  688 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_functional.hpp:21:27: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob<true, true, stan::math::var_value<double>>' requested here
   21 |     return model.template log_prob<true, true, T>(
      |                           ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/functor/gradient.hpp:51:16: note: in instantiation of function template specialization 'stan::model::model_functional<model_spatial_model_namespace::model_spatial_model>::operator()<stan::math::var_value<double>>' requested here
   51 |   var fx_var = f(x_var);
      |                ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/gradient.hpp:27:17: note: in instantiation of function template specialization 'stan::math::gradient<stan::model::model_functional<model_spatial_model_namespace::model_spatial_model>>' requested here
   27 |     stan::math::gradient(model_functional<M>(model, &ss), x, f, grad_f);
      |                 ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/mcmc/hmc/hamiltonians/base_hamiltonian.hpp:63:20: note: in instantiation of function template specialization 'stan::model::gradient<model_spatial_model_namespace::model_spatial_model>' requested here
   63 |       stan::model::gradient(model_, z.q, z.V, z.g, logger);
      |                    ^
/data/gannet/ripley/R/test-clang/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)
   25 |     hamiltonian.update_potential_gradient(z, logger);
      |                 ^
/data/gannet/ripley/R/test-clang/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_spatial_model_namespace::model_spatial_model, 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
   74 |   stan::mcmc::dense_e_nuts<Model, boost::ecuyer1988> sampler(model, rng);
      |                                                      ^
/data/gannet/ripley/R/test-clang/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_spatial_model_namespace::model_spatial_model>' requested here
  128 |   return hmc_nuts_dense_e(model, init, unit_e_metric, random_seed, chain,
      |          ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:621:13: note: in instantiation of function template specialization 'stan::services::sample::hmc_nuts_dense_e<model_spatial_model_namespace::model_spatial_model>' requested here
  621 |           ::hmc_nuts_dense_e(model, *init_context_ptr,
      |             ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_spatial_model_namespace::model_spatial_model, 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
 1215 |     ret = command(args, model_, holder, names_oi_tidx_,
      |           ^
stanExports_spatial_model.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_spatial_model_namespace::model_spatial_model, 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
   15 |     .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
      |                                                                                       ^
In file included from stanExports_spatial_model.cc:5:
./stanExports_spatial_model.h:360:26: warning: unused variable 'u' [-Wunused-variable]
  360 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_spatial_model.h:688:12: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob_impl<false, true, Eigen::Matrix<double, -1, 1>, Eigen::Matrix<int, -1, 1>, nullptr, nullptr>' requested here
  688 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/variational/advi.hpp:514:31: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob<false, true, double>' requested here
  514 |       log_p = model_.template log_prob<false, true>(cont_params_, &msg2);
      |                               ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/services/experimental/advi/fullrank.hpp:82:12: note: in instantiation of member function 'stan::variational::advi<model_spatial_model_namespace::model_spatial_model, 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
   82 |   cmd_advi.run(eta, adapt_engaged, adapt_iterations, tol_rel_obj,
      |            ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:890:9: note: in instantiation of function template specialization 'stan::services::experimental::advi::fullrank<model_spatial_model_namespace::model_spatial_model>' requested here
  890 |       ::fullrank(model, *init_context_ptr,
      |         ^
/data/gannet/ripley/R/test-clang/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_spatial_model_namespace::model_spatial_model, 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
 1215 |     ret = command(args, model_, holder, names_oi_tidx_,
      |           ^
stanExports_spatial_model.cc:15:87: note: in instantiation of member function 'rstan::stan_fit<model_spatial_model_namespace::model_spatial_model, 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
   15 |     .method("call_sampler", &rstan::stan_fit<stan_model, boost::random::ecuyer1988> ::call_sampler)
      |                                                                                       ^
In file included from stanExports_spatial_model.cc:5:
./stanExports_spatial_model.h:360:26: warning: unused variable 'u' [-Wunused-variable]
  360 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_spatial_model.h:688:12: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob_impl<false, false, Eigen::Matrix<double, -1, 1>, Eigen::Matrix<int, -1, 1>, nullptr, nullptr>' requested here
  688 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base_crtp.hpp:93:50: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob<false, false, double>' requested here
   93 |     return static_cast<const M*>(this)->template log_prob<false, false, double>(
      |                                                  ^
./stanExports_spatial_model.h:97:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_spatial_model_namespace::model_spatial_model>::log_prob' requested here
   97 |   ~model_spatial_model() {}
      |   ^
./stanExports_spatial_model.h:360:26: warning: unused variable 'u' [-Wunused-variable]
  360 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_spatial_model.h:688:12: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob_impl<false, false, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Matrix<int, -1, 1>, nullptr, nullptr>' requested here
  688 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base_crtp.hpp:98:50: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob<false, false, stan::math::var_value<double>>' requested here
   98 |     return static_cast<const M*>(this)->template log_prob<false, false>(theta,
      |                                                  ^
./stanExports_spatial_model.h:97:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_spatial_model_namespace::model_spatial_model>::log_prob' requested here
   97 |   ~model_spatial_model() {}
      |   ^
./stanExports_spatial_model.h:360:26: warning: unused variable 'u' [-Wunused-variable]
  360 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_spatial_model.h:688:12: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob_impl<false, true, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Matrix<int, -1, 1>, nullptr, nullptr>' requested here
  688 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base_crtp.hpp:109:50: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob<false, true, stan::math::var_value<double>>' requested here
  109 |     return static_cast<const M*>(this)->template log_prob<false, true>(theta,
      |                                                  ^
./stanExports_spatial_model.h:97:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_spatial_model_namespace::model_spatial_model>::log_prob_jacobian' requested here
   97 |   ~model_spatial_model() {}
      |   ^
./stanExports_spatial_model.h:360:26: warning: unused variable 'u' [-Wunused-variable]
  360 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_spatial_model.h:688:12: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob_impl<true, false, Eigen::Matrix<double, -1, 1>, Eigen::Matrix<int, -1, 1>, nullptr, nullptr>' requested here
  688 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base_crtp.hpp:115:50: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob<true, false, double>' requested here
  115 |     return static_cast<const M*>(this)->template log_prob<true, false>(theta,
      |                                                  ^
./stanExports_spatial_model.h:97:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_spatial_model_namespace::model_spatial_model>::log_prob_propto' requested here
   97 |   ~model_spatial_model() {}
      |   ^
./stanExports_spatial_model.h:360:26: warning: unused variable 'u' [-Wunused-variable]
  360 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_spatial_model.h:688:12: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob_impl<true, false, Eigen::Matrix<stan::math::var_value<double>, -1, 1>, Eigen::Matrix<int, -1, 1>, nullptr, nullptr>' requested here
  688 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base_crtp.hpp:120:50: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob<true, false, stan::math::var_value<double>>' requested here
  120 |     return static_cast<const M*>(this)->template log_prob<true, false>(theta,
      |                                                  ^
./stanExports_spatial_model.h:97:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_spatial_model_namespace::model_spatial_model>::log_prob_propto' requested here
   97 |   ~model_spatial_model() {}
      |   ^
./stanExports_spatial_model.h:360:26: warning: unused variable 'u' [-Wunused-variable]
  360 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_spatial_model.h:688:12: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob_impl<true, true, Eigen::Matrix<double, -1, 1>, Eigen::Matrix<int, -1, 1>, nullptr, nullptr>' requested here
  688 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base_crtp.hpp:126:50: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob<true, true, double>' requested here
  126 |     return static_cast<const M*>(this)->template log_prob<true, true>(theta,
      |                                                  ^
./stanExports_spatial_model.h:97:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_spatial_model_namespace::model_spatial_model>::log_prob_propto_jacobian' requested here
   97 |   ~model_spatial_model() {}
      |   ^
./stanExports_spatial_model.h:360:26: warning: unused variable 'u' [-Wunused-variable]
  360 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_spatial_model.h:693:12: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob_impl<false, false, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
  693 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base_crtp.hpp:162:50: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob<false, false, stan::math::var_value<double>>' requested here
  162 |     return static_cast<const M*>(this)->template log_prob<false, false>(
      |                                                  ^
./stanExports_spatial_model.h:97:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_spatial_model_namespace::model_spatial_model>::log_prob' requested here
   97 |   ~model_spatial_model() {}
      |   ^
./stanExports_spatial_model.h:360:26: warning: unused variable 'u' [-Wunused-variable]
  360 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_spatial_model.h:693:12: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob_impl<false, true, std::vector<stan::math::var_value<double>>, std::vector<int>, nullptr, nullptr>' requested here
  693 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base_crtp.hpp:175:50: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob<false, true, stan::math::var_value<double>>' requested here
  175 |     return static_cast<const M*>(this)->template log_prob<false, true>(
      |                                                  ^
./stanExports_spatial_model.h:97:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_spatial_model_namespace::model_spatial_model>::log_prob_jacobian' requested here
   97 |   ~model_spatial_model() {}
      |   ^
./stanExports_spatial_model.h:360:26: warning: unused variable 'u' [-Wunused-variable]
  360 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_spatial_model.h:693:12: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob_impl<true, false, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
  693 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base_crtp.hpp:182:50: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob<true, false, double>' requested here
  182 |     return static_cast<const M*>(this)->template log_prob<true, false>(
      |                                                  ^
./stanExports_spatial_model.h:97:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_spatial_model_namespace::model_spatial_model>::log_prob_propto' requested here
   97 |   ~model_spatial_model() {}
      |   ^
./stanExports_spatial_model.h:360:26: warning: unused variable 'u' [-Wunused-variable]
  360 |         local_scalar_t__ u = DUMMY_VAR__;
      |                          ^
./stanExports_spatial_model.h:693:12: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob_impl<true, true, std::vector<double>, std::vector<int>, nullptr, nullptr>' requested here
  693 |     return log_prob_impl<propto__, jacobian__>(params_r, params_i, pstream);
      |            ^
/data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base_crtp.hpp:195:50: note: in instantiation of function template specialization 'model_spatial_model_namespace::model_spatial_model::log_prob<true, true, double>' requested here
  195 |     return static_cast<const M*>(this)->template log_prob<true, true>(
      |                                                  ^
./stanExports_spatial_model.h:97:3: note: in instantiation of member function 'stan::model::model_base_crtp<model_spatial_model_namespace::model_spatial_model>::log_prob_propto_jacobian' requested here
   97 |   ~model_spatial_model() {}
      |   ^
35 warnings generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang18/lib -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o bmstdr.so RcppExports.o crps.o stanExports_gp_marginal.o stanExports_ind_gpp_marginal.o stanExports_normal.o stanExports_spatial_model.o -L/data/gannet/ripley/R/test-clang/RcppParallel/lib/ -Wl,-rpath,/data/gannet/ripley/R/test-clang/RcppParallel/lib/ -ltbb -ltbbmalloc
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/bmstdr/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/bmstdr/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/bmstdr/src'
installing to /data/gannet/ripley/R/packages/tests-clang/bmstdr.Rcheck/00LOCK-bmstdr/00new/bmstdr/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (bmstdr)