feat(staking): implement unstaking CLI method #5675
Annotations
12 errors and 9 warnings
bound is defined in more than one place:
data_structures/src/utxo_pool.rs#L330
error: bound is defined in more than one place
--> data_structures/src/utxo_pool.rs:330:25
|
330 | pub fn contains_key<Q: ?Sized>(&self, k: &Q) -> bool
| ^
...
333 | Q: std::hash::Hash + Eq,
| ^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
|
bound is defined in more than one place:
data_structures/src/utxo_pool.rs#L322
error: bound is defined in more than one place
--> data_structures/src/utxo_pool.rs:322:20
|
322 | pub fn get_mut<Q: ?Sized>(&mut self, k: &Q) -> Option<&mut u64>
| ^
...
325 | Q: std::hash::Hash + Eq,
| ^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
|
bound is defined in more than one place:
data_structures/src/utxo_pool.rs#L314
error: bound is defined in more than one place
--> data_structures/src/utxo_pool.rs:314:16
|
314 | pub fn get<Q: ?Sized>(&self, k: &Q) -> Option<&u64>
| ^
...
317 | Q: std::hash::Hash + Eq,
| ^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
= note: `-D clippy::multiple-bound-locations` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::multiple_bound_locations)]`
|
bound is defined in more than one place:
data_structures/src/utxo_pool.rs#L330
error: bound is defined in more than one place
--> data_structures/src/utxo_pool.rs:330:25
|
330 | pub fn contains_key<Q: ?Sized>(&self, k: &Q) -> bool
| ^
...
333 | Q: std::hash::Hash + Eq,
| ^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
|
bound is defined in more than one place:
data_structures/src/utxo_pool.rs#L322
error: bound is defined in more than one place
--> data_structures/src/utxo_pool.rs:322:20
|
322 | pub fn get_mut<Q: ?Sized>(&mut self, k: &Q) -> Option<&mut u64>
| ^
...
325 | Q: std::hash::Hash + Eq,
| ^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
|
bound is defined in more than one place:
data_structures/src/utxo_pool.rs#L314
error: bound is defined in more than one place
--> data_structures/src/utxo_pool.rs:314:16
|
314 | pub fn get<Q: ?Sized>(&self, k: &Q) -> Option<&u64>
| ^
...
317 | Q: std::hash::Hash + Eq,
| ^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
= note: `-D clippy::multiple-bound-locations` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::multiple_bound_locations)]`
|
cannot find type `StakingResult` in this scope:
data_structures/src/staking/stakes.rs#L429
error[E0412]: cannot find type `StakingResult` in this scope
--> data_structures/src/staking/stakes.rs:429:6
|
429 | ) -> StakingResult<(), PublicKeyHash, Wit, Epoch>
| ^^^^^^^^^^^^^ help: a type alias with a similar name exists: `StakesResult`
|
::: data_structures/src/staking/helpers.rs:15:1
|
15 | pub type StakesResult<T, Address, Coins, Epoch> = Result<T, StakesError<Address, Coins, Epoch>>;
| ------------------------------------------------------------------------------------------------ similarly named type alias `StakesResult` defined here
|
cannot find type `StakingResult` in this scope:
data_structures/src/staking/stakes.rs#L429
error[E0412]: cannot find type `StakingResult` in this scope
--> data_structures/src/staking/stakes.rs:429:6
|
429 | ) -> StakingResult<(), PublicKeyHash, Wit, Epoch>
| ^^^^^^^^^^^^^ help: a type alias with a similar name exists: `StakesResult`
|
::: data_structures/src/staking/helpers.rs:15:1
|
15 | pub type StakesResult<T, Address, Coins, Epoch> = Result<T, StakesError<Address, Coins, Epoch>>;
| ------------------------------------------------------------------------------------------------ similarly named type alias `StakesResult` defined here
|
build_ubuntu
could not compile `witnet_data_structures` (lib) due to 5 previous errors
|
build_ubuntu
could not compile `witnet_data_structures` (lib test) due to 5 previous errors
|
build_ubuntu
Clippy had exited with the 101 exit code
|
doc list item missing indentation:
partial_struct/src/lib.rs#L38
error: doc list item missing indentation
--> partial_struct/src/lib.rs:38:5
|
38 | //! struct will be wrapped in an extra `Option` like `Option<Option<T>>`
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `-D clippy::doc-lazy-continuation` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::doc_lazy_continuation)]`
help: indent this line
|
38 | //! struct will be wrapped in an extra `Option` like `Option<Option<T>>`
| ++
|
build_ubuntu
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build_ubuntu
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build_ubuntu
`/home/runner/work/witnet-rust/witnet-rust/.cargo/config` is deprecated in favor of `config.toml`
|
build_ubuntu
`/home/runner/work/witnet-rust/witnet-rust/.cargo/config` is deprecated in favor of `config.toml`
|
build_ubuntu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build_ubuntu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build_ubuntu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build_ubuntu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build_ubuntu
`/home/runner/work/witnet-rust/witnet-rust/.cargo/config` is deprecated in favor of `config.toml`
|