* installing *source* package ‘EpiNow2’ ...
** this is package ‘EpiNow2’ version ‘1.9.0’
** package ‘EpiNow2’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++17
using SDK: ‘MacOSX11.3.1.sdk’


clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include' -I/opt/R/x86_64/include    -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2   -c RcppExports.cpp -o RcppExports.o


clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include' -I/opt/R/x86_64/include    -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2   -c stanExports_dist_fit.cc -o stanExports_dist_fit.o


In file included from RcppExports.cpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigen.h:25:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigenForward.h:29:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/Sparse:26:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/SparseCore:61:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
      Index count = 0;
            ^
In file included from RcppExports.cpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigen.h:25:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigenForward.h:29:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/Sparse:29:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/SparseLU:35:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/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]
  Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
        ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
  Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
        ^
In file included from RcppExports.cpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigen.h:25:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigenForward.h:31:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
                        Index replacements = 0;
                              ^
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include' -I/opt/R/x86_64/include    -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2   -c stanExports_estimate_dist.cc -o stanExports_estimate_dist.o
In file included from RcppExports.cpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigen.h:25:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigenForward.h:37:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  int count = 0;
      ^


clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include' -I/opt/R/x86_64/include    -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2   -c stanExports_estimate_infections.cc -o stanExports_estimate_infections.o


5 warnings generated.
In file included from stanExports_dist_fit.cc:5:
In file included from ./stanExports_dist_fit.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/Sparse:26:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/SparseCore:61:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
      Index count = 0;
            ^
In file included from stanExports_dist_fit.cc:5:
In file included from ./stanExports_dist_fit.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/Sparse:29:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/SparseLU:35:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/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]
  Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
        ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
  Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
        ^
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include' -I/opt/R/x86_64/include    -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2   -c stanExports_estimate_secondary.cc -o stanExports_estimate_secondary.o
In file included from stanExports_dist_fit.cc:5:
In file included from ./stanExports_dist_fit.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_dist_fit.cc:5:
In file included from ./stanExports_dist_fit.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^


In file included from stanExports_dist_fit.cc:5:
In file included from ./stanExports_dist_fit.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:31:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigen.h:25:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigenForward.h:31:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
                        Index replacements = 0;
                              ^
In file included from stanExports_dist_fit.cc:5:
In file included from ./stanExports_dist_fit.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:31:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigen.h:25:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigenForward.h:37:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  int count = 0;
      ^
In file included from stanExports_estimate_dist.cc:5:
In file included from ./stanExports_estimate_dist.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/Sparse:26:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/SparseCore:61:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
      Index count = 0;
            ^
In file included from stanExports_estimate_dist.cc:5:
In file included from ./stanExports_estimate_dist.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/Sparse:29:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/SparseLU:35:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/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]
  Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
        ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
  Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
        ^
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include' -I/opt/R/x86_64/include    -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2   -c stanExports_estimate_truncation.cc -o stanExports_estimate_truncation.o
In file included from stanExports_estimate_dist.cc:5:
In file included from ./stanExports_estimate_dist.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_estimate_dist.cc:5:
In file included from ./stanExports_estimate_dist.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^


In file included from stanExports_estimate_dist.cc:5:
In file included from ./stanExports_estimate_dist.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:31:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigen.h:25:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigenForward.h:31:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
                        Index replacements = 0;
                              ^
In file included from stanExports_estimate_dist.cc:5:
In file included from ./stanExports_estimate_dist.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:31:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigen.h:25:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigenForward.h:37:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  int count = 0;
      ^
In file included from stanExports_estimate_infections.cc:5:
In file included from ./stanExports_estimate_infections.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/Sparse:26:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/SparseCore:61:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
      Index count = 0;
            ^
In file included from stanExports_estimate_infections.cc:5:
In file included from ./stanExports_estimate_infections.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/Sparse:29:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/SparseLU:35:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/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]
  Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
        ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
  Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
        ^
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include' -I/opt/R/x86_64/include    -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2   -c stanExports_simulate_infections.cc -o stanExports_simulate_infections.o


In file included from stanExports_dist_fit.cc:5:
In file included from ./stanExports_dist_fit.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:43:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
class ops_partials_edge;
^~~~~
struct
In file included from stanExports_estimate_infections.cc:5:
In file included from ./stanExports_estimate_infections.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_estimate_infections.cc:5:
In file included from ./stanExports_estimate_infections.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_estimate_infections.cc:5:
In file included from ./stanExports_estimate_infections.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:31:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigen.h:25:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigenForward.h:31:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
                        Index replacements = 0;
                              ^
In file included from stanExports_estimate_infections.cc:5:
In file included from ./stanExports_estimate_infections.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:31:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigen.h:25:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigenForward.h:37:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  int count = 0;
      ^
In file included from stanExports_estimate_secondary.cc:5:
In file included from ./stanExports_estimate_secondary.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/Sparse:26:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/SparseCore:61:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
      Index count = 0;
            ^
In file included from stanExports_estimate_secondary.cc:5:
In file included from ./stanExports_estimate_secondary.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/Sparse:29:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/SparseLU:35:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/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]
  Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
        ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
  Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
        ^
In file included from stanExports_estimate_dist.cc:5:
In file included from ./stanExports_estimate_dist.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:43:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
class ops_partials_edge;
^~~~~
struct
In file included from stanExports_estimate_secondary.cc:5:
In file included from ./stanExports_estimate_secondary.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_estimate_secondary.cc:5:
In file included from ./stanExports_estimate_secondary.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_estimate_secondary.cc:5:
In file included from ./stanExports_estimate_secondary.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:31:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigen.h:25:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigenForward.h:31:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
                        Index replacements = 0;
                              ^
In file included from stanExports_estimate_secondary.cc:5:
In file included from ./stanExports_estimate_secondary.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:31:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigen.h:25:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigenForward.h:37:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  int count = 0;
      ^
In file included from stanExports_estimate_truncation.cc:5:
In file included from ./stanExports_estimate_truncation.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/Sparse:26:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/SparseCore:61:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
      Index count = 0;
            ^
In file included from stanExports_estimate_truncation.cc:5:
In file included from ./stanExports_estimate_truncation.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/Sparse:29:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/SparseLU:35:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/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]
  Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
        ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
  Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
        ^
In file included from stanExports_estimate_truncation.cc:5:
In file included from ./stanExports_estimate_truncation.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_estimate_truncation.cc:5:
In file included from ./stanExports_estimate_truncation.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_estimate_infections.cc:5:
In file included from ./stanExports_estimate_infections.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:43:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
class ops_partials_edge;
^~~~~
struct
In file included from stanExports_estimate_truncation.cc:5:
In file included from ./stanExports_estimate_truncation.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:31:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigen.h:25:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigenForward.h:31:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
                        Index replacements = 0;
                              ^
In file included from stanExports_estimate_truncation.cc:5:
In file included from ./stanExports_estimate_truncation.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:31:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigen.h:25:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigenForward.h:37:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  int count = 0;
      ^
