parasol-aser / vrust-open-source

Automated Vulnerability Detection for Solana Smart Contracts
20 stars 9 forks source link

error[E0463]: can't find crate for `proc_macro` #3

Open vincenzo-esposit0 opened 3 months ago

vincenzo-esposit0 commented 3 months ago

Hello everyone,

When I run the command 'python3 ./run.py', I get this error and I can't fix it.

I have an ARM processor, but I also tried with a Linux and Intel processor, and this problem persists.

Screenshot 2024-07-01 alle 16 03 44
jncsw commented 3 months ago

Hi, @vincenzo-esposit0,

Thank you for your interest in our work. Could you confirm the rustc version and environment setup?

You can follow the step below to align the versions:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup install nightly-2021-12-14
rustup default nightly-2021-12-14
rustup component add rust-src
rustup component add rustc-dev
cargo install xargo

You may also want to try our docker image.

Hope it helps.

vincenzo-esposit0 commented 3 months ago

Hi @jncsw, I have followed the steps described in the README and confirm that I have installed the recommended version of rust and cargo.

Screenshot 2024-07-08 alle 12 47 19

The problem also persists on Intel processors and the docker image.

Can I fix it?