Cmdstanr can no longer find include file

After upgrading cmdstanr from 0.5.2 to 0.5.3, I getting “could not find include file” errors. I’m using cmdstan 2.30.1. Here’s a simple example:

Model file test.stan

data {
#include test_include.stan
  
  int<lower=0> N;
  vector[N] y;
}

parameters {
  real mu;
  real<lower=0> sigma;
}

model {
  y ~ normal(mu, sigma);
}

Include file test_include.stan

int abc;

Output

> dir(pattern = "test.*.stan")
[1] "test_include.stan" "test.stan" 
> cmdstan_model("test.stan", quiet = FALSE)
Compiling Stan program...

--- Translating Stan model to C++ code ---
bin/stanc  --o=/home/karim/Code/rtemp/Rtmp2RffNR/model-3cc9c15d3306f.hpp /home/karim/Code/rtemp/Rtmp2RffNR/model-3cc9c15d3306f.stan
Syntax error in '/home/karim/Code/rtemp/Rtmp2RffNR/model-3cc9c15d3306f.stan', line 2, column 0, include error:
   -------------------------------------------------
     1:  data {
     2:  #include test_include.stan
         ^
     3:    
     4:    int<lower=0> N;
   -------------------------------------------------

Could not find include file test_include.stan in specified include paths.
Syntax error in '/home/karim/Code/rtemp/Rtmp2RffNR/model-3cc9c15d3306f.stan', line 2, column 0, include error:
   -------------------------------------------------
     1:  data {
     2:  #include test_include.stan
         ^
     3:    
     4:    int<lower=0> N;
   -------------------------------------------------

Could not find include file test_include.stan in specified include paths.

make: *** [make/program:50: /home/karim/Code/rtemp/Rtmp2RffNR/model-3cc9c15d3306f.hpp] Error 1
make: *** [make/program:50: /home/karim/Code/rtemp/Rtmp2RffNR/model-3cc9c15d3306f.hpp] Error 1

Error: An error occured during compilation! See the message above for more information.