In file included from stanExports_simulate_infections.cc:5:
In file included from ./stanExports_simulate_infections.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/Sparse:26:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/SparseCore:61:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
      Index count = 0;
            ^
In file included from stanExports_simulate_infections.cc:5:
In file included from ./stanExports_simulate_infections.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/Sparse:29:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/SparseLU:35:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/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]
  Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
        ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
  Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
        ^
In file included from stanExports_simulate_infections.cc:5:
In file included from ./stanExports_simulate_infections.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_simulate_infections.cc:5:
In file included from ./stanExports_simulate_infections.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_estimate_secondary.cc:5:
In file included from ./stanExports_estimate_secondary.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:43:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
class ops_partials_edge;
^~~~~
struct
In file included from stanExports_simulate_infections.cc:5:
In file included from ./stanExports_simulate_infections.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:31:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigen.h:25:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigenForward.h:31:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
                        Index replacements = 0;
                              ^
In file included from stanExports_simulate_infections.cc:5:
In file included from ./stanExports_simulate_infections.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:31:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigen.h:25:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigenForward.h:37:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  int count = 0;
      ^
In file included from stanExports_estimate_truncation.cc:5:
In file included from ./stanExports_estimate_truncation.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:43:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
class ops_partials_edge;
^~~~~
struct
In file included from stanExports_simulate_infections.cc:5:
In file included from ./stanExports_simulate_infections.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:43:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
class ops_partials_edge;
^~~~~
struct
In file included from stanExports_dist_fit.cc:5:
In file included from ./stanExports_dist_fit.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
    int ret = stan::services::error_codes::CONFIG;
        ^
In file included from stanExports_dist_fit.cc:5:
./stanExports_dist_fit.h:633:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
./stanExports_dist_fit.h:700:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_estimate_dist.cc:5:
In file included from ./stanExports_estimate_dist.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
    int ret = stan::services::error_codes::CONFIG;
        ^
In file included from stanExports_estimate_dist.cc:5:
./stanExports_estimate_dist.h:3151:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_estimate_infections.cc:5:
In file included from ./stanExports_estimate_infections.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
    int ret = stan::services::error_codes::CONFIG;
        ^
In file included from stanExports_estimate_infections.cc:5:
./stanExports_estimate_infections.h:5894:9: warning: variable 'start' set but not used [-Wunused-but-set-variable]
    int start = std::numeric_limits<int>::min();
        ^
./stanExports_estimate_infections.h:8428:18: warning: variable 'rescaled_rho' set but not used [-Wunused-but-set-variable]
          double rescaled_rho = std::numeric_limits<double>::quiet_NaN();
                 ^
./stanExports_estimate_infections.h:8582:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_estimate_secondary.cc:5:
In file included from ./stanExports_estimate_secondary.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
    int ret = stan::services::error_codes::CONFIG;
        ^
In file included from stanExports_estimate_secondary.cc:5:
./stanExports_estimate_secondary.h:5895:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_estimate_truncation.cc:5:
In file included from ./stanExports_estimate_truncation.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
    int ret = stan::services::error_codes::CONFIG;
        ^
In file included from stanExports_estimate_truncation.cc:5:
./stanExports_estimate_truncation.h:5681:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
In file included from stanExports_simulate_infections.cc:5:
In file included from ./stanExports_simulate_infections.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
    int ret = stan::services::error_codes::CONFIG;
        ^
In file included from stanExports_simulate_infections.cc:5:
./stanExports_simulate_infections.h:5755:9: warning: variable 'start' set but not used [-Wunused-but-set-variable]
    int start = std::numeric_limits<int>::min();
        ^
./stanExports_simulate_infections.h:7267:20: warning: unused variable 'jacobian__' [-Wunused-variable]
    constexpr bool jacobian__ = false;
                   ^
./stanExports_simulate_infections.h:7520:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
./stanExports_simulate_infections.h:7537:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
./stanExports_estimate_dist.h:1551:15: warning: unused variable 'y' [-Wunused-variable]
  const auto& y = stan::math::to_ref(y_arg__);
              ^
