Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in R/example.R #131

Closed
saumil-sh opened this issue Jun 15, 2023 · 20 comments · Fixed by #142
Closed

Error in R/example.R #131

saumil-sh opened this issue Jun 15, 2023 · 20 comments · Fixed by #142
Labels

Comments

@saumil-sh
Copy link

saumil-sh commented Jun 15, 2023

Hello,
I am reviewing this package for submission at JOSS. When I tried to run the example.R file from the bridgestan/R folder, I get the following error:

Error in .C("bs_model_construct_R", as.character(data), as.integer(seed),  : 
  "bs_model_construct_R" not available for .C() for package "bernoulli_model"

My guess is that it originates here

model <- StanModel$new("../test_models/bernoulli/bernoulli_model.so", "../test_models/bernoulli/bernoulli.data.json", 1234)
,
is something missing in this call
ret <- .C("bs_model_construct_R",
?

@WardBrian
Copy link
Collaborator

WardBrian commented Jun 15, 2023

Hi @saumil-sh -

Can you share a bit more about how you downloaded bridgestan and what commands you ran before receiving this error? We had an issue in the R example (#121) which was fixed recently, but if you downloaded one of the .tar.gz from the GitHub releases page I do not believe it would have been updated yet.

@saumil-sh
Copy link
Author

I had a look at #121 before posting this and I belive it is a different issue.

I followed the documentation and used git clone --recurse-submodules https://github.com/roualdes/bridgestan.git.
Here is the relevant lines of the output of my git log

commit 6dd7d3a8a80b9027145fb20d230aa86e5fcf99df (HEAD -> main, origin/main, origin/HEAD)
Author: Brian Ward <bward@flatironinstitute.org>
Date:   Tue Jun 13 13:55:15 2023 -0400

    Python: Warn if user has 5+ copies downloaded in .bridgestan (#128)

I am on Mac M1 running Ventura 13.4 and tested the installation according to the documentation running make test_models/multi/multi_model.so from the root directory of the repo.

Next, I created a mamba/conda environment using mamba create -n stan -c conda-forge and installed r-base and radian. Then I followed the relevant documentation to install the R bridgestan package. Here is the relevant version information:

$ mamba --version     
mamba 1.4.2
conda 23.3.1

$ mamba list | grep r-base
r-base                    4.3.0                h4b3f977_1    conda-forge

$ mamba list | grep radian
radian                    0.6.6              pyhd8ed1ab_0    conda-forge

$ radian          
R version 4.3.0 (2023-04-21) -- "Already Tomorrow"
Platform: aarch64-apple-darwin20.0.0 (64-bit)

r$> install.packages(getwd(), repos=NULL, type="source")
.
.
.
* DONE (bridgestan)

r$> installed.packages()
           Package      LibPath                                          Version Priority
base       "base"       "/Users/shah/mambaforge/envs/stan/lib/R/library" "4.3.0" "base"  
bridgestan "bridgestan" "/Users/shah/mambaforge/envs/stan/lib/R/library" "2.0.0" NA      
compiler   "compiler"   "/Users/shah/mambaforge/envs/stan/lib/R/library" "4.3.0" "base"  
datasets   "datasets"   "/Users/shah/mambaforge/envs/stan/lib/R/library" "4.3.0" "base"  
graphics   "graphics"   "/Users/shah/mambaforge/envs/stan/lib/R/library" "4.3.0" "base"  
grDevices  "grDevices"  "/Users/shah/mambaforge/envs/stan/lib/R/library" "4.3.0" "base"  
grid       "grid"       "/Users/shah/mambaforge/envs/stan/lib/R/library" "4.3.0" "base"  
methods    "methods"    "/Users/shah/mambaforge/envs/stan/lib/R/library" "4.3.0" "base"  
parallel   "parallel"   "/Users/shah/mambaforge/envs/stan/lib/R/library" "4.3.0" "base"  
R6         "R6"         "/Users/shah/mambaforge/envs/stan/lib/R/library" "2.5.1" NA      
splines    "splines"    "/Users/shah/mambaforge/envs/stan/lib/R/library" "4.3.0" "base"  
stats      "stats"      "/Users/shah/mambaforge/envs/stan/lib/R/library" "4.3.0" "base"  
stats4     "stats4"     "/Users/shah/mambaforge/envs/stan/lib/R/library" "4.3.0" "base"  
tcltk      "tcltk"      "/Users/shah/mambaforge/envs/stan/lib/R/library" "4.3.0" "base"  
tools      "tools"      "/Users/shah/mambaforge/envs/stan/lib/R/library" "4.3.0" "base"  
utils      "utils"      "/Users/shah/mambaforge/envs/stan/lib/R/library" "4.3.0" "base"

I am aware of 2 ways of running an R script, one using Rscript example.R and another source("example.R") from radian both threw the same error mentioned in the first post in this thread.

Please let me know if I missed any information.

@WardBrian
Copy link
Collaborator

Did you build the bernoulli_model library before running the example? If you were able to build the multi_model.so file your installation is most likely working, but you may need to build the specific model the example is using first

# Before running this:
# - In the terminal, run `make test_models/bernoulli/bernoulli_model.so` from inside the bridgestan folder
# - In R, make sure you are in the directory bridgestan/R

@saumil-sh
Copy link
Author

I forgot to mention this. I did run make test_models/bernoulli/bernoulli_model.so and if I run it again it says:

$make test_models/bernoulli/bernoulli_model.so
make: 'test_models/bernoulli/bernoulli_model.so' is up to date.

Should I "remake" it using the make -B flag?

@WardBrian
Copy link
Collaborator

That all seems correct, then.

Could you try running the following command:
nm test_models/bernoulli/bernoulli_model.so | grep " bs_"

This should print out the names of the functions available in bernoulli_model. It should be the case that bs_model_construct_R is on this list, but it is good to check

@saumil-sh
Copy link
Author

I ran the following in the root directory of the repository:

$nm test_models/bernoulli/bernoulli_model.so | grep _bs_
00000000000161ec T _bs_free_error_msg
00000000000161e4 T _bs_free_error_msg_R
0000000000016a7c T _bs_log_density
0000000000016a20 T _bs_log_density_R
0000000000016c5c T _bs_log_density_gradient
0000000000016c00 T _bs_log_density_gradient_R
0000000000016e38 T _bs_log_density_hessian
0000000000016de0 T _bs_log_density_hessian_R
000000000005c1b0 D _bs_major_version
000000000005c8c0 S _bs_minor_version
0000000000015f60 T _bs_model_construct
0000000000015f18 T _bs_model_construct_R
000000000001623c T _bs_model_destruct
0000000000016218 T _bs_model_destruct_R
0000000000016280 T _bs_model_info
0000000000016270 T _bs_model_info_R
0000000000016268 T _bs_name
0000000000016258 T _bs_name_R
0000000000016410 T _bs_param_constrain
00000000000163b0 T _bs_param_constrain_R
00000000000162cc T _bs_param_names
0000000000016288 T _bs_param_names_R
0000000000016360 T _bs_param_num
000000000001631c T _bs_param_num_R
0000000000016314 T _bs_param_unc_names
0000000000016304 T _bs_param_unc_names_R
00000000000163a8 T _bs_param_unc_num
0000000000016398 T _bs_param_unc_num_R
00000000000166d0 T _bs_param_unconstrain
000000000001668c T _bs_param_unconstrain_R
000000000001689c T _bs_param_unconstrain_json
0000000000016854 T _bs_param_unconstrain_json_R
000000000005c8c4 S _bs_patch_version
0000000000017000 T _bs_rng_construct
0000000000016fbc T _bs_rng_construct_R
000000000001720c T _bs_rng_destruct
00000000000171fc T _bs_rng_destruct_R
0000000000017218 T _bs_set_print_callback
00000000000161f0 T _bs_version_R

@WardBrian
Copy link
Collaborator

Can you share your C++ compiler version and how you installed it (xcode, brew, mamba, etc)? The output of nm suggests it is mangling the C function names with a leading underscore. I've known of some macos compilers to do this, but it hasn't previously come up for us in this project.

You may be able to delete the model library and then use CXXFLAGS=-fno-leading-underscore make test_models/bernoulli/bernoulli_model.so to fix this (to be verified either with nm or with the example script), but it would be great to understand why this is occuring/why we haven't encountered it with other Macs we've used

@WardBrian
Copy link
Collaborator

It may also be worthwhile to test either the Python or Julia example if you are able to - it's possible the issue is that the build of R you installed is not properly handling the leading underscores which can appear in macos libraries

@saumil-sh
Copy link
Author

I will share my C++ compiler and relevant setup and I try your suggestions when I get to it tomorrow.

Python and Julia examples ran as expected.
python:

$python example.py
This model's name is bernoulli_model.
It has 1 parameters.
log_density and gradient of Bernoulli model: (-27.455880681398384, array([-7.67408425]))

julia:

$julia -e 'using Pkg; Pkg.activate(".."); include("example.jl")'
  Activating project at `/Volumes/shah/projects/reviews/bridgestan/bridgestan`
This model's name is bernoulli_model.
It has 1 parameters.
log_density and gradient of Bernoulli model: (-6.456684984700505, [-2.575183751495763])

@saumil-sh
Copy link
Author

saumil-sh commented Jun 16, 2023

Hey,
Here is relevant information about my setup:
When I try xcode-select --install It directs me to I updated xcode using System Settings > Software Update, and that is how I updated it just before cloning the repo.

$xcode-select --version                    
xcode-select version 2397.

clang and make were installed as the dependency in the mamba environment I created.

$clang --version  
clang version 16.0.5
Target: arm64-apple-darwin22.5.0
Thread model: posix
InstalledDir: /Users/shah/mambaforge/envs/stan/bin

$clang++ --version
clang version 16.0.5
Target: arm64-apple-darwin22.5.0
Thread model: posix
InstalledDir: /Users/shah/mambaforge/envs/stan/bin

$make --version
GNU Make 4.3
Built for arm64-apple-darwin20.0.0

The xcode command line tools provide other compilers.

$g++ --version
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: arm64-apple-darwin22.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

I will rebuild with no leading underscore flag and let you know how it goes.

@saumil-sh
Copy link
Author

saumil-sh commented Jun 16, 2023

I ran make clean and then built the multi model again. There are 43 warnings generated, I am putting them here in case it may be useful.

Details

$make test_models/multi/multi_model.so        
curl -L https://github.com/stan-dev/stanc3/releases/download/v2.32.1/mac-stanc -o ./bin/stanc --retry 5 --retry-delay 10
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 10.8M  100 10.8M    0     0   9.8M      0  0:00:01  0:00:01 --:--:-- 28.7M
chmod +x ./bin/stanc

--- Compiling Stan bridge C++ code ---
arm64-apple-darwin20.0.0-clang++ -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/shah/mambaforge/envs/stan/include -std=c++1y -Wno-unknown-warning-option -Wno-tautological-compare -Wno-sign-compare -D_REENTRANT -Wno-ignored-attributes      -I ./stan/lib/stan_math/lib/tbb_2020.3/include    -O3 -I ./stan/src -I ./stan/lib/rapidjson_1.1.0/ -I ./stan/lib/stan_math/ -I ./stan/lib/stan_math/lib/eigen_3.4.0 -I ./stan/lib/stan_math/lib/boost_1.78.0 -I ./stan/lib/stan_math/lib/sundials_6.1.1/include -I ./stan/lib/stan_math/lib/sundials_6.1.1/src/sundials -fPIC -D_FORTIFY_SOURCE=2 -isystem /Users/shah/mambaforge/envs/stan/include    -DBOOST_DISABLE_ASSERTS          -c -o src/bridgestan.o       -Wl,-L,"/Volumes/shah/projects/reviews/bridgestan/bridgestan/stan/lib/stan_math/lib/tbb" -Wl,-rpath,"/Volumes/shah/projects/reviews/bridgestan/bridgestan/stan/lib/stan_math/lib/tbb"     src/bridgestan.cpp
clang-16: warning: -Wl,-L,/Volumes/shah/projects/reviews/bridgestan/bridgestan/stan/lib/stan_math/lib/tbb: 'linker' input unused [-Wunused-command-line-argument]
clang-16: warning: -Wl,-rpath,/Volumes/shah/projects/reviews/bridgestan/bridgestan/stan/lib/stan_math/lib/tbb: 'linker' input unused [-Wunused-command-line-argument]
In file included from src/bridgestan.cpp:1:
In file included from src/bridgestan.h:5:
In file included from src/model_rng.hpp:4:
In file included from ./stan/src/stan/model/model_base.hpp:5:
In file included from ./stan/lib/stan_math/stan/math/rev/core.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/core/chainable_object.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/rev/core/typedefs.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/rev/core/Eigen_NumTraits.hpp:5:
In file included from ./stan/lib/stan_math/stan/math/prim/core.hpp:4:
In file included from ./stan/lib/stan_math/stan/math/prim/core/init_threadpool_tbb.hpp:6:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast.hpp:31:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/bad_lexical_cast.hpp:28:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/throw_exception.hpp:24:
./stan/lib/stan_math/lib/boost_1.78.0/boost/assert/source_location.hpp:75:14: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
        std::sprintf( buffer, ":%ld", static_cast<long>( line() ) );
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
In file included from src/bridgestan.cpp:1:
In file included from src/bridgestan.h:5:
In file included from src/model_rng.hpp:4:
In file included from ./stan/src/stan/model/model_base.hpp:5:
In file included from ./stan/lib/stan_math/stan/math/rev/core.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/core/chainable_object.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/rev/core/typedefs.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/rev/core/Eigen_NumTraits.hpp:5:
In file included from ./stan/lib/stan_math/stan/math/prim/core.hpp:4:
In file included from ./stan/lib/stan_math/stan/math/prim/core/init_threadpool_tbb.hpp:6:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast.hpp:31:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/bad_lexical_cast.hpp:28:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/throw_exception.hpp:24:
./stan/lib/stan_math/lib/boost_1.78.0/boost/assert/source_location.hpp:80:18: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
            std::sprintf( buffer, ":%ld", static_cast<long>( column() ) );
                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
In file included from src/bridgestan.cpp:1:
In file included from src/bridgestan.h:5:
In file included from src/model_rng.hpp:4:
In file included from ./stan/src/stan/model/model_base.hpp:5:
In file included from ./stan/lib/stan_math/stan/math/rev/core.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/core/chainable_object.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/rev/core/typedefs.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/rev/core/Eigen_NumTraits.hpp:5:
In file included from ./stan/lib/stan_math/stan/math/prim/core.hpp:4:
In file included from ./stan/lib/stan_math/stan/math/prim/core/init_threadpool_tbb.hpp:6:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast.hpp:32:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/detail/converter_lexical.hpp:54:
./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                    sprintf(begin,
                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
In file included from src/bridgestan.cpp:1:
In file included from src/bridgestan.h:5:
In file included from src/model_rng.hpp:4:
In file included from ./stan/src/stan/model/model_base.hpp:5:
In file included from ./stan/lib/stan_math/stan/math/rev/core.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/core/chainable_object.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/rev/core/typedefs.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/rev/core/Eigen_NumTraits.hpp:5:
In file included from ./stan/lib/stan_math/stan/math/prim/core.hpp:4:
In file included from ./stan/lib/stan_math/stan/math/prim/core/init_threadpool_tbb.hpp:6:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast.hpp:32:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/detail/converter_lexical.hpp:54:
./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/detail/converter_lexical_streams.hpp:297:21: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                    sprintf(begin,
                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
In file included from src/bridgestan.cpp:1:
In file included from src/bridgestan.h:5:
In file included from src/model_rng.hpp:4:
In file included from ./stan/src/stan/model/model_base.hpp:5:
In file included from ./stan/lib/stan_math/stan/math/rev/core.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/core/chainable_object.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/rev/core/typedefs.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/rev/core/Eigen_NumTraits.hpp:5:
In file included from ./stan/lib/stan_math/stan/math/prim/core.hpp:4:
In file included from ./stan/lib/stan_math/stan/math/prim/core/init_threadpool_tbb.hpp:6:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast.hpp:32:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/detail/converter_lexical.hpp:54:
./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/detail/converter_lexical_streams.hpp:310:21: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                    sprintf(begin,
                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<bool, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:609:5: note: in instantiation of template class 'boost::hash_detail::hash_base<bool>' requested here
    BOOST_HASH_SPECIALIZE(bool)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<bool, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<char, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:610:5: note: in instantiation of template class 'boost::hash_detail::hash_base<char>' requested here
    BOOST_HASH_SPECIALIZE(char)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<char, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<signed char, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:611:5: note: in instantiation of template class 'boost::hash_detail::hash_base<signed char>' requested here
    BOOST_HASH_SPECIALIZE(signed char)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<signed char, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<unsigned char, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:612:5: note: in instantiation of template class 'boost::hash_detail::hash_base<unsigned char>' requested here
    BOOST_HASH_SPECIALIZE(unsigned char)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<unsigned char, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<wchar_t, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:614:5: note: in instantiation of template class 'boost::hash_detail::hash_base<wchar_t>' requested here
    BOOST_HASH_SPECIALIZE(wchar_t)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<wchar_t, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<char16_t, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:617:5: note: in instantiation of template class 'boost::hash_detail::hash_base<char16_t>' requested here
    BOOST_HASH_SPECIALIZE(char16_t)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<char16_t, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<char32_t, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:620:5: note: in instantiation of template class 'boost::hash_detail::hash_base<char32_t>' requested here
    BOOST_HASH_SPECIALIZE(char32_t)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<char32_t, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<short, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:622:5: note: in instantiation of template class 'boost::hash_detail::hash_base<short>' requested here
    BOOST_HASH_SPECIALIZE(short)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<short, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<unsigned short, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:623:5: note: in instantiation of template class 'boost::hash_detail::hash_base<unsigned short>' requested here
    BOOST_HASH_SPECIALIZE(unsigned short)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<unsigned short, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<int, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:624:5: note: in instantiation of template class 'boost::hash_detail::hash_base<int>' requested here
    BOOST_HASH_SPECIALIZE(int)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<int, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<unsigned int, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:625:5: note: in instantiation of template class 'boost::hash_detail::hash_base<unsigned int>' requested here
    BOOST_HASH_SPECIALIZE(unsigned int)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<unsigned int, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<long, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:626:5: note: in instantiation of template class 'boost::hash_detail::hash_base<long>' requested here
    BOOST_HASH_SPECIALIZE(long)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<long, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<unsigned long, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:627:5: note: in instantiation of template class 'boost::hash_detail::hash_base<unsigned long>' requested here
    BOOST_HASH_SPECIALIZE(unsigned long)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<unsigned long, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<float, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:629:5: note: in instantiation of template class 'boost::hash_detail::hash_base<float>' requested here
    BOOST_HASH_SPECIALIZE(float)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<float, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<double, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:630:5: note: in instantiation of template class 'boost::hash_detail::hash_base<double>' requested here
    BOOST_HASH_SPECIALIZE(double)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<double, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<long double, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:631:5: note: in instantiation of template class 'boost::hash_detail::hash_base<long double>' requested here
    BOOST_HASH_SPECIALIZE(long double)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<long double, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<std::string, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:633:5: note: in instantiation of template class 'boost::hash_detail::hash_base<std::string>' requested here
    BOOST_HASH_SPECIALIZE_REF(std::string)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:591:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE_REF'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<std::string, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<std::wstring, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:635:5: note: in instantiation of template class 'boost::hash_detail::hash_base<std::wstring>' requested here
    BOOST_HASH_SPECIALIZE_REF(std::wstring)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:591:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE_REF'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<std::wstring, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<std::u16string, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:638:5: note: in instantiation of template class 'boost::hash_detail::hash_base<std::u16string>' requested here
    BOOST_HASH_SPECIALIZE_REF(std::basic_string<char16_t>)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:591:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE_REF'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<std::u16string, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<std::u32string, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:641:5: note: in instantiation of template class 'boost::hash_detail::hash_base<std::u32string>' requested here
    BOOST_HASH_SPECIALIZE_REF(std::basic_string<char32_t>)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:591:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE_REF'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<std::u32string, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<long long, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:658:5: note: in instantiation of template class 'boost::hash_detail::hash_base<long long>' requested here
    BOOST_HASH_SPECIALIZE(boost::long_long_type)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<long long, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<unsigned long long, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:659:5: note: in instantiation of template class 'boost::hash_detail::hash_base<unsigned long long>' requested here
    BOOST_HASH_SPECIALIZE(boost::ulong_long_type)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<unsigned long long, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<__int128, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:663:5: note: in instantiation of template class 'boost::hash_detail::hash_base<__int128>' requested here
    BOOST_HASH_SPECIALIZE(boost::int128_type)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<__int128, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<unsigned __int128, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:664:5: note: in instantiation of template class 'boost::hash_detail::hash_base<unsigned __int128>' requested here
    BOOST_HASH_SPECIALIZE(boost::uint128_type)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<unsigned __int128, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<std::type_index, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:679:5: note: in instantiation of template class 'boost::hash_detail::hash_base<std::type_index>' requested here
    BOOST_HASH_SPECIALIZE(std::type_index)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<std::type_index, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:22:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_trivial_copy.hpp:34:4: warning: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Wdeprecated-builtins]
   BOOST_HAS_TRIVIAL_COPY(T) BOOST_TT_TRIVIAL_CONSTRUCT_FIX
   ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:190:41: note: expanded from macro 'BOOST_HAS_TRIVIAL_COPY'
#     define BOOST_HAS_TRIVIAL_COPY(T) (__has_trivial_copy(T) && !is_reference<T>::value)
                                        ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:23:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_trivial_destructor.hpp:30:86: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins]
template <typename T> struct has_trivial_destructor : public integral_constant<bool, BOOST_HAS_TRIVIAL_DESTRUCTOR(T)>{};
                                                                                     ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:196:47: note: expanded from macro 'BOOST_HAS_TRIVIAL_DESTRUCTOR'
#     define BOOST_HAS_TRIVIAL_DESTRUCTOR(T) (__has_trivial_destructor(T)  && is_destructible<T>::value)
                                              ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:5:
In file included from ./stan/src/stan/io/array_var_context.hpp:6:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:55:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/elt_multiply.hpp:9:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/multiply.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/prim/fun.hpp:124:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/grad_2F1.hpp:14:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/hypergeometric_2F1.hpp:19:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional.hpp:15:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional/optional.hpp:38:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_constructor.hpp:27:84: warning: builtin __has_nothrow_constructor is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins]
template <class T> struct has_nothrow_constructor : public integral_constant<bool, BOOST_HAS_NOTHROW_CONSTRUCTOR(T)>{};
                                                                                   ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:199:48: note: expanded from macro 'BOOST_HAS_NOTHROW_CONSTRUCTOR'
#     define BOOST_HAS_NOTHROW_CONSTRUCTOR(T) (__has_nothrow_constructor(T) && is_default_constructible<T>::value)
                                               ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:5:
In file included from ./stan/src/stan/io/array_var_context.hpp:6:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:55:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/elt_multiply.hpp:9:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/multiply.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/prim/fun.hpp:124:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/grad_2F1.hpp:14:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/hypergeometric_2F1.hpp:19:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional.hpp:15:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional/optional.hpp:47:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/is_nothrow_move_assignable.hpp:16:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_assign.hpp:65:7: warning: builtin __has_nothrow_assign is deprecated; use __is_nothrow_assignable instead [-Wdeprecated-builtins]
      BOOST_HAS_NOTHROW_ASSIGN(T)
      ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:205:43: note: expanded from macro 'BOOST_HAS_NOTHROW_ASSIGN'
#     define BOOST_HAS_NOTHROW_ASSIGN(T) (__has_nothrow_assign(T) && !is_volatile<T>::value && is_assignable<T&, const T&>::value)
                                          ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:5:
In file included from ./stan/src/stan/io/array_var_context.hpp:6:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:25:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/util/ublas_wrapper.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/vector.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/storage.hpp:22:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/array.hpp:26:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/array_wrapper.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/nvp.hpp:35:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/split_free.hpp:22:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/serialization.hpp:14:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/strong_typedef.hpp:30:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_copy.hpp:36:89: warning: builtin __has_nothrow_copy is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins]
template <class T> struct has_nothrow_copy_constructor : public integral_constant<bool, BOOST_HAS_NOTHROW_COPY(T)>{};
                                                                                        ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:202:41: note: expanded from macro 'BOOST_HAS_NOTHROW_COPY'
#     define BOOST_HAS_NOTHROW_COPY(T) (__has_nothrow_copy(T) && !is_volatile<T>::value && !is_reference<T>::value && is_copy_constructible<T>::value)
                                        ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:5:
In file included from ./stan/src/stan/io/array_var_context.hpp:6:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:25:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/util/ublas_wrapper.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/vector.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/storage.hpp:22:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/array.hpp:26:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/array_wrapper.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/nvp.hpp:35:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/split_free.hpp:22:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/serialization.hpp:14:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/strong_typedef.hpp:30:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_copy.hpp:36:89: warning: builtin __has_nothrow_copy is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins]
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:202:41: note: expanded from macro 'BOOST_HAS_NOTHROW_COPY'
#     define BOOST_HAS_NOTHROW_COPY(T) (__has_nothrow_copy(T) && !is_volatile<T>::value && !is_reference<T>::value && is_copy_constructible<T>::value)
                                        ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/serialization.hpp:52:1: note: in instantiation of template class 'boost::has_nothrow_copy_constructor<unsigned int>' requested here
BOOST_STRONG_TYPEDEF(unsigned int, version_type)
^
./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/strong_typedef.hpp:39:54: note: expanded from macro 'BOOST_STRONG_TYPEDEF'
    explicit D(const T& t_) BOOST_NOEXCEPT_IF(boost::has_nothrow_copy_constructor<T>::value) : t(t_) {}          \
                                                     ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:5:
In file included from ./stan/src/stan/io/array_var_context.hpp:6:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:55:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/elt_multiply.hpp:9:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/multiply.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/prim/fun.hpp:124:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/grad_2F1.hpp:14:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/hypergeometric_2F1.hpp:19:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional.hpp:15:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional/optional.hpp:38:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_constructor.hpp:27:84: warning: builtin __has_nothrow_constructor is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins]
template <class T> struct has_nothrow_constructor : public integral_constant<bool, BOOST_HAS_NOTHROW_CONSTRUCTOR(T)>{};
                                                                                   ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:199:48: note: expanded from macro 'BOOST_HAS_NOTHROW_CONSTRUCTOR'
#     define BOOST_HAS_NOTHROW_CONSTRUCTOR(T) (__has_nothrow_constructor(T) && is_default_constructible<T>::value)
                                               ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_constructor.hpp:69:68: note: in instantiation of template class 'boost::has_nothrow_constructor<unsigned int>' requested here
template <class T> struct has_nothrow_default_constructor : public has_nothrow_constructor<T>{};
                                                                   ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/serialization.hpp:52:1: note: in instantiation of template class 'boost::has_nothrow_default_constructor<unsigned int>' requested here
BOOST_STRONG_TYPEDEF(unsigned int, version_type)
^
./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/strong_typedef.hpp:40:34: note: expanded from macro 'BOOST_STRONG_TYPEDEF'
    D() BOOST_NOEXCEPT_IF(boost::has_nothrow_default_constructor<T>::value) : t() {}                             \
                                 ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:5:
In file included from ./stan/src/stan/io/array_var_context.hpp:6:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:55:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/elt_multiply.hpp:9:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/multiply.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/prim/fun.hpp:124:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/grad_2F1.hpp:14:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/hypergeometric_2F1.hpp:19:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional.hpp:15:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional/optional.hpp:47:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/is_nothrow_move_assignable.hpp:16:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_assign.hpp:65:7: warning: builtin __has_nothrow_assign is deprecated; use __is_nothrow_assignable instead [-Wdeprecated-builtins]
      BOOST_HAS_NOTHROW_ASSIGN(T)
      ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:205:43: note: expanded from macro 'BOOST_HAS_NOTHROW_ASSIGN'
#     define BOOST_HAS_NOTHROW_ASSIGN(T) (__has_nothrow_assign(T) && !is_volatile<T>::value && is_assignable<T&, const T&>::value)
                                          ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/serialization.hpp:52:1: note: in instantiation of template class 'boost::has_nothrow_assign<unsigned int>' requested here
BOOST_STRONG_TYPEDEF(unsigned int, version_type)
^
./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/strong_typedef.hpp:42:57: note: expanded from macro 'BOOST_STRONG_TYPEDEF'
    D& operator=(const D& rhs) BOOST_NOEXCEPT_IF(boost::has_nothrow_assign<T>::value) {t = rhs.t; return *this;} \
                                                        ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:5:
In file included from ./stan/src/stan/io/array_var_context.hpp:6:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:25:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/util/ublas_wrapper.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/vector.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/storage.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/traits.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits.hpp:79:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_trivial_assign.hpp:29:7: warning: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Wdeprecated-builtins]
      BOOST_HAS_TRIVIAL_ASSIGN(T)
      ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:193:43: note: expanded from macro 'BOOST_HAS_TRIVIAL_ASSIGN'
