* installing *source* package ‘rstan’ ...
** package ‘rstan’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 18.1.4’
using C++17
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/rstan/src'
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -D_REENTRANT -DSTAN_THREADS -DUSE_STANC3 -DSTRICT_R_HEADERS -D_HAS_AUTO_PTR_ETC=0  -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/BH/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   -DSTRICT_R_HEADERS -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c Module.cpp -o Module.o
In file included from Module.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base.hpp:5:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/accumulate_adjoints.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta.hpp:72:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
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 Module.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/src/stan/model/model_base.hpp:5:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/rev/core/accumulate_adjoints.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta.hpp:72:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
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 Module.cpp:5:
../inst/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 Module.cpp:5:
../inst/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);
      |                      ^
5 warnings generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -D_REENTRANT -DSTAN_THREADS -DUSE_STANC3 -DSTRICT_R_HEADERS -D_HAS_AUTO_PTR_ETC=0  -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/BH/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   -DSTRICT_R_HEADERS -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c chains.cpp -o chains.o
In file included from chains.cpp:19:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:10:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/core.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/err/invalid_argument.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta.hpp:72:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
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 chains.cpp:19:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:10:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/core.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/err/invalid_argument.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta.hpp:72:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
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 chains.cpp:19:
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 chains.cpp:19:
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 chains.cpp:19:
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 chains.cpp:19:
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 chains.cpp:19:
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 chains.cpp:19:
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 chains.cpp:19:
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 chains.cpp:19:
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 chains.cpp:19:
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 chains.cpp:19:
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::overflow_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::overflow_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::errno_on_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::errno_on_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<>());
      |                       ^
13 warnings generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -D_REENTRANT -DSTAN_THREADS -DUSE_STANC3 -DSTRICT_R_HEADERS -D_HAS_AUTO_PTR_ETC=0  -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/BH/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   -DSTRICT_R_HEADERS -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c init.cpp -o init.o
In file included from init.cpp:25:
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 init.cpp:25:
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 init.cpp:25:
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 init.cpp:25:
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"../inst/include/boost_not_in_BH" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -D_REENTRANT -DSTAN_THREADS -DUSE_STANC3 -DSTRICT_R_HEADERS -D_HAS_AUTO_PTR_ETC=0  -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/BH/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   -DSTRICT_R_HEADERS -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c misc.cpp -o misc.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -D_REENTRANT -DSTAN_THREADS -DUSE_STANC3 -DSTRICT_R_HEADERS -D_HAS_AUTO_PTR_ETC=0  -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/BH/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   -DSTRICT_R_HEADERS -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c pointer-tools.cpp -o pointer-tools.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -D_REENTRANT -DSTAN_THREADS -DUSE_STANC3 -DSTRICT_R_HEADERS -D_HAS_AUTO_PTR_ETC=0  -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/BH/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   -DSTRICT_R_HEADERS -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c sparse_extractors.cpp -o sparse_extractors.o
In file included from sparse_extractors.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:10:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/core.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/err/invalid_argument.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta.hpp:72:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
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 sparse_extractors.cpp:2:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim.hpp:10:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/core.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/core/init_threadpool_tbb.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/err/invalid_argument.hpp:4:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta.hpp:72:
In file included from /data/gannet/ripley/R/test-clang/StanHeaders/include/stan/math/prim/meta/append_return_type.hpp:4:
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 sparse_extractors.cpp:2:
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 sparse_extractors.cpp:2:
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 sparse_extractors.cpp:2:
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 sparse_extractors.cpp:2:
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 sparse_extractors.cpp:2:
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 sparse_extractors.cpp:2:
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 sparse_extractors.cpp:2:
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 sparse_extractors.cpp:2:
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 sparse_extractors.cpp:2:
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 sparse_extractors.cpp:5:
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 sparse_extractors.cpp:5:
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 sparse_extractors.cpp:2:
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::overflow_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::overflow_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::errno_on_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::errno_on_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<>());
      |                       ^
