Using latest rules_rust (0.57.1) I'm seeing the crates_vendor target failing when a 1.85 toolchain is selected. Weirdly enough, I'm not able to reproduce this locally, where the target runs without issues, but I can see it happening on Github Actions CI 100% of the time, and on all platforms.
A small reproducer is available in redsun82/test#2. If you look at commits, you can see that using the default (1.84) toolchain in redsun82/test@07d0340 runs ok and then when switching to a 1.85 toolchain in redsun82/test@ce0b879 the run fails with
Error: Failed to get crate index config
Caused by:
No such file or directory (os error 2)
I will try a workaround switching to a 1.84 toolchain when running this vendoring check on CI in our internal repository where I discovered this.