#     define BOOST_HAS_TRIVIAL_ASSIGN(T) (__has_trivial_assign(T) && !is_volatile<T>::value && is_assignable<T&, const T&>::value)
                                          ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:5:
In file included from ./stan/src/stan/io/array_var_context.hpp:6:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:25:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/util/ublas_wrapper.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/vector.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/storage.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/traits.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits.hpp:80:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_trivial_constructor.hpp:41:69: warning: builtin __has_trivial_constructor is deprecated; use __is_trivially_constructible instead [-Wdeprecated-builtins]
   : public integral_constant <bool, ((::boost::is_pod<T>::value || BOOST_HAS_TRIVIAL_CONSTRUCTOR(T)) BOOST_TT_TRIVIAL_CONSTRUCT_FIX)>{};
                                                                    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:187:47: note: expanded from macro 'BOOST_HAS_TRIVIAL_CONSTRUCTOR'
#     define BOOST_HAS_TRIVIAL_CONSTRUCTOR(T) __has_trivial_constructor(T)
                                              ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:5:
In file included from ./stan/src/stan/io/array_var_context.hpp:6:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:37:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp:40:
./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/max_step_checker.hpp:72:18: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
            std::sprintf(error_msg, "Max number of iterations exceeded (%d).", m_max_steps);
                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:5:
In file included from ./stan/src/stan/io/array_var_context.hpp:6:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:37:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp:40:
./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/max_step_checker.hpp:104:18: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
            std::sprintf(error_msg, "Max number of iterations exceeded (%d). A new step size was not found.", m_max_steps);
                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<const std::error_category *, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:692:18: note: in instantiation of template class 'boost::hash_detail::hash_base<const std::error_category *>' requested here
        : public boost::hash_detail::hash_base<T*>
                 ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:420:24: note: in instantiation of template class 'boost::hash<const std::error_category *>' requested here
        boost::hash<T> hasher;
                       ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:551:9: note: in instantiation of function template specialization 'boost::hash_combine<const std::error_category *>' requested here
        hash_combine(seed, &v.category());
        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<const std::error_category *, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:22:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_trivial_copy.hpp:34:4: warning: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Wdeprecated-builtins]
   BOOST_HAS_TRIVIAL_COPY(T) BOOST_TT_TRIVIAL_CONSTRUCT_FIX
   ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:190:41: note: expanded from macro 'BOOST_HAS_TRIVIAL_COPY'
#     define BOOST_HAS_TRIVIAL_COPY(T) (__has_trivial_copy(T) && !is_reference<T>::value)
                                        ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_trivial_copy.hpp:57:65: note: in instantiation of template class 'boost::has_trivial_copy<boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF<char>>>' requested here