15 warnings generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -D_REENTRANT -DSTAN_THREADS -DUSE_STANC3 -DSTRICT_R_HEADERS -D_HAS_AUTO_PTR_ETC=0  -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/BH/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   -DSTRICT_R_HEADERS -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c stan_fit_base.cpp -o stan_fit_base.o
In file included from stan_fit_base.cpp:1:
In file included from ../inst/include/rstan_next/stan_fit_base.hpp:5:
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 stan_fit_base.cpp:1:
In file included from ../inst/include/rstan_next/stan_fit_base.hpp:5:
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 stan_fit_base.cpp:1:
In file included from ../inst/include/rstan_next/stan_fit_base.hpp:8:
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 stan_fit_base.cpp:1:
In file included from ../inst/include/rstan_next/stan_fit_base.hpp:8:
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"../inst/include/boost_not_in_BH" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -D_REENTRANT -DSTAN_THREADS -DUSE_STANC3 -DSTRICT_R_HEADERS -D_HAS_AUTO_PTR_ETC=0  -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/BH/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   -DSTRICT_R_HEADERS -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c stan_fit_rccp.cpp -o stan_fit_rccp.o
In file included from stan_fit_rccp.cpp:1:
In file included from ../inst/include/rstan_next/stan_fit_base.hpp:5:
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 stan_fit_rccp.cpp:1:
In file included from ../inst/include/rstan_next/stan_fit_base.hpp:5:
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 stan_fit_rccp.cpp:1:
In file included from ../inst/include/rstan_next/stan_fit_base.hpp:8:
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 stan_fit_rccp.cpp:1:
In file included from ../inst/include/rstan_next/stan_fit_base.hpp:8:
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"../inst/include/boost_not_in_BH" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -D_REENTRANT -DSTAN_THREADS -DUSE_STANC3 -DSTRICT_R_HEADERS -D_HAS_AUTO_PTR_ETC=0  -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/BH/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   -DSTRICT_R_HEADERS -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c version.cpp -o version.o
/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 rstan.so Module.o chains.o init.o misc.o pointer-tools.o sparse_extractors.o stan_fit_base.o stan_fit_rccp.o version.o
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"/data/gannet/ripley/R/test-clang/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -D_REENTRANT -DSTAN_THREADS -DUSE_STANC3 -DSTRICT_R_HEADERS -D_HAS_AUTO_PTR_ETC=0  -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/BH/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   -DSTRICT_R_HEADERS -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c stan_fit.cpp -o stan_fit.o
In file included from stan_fit.cpp:1:
In file included from ../inst/include/rstan_next/stan_fit.hpp:5:
In file included from ../inst/include/rstan_next/stan_fit_base.hpp:5:
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 stan_fit.cpp:1:
In file included from ../inst/include/rstan_next/stan_fit.hpp:5:
In file included from ../inst/include/rstan_next/stan_fit_base.hpp:5:
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 stan_fit.cpp:1:
In file included from ../inst/include/rstan_next/stan_fit.hpp:5:
In file included from ../inst/include/rstan_next/stan_fit_base.hpp:8:
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 stan_fit.cpp:1:
In file included from ../inst/include/rstan_next/stan_fit.hpp:5:
In file included from ../inst/include/rstan_next/stan_fit_base.hpp:8:
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 stan_fit.cpp:20:
../inst/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 stan_fit.cpp:20:
../inst/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 stan_fit.cpp:42:
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 stan_fit.cpp:42:
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 stan_fit.cpp:42:
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 stan_fit.cpp:42:
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 stan_fit.cpp:42:
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 stan_fit.cpp:42:
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 stan_fit.cpp:42:
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 stan_fit.cpp:42:
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 stan_fit.cpp:42:
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>
      |             ^
stan_fit.cpp:1184:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
 1184 |     int ret = stan::services::error_codes::CONFIG;
      |         ^
In file included from stan_fit.cpp:42:
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::overflow_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::overflow_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::errno_on_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::errno_on_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<>());
      |                       ^
18 warnings generated.
ar -rs ../inst/lib//libStanServices.a stan_fit.o stan_fit_base.o
ar: creating ../inst/lib//libStanServices.a
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/rstan/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/rstan/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/rstan/src'
installing to /data/gannet/ripley/R/packages/tests-clang/rstan.Rcheck/00LOCK-rstan/00new/rstan/libs
** R
** exec
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (rstan)