Trying to make use of the contrub/install.sh The following warning comes by:
Compiling rgb20 v0.8.0-rc.4
error[E0599]: Vec<OutpointValue> is not an iterator
--> /home/rgbalice/.cargo/registry/src/github.com-1ecc6299db9ec823/rgb20-0.8.0-rc.4/src/create.rs:63:41
63
let issued_supply = allocations.sum();
^^^ Vec<OutpointValue> is not an iterator; try calling .into_iter() or .iter()
= note: the following trait bounds were not satisfied:
Vec<OutpointValue>: Iterator
which is required by &mut Vec<OutpointValue>: Iterator[OutpointValue]: Iterator
which is required by &mut [OutpointValue]: Iterator
error[E0599]: no method named into_assignments found for struct BTreeMap in the current scope
--> /home/rgbalice/.cargo/registry/src/github.com-1ecc6299db9ec823/rgb20-0.8.0-rc.4/src/create.rs:81:27
|
81 | inflation.into_assignments(),
| ^^^^^^^^^^^^^^^^ method not found in BTreeMap<OutPoint, u64>
For more information about this error, try rustc --explain E0599.
error: could not compile rgb20 due to 2 previous errors
error: failed to compile rgb20 v0.8.0-rc.4, intermediate artifacts can be found at /tmp/cargo-install8qHU5P
Downloaded bp-cli v0.8.0-alpha.2
Trying to make use of the contrub/install.sh The following warning comes by:
Vec<OutpointValue>
is not an iterator --> /home/rgbalice/.cargo/registry/src/github.com-1ecc6299db9ec823/rgb20-0.8.0-rc.4/src/create.rs:63:41Vec<OutpointValue>
is not an iterator; try calling.into_iter()
or.iter()
= note: the following trait bounds were not satisfied:
Vec<OutpointValue>: Iterator
which is required by&mut Vec<OutpointValue>: Iterator
[OutpointValue]: Iterator
which is required by&mut [OutpointValue]: Iterator
error[E0599]: no method named
into_assignments
found for structBTreeMap
in the current scope --> /home/rgbalice/.cargo/registry/src/github.com-1ecc6299db9ec823/rgb20-0.8.0-rc.4/src/create.rs:81:27 | 81 | inflation.into_assignments(), | ^^^^^^^^^^^^^^^^ method not found inBTreeMap<OutPoint, u64>
For more information about this error, try
rustc --explain E0599
. error: could not compilergb20
due to 2 previous errors error: failed to compilergb20 v0.8.0-rc.4
, intermediate artifacts can be found at/tmp/cargo-install8qHU5P
Downloaded bp-cli v0.8.0-alpha.2