template <class T> struct has_trivial_copy_constructor : public has_trivial_copy<T>{};
                                                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_template.hpp:945:20: note: in instantiation of template class 'boost::has_trivial_copy_constructor<boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF<char>>>' requested here
        if (boost::has_trivial_copy_constructor<Functor>::value &&
                   ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_template.hpp:720:13: note: in instantiation of function template specialization 'boost::function2<boost::iterator_range<std::__wrap_iter<const char *>>, std::__wrap_iter<const char *>, std::__wrap_iter<const char *>>::assign_to<boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF<char>>>' requested here
      this->assign_to(f);
            ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:51:21: note: in instantiation of function template specialization 'boost::function2<boost::iterator_range<std::__wrap_iter<const char *>>, std::__wrap_iter<const char *>, std::__wrap_iter<const char *>>::function2<boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF<char>>>' requested here
                    m_Finder(Finder) {}
                    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:261:17: note: in instantiation of function template specialization 'boost::algorithm::detail::find_iterator_base<std::__wrap_iter<const char *>>::find_iterator_base<boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF<char>>>' requested here
                detail::find_iterator_base<IteratorT>(Finder,0),
                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:178:21: note: in instantiation of function template specialization 'boost::algorithm::split_iterator<std::__wrap_iter<const char *>>::split_iterator<boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF<char>>>' requested here
                    find_iterator_type( ::boost::begin(lit_input), InputEnd, Finder ),
                    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:158:40: note: in instantiation of function template specialization 'boost::algorithm::iter_split<std::vector<std::string>, const std::string &, boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF<char>>>' requested here
            return ::boost::algorithm::iter_split(
                                       ^
./stan/src/stan/io/json/json_data_handler.hpp:358:7: note: in instantiation of function template specialization 'boost::algorithm::split<std::vector<std::string>, const std::string &, boost::algorithm::detail::is_any_ofF<char>>' requested here
      split(slots, var.first, boost::is_any_of("."), boost::token_compress_on);
      ^
In file included from src/bridgestan.cpp:2:
In file included from src/model_rng.cpp:4:
In file included from ./stan/src/stan/io/json/json_data.hpp:4:
In file included from ./stan/src/stan/io/json/json_data_handler.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:16:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:24:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:18:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:23:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_trivial_destructor.hpp:30:86: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins]
template <typename T> struct has_trivial_destructor : public integral_constant<bool, BOOST_HAS_TRIVIAL_DESTRUCTOR(T)>{};
                                                                                     ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:196:47: note: expanded from macro 'BOOST_HAS_TRIVIAL_DESTRUCTOR'
#     define BOOST_HAS_TRIVIAL_DESTRUCTOR(T) (__has_trivial_destructor(T)  && is_destructible<T>::value)
                                              ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_template.hpp:946:20: note: in instantiation of template class 'boost::has_trivial_destructor<boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF<char>>>' requested here
            boost::has_trivial_destructor<Functor>::value &&
                   ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_template.hpp:720:13: note: in instantiation of function template specialization 'boost::function2<boost::iterator_range<std::__wrap_iter<const char *>>, std::__wrap_iter<const char *>, std::__wrap_iter<const char *>>::assign_to<boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF<char>>>' requested here
      this->assign_to(f);
            ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/detail/find_iterator.hpp:51:21: note: in instantiation of function template specialization 'boost::function2<boost::iterator_range<std::__wrap_iter<const char *>>, std::__wrap_iter<const char *>, std::__wrap_iter<const char *>>::function2<boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF<char>>>' requested here
                    m_Finder(Finder) {}
                    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/find_iterator.hpp:261:17: note: in instantiation of function template specialization 'boost::algorithm::detail::find_iterator_base<std::__wrap_iter<const char *>>::find_iterator_base<boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF<char>>>' requested here
                detail::find_iterator_base<IteratorT>(Finder,0),
                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/iter_find.hpp:178:21: note: in instantiation of function template specialization 'boost::algorithm::split_iterator<std::__wrap_iter<const char *>>::split_iterator<boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF<char>>>' requested here
                    find_iterator_type( ::boost::begin(lit_input), InputEnd, Finder ),
                    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/algorithm/string/split.hpp:158:40: note: in instantiation of function template specialization 'boost::algorithm::iter_split<std::vector<std::string>, const std::string &, boost::algorithm::detail::token_finderF<boost::algorithm::detail::is_any_ofF<char>>>' requested here
            return ::boost::algorithm::iter_split(
                                       ^
./stan/src/stan/io/json/json_data_handler.hpp:358:7: note: in instantiation of function template specialization 'boost::algorithm::split<std::vector<std::string>, const std::string &, boost::algorithm::detail::is_any_ofF<char>>' requested here
      split(slots, var.first, boost::is_any_of("."), boost::token_compress_on);
      ^
45 warnings generated.

--- Translating Stan model to C++ code ---
./bin/stanc  --o=test_models/multi/multi.hpp test_models/multi/multi.stan

--- Compiling C++ code ---
arm64-apple-darwin20.0.0-clang++ -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/shah/mambaforge/envs/stan/include -std=c++1y -Wno-unknown-warning-option -Wno-tautological-compare -Wno-sign-compare -D_REENTRANT -Wno-ignored-attributes      -I ./stan/lib/stan_math/lib/tbb_2020.3/include    -O3 -I ./stan/src -I ./stan/lib/rapidjson_1.1.0/ -I ./stan/lib/stan_math/ -I ./stan/lib/stan_math/lib/eigen_3.4.0 -I ./stan/lib/stan_math/lib/boost_1.78.0 -I ./stan/lib/stan_math/lib/sundials_6.1.1/include -I ./stan/lib/stan_math/lib/sundials_6.1.1/src/sundials -fPIC -D_FORTIFY_SOURCE=2 -isystem /Users/shah/mambaforge/envs/stan/include    -DBOOST_DISABLE_ASSERTS          -c -x c++ -o test_models/multi/multi.o test_models/multi/multi.hpp
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:8:
In file included from ./stan/lib/stan_math/stan/math/rev/core.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/core/chainable_object.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/rev/core/typedefs.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/rev/core/Eigen_NumTraits.hpp:5:
In file included from ./stan/lib/stan_math/stan/math/prim/core.hpp:4:
In file included from ./stan/lib/stan_math/stan/math/prim/core/init_threadpool_tbb.hpp:6:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast.hpp:31:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/bad_lexical_cast.hpp:28:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/throw_exception.hpp:24:
./stan/lib/stan_math/lib/boost_1.78.0/boost/assert/source_location.hpp:75:14: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
        std::sprintf( buffer, ":%ld", static_cast<long>( line() ) );
             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:8:
In file included from ./stan/lib/stan_math/stan/math/rev/core.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/core/chainable_object.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/rev/core/typedefs.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/rev/core/Eigen_NumTraits.hpp:5:
In file included from ./stan/lib/stan_math/stan/math/prim/core.hpp:4:
In file included from ./stan/lib/stan_math/stan/math/prim/core/init_threadpool_tbb.hpp:6:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast.hpp:31:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/bad_lexical_cast.hpp:28:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/throw_exception.hpp:24:
./stan/lib/stan_math/lib/boost_1.78.0/boost/assert/source_location.hpp:80:18: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
            std::sprintf( buffer, ":%ld", static_cast<long>( column() ) );
                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:8:
In file included from ./stan/lib/stan_math/stan/math/rev/core.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/core/chainable_object.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/rev/core/typedefs.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/rev/core/Eigen_NumTraits.hpp:5:
In file included from ./stan/lib/stan_math/stan/math/prim/core.hpp:4:
In file included from ./stan/lib/stan_math/stan/math/prim/core/init_threadpool_tbb.hpp:6:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast.hpp:32:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/detail/converter_lexical.hpp:54:
./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/detail/converter_lexical_streams.hpp:285:21: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                    sprintf(begin,
                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:8:
In file included from ./stan/lib/stan_math/stan/math/rev/core.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/core/chainable_object.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/rev/core/typedefs.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/rev/core/Eigen_NumTraits.hpp:5:
In file included from ./stan/lib/stan_math/stan/math/prim/core.hpp:4:
In file included from ./stan/lib/stan_math/stan/math/prim/core/init_threadpool_tbb.hpp:6:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast.hpp:32:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/detail/converter_lexical.hpp:54:
./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/detail/converter_lexical_streams.hpp:297:21: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                    sprintf(begin,
                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:8:
In file included from ./stan/lib/stan_math/stan/math/rev/core.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/core/chainable_object.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/rev/core/typedefs.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/rev/core/Eigen_NumTraits.hpp:5:
In file included from ./stan/lib/stan_math/stan/math/prim/core.hpp:4:
In file included from ./stan/lib/stan_math/stan/math/prim/core/init_threadpool_tbb.hpp:6:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast.hpp:32:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/detail/converter_lexical.hpp:54:
./stan/lib/stan_math/lib/boost_1.78.0/boost/lexical_cast/detail/converter_lexical_streams.hpp:310:21: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                    sprintf(begin,
                    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:55:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/elt_multiply.hpp:9:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/multiply.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/prim/fun.hpp:124:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/grad_2F1.hpp:14:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/hypergeometric_2F1.hpp:19:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional.hpp:15:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional/optional.hpp:38:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_constructor.hpp:27:84: warning: builtin __has_nothrow_constructor is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins]
template <class T> struct has_nothrow_constructor : public integral_constant<bool, BOOST_HAS_NOTHROW_CONSTRUCTOR(T)>{};
                                                                                   ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:199:48: note: expanded from macro 'BOOST_HAS_NOTHROW_CONSTRUCTOR'
#     define BOOST_HAS_NOTHROW_CONSTRUCTOR(T) (__has_nothrow_constructor(T) && is_default_constructible<T>::value)
                                               ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:55:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/elt_multiply.hpp:9:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/multiply.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/prim/fun.hpp:124:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/grad_2F1.hpp:14:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/hypergeometric_2F1.hpp:19:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional.hpp:15:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional/optional.hpp:47:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/is_nothrow_move_assignable.hpp:16:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_assign.hpp:65:7: warning: builtin __has_nothrow_assign is deprecated; use __is_nothrow_assignable instead [-Wdeprecated-builtins]
      BOOST_HAS_NOTHROW_ASSIGN(T)
      ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:205:43: note: expanded from macro 'BOOST_HAS_NOTHROW_ASSIGN'
#     define BOOST_HAS_NOTHROW_ASSIGN(T) (__has_nothrow_assign(T) && !is_volatile<T>::value && is_assignable<T&, const T&>::value)
                                          ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:25:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/util/ublas_wrapper.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/vector.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/storage.hpp:22:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/array.hpp:26:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/array_wrapper.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/nvp.hpp:35:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/split_free.hpp:22:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/serialization.hpp:14:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/strong_typedef.hpp:30:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_copy.hpp:36:89: warning: builtin __has_nothrow_copy is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins]
template <class T> struct has_nothrow_copy_constructor : public integral_constant<bool, BOOST_HAS_NOTHROW_COPY(T)>{};
                                                                                        ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:202:41: note: expanded from macro 'BOOST_HAS_NOTHROW_COPY'
#     define BOOST_HAS_NOTHROW_COPY(T) (__has_nothrow_copy(T) && !is_volatile<T>::value && !is_reference<T>::value && is_copy_constructible<T>::value)
                                        ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:25:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/util/ublas_wrapper.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/vector.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/storage.hpp:22:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/array.hpp:26:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/array_wrapper.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/nvp.hpp:35:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/split_free.hpp:22:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/serialization.hpp:14:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/strong_typedef.hpp:30:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_copy.hpp:36:89: warning: builtin __has_nothrow_copy is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins]
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:202:41: note: expanded from macro 'BOOST_HAS_NOTHROW_COPY'
#     define BOOST_HAS_NOTHROW_COPY(T) (__has_nothrow_copy(T) && !is_volatile<T>::value && !is_reference<T>::value && is_copy_constructible<T>::value)
                                        ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/serialization.hpp:52:1: note: in instantiation of template class 'boost::has_nothrow_copy_constructor<unsigned int>' requested here
BOOST_STRONG_TYPEDEF(unsigned int, version_type)
^
./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/strong_typedef.hpp:39:54: note: expanded from macro 'BOOST_STRONG_TYPEDEF'
    explicit D(const T& t_) BOOST_NOEXCEPT_IF(boost::has_nothrow_copy_constructor<T>::value) : t(t_) {}          \
                                                     ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:55:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/elt_multiply.hpp:9:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/multiply.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/prim/fun.hpp:124:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/grad_2F1.hpp:14:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/hypergeometric_2F1.hpp:19:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional.hpp:15:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional/optional.hpp:38:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_constructor.hpp:27:84: warning: builtin __has_nothrow_constructor is deprecated; use __is_nothrow_constructible instead [-Wdeprecated-builtins]
template <class T> struct has_nothrow_constructor : public integral_constant<bool, BOOST_HAS_NOTHROW_CONSTRUCTOR(T)>{};
                                                                                   ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:199:48: note: expanded from macro 'BOOST_HAS_NOTHROW_CONSTRUCTOR'
#     define BOOST_HAS_NOTHROW_CONSTRUCTOR(T) (__has_nothrow_constructor(T) && is_default_constructible<T>::value)
                                               ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_constructor.hpp:69:68: note: in instantiation of template class 'boost::has_nothrow_constructor<unsigned int>' requested here
template <class T> struct has_nothrow_default_constructor : public has_nothrow_constructor<T>{};
                                                                   ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/serialization.hpp:52:1: note: in instantiation of template class 'boost::has_nothrow_default_constructor<unsigned int>' requested here
BOOST_STRONG_TYPEDEF(unsigned int, version_type)
^
./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/strong_typedef.hpp:40:34: note: expanded from macro 'BOOST_STRONG_TYPEDEF'
    D() BOOST_NOEXCEPT_IF(boost::has_nothrow_default_constructor<T>::value) : t() {}                             \
                                 ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:55:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/elt_multiply.hpp:9:
In file included from ./stan/lib/stan_math/stan/math/rev/fun/multiply.hpp:7:
In file included from ./stan/lib/stan_math/stan/math/prim/fun.hpp:124:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/grad_2F1.hpp:14:
In file included from ./stan/lib/stan_math/stan/math/prim/fun/hypergeometric_2F1.hpp:19:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional.hpp:15:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/optional/optional.hpp:47:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/is_nothrow_move_assignable.hpp:16:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_assign.hpp:65:7: warning: builtin __has_nothrow_assign is deprecated; use __is_nothrow_assignable instead [-Wdeprecated-builtins]
      BOOST_HAS_NOTHROW_ASSIGN(T)
      ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:205:43: note: expanded from macro 'BOOST_HAS_NOTHROW_ASSIGN'
#     define BOOST_HAS_NOTHROW_ASSIGN(T) (__has_nothrow_assign(T) && !is_volatile<T>::value && is_assignable<T&, const T&>::value)
                                          ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/serialization.hpp:52:1: note: in instantiation of template class 'boost::has_nothrow_assign<unsigned int>' requested here
BOOST_STRONG_TYPEDEF(unsigned int, version_type)
^
./stan/lib/stan_math/lib/boost_1.78.0/boost/serialization/strong_typedef.hpp:42:57: note: expanded from macro 'BOOST_STRONG_TYPEDEF'
    D& operator=(const D& rhs) BOOST_NOEXCEPT_IF(boost::has_nothrow_assign<T>::value) {t = rhs.t; return *this;} \
                                                        ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:25:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/util/ublas_wrapper.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/vector.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/storage.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/traits.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits.hpp:70:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_nothrow_destructor.hpp:12:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_trivial_destructor.hpp:30:86: warning: builtin __has_trivial_destructor is deprecated; use __is_trivially_destructible instead [-Wdeprecated-builtins]
template <typename T> struct has_trivial_destructor : public integral_constant<bool, BOOST_HAS_TRIVIAL_DESTRUCTOR(T)>{};
                                                                                     ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:196:47: note: expanded from macro 'BOOST_HAS_TRIVIAL_DESTRUCTOR'
#     define BOOST_HAS_TRIVIAL_DESTRUCTOR(T) (__has_trivial_destructor(T)  && is_destructible<T>::value)
                                              ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:25:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/util/ublas_wrapper.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/vector.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/storage.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/traits.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits.hpp:79:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_trivial_assign.hpp:29:7: warning: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Wdeprecated-builtins]
      BOOST_HAS_TRIVIAL_ASSIGN(T)
      ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:193:43: note: expanded from macro 'BOOST_HAS_TRIVIAL_ASSIGN'
#     define BOOST_HAS_TRIVIAL_ASSIGN(T) (__has_trivial_assign(T) && !is_volatile<T>::value && is_assignable<T&, const T&>::value)
                                          ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:25:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/util/ublas_wrapper.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/vector.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/storage.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/traits.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits.hpp:80:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_trivial_constructor.hpp:41:69: warning: builtin __has_trivial_constructor is deprecated; use __is_trivially_constructible instead [-Wdeprecated-builtins]
   : public integral_constant <bool, ((::boost::is_pod<T>::value || BOOST_HAS_TRIVIAL_CONSTRUCTOR(T)) BOOST_TT_TRIVIAL_CONSTRUCT_FIX)>{};
                                                                    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:187:47: note: expanded from macro 'BOOST_HAS_TRIVIAL_CONSTRUCTOR'
#     define BOOST_HAS_TRIVIAL_CONSTRUCTOR(T) __has_trivial_constructor(T)
                                              ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:25:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/util/ublas_wrapper.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/vector.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/storage.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/ublas/traits.hpp:27:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits.hpp:81:
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/has_trivial_copy.hpp:34:4: warning: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Wdeprecated-builtins]
   BOOST_HAS_TRIVIAL_COPY(T) BOOST_TT_TRIVIAL_CONSTRUCT_FIX
   ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/type_traits/intrinsics.hpp:190:41: note: expanded from macro 'BOOST_HAS_TRIVIAL_COPY'
