Nicer error message when toolchain version and sp1-zkvm
versions are incompatible
#1625
Labels
compilation
Issues preventing programs from compiling
enhancement
New feature or request
rust
Pull requests that update Rust code
Hi all! I worked on some project which used SP1. It was depending on a fixed commit, rather than latest version. I cloned the project, downloaded and setted up sp1 following sp1 book, runned
cargo prove build
and faced this monstrous error:What was even more frustrating, exact same code worked on my coworker machine. After some time of digging, I finally found that the problem was that my toolchain version was newer than
sp1-zkvm
crate, and my coworker used older toolchain, thus on his machine everything worked, but not on mine. I spent really significant time discovering it, thus, probably, it worth to add warning, if you compile with different versions ofsp1-zkvm
andcargo prove
toolchain.The text was updated successfully, but these errors were encountered: