It's the exact error I wrote the code form.R refers to miui 12, s refers to miui 13. This is not an error. What error did you get in twrp? Please send a picture
It starts flashing /cust and it's an instant error.
I installed xiaomi.eu V12.5.10.0.RJFMIXM and it installs fine. It also boots.
I did not complete the initial 12.5.10.0 setup, went back to TWRP and formatted /data (typed "yes"), wiped cache and tried immediatly (no reboot) to install V13.0.3.0.SJFMIXM. I am still getting the same error.