#     define BOOST_HAS_TRIVIAL_COPY(T) (__has_trivial_copy(T) && !is_reference<T>::value)
                                        ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:37:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp:40:
./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/max_step_checker.hpp:72:18: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
            std::sprintf(error_msg, "Max number of iterations exceeded (%d).", m_max_steps);
                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:37:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/stepper/dense_output_runge_kutta.hpp:40:
./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/max_step_checker.hpp:104:18: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
            std::sprintf(error_msg, "Max number of iterations exceeded (%d). A new step size was not found.", m_max_steps);
                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<bool, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:609:5: note: in instantiation of template class 'boost::hash_detail::hash_base<bool>' requested here
    BOOST_HASH_SPECIALIZE(bool)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<bool, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<char, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:610:5: note: in instantiation of template class 'boost::hash_detail::hash_base<char>' requested here
    BOOST_HASH_SPECIALIZE(char)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<char, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<signed char, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:611:5: note: in instantiation of template class 'boost::hash_detail::hash_base<signed char>' requested here
    BOOST_HASH_SPECIALIZE(signed char)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<signed char, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<unsigned char, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:612:5: note: in instantiation of template class 'boost::hash_detail::hash_base<unsigned char>' requested here
    BOOST_HASH_SPECIALIZE(unsigned char)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<unsigned char, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<wchar_t, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:614:5: note: in instantiation of template class 'boost::hash_detail::hash_base<wchar_t>' requested here
    BOOST_HASH_SPECIALIZE(wchar_t)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<wchar_t, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<char16_t, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:617:5: note: in instantiation of template class 'boost::hash_detail::hash_base<char16_t>' requested here
    BOOST_HASH_SPECIALIZE(char16_t)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<char16_t, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<char32_t, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:620:5: note: in instantiation of template class 'boost::hash_detail::hash_base<char32_t>' requested here
    BOOST_HASH_SPECIALIZE(char32_t)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<char32_t, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<short, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:622:5: note: in instantiation of template class 'boost::hash_detail::hash_base<short>' requested here
    BOOST_HASH_SPECIALIZE(short)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<short, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<unsigned short, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:623:5: note: in instantiation of template class 'boost::hash_detail::hash_base<unsigned short>' requested here
    BOOST_HASH_SPECIALIZE(unsigned short)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<unsigned short, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<int, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:624:5: note: in instantiation of template class 'boost::hash_detail::hash_base<int>' requested here
    BOOST_HASH_SPECIALIZE(int)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<int, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<unsigned int, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:625:5: note: in instantiation of template class 'boost::hash_detail::hash_base<unsigned int>' requested here
    BOOST_HASH_SPECIALIZE(unsigned int)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<unsigned int, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<long, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:626:5: note: in instantiation of template class 'boost::hash_detail::hash_base<long>' requested here
    BOOST_HASH_SPECIALIZE(long)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<long, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<unsigned long, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:627:5: note: in instantiation of template class 'boost::hash_detail::hash_base<unsigned long>' requested here
    BOOST_HASH_SPECIALIZE(unsigned long)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<unsigned long, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<float, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:629:5: note: in instantiation of template class 'boost::hash_detail::hash_base<float>' requested here
    BOOST_HASH_SPECIALIZE(float)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<float, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<double, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:630:5: note: in instantiation of template class 'boost::hash_detail::hash_base<double>' requested here
    BOOST_HASH_SPECIALIZE(double)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<double, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<long double, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:631:5: note: in instantiation of template class 'boost::hash_detail::hash_base<long double>' requested here
    BOOST_HASH_SPECIALIZE(long double)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<long double, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<std::string, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:633:5: note: in instantiation of template class 'boost::hash_detail::hash_base<std::string>' requested here
    BOOST_HASH_SPECIALIZE_REF(std::string)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:591:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE_REF'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<std::string, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<std::wstring, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:635:5: note: in instantiation of template class 'boost::hash_detail::hash_base<std::wstring>' requested here
    BOOST_HASH_SPECIALIZE_REF(std::wstring)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:591:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE_REF'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<std::wstring, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<std::u16string, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:638:5: note: in instantiation of template class 'boost::hash_detail::hash_base<std::u16string>' requested here
    BOOST_HASH_SPECIALIZE_REF(std::basic_string<char16_t>)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:591:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE_REF'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<std::u16string, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<std::u32string, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:641:5: note: in instantiation of template class 'boost::hash_detail::hash_base<std::u32string>' requested here
    BOOST_HASH_SPECIALIZE_REF(std::basic_string<char32_t>)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:591:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE_REF'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<std::u32string, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<long long, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:658:5: note: in instantiation of template class 'boost::hash_detail::hash_base<long long>' requested here
    BOOST_HASH_SPECIALIZE(boost::long_long_type)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<long long, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<unsigned long long, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:659:5: note: in instantiation of template class 'boost::hash_detail::hash_base<unsigned long long>' requested here
    BOOST_HASH_SPECIALIZE(boost::ulong_long_type)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<unsigned long long, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<__int128, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:663:5: note: in instantiation of template class 'boost::hash_detail::hash_base<__int128>' requested here
    BOOST_HASH_SPECIALIZE(boost::int128_type)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<__int128, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<unsigned __int128, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:664:5: note: in instantiation of template class 'boost::hash_detail::hash_base<unsigned __int128>' requested here
    BOOST_HASH_SPECIALIZE(boost::uint128_type)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<unsigned __int128, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<std::type_index, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:679:5: note: in instantiation of template class 'boost::hash_detail::hash_base<std::type_index>' requested here
    BOOST_HASH_SPECIALIZE(std::type_index)
    ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:581:19: note: expanded from macro 'BOOST_HASH_SPECIALIZE'
         : public boost::hash_detail::hash_base<type> \
                  ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<std::type_index, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
