-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
I used :
rustc 1.84.1
cargo install mind_sdk_deepseek
got this Error :
error: failed to canonicalize path "/home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mind_sdk_chain-0.1.3/../resources/FheKeyRegistry.json": No such file or directory (os error 2)
--> /home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mind_sdk_chain-0.1.3/src/fhekeyregistry_contract.rs:10:5
|
10 | "../resources/FheKeyRegistry.json"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: failed to canonicalize path "/home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mind_sdk_chain-0.1.3/../resources/MemberPool.json": No such file or directory (os error 2)
--> /home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mind_sdk_chain-0.1.3/src/rewards_contract.rs:9:5
|
9 | "../resources/MemberPool.json"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: failed to canonicalize path "/home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mind_sdk_chain-0.1.3/../resources/SubnetController.json": No such file or directory (os error 2)
--> /home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mind_sdk_chain-0.1.3/src/subnet_controller_contract.rs:9:5
|
9 | "../resources/SubnetController.json"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0433]: failed to resolve: could not find `FheKeyRegistryContractAbi` in `fhekeyregistry_contract`
--> /home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mind_sdk_chain-0.1.3/src/fhekeyregistry_contract.rs:15:37
|
15 | crate::fhekeyregistry_contract::FheKeyRegistryContractAbi::FheKeyRegistryContractAbiInstance<
| ^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `FheKeyRegistryContractAbi` in `fhekeyregistry_contract`
error[E0433]: failed to resolve: could not find `FheKeyRegistryContractAbi` in `fhekeyregistry_contract`
--> /home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mind_sdk_chain-0.1.3/src/fhekeyregistry_contract.rs:26:41
|
26 | crate::fhekeyregistry_contract::FheKeyRegistryContractAbi::new(
| ^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| could not find `FheKeyRegistryContractAbi` in `fhekeyregistry_contract`
| help: a type alias with a similar name exists: `FheKeyRegistryContractInstance`
error[E0433]: failed to resolve: could not find `SubnetControllerContractAbi` in `subnet_controller_contract`
--> /home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mind_sdk_chain-0.1.3/src/function.rs:75:51
|
75 | let r: crate::subnet_controller_contract::SubnetControllerContractAbi::requestsReturn =
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| could not find `SubnetControllerContractAbi` in `subnet_controller_contract`
| help: a type alias with a similar name exists: `SubnetControllerContractInstance`
error[E0433]: failed to resolve: could not find `IFheKeySet` in `fhekeyregistry_contract`
--> /home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mind_sdk_chain-0.1.3/src/function.rs:176:64
|
176 | fhe_private_key_data: &crate::fhekeyregistry_contract::IFheKeySet::FheKey,
| ^^^^^^^^^^ could not find `IFheKeySet` in `fhekeyregistry_contract`
error[E0433]: failed to resolve: could not find `RewardsContractAbi` in `rewards_contract`
--> /home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mind_sdk_chain-0.1.3/src/rewards_contract.rs:14:30
|
14 | crate::rewards_contract::RewardsContractAbi::RewardsContractAbiInstance<
| ^^^^^^^^^^^^^^^^^^ could not find `RewardsContractAbi` in `rewards_contract`
error[E0433]: failed to resolve: could not find `RewardsContractAbi` in `rewards_contract`
--> /home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mind_sdk_chain-0.1.3/src/rewards_contract.rs:31:34
|
31 | crate::rewards_contract::RewardsContractAbi::new(
| ^^^^^^^^^^^^^^^^^^ could not find `RewardsContractAbi` in `rewards_contract`
error[E0433]: failed to resolve: could not find `SubnetControllerContractAbi` in `subnet_controller_contract`
--> /home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mind_sdk_chain-0.1.3/src/subnet_controller_error.rs:2:43
|
2 | ...net_controller_contract::SubnetControllerContractAbi::SubnetControllerContractAbiErrors,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| could not find `SubnetControllerContractAbi` in `subnet_controller_contract`
| help: a type alias with a similar name exists: `SubnetControllerContractInstance`
error[E0433]: failed to resolve: could not find `SubnetControllerContractAbi` in `subnet_controller_contract`
--> /home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mind_sdk_chain-0.1.3/src/subnet_controller_error.rs:7:44
|
7 | ...net_controller_contract::SubnetControllerContractAbi::SubnetControllerContractAbiErrors::Gen...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `SubnetControllerContractAbi` in `subnet_controller_contract`
error[E0433]: failed to resolve: could not find `SubnetControllerContractAbi` in `subnet_controller_contract`
--> /home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mind_sdk_chain-0.1.3/src/subnet_controller_error.rs:60:74
|
60 | ...net_controller_contract::SubnetControllerContractAbi::SubnetControllerContractAbiErrors> = ...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| could not find `SubnetControllerContractAbi` in `subnet_controller_contract`
| help: a type alias with a similar name exists: `SubnetControllerContractInstance`
error[E0433]: failed to resolve: use of undeclared type `RewardsContractAbi`
--> /home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mind_sdk_chain-0.1.3/src/rewards_contract.rs:22:30
|
22 | std::marker::PhantomData<RewardsContractAbi::voterRewardEarnedCall>,
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `RewardsContractAbi`
error[E0433]: failed to resolve: use of undeclared type `SubnetControllerContractAbi`
--> /home/xxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mind_sdk_chain-0.1.3/src/subnet_controller_contract.rs:19:5
|
19 | SubnetControllerContractAbi::SubnetControllerContractAbiInstance<
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SubnetControllerContractAbi`
For more information about this error, try `rustc --explain E0433`.
error: could not compile `mind_sdk_chain` (lib) due to 14 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile `mind_sdk_deepseek v0.1.2`, intermediate artifacts can be found at `/tmp/cargo-install4VooAK`.
Metadata
Metadata
Assignees
Labels
No labels