emilianobonassi / zkFHE

Verifiable and confidential computation based on ZKP and FHE, powered by risc0 zkVM.
Apache License 2.0
76 stars 2 forks source link

failed to load source for dependency `risc0-build` #4

Open Vap0RSh4wN opened 4 months ago

Vap0RSh4wN commented 4 months ago

error: failed to get risc0-build as a dependency of package methods v0.1.0 (/root/autodl-tmp/zkFHE/methods)

Caused by: failed to load source for dependency risc0-build

Caused by: Unable to update ssh://git@github.com/emilianobonassi/risc0.git

Caused by: failed to fetch into: /root/.cargo/git/db/risc0-8b1b9cfa1fb74959

Caused by: process didn't exit successfully: git fetch --force --update-head-ok 'ssh://git@github.com/emilianobonassi/risc0.git' '+HEAD:refs/remotes/origin/HEAD' (exit status: 128)

Vap0RSh4wN commented 4 months ago

cannot run even with proxy😢 thanks for your help!

Vap0RSh4wN commented 4 months ago

after I changed every ssh:// from cargo.toml, I got:

error: failed to get cargo_metadata as a dependency of package risc0-build v0.14.0 (https://github.com/emilianobonassi/risc0.git#53d0e14b) ... which satisfies git dependency risc0-build of package methods v0.1.0 (/root/autodl-tmp/zkFHE/methods)

Caused by: failed to load source for dependency cargo_metadata

Caused by: Unable to update registry crates-io

Caused by: usage of sparse registries requires -Z sparse-registry