In file included from test_models/multi/multi.hpp:2:
In file included from ./stan/src/stan/model/model_header.hpp:4:
In file included from ./stan/lib/stan_math/stan/math.hpp:19:
In file included from ./stan/lib/stan_math/stan/math/rev.hpp:10:
In file included from ./stan/lib/stan_math/stan/math/rev/fun.hpp:198:
In file included from ./stan/lib/stan_math/stan/math/prim/functor.hpp:15:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/integrate_ode_rk45.hpp:6:
In file included from ./stan/lib/stan_math/stan/math/prim/functor/ode_rk45.hpp:9:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint.hpp:76:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/numeric/odeint/integrate/observer_collection.hpp:23:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function.hpp:30:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/detail/prologue.hpp:17:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/function/function_base.hpp:21:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index.hpp:29:
In file included from ./stan/lib/stan_math/lib/boost_1.78.0/boost/type_index/stl_type_index.hpp:47:
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:132:33: warning: 'unary_function<const std::error_category *, unsigned long>' is deprecated [-Wdeprecated-declarations]
        struct hash_base : std::unary_function<T, std::size_t> {};
                                ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:692:18: note: in instantiation of template class 'boost::hash_detail::hash_base<const std::error_category *>' requested here
        : public boost::hash_detail::hash_base<T*>
                 ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:420:24: note: in instantiation of template class 'boost::hash<const std::error_category *>' requested here
        boost::hash<T> hasher;
                       ^
