When I am deploying the basic_ethereum code it give below error .
error[E0583]: file not found for module adjusted_byte
→ /Users/atrey/.cargo/registry/src/index.crates.io-6f17d22bba15001f/byte-unit-4.0.19/src/lib.rs:172:1
|
172 | mod adjusted_byte;
| ^^^^^^^^^^^^^^^^^^
|
= help: to create the module adjusted_byte
, create file “/Users/atrey/.cargo/registry/src/index.crates.io-6f17d22bba15001f/byte-unit-4.0.19/src/adjusted_byte.rs” or “/Users/atrey/.cargo/registry/src/index.crates.io-6f17d22bba15001f/byte-unit-4.0.19/src/adjusted_byte/mod.rs”
= note: if there is a mod adjusted_byte
elsewhere in the crate already, import it with use crate::...
instead
error[E0432]: unresolved import crate::AdjustedByte
→ /Users/atrey/.cargo/registry/src/index.crates.io-6f17d22bba15001f/byte-unit-4.0.19/src/byte.rs:10:36
|
10 | get_char_from_bytes, read_xib, AdjustedByte, ByteError, ByteUnit, ValueIncorrectError,
| ^^^^^^^^^^^^
| |
| no AdjustedByte
in the root
| help: a similar name exists in the module: adjusted_byte
Some errors have detailed explanations: E0432, E0583.
For more information about an error, try rustc --explain E0432
.
error: could not compile byte-unit
(lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish…
Building frontend…
WARN: Generating type declarations for canister sign_frontend:
/Users/atrey/Desktop/wasserstoff/ICP-BRIDGE/src/declarations/sign_frontend/sign_frontend.did.d.ts
/Users/atrey/Desktop/wasserstoff/ICP-BRIDGE/src/declarations/sign_frontend/sign_frontend.did.js
/Users/atrey/Desktop/wasserstoff/ICP-BRIDGE/src/declarations/sign_frontend/sign_frontend.did
Generating type declarations for canister sign_backend:
/Users/atrey/Desktop/wasserstoff/ICP-BRIDGE/src/declarations/sign_backend/sign_backend.did.d.ts
/Users/atrey/Desktop/wasserstoff/ICP-BRIDGE/src/declarations/sign_backend/sign_backend.did.js
/Users/atrey/Desktop/wasserstoff/ICP-BRIDGE/src/declarations/sign_backend/sign_backend.did
Generating type declarations for canister evm_rpc:
/Users/atrey/Desktop/wasserstoff/ICP-BRIDGE/src/declarations/evm_rpc/evm_rpc.did.d.ts
/Users/atrey/Desktop/wasserstoff/ICP-BRIDGE/src/declarations/evm_rpc/evm_rpc.did.js
/Users/atrey/Desktop/wasserstoff/ICP-BRIDGE/src/declarations/evm_rpc/evm_rpc.did
Error: Failed while trying to deploy canisters.
Caused by: Failed to build all canisters.
Caused by: Failed while trying to build all canisters.
Caused by: The build step failed for canister ‘br5f7-7uaaa-aaaaa-qaaca-cai’ (sign_backend)
Caused by: Failed to build Rust canister ‘sign_backend’.
Caused by: Failed to compile the rust package: sign_backend