can't even compile Kaspa-NG
Hello, now I can't even compile Kaspa-NG anymore:sudo git clone https://github.com/aspectron/kaspa-ng.git-> Rusty Kaspa build instructions for Linux (Ubuntu)-> Kaspa-NG build instructions for Linux (Ubuntu) sudo cargo run --releaseFollowing error occurred (File)
Compiling kaspa-wallet-core v0.13.4error: Seal changed - was: 0xa7a4 now: 0x544d
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kaspa-wallet-core-0.13.4/src/deterministic.rs:59:9
|59 | seal! { 0xa7a4, { | ^^^^^^error[E0412]: cannot find type `DeterministicHashData` in this scope
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kaspa-wallet-core-0.13.4/src/deterministic.rs:78:45
|78 | fn make_hashes<T, const N: usize>(hashable: DeterministicHashData<T>) -> [Hash; N] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0422]: cannot find struct, variant or union type `DeterministicHashData` in this scope
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kaspa-wallet-core-0.13.4/src/deterministic.rs:93:20
|93 | let hashable = DeterministicHashData { | ^^^^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0422]: cannot find struct, variant or union type `DeterministicHashData` in this scope
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kaspa-wallet-core-0.13.4/src/deterministic.rs:106:20
|106 | let hashable = DeterministicHashData { | ^^^^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0422]: cannot find struct, variant or union type `DeterministicHashData` in this scope
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kaspa-wallet-core-0.13.4/src/deterministic.rs:119:20
|119 | let hashable = DeterministicHashData { | ^^^^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0422]: cannot find struct, variant or union type `DeterministicHashData` in this scope
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kaspa-wallet-core-0.13.4/src/deterministic.rs:132:20
|132 | let hashable = DeterministicHashData { | ^^^^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `DeterministicHashData` in this scope
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kaspa-wallet-core-0.13.4/src/deterministic.rs:145:19
|145 | let hashable: DeterministicHashData<[PrvKeyDataId; 0]> = DeterministicHashData { | ^^^^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0422]: cannot find struct, variant or union type `DeterministicHashData` in this scope
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kaspa-wallet-core-0.13.4/src/deterministic.rs:145:62
|145 | let hashable: DeterministicHashData<[PrvKeyDataId; 0]> = DeterministicHashData { | ^^^^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `DeterministicHashData` in this scope
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kaspa-wallet-core-0.13.4/src/deterministic.rs:158:19
|158 | let hashable: DeterministicHashData<[PrvKeyDataId; 0]> = DeterministicHashData { | ^^^^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0422]: cannot find struct, variant or union type `DeterministicHashData` in this scope
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kaspa-wallet-core-0.13.4/src/deterministic.rs:158:62
|158 | let hashable: DeterministicHashData<[PrvKeyDataId; 0]> = DeterministicHashData { | ^^^^^^^^^^^^^^^^^^^^^ not found in this scopeSome errors have detailed explanations: E0412, E0422.For more information about an error, try `rustc --explain E0412`.error: could not compile `kaspa-wallet-core` (lib) due to 10 previous errorswarning: build failed, waiting for other jobs to finish...rustc --version
-> rustc 1.77.1
There's a commit in rusty-kaspa that fixes the error when compiler version is greater than or equal 1.77
Until we publish new release there are some workarounds:
1) override dependency of rusty-kaspa with master branch
Or
2) override the toolchain with 1.76 version
| 感动 | 同情 | 无聊 | 愤怒 | 搞笑 | 难过 | 高兴 | 路过 |
相关文章
-
没有相关内容

会员登录