Found the following significant warnings:
  include/rstan/io/r_ostream.hpp:49:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=]
  include/rstan/io/r_ostream.hpp:72:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=]
  init.cpp:464:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  init.cpp:464:49: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  init.cpp:466:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  init.cpp:466:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  init.cpp:468:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  init.cpp:468:48: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  init.cpp:531:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  init.cpp:531:49: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  init.cpp:533:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  init.cpp:533:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  init.cpp:535:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  init.cpp:535:48: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  rc_bounds.c:806:52: warning: unknown conversion type character 'z' in format [-Wformat=]
  rc_bounds.c:806:16: warning: too many arguments for format [-Wformat-extra-args]
  rc_bounds.c:809:79: warning: unknown conversion type character 'z' in format [-Wformat=]
  rc_bounds.c:809:31: warning: too many arguments for format [-Wformat-extra-args]
  rc_bounds.c:826:73: warning: unknown conversion type character 'z' in format [-Wformat=]
  rc_bounds.c:826:37: warning: too many arguments for format [-Wformat-extra-args]
  rc_bounds.c:829:84: warning: unknown conversion type character 'z' in format [-Wformat=]
  rc_bounds.c:829:36: warning: too many arguments for format [-Wformat-extra-args]
  rc_bounds.c:832:70: warning: unknown conversion type character 'z' in format [-Wformat=]
  rc_bounds.c:832:37: warning: too many arguments for format [-Wformat-extra-args]
  rc_bounds.c:835:81: warning: unknown conversion type character 'z' in format [-Wformat=]
  rc_bounds.c:835:36: warning: too many arguments for format [-Wformat-extra-args]
  rc_bounds.c:838:69: warning: unknown conversion type character 'z' in format [-Wformat=]
  rc_bounds.c:838:37: warning: too many arguments for format [-Wformat-extra-args]
  rc_bounds.c:841:71: warning: unknown conversion type character 'z' in format [-Wformat=]
  rc_bounds.c:841:37: warning: too many arguments for format [-Wformat-extra-args]
  stan_sampler.cpp:151:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:280:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:280:62: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:285:40: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:285:54: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:291:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:301:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:307:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:307:60: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long unsigned int' [-Wformat=]
  stan_sampler.cpp:312:45: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:312:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:317:50: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:317:64: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:322:31: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:327:49: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:327:63: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:332:30: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:337:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:337:61: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:342:28: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:349:52: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:349:66: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:354:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:359:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'std::size_t' {aka 'long long unsigned int'} [-Wformat=]
  stan_sampler.cpp:359:61: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=]
  stan_sampler.cpp:365:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
See 'd:/Rcompile/CRANpkg/local/4.4/stan4bart.Rcheck/00install.out' for details.
* used C compiler: 'gcc.exe (GCC) 12.3.0'
* used C++ compiler: 'g++.exe (GCC) 12.3.0'