apache / incubator-teaclave

Apache Teaclave (incubating) is an open source universal secure computing platform, making computation on privacy-sensitive data safe and simple.
https://teaclave.apache.org
Apache License 2.0
757 stars 159 forks source link

Dependency errors #729

Closed marioolf closed 2 months ago

marioolf commented 3 months ago

So I am trying to contribute to the project. I am trying to use sgx_tstd library on attestation/src/service.rs, but if I use sgx_tstd = { version = "2.0.0" } on the Cargo.toml from attestation, this error shows up:

error: failed to select a version for the requirement `sgx_tstd = "^2.0.0"`
candidate versions found which didn't match: 1.1.1, 1.1.0, 1.0.9, ...
location searched: crates.io index
required by package `teaclave_attestation v0.6.0 (/teaclave/build/cmake_tomls/sgx_untrusted_app/attestation)`
make[2]: *** [CMakeFiles/sgxapp-teaclave_functional_tests.dir/build.make:58: CMakeFiles/sgxapp-teaclave_functional_tests] Error 101
make[1]: *** [CMakeFiles/Makefile2:1420: CMakeFiles/sgxapp-teaclave_functional_tests.dir/all] Error 2

Also if I use version 1.1.1 there are multiple errors, how am I supposed to import that version to use it on attestation folder?

Thanks.