Comments (9)
Than we can close this, thanks for the quick support.
from rgb-node.
When I try it with the command: cargo install rgb_node --all-features --version 0.8.0-beta.2
I get:
Compiling psbt v0.7.1
error[E0277]: the trait bound bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>: AsRef<[UnhardenedIndex]>
is not satisfied
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/psbt-0.7.1/src/construct/mod.rs:174:33
|
171 | ... DeriveDescriptor::::derive_descriptor(
| ----------------------------------------------------- required by a bound introduced by this call
...
174 | ... &input.terminal,
| ^^^^^^^^^^^^^^^ the trait AsRef<[UnhardenedIndex]>
is not implemented for bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>
|
= help: the trait AsRef<[Segment]>
is implemented for bitcoin_hd::path::DerivationSubpath<Segment>
= note: required because of the requirements on the impl of AsRef<[UnhardenedIndex]>
for &bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>
note: required by a bound in derive_descriptor
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/bitcoin_hd-0.7.1/src/derive.rs:117:19
|
117 | pat: impl AsRef<[UnhardenedIndex]>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in derive_descriptor
error[E0277]: the trait bound bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>: AsRef<[UnhardenedIndex]>
is not satisfied
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/psbt-0.7.1/src/construct/mod.rs:188:33
|
185 | ... DeriveDescriptor::bitcoin::PublicKey::derive_descriptor(
| --------------------------------------------------------- required by a bound introduced by this call
...
188 | ... &input.terminal,
| ^^^^^^^^^^^^^^^ the trait AsRef<[UnhardenedIndex]>
is not implemented for bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>
|
= help: the trait AsRef<[Segment]>
is implemented for bitcoin_hd::path::DerivationSubpath<Segment>
= note: required because of the requirements on the impl of AsRef<[UnhardenedIndex]>
for &bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>
note: required by a bound in derive_descriptor
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/bitcoin_hd-0.7.1/src/derive.rs:117:19
|
117 | pat: impl AsRef<[UnhardenedIndex]>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in derive_descriptor
error[E0277]: the trait bound bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>: AsRef<[UnhardenedIndex]>
is not satisfied
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/psbt-0.7.1/src/construct/mod.rs:209:58
|
209 | match account.bip32_derivation(secp, &input.terminal) {
| ---------------- ^^^^^^^^^^^^^^^ the trait AsRef<[UnhardenedIndex]>
is not implemented for bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>
| |
| required by a bound introduced by this call
|
= help: the trait AsRef<[Segment]>
is implemented for bitcoin_hd::path::DerivationSubpath<Segment>
= note: required because of the requirements on the impl of AsRef<[UnhardenedIndex]>
for &bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>
note: required by a bound in TrackingAccount::bip32_derivation
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/bitcoin_hd-0.7.1/src/account.rs:211:19
|
211 | pat: impl AsRef<[UnhardenedIndex]>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in TrackingAccount::bip32_derivation
error[E0277]: the trait bound bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>: AsRef<[UnhardenedIndex]>
is not satisfied
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/psbt-0.7.1/src/construct/mod.rs:257:57
|
257 | ... .bip32_derivation(secp, &input.terminal)
| ---------------- ^^^^^^^^^^^^^^^ the trait AsRef<[UnhardenedIndex]>
is not implemented for bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>
| |
| required by a bound introduced by this call
|
= help: the trait AsRef<[Segment]>
is implemented for bitcoin_hd::path::DerivationSubpath<Segment>
= note: required because of the requirements on the impl of AsRef<[UnhardenedIndex]>
for &bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>
note: required by a bound in TrackingAccount::bip32_derivation
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/bitcoin_hd-0.7.1/src/account.rs:211:19
|
211 | pat: impl AsRef<[UnhardenedIndex]>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in TrackingAccount::bip32_derivation
error[E0277]: the trait bound bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>: AsRef<[UnhardenedIndex]>
is not satisfied
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/psbt-0.7.1/src/construct/mod.rs:282:53
|
282 | ... .bip32_derivation(secp, &input.terminal)
| ---------------- ^^^^^^^^^^^^^^^ the trait AsRef<[UnhardenedIndex]>
is not implemented for bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>
| |
| required by a bound introduced by this call
|
= help: the trait AsRef<[Segment]>
is implemented for bitcoin_hd::path::DerivationSubpath<Segment>
= note: required because of the requirements on the impl of AsRef<[UnhardenedIndex]>
for &bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>
note: required by a bound in TrackingAccount::bip32_derivation
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/bitcoin_hd-0.7.1/src/account.rs:211:19
|
211 | pat: impl AsRef<[UnhardenedIndex]>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in TrackingAccount::bip32_derivation
Compiling psbt v0.8.4
error[E0599]: no method named as_u32
found for struct LockTime
in the current scope
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/psbt-0.7.1/src/construct/mod.rs:398:34
|
398 | lock_time: lock_time.as_u32(),
| ^^^^^^ method not found in LockTime
error[E0599]: no method named as_u32
found for struct SeqNo
in the current scope
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/psbt-0.7.1/src/construct/mod.rs:403:44
|
403 | sequence: input.seq_no.as_u32(),
| ^^^^^^ method not found in SeqNo
Some errors have detailed explanations: E0277, E0599.
For more information about an error, try rustc --explain E0277
.
error: could not compile psbt
due to 7 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile rgb_node v0.8.0-beta.2
, intermediate artifacts can be found at /tmp/cargo-install6Hx2Lg
perry@Desktop:~/.demo$ cargo install rgb_node --all-features --version 0.8.0-beta.2
from rgb-node.
What rust version are you runing? did you installed the dependencies?
sudo apt install -y build-essential cmake libpq-dev libsqlite3-dev libssl-dev libzmq3-dev pkg-config
from rgb-node.
Rust version: nightly by doing rustup default nightly and rustup update rustc --version gives: rustc 1.62.0 (a8314ef7d 2022-06-27)
I run this command again: sudo apt install -y build-essential cmake libpq-dev libsqlite3-dev libssl-dev libzmq3-dev pkg-config
Than after running the command : cargo install rgb_node --all-features --version 0.8.0-beta.2
I still get the following errors:
error[E0277]: the trait bound bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>: AsRef<[UnhardenedIndex]>
is not satisfied
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/psbt-0.7.1/src/construct/mod.rs:174:33
|
171 | ... DeriveDescriptor::::derive_descriptor(
| ----------------------------------------------------- required by a bound introduced by this call
...
174 | ... &input.terminal,
| ^^^^^^^^^^^^^^^ the trait AsRef<[UnhardenedIndex]>
is not implemented for bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>
|
= help: the trait AsRef<[Segment]>
is implemented for bitcoin_hd::path::DerivationSubpath<Segment>
= note: required because of the requirements on the impl of AsRef<[UnhardenedIndex]>
for &bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>
note: required by a bound in derive_descriptor
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/bitcoin_hd-0.7.1/src/derive.rs:117:19
|
117 | pat: impl AsRef<[UnhardenedIndex]>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in derive_descriptor
error[E0277]: the trait bound bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>: AsRef<[UnhardenedIndex]>
is not satisfied
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/psbt-0.7.1/src/construct/mod.rs:188:33
|
185 | ... DeriveDescriptor::bitcoin::PublicKey::derive_descriptor(
| --------------------------------------------------------- required by a bound introduced by this call
...
188 | ... &input.terminal,
| ^^^^^^^^^^^^^^^ the trait AsRef<[UnhardenedIndex]>
is not implemented for bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>
|
= help: the trait AsRef<[Segment]>
is implemented for bitcoin_hd::path::DerivationSubpath<Segment>
= note: required because of the requirements on the impl of AsRef<[UnhardenedIndex]>
for &bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>
note: required by a bound in derive_descriptor
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/bitcoin_hd-0.7.1/src/derive.rs:117:19
|
117 | pat: impl AsRef<[UnhardenedIndex]>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in derive_descriptor
error[E0277]: the trait bound bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>: AsRef<[UnhardenedIndex]>
is not satisfied
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/psbt-0.7.1/src/construct/mod.rs:209:58
|
209 | match account.bip32_derivation(secp, &input.terminal) {
| ---------------- ^^^^^^^^^^^^^^^ the trait AsRef<[UnhardenedIndex]>
is not implemented for bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>
| |
| required by a bound introduced by this call
|
= help: the trait AsRef<[Segment]>
is implemented for bitcoin_hd::path::DerivationSubpath<Segment>
= note: required because of the requirements on the impl of AsRef<[UnhardenedIndex]>
for &bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>
note: required by a bound in TrackingAccount::bip32_derivation
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/bitcoin_hd-0.7.1/src/account.rs:211:19
|
211 | pat: impl AsRef<[UnhardenedIndex]>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in TrackingAccount::bip32_derivation
error[E0277]: the trait bound bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>: AsRef<[UnhardenedIndex]>
is not satisfied
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/psbt-0.7.1/src/construct/mod.rs:257:57
|
257 | ... .bip32_derivation(secp, &input.terminal)
| ---------------- ^^^^^^^^^^^^^^^ the trait AsRef<[UnhardenedIndex]>
is not implemented for bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>
| |
| required by a bound introduced by this call
|
= help: the trait AsRef<[Segment]>
is implemented for bitcoin_hd::path::DerivationSubpath<Segment>
= note: required because of the requirements on the impl of AsRef<[UnhardenedIndex]>
for &bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>
note: required by a bound in TrackingAccount::bip32_derivation
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/bitcoin_hd-0.7.1/src/account.rs:211:19
|
211 | pat: impl AsRef<[UnhardenedIndex]>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in TrackingAccount::bip32_derivation
error[E0277]: the trait bound bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>: AsRef<[UnhardenedIndex]>
is not satisfied
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/psbt-0.7.1/src/construct/mod.rs:282:53
|
282 | ... .bip32_derivation(secp, &input.terminal)
| ---------------- ^^^^^^^^^^^^^^^ the trait AsRef<[UnhardenedIndex]>
is not implemented for bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>
| |
| required by a bound introduced by this call
|
= help: the trait AsRef<[Segment]>
is implemented for bitcoin_hd::path::DerivationSubpath<Segment>
= note: required because of the requirements on the impl of AsRef<[UnhardenedIndex]>
for &bitcoin_hd::path::DerivationSubpath<bitcoin_hd::indexes::UnhardenedIndex>
note: required by a bound in TrackingAccount::bip32_derivation
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/bitcoin_hd-0.7.1/src/account.rs:211:19
|
211 | pat: impl AsRef<[UnhardenedIndex]>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in TrackingAccount::bip32_derivation
error[E0599]: no method named as_u32
found for struct LockTime
in the current scope
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/psbt-0.7.1/src/construct/mod.rs:398:34
|
398 | lock_time: lock_time.as_u32(),
| ^^^^^^ method not found in LockTime
error[E0599]: no method named as_u32
found for struct SeqNo
in the current scope
--> /home/perry/.cargo/registry/src/github.com-1ecc6299db9ec823/psbt-0.7.1/src/construct/mod.rs:403:44
|
403 | sequence: input.seq_no.as_u32(),
| ^^^^^^ method not found in SeqNo
Compiling psbt v0.8.4
Some errors have detailed explanations: E0277, E0599.
For more information about an error, try rustc --explain E0277
.
error: could not compile psbt
due to 7 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile rgb_node v0.8.0-beta.2
, intermediate artifacts can be found at /tmp/cargo-installuJPM4s
from rgb-node.
I removed the rgb-node directory and load the source again from github and tried to compile again I get only the error:
error[E0432]: unresolved import storm_ext::MesgPush
--> src/rgbd/service.rs:32:37
|
32 | use storm_ext::{ExtMsg as StormMsg, MesgPush};
| ^^^^^^^^ no MesgPush
in the root
For more information about this error, try rustc --explain E0432
.
error: could not compile rgb_node
due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile rgb_node v0.8.0-rc.2 (/home/perry/repos/rgb-node)
, intermediate artifacts can be found at /home/perry/repos/rgb-node/target
from rgb-node.
go to master and build instead
cargo build --all-features --bins
if it compiles correctly the binary files will be on target/debug
from rgb-node.
That seems to work. I only got a warning:
warning: unused variable: message
--> src/rgbd/service.rs:155:39
|
155 | StormMsg::Post(MesgPush { message, container }) => {}
| ^^^^^^^ help: try ignoring the field: message: _
|
= note: #[warn(unused_variables)]
on by default
warning: unused variable: container
--> src/rgbd/service.rs:155:48
|
155 | StormMsg::Post(MesgPush { message, container }) => {}
| ^^^^^^^^^ help: try ignoring the field: container: _
warning: rgb_node
(lib) generated 2 warnings
Finished dev [unoptimized + debuginfo] target(s) in 2m 18s
from rgb-node.
yeah I got those warnings too, don't worry much about it, rgb node is WIP
from rgb-node.
Yeah, I am adding commits to master each day, and to dependencies, and sometimes previous versions may stop to build, We are hours/days from release, so not long to wait until it will be stable
from rgb-node.
Related Issues (20)
- contract register error - rgc1... invalid HOT 2
- Error spawning bucketd service on contract register HOT 2
- I/O error during data strict encoding HOT 1
- Release mode of the `rgbd` causes `TransitionNotInAnchor` HOT 1
- Release latest rgb_node 0.8.0 to crates.io HOT 4
- Fix TransferCommand::Combine CLI command (NoOutpoint error)
- Fix TransferCommand::Combine CLI command (index out of bounds error)
- consignment processing: node_ids should not collect genesis ID
- cannot spend assets moved with Blank transitions
- merge of merkle blocks anchored to the same TXID can fail HOT 11
- Expose metadata as part of the state HOT 1
- seal proofs are not verified HOT 12
- Move clone to a specific branch
- Support other state types as done in #212
- add the ability to stop a spawned thread HOT 3
- Bucketd ElectrumConnectivity connectivity error when spawned by contract register HOT 9
- Stuck on `Initializing runtime` HOT 2
- Currently this does not work... HOT 4
- Readme is not up to date HOT 1
- cargo install overflow evaluating HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rgb-node.