cssl-unist / trust-sec23

7 stars 1 forks source link

Errors when compiling the benchmarks #1

Open kiyoakii opened 10 months ago

kiyoakii commented 10 months ago

After successes for all steps before compiling the benchmarks (the steps in the README didn't work smoothly but I got here anyway), now I'm getting:

# cd $PRJHOME/benchmarks/base64
./build.sh
warning: unused manifest key: source
error: failed to download `crossbeam-utils v0.8.18`

Caused by:
  unable to get packages from source

Caused by:
  failed to parse manifest at `/root/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-utils-0.8.18/Cargo.toml`

Caused by:
  failed to parse the `edition` key

Caused by:
  this version of Cargo is older than the `2021` edition, and only supports `2015` and `2018` editions.
cp: cannot create regular file './target/release/deps/.': No such file or directory
./run.sh:cd:3: no such file or directory: ./target/release/deps
SVF directory : /trust/mpk-svf/Release-build/bin/dvf
LLVM directory : /trust/rust/build/x86_64-unknown-linux-gnu/llvm/bin
kiyoakii commented 10 months ago

The benchmarks/std works just fine, as an evidence that the previous steps should be completed.