Vec OutpointValue is not an iterator
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 17
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with contrib/install.sh and reproduce the cargo installation to confirm whether the reported rgb20 0.8.0-rc.4 compilation errors still occur. Compare the dependency versions used by the script with the failing Vec and BTreeMap methods; done means the installation completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, shell
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100