./stan/lib/stan_math/lib/boost_1.78.0/boost/container_hash/hash.hpp:551:9: note: in instantiation of function template specialization 'boost::hash_combine<const std::error_category *>' requested here
        hash_combine(seed, &v.category());
        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function<const std::error_category *, unsigned long>' has been explicitly marked deprecated here
struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function
                            ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:862:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11'
#    define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED
                                        ^
/Users/shah/mambaforge/envs/stan/bin/../include/c++/v1/__config:847:49: note: expanded from macro '_LIBCPP_DEPRECATED'
#      define _LIBCPP_DEPRECATED __attribute__((deprecated))
                                                ^
43 warnings generated.
--- Linking C++ code ---
arm64-apple-darwin20.0.0-clang++ -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/shah/mambaforge/envs/stan/include -std=c++1y -Wno-unknown-warning-option -Wno-tautological-compare -Wno-sign-compare -D_REENTRANT -Wno-ignored-attributes      -I ./stan/lib/stan_math/lib/tbb_2020.3/include    -O3 -I ./stan/src -I ./stan/lib/rapidjson_1.1.0/ -I ./stan/lib/stan_math/ -I ./stan/lib/stan_math/lib/eigen_3.4.0 -I ./stan/lib/stan_math/lib/boost_1.78.0 -I ./stan/lib/stan_math/lib/sundials_6.1.1/include -I ./stan/lib/stan_math/lib/sundials_6.1.1/src/sundials -fPIC -D_FORTIFY_SOURCE=2 -isystem /Users/shah/mambaforge/envs/stan/include    -DBOOST_DISABLE_ASSERTS         -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/shah/mambaforge/envs/stan/lib -L/Users/shah/mambaforge/envs/stan/lib       -Wl,-L,"/Volumes/shah/projects/reviews/bridgestan/bridgestan/stan/lib/stan_math/lib/tbb" -Wl,-rpath,"/Volumes/shah/projects/reviews/bridgestan/bridgestan/stan/lib/stan_math/lib/tbb"        -shared -lm -o  test_models/multi/multi_model.so test_models/multi/multi.o ./src/bridgestan.o       -Wl,-L,"/Volumes/shah/projects/reviews/bridgestan/bridgestan/stan/lib/stan_math/lib/tbb" -Wl,-rpath,"/Volumes/shah/projects/reviews/bridgestan/bridgestan/stan/lib/stan_math/lib/tbb"       ./stan/lib/stan_math/lib/tbb/libtbb.dylib ./stan/lib/stan_math/lib/tbb/libtbbmalloc.dylib ./stan/lib/stan_math/lib/tbb/libtbbmalloc_proxy.dylib
ld: warning: -pie being ignored. It is only used when linking a main executable
rm -f test_models/multi/multi.o