./stanExports_estimate_dist.h:756:12: note: in instantiation of function template specialization 'model_estimate_dist_namespace::primarycensored_ode<double, Eigen::Matrix<double, -1, 1, 0>, double, double, nullptr>' requested here
    return primarycensored_ode(t, y, theta, x_r, x_i, pstream__);
           ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/coupled_ode_system.hpp:71:43: note: in instantiation of function template specialization 'model_estimate_dist_namespace::primarycensored_ode_variadic2_functor__::operator()<double, Eigen::Matrix<double, -1, 1, 0>, double, double, nullptr>' requested here
        [&](const Args&... args) { return f_(t, y, msgs_, args...); },
                                          ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp:329:13: note: in instantiation of member function 'stan::math::coupled_ode_system_impl<true, model_estimate_dist_namespace::primarycensored_ode_variadic2_functor__, double, const std::vector<double> &, const std::vector<double> &, const std::vector<int> &>::operator()' requested here
            sys( get_current_state() , get_current_deriv() , m_t );
            ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/check_adapter.hpp:153:26: note: in instantiation of function template specialization 'boost::numeric::odeint::dense_output_runge_kutta<boost::numeric::odeint::controlled_runge_kutta<boost::numeric::odeint::runge_kutta_dopri5<std::vector<double>, double, std::vector<double>, double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_error_checker<double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_step_adjuster<double, double>, boost::numeric::odeint::initially_resizer, boost::numeric::odeint::explicit_error_stepper_fsal_tag>, boost::numeric::odeint::explicit_controlled_stepper_fsal_tag>::do_step<std::reference_wrapper<stan::math::coupled_ode_system<model_estimate_dist_namespace::primarycensored_ode_variadic2_functor__, double, const std::vector<double> &, const std::vector<double> &, const std::vector<int> &>>>' requested here
        return m_stepper.do_step(system);
                         ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/detail/integrate_times.hpp:159:16: note: in instantiation of function template specialization 'boost::numeric::odeint::checked_stepper<boost::numeric::odeint::dense_output_runge_kutta<boost::numeric::odeint::controlled_runge_kutta<boost::numeric::odeint::runge_kutta_dopri5<std::vector<double>, double, std::vector<double>, double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_error_checker<double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_step_adjuster<double, double>, boost::numeric::odeint::initially_resizer, boost::numeric::odeint::explicit_error_stepper_fsal_tag>, boost::numeric::odeint::explicit_controlled_stepper_fsal_tag>, boost::numeric::odeint::max_step_checker, boost::numeric::odeint::dense_output_stepper_tag>::do_step<std::reference_wrapper<stan::math::coupled_ode_system<model_estimate_dist_namespace::primarycensored_ode_variadic2_functor__, double, const std::vector<double> &, const std::vector<double> &, const std::vector<int> &>>>' requested here
            st.do_step( system );
               ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/integrate_times.hpp:51:20: note: (skipping 8 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
    return detail::integrate_times(
                   ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/services/util/initialize.hpp:129:33: note: in instantiation of function template specialization 'model_estimate_dist_namespace::model_estimate_dist::log_prob<false, true, double>' requested here
      log_prob = model.template log_prob<false, Jacobian>(unconstrained,
                                ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_estimate_dist_namespace::model_estimate_dist, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> cont_vector = util::initialize(
                                          ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_estimate_dist_namespace::model_estimate_dist>' requested here
    return_code = stan::services::diagnose::diagnose(model,
                                            ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_estimate_dist_namespace::model_estimate_dist, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_estimate_dist.cc:15:79: note: in instantiation of member function 'rstan::stan_fit<model_estimate_dist_namespace::model_estimate_dist, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::ecuyer1988> ::call_sampler)
                                                                              ^
In file included from stanExports_estimate_dist.cc:5:
./stanExports_estimate_dist.h:1551:15: warning: unused variable 'y' [-Wunused-variable]
  const auto& y = stan::math::to_ref(y_arg__);
              ^
./stanExports_estimate_dist.h:756:12: note: in instantiation of function template specialization 'model_estimate_dist_namespace::primarycensored_ode<double, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, stan::math::var_value<double>, double, nullptr>' requested here
    return primarycensored_ode(t, y, theta, x_r, x_i, pstream__);
           ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:130:38: note: in instantiation of function template specialization 'model_estimate_dist_namespace::primarycensored_ode_variadic2_functor__::operator()<double, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, stan::math::var_value<double>, double, nullptr>' requested here
        [&](auto&&... args) { return f_(t, y_vars, msgs_, args...); },
                                     ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp:329:13: note: in instantiation of member function 'stan::math::coupled_ode_system_impl<false, model_estimate_dist_namespace::primarycensored_ode_variadic2_functor__, stan::math::var_value<double>, const std::vector<stan::math::var_value<double>> &, const std::vector<double> &, const std::vector<int> &>::operator()' requested here
            sys( get_current_state() , get_current_deriv() , m_t );
            ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/check_adapter.hpp:153:26: note: in instantiation of function template specialization 'boost::numeric::odeint::dense_output_runge_kutta<boost::numeric::odeint::controlled_runge_kutta<boost::numeric::odeint::runge_kutta_dopri5<std::vector<double>, double, std::vector<double>, double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_error_checker<double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_step_adjuster<double, double>, boost::numeric::odeint::initially_resizer, boost::numeric::odeint::explicit_error_stepper_fsal_tag>, boost::numeric::odeint::explicit_controlled_stepper_fsal_tag>::do_step<std::reference_wrapper<stan::math::coupled_ode_system<model_estimate_dist_namespace::primarycensored_ode_variadic2_functor__, stan::math::var_value<double>, const std::vector<stan::math::var_value<double>> &, const std::vector<double> &, const std::vector<int> &>>>' requested here
        return m_stepper.do_step(system);
                         ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/detail/integrate_times.hpp:159:16: note: in instantiation of function template specialization 'boost::numeric::odeint::checked_stepper<boost::numeric::odeint::dense_output_runge_kutta<boost::numeric::odeint::controlled_runge_kutta<boost::numeric::odeint::runge_kutta_dopri5<std::vector<double>, double, std::vector<double>, double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_error_checker<double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_step_adjuster<double, double>, boost::numeric::odeint::initially_resizer, boost::numeric::odeint::explicit_error_stepper_fsal_tag>, boost::numeric::odeint::explicit_controlled_stepper_fsal_tag>, boost::numeric::odeint::max_step_checker, boost::numeric::odeint::dense_output_stepper_tag>::do_step<std::reference_wrapper<stan::math::coupled_ode_system<model_estimate_dist_namespace::primarycensored_ode_variadic2_functor__, stan::math::var_value<double>, const std::vector<stan::math::var_value<double>> &, const std::vector<double> &, const std::vector<int> &>>>' requested here
            st.do_step( system );
               ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/integrate_times.hpp:51:20: note: (skipping 9 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
    return detail::integrate_times(
                   ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/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_estimate_dist_namespace::model_estimate_dist>' requested here
      log_prob = stan::model::log_prob_grad<true, Jacobian>(
                              ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_estimate_dist_namespace::model_estimate_dist, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> cont_vector = util::initialize(
                                          ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_estimate_dist_namespace::model_estimate_dist>' requested here
    return_code = stan::services::diagnose::diagnose(model,
                                            ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_estimate_dist_namespace::model_estimate_dist, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_estimate_dist.cc:15:79: note: in instantiation of member function 'rstan::stan_fit<model_estimate_dist_namespace::model_estimate_dist, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::ecuyer1988> ::call_sampler)
                                                                              ^
./stanExports_estimate_secondary.h:2127:15: warning: unused variable 'y' [-Wunused-variable]
  const auto& y = stan::math::to_ref(y_arg__);
              ^
./stanExports_estimate_secondary.h:1332:12: note: in instantiation of function template specialization 'model_estimate_secondary_namespace::primarycensored_ode<double, Eigen::Matrix<double, -1, 1, 0>, double, double, nullptr>' requested here
    return primarycensored_ode(t, y, theta, x_r, x_i, pstream__);
           ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/coupled_ode_system.hpp:71:43: note: in instantiation of function template specialization 'model_estimate_secondary_namespace::primarycensored_ode_variadic2_functor__::operator()<double, Eigen::Matrix<double, -1, 1, 0>, double, double, nullptr>' requested here
        [&](const Args&... args) { return f_(t, y, msgs_, args...); },
                                          ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp:329:13: note: in instantiation of member function 'stan::math::coupled_ode_system_impl<true, model_estimate_secondary_namespace::primarycensored_ode_variadic2_functor__, double, const std::vector<double> &, const std::vector<double> &, const std::vector<int> &>::operator()' requested here
            sys( get_current_state() , get_current_deriv() , m_t );
            ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/check_adapter.hpp:153:26: note: in instantiation of function template specialization 'boost::numeric::odeint::dense_output_runge_kutta<boost::numeric::odeint::controlled_runge_kutta<boost::numeric::odeint::runge_kutta_dopri5<std::vector<double>, double, std::vector<double>, double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_error_checker<double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_step_adjuster<double, double>, boost::numeric::odeint::initially_resizer, boost::numeric::odeint::explicit_error_stepper_fsal_tag>, boost::numeric::odeint::explicit_controlled_stepper_fsal_tag>::do_step<std::reference_wrapper<stan::math::coupled_ode_system<model_estimate_secondary_namespace::primarycensored_ode_variadic2_functor__, double, const std::vector<double> &, const std::vector<double> &, const std::vector<int> &>>>' requested here
        return m_stepper.do_step(system);
                         ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/detail/integrate_times.hpp:159:16: note: in instantiation of function template specialization 'boost::numeric::odeint::checked_stepper<boost::numeric::odeint::dense_output_runge_kutta<boost::numeric::odeint::controlled_runge_kutta<boost::numeric::odeint::runge_kutta_dopri5<std::vector<double>, double, std::vector<double>, double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_error_checker<double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_step_adjuster<double, double>, boost::numeric::odeint::initially_resizer, boost::numeric::odeint::explicit_error_stepper_fsal_tag>, boost::numeric::odeint::explicit_controlled_stepper_fsal_tag>, boost::numeric::odeint::max_step_checker, boost::numeric::odeint::dense_output_stepper_tag>::do_step<std::reference_wrapper<stan::math::coupled_ode_system<model_estimate_secondary_namespace::primarycensored_ode_variadic2_functor__, double, const std::vector<double> &, const std::vector<double> &, const std::vector<int> &>>>' requested here
            st.do_step( system );
               ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/integrate_times.hpp:51:20: note: (skipping 12 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
    return detail::integrate_times(
                   ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/services/util/initialize.hpp:94:36: note: in instantiation of function template specialization 'stan::io::random_var_context::random_var_context<model_estimate_secondary_namespace::model_estimate_secondary, 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
      stan::io::random_var_context random_context(model, rng, init_radius,
                                   ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_estimate_secondary_namespace::model_estimate_secondary, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> cont_vector = util::initialize(
                                          ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_estimate_secondary_namespace::model_estimate_secondary>' requested here
    return_code = stan::services::diagnose::diagnose(model,
                                            ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_estimate_secondary_namespace::model_estimate_secondary, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_estimate_secondary.cc:15:79: note: in instantiation of member function 'rstan::stan_fit<model_estimate_secondary_namespace::model_estimate_secondary, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::ecuyer1988> ::call_sampler)
                                                                              ^
./stanExports_estimate_infections.h:2695:15: warning: unused variable 'y' [-Wunused-variable]
  const auto& y = stan::math::to_ref(y_arg__);
              ^
./stanExports_estimate_infections.h:1900:12: note: in instantiation of function template specialization 'model_estimate_infections_namespace::primarycensored_ode<double, Eigen::Matrix<double, -1, 1, 0>, double, double, nullptr>' requested here
    return primarycensored_ode(t, y, theta, x_r, x_i, pstream__);
           ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/coupled_ode_system.hpp:71:43: note: in instantiation of function template specialization 'model_estimate_infections_namespace::primarycensored_ode_variadic2_functor__::operator()<double, Eigen::Matrix<double, -1, 1, 0>, double, double, nullptr>' requested here
        [&](const Args&... args) { return f_(t, y, msgs_, args...); },
                                          ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp:329:13: note: in instantiation of member function 'stan::math::coupled_ode_system_impl<true, model_estimate_infections_namespace::primarycensored_ode_variadic2_functor__, double, const std::vector<double> &, const std::vector<double> &, const std::vector<int> &>::operator()' requested here
            sys( get_current_state() , get_current_deriv() , m_t );
            ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/check_adapter.hpp:153:26: note: in instantiation of function template specialization 'boost::numeric::odeint::dense_output_runge_kutta<boost::numeric::odeint::controlled_runge_kutta<boost::numeric::odeint::runge_kutta_dopri5<std::vector<double>, double, std::vector<double>, double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_error_checker<double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_step_adjuster<double, double>, boost::numeric::odeint::initially_resizer, boost::numeric::odeint::explicit_error_stepper_fsal_tag>, boost::numeric::odeint::explicit_controlled_stepper_fsal_tag>::do_step<std::reference_wrapper<stan::math::coupled_ode_system<model_estimate_infections_namespace::primarycensored_ode_variadic2_functor__, double, const std::vector<double> &, const std::vector<double> &, const std::vector<int> &>>>' requested here
        return m_stepper.do_step(system);
                         ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/detail/integrate_times.hpp:159:16: note: in instantiation of function template specialization 'boost::numeric::odeint::checked_stepper<boost::numeric::odeint::dense_output_runge_kutta<boost::numeric::odeint::controlled_runge_kutta<boost::numeric::odeint::runge_kutta_dopri5<std::vector<double>, double, std::vector<double>, double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_error_checker<double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_step_adjuster<double, double>, boost::numeric::odeint::initially_resizer, boost::numeric::odeint::explicit_error_stepper_fsal_tag>, boost::numeric::odeint::explicit_controlled_stepper_fsal_tag>, boost::numeric::odeint::max_step_checker, boost::numeric::odeint::dense_output_stepper_tag>::do_step<std::reference_wrapper<stan::math::coupled_ode_system<model_estimate_infections_namespace::primarycensored_ode_variadic2_functor__, double, const std::vector<double> &, const std::vector<double> &, const std::vector<int> &>>>' requested here
            st.do_step( system );
               ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/integrate_times.hpp:51:20: note: (skipping 12 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
    return detail::integrate_times(
                   ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/services/util/initialize.hpp:94:36: note: in instantiation of function template specialization 'stan::io::random_var_context::random_var_context<model_estimate_infections_namespace::model_estimate_infections, 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
      stan::io::random_var_context random_context(model, rng, init_radius,
                                   ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_estimate_infections_namespace::model_estimate_infections, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> cont_vector = util::initialize(
                                          ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_estimate_infections_namespace::model_estimate_infections>' requested here
    return_code = stan::services::diagnose::diagnose(model,
                                            ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_estimate_infections_namespace::model_estimate_infections, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_estimate_infections.cc:15:79: note: in instantiation of member function 'rstan::stan_fit<model_estimate_infections_namespace::model_estimate_infections, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::ecuyer1988> ::call_sampler)
                                                                              ^
./stanExports_estimate_truncation.h:2084:15: warning: unused variable 'y' [-Wunused-variable]
  const auto& y = stan::math::to_ref(y_arg__);
              ^
./stanExports_estimate_truncation.h:1289:12: note: in instantiation of function template specialization 'model_estimate_truncation_namespace::primarycensored_ode<double, Eigen::Matrix<double, -1, 1, 0>, double, double, nullptr>' requested here
    return primarycensored_ode(t, y, theta, x_r, x_i, pstream__);
           ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/coupled_ode_system.hpp:71:43: note: in instantiation of function template specialization 'model_estimate_truncation_namespace::primarycensored_ode_variadic2_functor__::operator()<double, Eigen::Matrix<double, -1, 1, 0>, double, double, nullptr>' requested here
        [&](const Args&... args) { return f_(t, y, msgs_, args...); },
                                          ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp:329:13: note: in instantiation of member function 'stan::math::coupled_ode_system_impl<true, model_estimate_truncation_namespace::primarycensored_ode_variadic2_functor__, double, const std::vector<double> &, const std::vector<double> &, const std::vector<int> &>::operator()' requested here
            sys( get_current_state() , get_current_deriv() , m_t );
            ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/check_adapter.hpp:153:26: note: in instantiation of function template specialization 'boost::numeric::odeint::dense_output_runge_kutta<boost::numeric::odeint::controlled_runge_kutta<boost::numeric::odeint::runge_kutta_dopri5<std::vector<double>, double, std::vector<double>, double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_error_checker<double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_step_adjuster<double, double>, boost::numeric::odeint::initially_resizer, boost::numeric::odeint::explicit_error_stepper_fsal_tag>, boost::numeric::odeint::explicit_controlled_stepper_fsal_tag>::do_step<std::reference_wrapper<stan::math::coupled_ode_system<model_estimate_truncation_namespace::primarycensored_ode_variadic2_functor__, double, const std::vector<double> &, const std::vector<double> &, const std::vector<int> &>>>' requested here
        return m_stepper.do_step(system);
                         ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/detail/integrate_times.hpp:159:16: note: in instantiation of function template specialization 'boost::numeric::odeint::checked_stepper<boost::numeric::odeint::dense_output_runge_kutta<boost::numeric::odeint::controlled_runge_kutta<boost::numeric::odeint::runge_kutta_dopri5<std::vector<double>, double, std::vector<double>, double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_error_checker<double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_step_adjuster<double, double>, boost::numeric::odeint::initially_resizer, boost::numeric::odeint::explicit_error_stepper_fsal_tag>, boost::numeric::odeint::explicit_controlled_stepper_fsal_tag>, boost::numeric::odeint::max_step_checker, boost::numeric::odeint::dense_output_stepper_tag>::do_step<std::reference_wrapper<stan::math::coupled_ode_system<model_estimate_truncation_namespace::primarycensored_ode_variadic2_functor__, double, const std::vector<double> &, const std::vector<double> &, const std::vector<int> &>>>' requested here
            st.do_step( system );
               ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/integrate_times.hpp:51:20: note: (skipping 12 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
    return detail::integrate_times(
                   ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/services/util/initialize.hpp:94:36: note: in instantiation of function template specialization 'stan::io::random_var_context::random_var_context<model_estimate_truncation_namespace::model_estimate_truncation, 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
      stan::io::random_var_context random_context(model, rng, init_radius,
                                   ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_estimate_truncation_namespace::model_estimate_truncation, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> cont_vector = util::initialize(
                                          ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_estimate_truncation_namespace::model_estimate_truncation>' requested here
    return_code = stan::services::diagnose::diagnose(model,
                                            ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_estimate_truncation_namespace::model_estimate_truncation, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_estimate_truncation.cc:15:79: note: in instantiation of member function 'rstan::stan_fit<model_estimate_truncation_namespace::model_estimate_truncation, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::ecuyer1988> ::call_sampler)
                                                                              ^
./stanExports_simulate_infections.h:2556:15: warning: unused variable 'y' [-Wunused-variable]
  const auto& y = stan::math::to_ref(y_arg__);
              ^
./stanExports_simulate_infections.h:1761:12: note: in instantiation of function template specialization 'model_simulate_infections_namespace::primarycensored_ode<double, Eigen::Matrix<double, -1, 1, 0>, double, double, nullptr>' requested here
    return primarycensored_ode(t, y, theta, x_r, x_i, pstream__);
           ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/coupled_ode_system.hpp:71:43: note: in instantiation of function template specialization 'model_simulate_infections_namespace::primarycensored_ode_variadic2_functor__::operator()<double, Eigen::Matrix<double, -1, 1, 0>, double, double, nullptr>' requested here
        [&](const Args&... args) { return f_(t, y, msgs_, args...); },
                                          ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp:329:13: note: in instantiation of member function 'stan::math::coupled_ode_system_impl<true, model_simulate_infections_namespace::primarycensored_ode_variadic2_functor__, double, const std::vector<double> &, const std::vector<double> &, const std::vector<int> &>::operator()' requested here
            sys( get_current_state() , get_current_deriv() , m_t );
            ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/check_adapter.hpp:153:26: note: in instantiation of function template specialization 'boost::numeric::odeint::dense_output_runge_kutta<boost::numeric::odeint::controlled_runge_kutta<boost::numeric::odeint::runge_kutta_dopri5<std::vector<double>, double, std::vector<double>, double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_error_checker<double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_step_adjuster<double, double>, boost::numeric::odeint::initially_resizer, boost::numeric::odeint::explicit_error_stepper_fsal_tag>, boost::numeric::odeint::explicit_controlled_stepper_fsal_tag>::do_step<std::reference_wrapper<stan::math::coupled_ode_system<model_simulate_infections_namespace::primarycensored_ode_variadic2_functor__, double, const std::vector<double> &, const std::vector<double> &, const std::vector<int> &>>>' requested here
        return m_stepper.do_step(system);
                         ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/detail/integrate_times.hpp:159:16: note: in instantiation of function template specialization 'boost::numeric::odeint::checked_stepper<boost::numeric::odeint::dense_output_runge_kutta<boost::numeric::odeint::controlled_runge_kutta<boost::numeric::odeint::runge_kutta_dopri5<std::vector<double>, double, std::vector<double>, double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_error_checker<double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_step_adjuster<double, double>, boost::numeric::odeint::initially_resizer, boost::numeric::odeint::explicit_error_stepper_fsal_tag>, boost::numeric::odeint::explicit_controlled_stepper_fsal_tag>, boost::numeric::odeint::max_step_checker, boost::numeric::odeint::dense_output_stepper_tag>::do_step<std::reference_wrapper<stan::math::coupled_ode_system<model_simulate_infections_namespace::primarycensored_ode_variadic2_functor__, double, const std::vector<double> &, const std::vector<double> &, const std::vector<int> &>>>' requested here
            st.do_step( system );
               ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/integrate_times.hpp:51:20: note: (skipping 12 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
    return detail::integrate_times(
                   ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/services/util/initialize.hpp:94:36: note: in instantiation of function template specialization 'stan::io::random_var_context::random_var_context<model_simulate_infections_namespace::model_simulate_infections, 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
      stan::io::random_var_context random_context(model, rng, init_radius,
                                   ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_simulate_infections_namespace::model_simulate_infections, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> cont_vector = util::initialize(
                                          ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_simulate_infections_namespace::model_simulate_infections>' requested here
    return_code = stan::services::diagnose::diagnose(model,
                                            ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_simulate_infections_namespace::model_simulate_infections, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_simulate_infections.cc:15:79: note: in instantiation of member function 'rstan::stan_fit<model_simulate_infections_namespace::model_simulate_infections, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::ecuyer1988> ::call_sampler)
                                                                              ^
In file included from stanExports_estimate_secondary.cc:5:
./stanExports_estimate_secondary.h:2127:15: warning: unused variable 'y' [-Wunused-variable]
  const auto& y = stan::math::to_ref(y_arg__);
              ^
./stanExports_estimate_secondary.h:1332:12: note: in instantiation of function template specialization 'model_estimate_secondary_namespace::primarycensored_ode<double, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, stan::math::var_value<double>, double, nullptr>' requested here
    return primarycensored_ode(t, y, theta, x_r, x_i, pstream__);
           ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:130:38: note: in instantiation of function template specialization 'model_estimate_secondary_namespace::primarycensored_ode_variadic2_functor__::operator()<double, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, stan::math::var_value<double>, double, nullptr>' requested here
        [&](auto&&... args) { return f_(t, y_vars, msgs_, args...); },
                                     ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp:329:13: note: in instantiation of member function 'stan::math::coupled_ode_system_impl<false, model_estimate_secondary_namespace::primarycensored_ode_variadic2_functor__, stan::math::var_value<double>, const std::vector<stan::math::var_value<double>> &, const std::vector<double> &, const std::vector<int> &>::operator()' requested here
            sys( get_current_state() , get_current_deriv() , m_t );
            ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/check_adapter.hpp:153:26: note: in instantiation of function template specialization 'boost::numeric::odeint::dense_output_runge_kutta<boost::numeric::odeint::controlled_runge_kutta<boost::numeric::odeint::runge_kutta_dopri5<std::vector<double>, double, std::vector<double>, double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_error_checker<double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_step_adjuster<double, double>, boost::numeric::odeint::initially_resizer, boost::numeric::odeint::explicit_error_stepper_fsal_tag>, boost::numeric::odeint::explicit_controlled_stepper_fsal_tag>::do_step<std::reference_wrapper<stan::math::coupled_ode_system<model_estimate_secondary_namespace::primarycensored_ode_variadic2_functor__, stan::math::var_value<double>, const std::vector<stan::math::var_value<double>> &, const std::vector<double> &, const std::vector<int> &>>>' requested here
        return m_stepper.do_step(system);
                         ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/detail/integrate_times.hpp:159:16: note: in instantiation of function template specialization 'boost::numeric::odeint::checked_stepper<boost::numeric::odeint::dense_output_runge_kutta<boost::numeric::odeint::controlled_runge_kutta<boost::numeric::odeint::runge_kutta_dopri5<std::vector<double>, double, std::vector<double>, double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_error_checker<double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_step_adjuster<double, double>, boost::numeric::odeint::initially_resizer, boost::numeric::odeint::explicit_error_stepper_fsal_tag>, boost::numeric::odeint::explicit_controlled_stepper_fsal_tag>, boost::numeric::odeint::max_step_checker, boost::numeric::odeint::dense_output_stepper_tag>::do_step<std::reference_wrapper<stan::math::coupled_ode_system<model_estimate_secondary_namespace::primarycensored_ode_variadic2_functor__, stan::math::var_value<double>, const std::vector<stan::math::var_value<double>> &, const std::vector<double> &, const std::vector<int> &>>>' requested here
            st.do_step( system );
               ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/integrate_times.hpp:51:20: note: (skipping 12 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
    return detail::integrate_times(
                   ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/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_estimate_secondary_namespace::model_estimate_secondary>' requested here
      log_prob = stan::model::log_prob_grad<true, Jacobian>(
                              ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_estimate_secondary_namespace::model_estimate_secondary, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> cont_vector = util::initialize(
                                          ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_estimate_secondary_namespace::model_estimate_secondary>' requested here
    return_code = stan::services::diagnose::diagnose(model,
                                            ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_estimate_secondary_namespace::model_estimate_secondary, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_estimate_secondary.cc:15:79: note: in instantiation of member function 'rstan::stan_fit<model_estimate_secondary_namespace::model_estimate_secondary, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::ecuyer1988> ::call_sampler)
                                                                              ^
In file included from stanExports_estimate_truncation.cc:5:
./stanExports_estimate_truncation.h:2084:15: warning: unused variable 'y' [-Wunused-variable]
  const auto& y = stan::math::to_ref(y_arg__);
              ^
./stanExports_estimate_truncation.h:1289:12: note: in instantiation of function template specialization 'model_estimate_truncation_namespace::primarycensored_ode<double, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, stan::math::var_value<double>, double, nullptr>' requested here
    return primarycensored_ode(t, y, theta, x_r, x_i, pstream__);
           ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:130:38: note: in instantiation of function template specialization 'model_estimate_truncation_namespace::primarycensored_ode_variadic2_functor__::operator()<double, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, stan::math::var_value<double>, double, nullptr>' requested here
        [&](auto&&... args) { return f_(t, y_vars, msgs_, args...); },
                                     ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp:329:13: note: in instantiation of member function 'stan::math::coupled_ode_system_impl<false, model_estimate_truncation_namespace::primarycensored_ode_variadic2_functor__, stan::math::var_value<double>, const std::vector<stan::math::var_value<double>> &, const std::vector<double> &, const std::vector<int> &>::operator()' requested here
            sys( get_current_state() , get_current_deriv() , m_t );
            ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/check_adapter.hpp:153:26: note: in instantiation of function template specialization 'boost::numeric::odeint::dense_output_runge_kutta<boost::numeric::odeint::controlled_runge_kutta<boost::numeric::odeint::runge_kutta_dopri5<std::vector<double>, double, std::vector<double>, double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_error_checker<double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_step_adjuster<double, double>, boost::numeric::odeint::initially_resizer, boost::numeric::odeint::explicit_error_stepper_fsal_tag>, boost::numeric::odeint::explicit_controlled_stepper_fsal_tag>::do_step<std::reference_wrapper<stan::math::coupled_ode_system<model_estimate_truncation_namespace::primarycensored_ode_variadic2_functor__, stan::math::var_value<double>, const std::vector<stan::math::var_value<double>> &, const std::vector<double> &, const std::vector<int> &>>>' requested here
        return m_stepper.do_step(system);
                         ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/detail/integrate_times.hpp:159:16: note: in instantiation of function template specialization 'boost::numeric::odeint::checked_stepper<boost::numeric::odeint::dense_output_runge_kutta<boost::numeric::odeint::controlled_runge_kutta<boost::numeric::odeint::runge_kutta_dopri5<std::vector<double>, double, std::vector<double>, double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_error_checker<double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_step_adjuster<double, double>, boost::numeric::odeint::initially_resizer, boost::numeric::odeint::explicit_error_stepper_fsal_tag>, boost::numeric::odeint::explicit_controlled_stepper_fsal_tag>, boost::numeric::odeint::max_step_checker, boost::numeric::odeint::dense_output_stepper_tag>::do_step<std::reference_wrapper<stan::math::coupled_ode_system<model_estimate_truncation_namespace::primarycensored_ode_variadic2_functor__, stan::math::var_value<double>, const std::vector<stan::math::var_value<double>> &, const std::vector<double> &, const std::vector<int> &>>>' requested here
            st.do_step( system );
               ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/integrate_times.hpp:51:20: note: (skipping 12 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
    return detail::integrate_times(
                   ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/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_estimate_truncation_namespace::model_estimate_truncation>' requested here
      log_prob = stan::model::log_prob_grad<true, Jacobian>(
                              ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_estimate_truncation_namespace::model_estimate_truncation, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> cont_vector = util::initialize(
                                          ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_estimate_truncation_namespace::model_estimate_truncation>' requested here
    return_code = stan::services::diagnose::diagnose(model,
                                            ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_estimate_truncation_namespace::model_estimate_truncation, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_estimate_truncation.cc:15:79: note: in instantiation of member function 'rstan::stan_fit<model_estimate_truncation_namespace::model_estimate_truncation, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::ecuyer1988> ::call_sampler)
                                                                              ^
In file included from stanExports_estimate_infections.cc:5:
./stanExports_estimate_infections.h:2695:15: warning: unused variable 'y' [-Wunused-variable]
  const auto& y = stan::math::to_ref(y_arg__);
              ^
./stanExports_estimate_infections.h:1900:12: note: in instantiation of function template specialization 'model_estimate_infections_namespace::primarycensored_ode<double, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, stan::math::var_value<double>, double, nullptr>' requested here
    return primarycensored_ode(t, y, theta, x_r, x_i, pstream__);
           ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/rev/functor/coupled_ode_system.hpp:130:38: note: in instantiation of function template specialization 'model_estimate_infections_namespace::primarycensored_ode_variadic2_functor__::operator()<double, Eigen::Matrix<stan::math::var_value<double>, -1, 1, 0>, stan::math::var_value<double>, double, nullptr>' requested here
        [&](auto&&... args) { return f_(t, y_vars, msgs_, args...); },
                                     ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp:329:13: note: in instantiation of member function 'stan::math::coupled_ode_system_impl<false, model_estimate_infections_namespace::primarycensored_ode_variadic2_functor__, stan::math::var_value<double>, const std::vector<stan::math::var_value<double>> &, const std::vector<double> &, const std::vector<int> &>::operator()' requested here
            sys( get_current_state() , get_current_deriv() , m_t );
            ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/check_adapter.hpp:153:26: note: in instantiation of function template specialization 'boost::numeric::odeint::dense_output_runge_kutta<boost::numeric::odeint::controlled_runge_kutta<boost::numeric::odeint::runge_kutta_dopri5<std::vector<double>, double, std::vector<double>, double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_error_checker<double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_step_adjuster<double, double>, boost::numeric::odeint::initially_resizer, boost::numeric::odeint::explicit_error_stepper_fsal_tag>, boost::numeric::odeint::explicit_controlled_stepper_fsal_tag>::do_step<std::reference_wrapper<stan::math::coupled_ode_system<model_estimate_infections_namespace::primarycensored_ode_variadic2_functor__, stan::math::var_value<double>, const std::vector<stan::math::var_value<double>> &, const std::vector<double> &, const std::vector<int> &>>>' requested here
        return m_stepper.do_step(system);
                         ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/detail/integrate_times.hpp:159:16: note: in instantiation of function template specialization 'boost::numeric::odeint::checked_stepper<boost::numeric::odeint::dense_output_runge_kutta<boost::numeric::odeint::controlled_runge_kutta<boost::numeric::odeint::runge_kutta_dopri5<std::vector<double>, double, std::vector<double>, double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_error_checker<double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_step_adjuster<double, double>, boost::numeric::odeint::initially_resizer, boost::numeric::odeint::explicit_error_stepper_fsal_tag>, boost::numeric::odeint::explicit_controlled_stepper_fsal_tag>, boost::numeric::odeint::max_step_checker, boost::numeric::odeint::dense_output_stepper_tag>::do_step<std::reference_wrapper<stan::math::coupled_ode_system<model_estimate_infections_namespace::primarycensored_ode_variadic2_functor__, stan::math::var_value<double>, const std::vector<stan::math::var_value<double>> &, const std::vector<double> &, const std::vector<int> &>>>' requested here
            st.do_step( system );
               ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/integrate_times.hpp:51:20: note: (skipping 12 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
    return detail::integrate_times(
                   ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/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_estimate_infections_namespace::model_estimate_infections>' requested here
      log_prob = stan::model::log_prob_grad<true, Jacobian>(
                              ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_estimate_infections_namespace::model_estimate_infections, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> cont_vector = util::initialize(
                                          ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_estimate_infections_namespace::model_estimate_infections>' requested here
    return_code = stan::services::diagnose::diagnose(model,
                                            ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_estimate_infections_namespace::model_estimate_infections, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_estimate_infections.cc:15:79: note: in instantiation of member function 'rstan::stan_fit<model_estimate_infections_namespace::model_estimate_infections, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::ecuyer1988> ::call_sampler)
                                                                              ^
11 warnings generated.
clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I"../inst/include" -I"/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG -DBOOST_MATH_OVERFLOW_ERROR_POLICY=errno_on_error -DUSE_STANC3 -D_HAS_AUTO_PTR_ETC=0 -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppParallel/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include' -I/opt/R/x86_64/include    -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppParallel/include' -D_REENTRANT -DSTAN_THREADS   -fPIC  -falign-functions=64 -Wall -g -O2   -c stanExports_simulate_secondary.cc -o stanExports_simulate_secondary.o
In file included from stanExports_simulate_secondary.cc:5:
In file included from ./stanExports_simulate_secondary.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/Sparse:26:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/SparseCore:61:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
      Index count = 0;
            ^
In file included from stanExports_simulate_secondary.cc:5:
In file included from ./stanExports_simulate_secondary.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:3:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun/Eigen.hpp:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/Sparse:29:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/SparseLU:35:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/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]
  Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
        ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
  Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
        ^
In file included from stanExports_simulate_secondary.cc:5:
In file included from ./stanExports_simulate_secondary.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/io/r_ostream.hpp:47:31: warning: 'rstan::io::r_cout_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_simulate_secondary.cc:5:
In file included from ./stanExports_simulate_secondary.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:21:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/io/r_ostream.hpp:70:31: warning: 'rstan::io::r_cerr_streambuf::xsputn' hides overloaded virtual function [-Woverloaded-virtual]
      virtual std::streamsize xsputn(const char_type* s, int n) {
                              ^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/streambuf:291:24: note: hidden overloaded virtual function 'std::basic_streambuf<char>::xsputn' declared here: type mismatch at 2nd parameter ('std::streamsize' (aka 'long') vs 'int')
    virtual streamsize xsputn(const char_type* __s, streamsize __n);
                       ^
In file included from stanExports_simulate_secondary.cc:5:
In file included from ./stanExports_simulate_secondary.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:31:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigen.h:25:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigenForward.h:31:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable]
                        Index replacements = 0;
                              ^
In file included from stanExports_simulate_secondary.cc:5:
In file included from ./stanExports_simulate_secondary.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:31:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigen.h:25:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/RcppEigenForward.h:37:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  int count = 0;
      ^
In file included from stanExports_simulate_secondary.cc:5:
In file included from ./stanExports_simulate_secondary.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:43:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/io/dump.hpp:7:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim.hpp:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun.hpp:35:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/fun/binomial_coefficient_log.hpp:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/partials_propagator.hpp:8:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:57:1: warning: 'ops_partials_edge' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct ops_partials_edge<ViewElt, Op, require_st_arithmetic<Op>> {
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/operands_and_partials.hpp:45:1: note: did you mean struct here?
class ops_partials_edge;
^~~~~
struct
12 warnings generated.
14 warnings generated.
In file included from stanExports_simulate_secondary.cc:5:
In file included from ./stanExports_simulate_secondary.h:23:
In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/rstaninc.hpp:4:
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:1252:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
    int ret = stan::services::error_codes::CONFIG;
        ^
In file included from stanExports_simulate_secondary.cc:5:
./stanExports_simulate_secondary.h:5365:20: warning: unused variable 'jacobian__' [-Wunused-variable]
    constexpr bool jacobian__ = false;
                   ^
./stanExports_simulate_secondary.h:5558:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
./stanExports_simulate_secondary.h:5575:11: warning: variable 'pos__' set but not used [-Wunused-but-set-variable]
      int pos__ = std::numeric_limits<int>::min();
          ^
./stanExports_simulate_secondary.h:2101:15: warning: unused variable 'y' [-Wunused-variable]
  const auto& y = stan::math::to_ref(y_arg__);
              ^
./stanExports_simulate_secondary.h:1306:12: note: in instantiation of function template specialization 'model_simulate_secondary_namespace::primarycensored_ode<double, Eigen::Matrix<double, -1, 1, 0>, double, double, nullptr>' requested here
    return primarycensored_ode(t, y, theta, x_r, x_i, pstream__);
           ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/stan/math/prim/functor/coupled_ode_system.hpp:71:43: note: in instantiation of function template specialization 'model_simulate_secondary_namespace::primarycensored_ode_variadic2_functor__::operator()<double, Eigen::Matrix<double, -1, 1, 0>, double, double, nullptr>' requested here
        [&](const Args&... args) { return f_(t, y, msgs_, args...); },
                                          ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp:329:13: note: in instantiation of member function 'stan::math::coupled_ode_system_impl<true, model_simulate_secondary_namespace::primarycensored_ode_variadic2_functor__, double, const std::vector<double> &, const std::vector<double> &, const std::vector<int> &>::operator()' requested here
            sys( get_current_state() , get_current_deriv() , m_t );
            ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/check_adapter.hpp:153:26: note: in instantiation of function template specialization 'boost::numeric::odeint::dense_output_runge_kutta<boost::numeric::odeint::controlled_runge_kutta<boost::numeric::odeint::runge_kutta_dopri5<std::vector<double>, double, std::vector<double>, double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_error_checker<double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_step_adjuster<double, double>, boost::numeric::odeint::initially_resizer, boost::numeric::odeint::explicit_error_stepper_fsal_tag>, boost::numeric::odeint::explicit_controlled_stepper_fsal_tag>::do_step<std::reference_wrapper<stan::math::coupled_ode_system<model_simulate_secondary_namespace::primarycensored_ode_variadic2_functor__, double, const std::vector<double> &, const std::vector<double> &, const std::vector<int> &>>>' requested here
        return m_stepper.do_step(system);
                         ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/detail/integrate_times.hpp:159:16: note: in instantiation of function template specialization 'boost::numeric::odeint::checked_stepper<boost::numeric::odeint::dense_output_runge_kutta<boost::numeric::odeint::controlled_runge_kutta<boost::numeric::odeint::runge_kutta_dopri5<std::vector<double>, double, std::vector<double>, double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_error_checker<double, boost::numeric::odeint::range_algebra, boost::numeric::odeint::default_operations>, boost::numeric::odeint::default_step_adjuster<double, double>, boost::numeric::odeint::initially_resizer, boost::numeric::odeint::explicit_error_stepper_fsal_tag>, boost::numeric::odeint::explicit_controlled_stepper_fsal_tag>, boost::numeric::odeint::max_step_checker, boost::numeric::odeint::dense_output_stepper_tag>::do_step<std::reference_wrapper<stan::math::coupled_ode_system<model_simulate_secondary_namespace::primarycensored_ode_variadic2_functor__, double, const std::vector<double> &, const std::vector<double> &, const std::vector<int> &>>>' requested here
            st.do_step( system );
               ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/BH/include/boost/numeric/odeint/integrate/integrate_times.hpp:51:20: note: (skipping 12 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
    return detail::integrate_times(
                   ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/services/util/initialize.hpp:94:36: note: in instantiation of function template specialization 'stan::io::random_var_context::random_var_context<model_simulate_secondary_namespace::model_simulate_secondary, 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
      stan::io::random_var_context random_context(model, rng, init_radius,
                                   ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/StanHeaders/include/src/stan/services/diagnose/diagnose.hpp:49:43: note: in instantiation of function template specialization 'stan::services::util::initialize<true, model_simulate_secondary_namespace::model_simulate_secondary, stan::io::var_context, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
  std::vector<double> cont_vector = util::initialize(
                                          ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:481:45: note: in instantiation of function template specialization 'stan::services::diagnose::diagnose<model_simulate_secondary_namespace::model_simulate_secondary>' requested here
    return_code = stan::services::diagnose::diagnose(model,
                                            ^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/rstan/include/rstan/stan_fit.hpp:1215:11: note: in instantiation of function template specialization 'rstan::(anonymous namespace)::command<model_simulate_secondary_namespace::model_simulate_secondary, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>' requested here
    ret = command(args, model_, holder, names_oi_tidx_,
          ^
stanExports_simulate_secondary.cc:15:79: note: in instantiation of member function 'rstan::stan_fit<model_simulate_secondary_namespace::model_simulate_secondary, boost::random::additive_combine_engine<boost::random::linear_congruential_engine<unsigned int, 40014, 0, 2147483563>, boost::random::linear_congruential_engine<unsigned int, 40692, 0, 2147483399>>>::call_sampler' requested here
    .method("call_sampler", &rstan::stan_fit<stan_model, boost::ecuyer1988> ::call_sampler)
                                                                              ^
12 warnings generated.
12 warnings generated.
14 warnings generated.
13 warnings generated.
clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -o EpiNow2.so RcppExports.o stanExports_dist_fit.o stanExports_estimate_dist.o stanExports_estimate_infections.o stanExports_estimate_secondary.o stanExports_estimate_truncation.o stanExports_simulate_infections.o stanExports_simulate_secondary.o -L/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppParallel/lib -ltbb -ltbbmalloc -L/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppParallel/lib/ -Wl,-rpath,/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.5/RcppParallel/lib/ -ltbb -ltbbmalloc -F/Library/Frameworks/R.framework/.. -framework R
installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.5/EpiNow2.Rcheck/00LOCK-EpiNow2/00new/EpiNow2/libs
** generating debug symbols (dSYM)
** R
** data
*** moving datasets to lazyload DB
** 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 (EpiNow2)