@saumil-sh
Copy link
Author

Aha! I think clang doesn't know to compile without the leading underscores.

$CXXFLAGS=-fno-leading-underscore make test_models/bernoulli/bernoulli_model.so

--- Translating Stan model to C++ code ---
./bin/stanc  --o=test_models/bernoulli/bernoulli.hpp test_models/bernoulli/bernoulli.stan

--- Compiling C++ code ---
arm64-apple-darwin20.0.0-clang++ -fno-leading-underscore -std=c++1y -Wno-unknown-warning-option -Wno-tautological-compare -Wno-sign-compare -D_REENTRANT -Wno-ignored-attributes      -I ./stan/lib/stan_math/lib/tbb_2020.3/include    -O3 -I ./stan/src -I ./stan/lib/rapidjson_1.1.0/ -I ./stan/lib/stan_math/ -I ./stan/lib/stan_math/lib/eigen_3.4.0 -I ./stan/lib/stan_math/lib/boost_1.78.0 -I ./stan/lib/stan_math/lib/sundials_6.1.1/include -I ./stan/lib/stan_math/lib/sundials_6.1.1/src/sundials -fPIC -D_FORTIFY_SOURCE=2 -isystem /Users/shah/mambaforge/envs/stan/include    -DBOOST_DISABLE_ASSERTS          -c -x c++ -o test_models/bernoulli/bernoulli.o test_models/bernoulli/bernoulli.hpp
clang-16: error: unknown argument: '-fno-leading-underscore'
make: *** [Makefile:62: test_models/bernoulli/bernoulli_model.so] Error 1

@saumil-sh
Copy link
Author

@WardBrian
Copy link
Collaborator

Python and Julia examples ran as expected.

Because of this, I believe the issue is with R, not with the compiler, since all three languages will be using the same dylib. The Python and Julia clients both request the function names without the leading underscore, and their standard libraries seem to know to add it. But R isn’t, at least not the build from conda (I know several Mac/R users who this problem has not surfaced for).

Just to confirm I’d like @roualdes to check (using nm) if the symbols on his Mac have the leading underscore. If so we can be fairly confident that the issue is not with compilation but in the R runtime

@roualdes
Copy link
Owner

nm bernoulli_model.so | grep _bs_
0000000000021f20 T _bs_free_error_msg
0000000000021f10 T _bs_free_error_msg_R
00000000000235c0 T _bs_log_density
0000000000023570 T _bs_log_density_R
0000000000023c40 T _bs_log_density_gradient
0000000000023bf0 T _bs_log_density_gradient_R
00000000000242d0 T _bs_log_density_hessian
0000000000024270 T _bs_log_density_hessian_R
0000000000074128 D _bs_major_version
0000000000074c78 S _bs_minor_version
0000000000021820 T _bs_model_construct
00000000000217e0 T _bs_model_construct_R
0000000000021f80 T _bs_model_destruct
0000000000021f50 T _bs_model_destruct_R
0000000000021fe0 T _bs_model_info
0000000000021fd0 T _bs_model_info_R
0000000000021fc0 T _bs_name
0000000000021fb0 T _bs_name_R
0000000000022180 T _bs_param_constrain
0000000000022130 T _bs_param_constrain_R
0000000000022040 T _bs_param_names
0000000000021ff0 T _bs_param_names_R
00000000000220e0 T _bs_param_num
0000000000022090 T _bs_param_num_R
0000000000022080 T _bs_param_unc_names
0000000000022070 T _bs_param_unc_names_R
0000000000022120 T _bs_param_unc_num
0000000000022110 T _bs_param_unc_num_R
00000000000228d0 T _bs_param_unconstrain
0000000000022890 T _bs_param_unconstrain_R
0000000000022f40 T _bs_param_unconstrain_json
0000000000022f00 T _bs_param_unconstrain_json_R
0000000000074c7c S _bs_patch_version
0000000000024950 T _bs_rng_construct
0000000000024910 T _bs_rng_construct_R
0000000000025030 T _bs_rng_destruct
0000000000025010 T _bs_rng_destruct_R
0000000000025050 T _bs_set_print_callback
0000000000021f30 T _bs_version_R

@roualdes
Copy link
Owner

I tried R 4.2 and 4.3 on Platform: x86_64-apple-darwin20 (64-bit), Running under: macOS Monterey 12.6.6 with both the R console and radian and the R example works as is, for me.

As far as I understand this, we've narrowed the issue down to either a aarch64-apple-darwin20.0.0 issue and/or a mamba/conda issue. I can't do anything about not having an M1 and I'm hesitant to install mamba/conda, because I don't know how to sandbox the install.

@saumil-sh would you mind trying to install R outside of a mamba/conda environment, and then trying the R example again?

@saumil-sh
Copy link
Author

Hi,
I installed an R instance outside mamba using brew install r

$R --version      
R version 4.3.1 (2023-06-16) -- "Beagle Scouts"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: aarch64-apple-darwin22.4.0 (64-bit)

Made sure Bernoulli example is compiled, R6, and bridgestan are installed.
et voilà

r$> source("example.R")
[1] "This model's name is bernoulli_model."
[1] "This model has 1 parameters."
[1] "log_density and gradient of Bernoulli model: -8.8324194103925, -4.27513683401048"

So, the conda distribution of the R is the culprit here.

@roualdes
Copy link
Owner

This is good to know. Thanks @saumil-sh for discovering and helping us find the root of this issue.

What do you all think is the appropriate action item from this? Add a note in the install doc for R? Do nothing until this issue surfaces again? Other?

@WardBrian
Copy link
Collaborator

I can file an issue against https://github.com/conda-forge/r-base-feedstock, which is where the Conda recipe is maintained

@saumil-sh
Copy link
Author

A note in the documentation is certainly a good idea until this is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants