chore: update to GroveDB Version 1.0.0 #3116
Annotations
1 error and 11 warnings
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: mozilla-actions/[email protected], strophy/actions-cache@opendal-update. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
packages/rs-drive/src/drive/document/delete/remove_reference_for_index_level_for_contract_operations/v0/mod.rs#L29
warning: this function has too many arguments (13/12)
--> packages/rs-drive/src/drive/document/delete/remove_reference_for_index_level_for_contract_operations/v0/mod.rs:29:5
|
29 | / pub(super) fn remove_reference_for_index_level_for_contract_operations_v0(
30 | | &self,
31 | | document_and_contract_info: &DocumentAndContractInfo,
32 | | index_path_info: PathInfo<0>,
... |
44 | | platform_version: &PlatformVersion,
45 | | ) -> Result<(), Error> {
| |__________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: `#[warn(clippy::too_many_arguments)]` on by default
|
packages/rs-drive/src/drive/document/delete/remove_reference_for_index_level_for_contract_operations/mod.rs#L37
warning: this function has too many arguments (13/12)
--> packages/rs-drive/src/drive/document/delete/remove_reference_for_index_level_for_contract_operations/mod.rs:37:5
|
37 | / pub(super) fn remove_reference_for_index_level_for_contract_operations(
38 | | &self,
39 | | document_and_contract_info: &DocumentAndContractInfo,
40 | | index_path_info: PathInfo<0>,
... |
52 | | platform_version: &PlatformVersion,
53 | | ) -> Result<(), Error> {
| |__________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
packages/rs-drive/src/drive/document/delete/remove_indices_for_index_level_for_contract_operations/v0/mod.rs#L30
warning: this function has too many arguments (13/12)
--> packages/rs-drive/src/drive/document/delete/remove_indices_for_index_level_for_contract_operations/v0/mod.rs:30:5
|
30 | / pub(super) fn remove_indices_for_index_level_for_contract_operations_v0(
31 | | &self,
32 | | document_and_contract_info: &DocumentAndContractInfo,
33 | | index_path_info: PathInfo<0>,
... |
45 | | platform_version: &PlatformVersion,
46 | | ) -> Result<(), Error> {
| |__________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
packages/rs-drive/src/drive/document/delete/remove_indices_for_index_level_for_contract_operations/mod.rs#L36
warning: this function has too many arguments (13/12)
--> packages/rs-drive/src/drive/document/delete/remove_indices_for_index_level_for_contract_operations/mod.rs:36:5
|
36 | / pub(super) fn remove_indices_for_index_level_for_contract_operations(
37 | | &self,
38 | | document_and_contract_info: &DocumentAndContractInfo,
39 | | index_path_info: PathInfo<0>,
... |
51 | | platform_version: &PlatformVersion,
52 | | ) -> Result<(), Error> {
| |__________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
packages/rs-drive/src/drive/document/estimation_costs/stateless_delete_of_non_tree_for_costs/v0/mod.rs#L80
warning: using `clone` on type `EstimatedLayerInformation` which implements the `Copy` trait
--> packages/rs-drive/src/drive/document/estimation_costs/stateless_delete_of_non_tree_for_costs/v0/mod.rs:80:39
|
80 | Ok((s as u64, layer_info.clone()))
| ^^^^^^^^^^^^^^^^^^ help: try dereferencing it: `*layer_info`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `#[warn(clippy::clone_on_copy)]` on by default
|
packages/rs-drive/src/drive/document/insert/add_indices_for_index_level_for_contract_operations/v0/mod.rs#L23
warning: this function has too many arguments (13/12)
--> packages/rs-drive/src/drive/document/insert/add_indices_for_index_level_for_contract_operations/v0/mod.rs:23:5
|
23 | / pub(super) fn add_indices_for_index_level_for_contract_operations_v0(
24 | | &self,
25 | | document_and_contract_info: &DocumentAndContractInfo,
26 | | index_path_info: PathInfo<0>,
... |
38 | | platform_version: &PlatformVersion,
39 | | ) -> Result<(), Error> {
| |__________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
packages/rs-drive/src/drive/document/insert/add_indices_for_index_level_for_contract_operations/mod.rs#L21
warning: this function has too many arguments (13/12)
--> packages/rs-drive/src/drive/document/insert/add_indices_for_index_level_for_contract_operations/mod.rs:21:5
|
21 | / pub(crate) fn add_indices_for_index_level_for_contract_operations(
22 | | &self,
23 | | document_and_contract_info: &DocumentAndContractInfo,
24 | | index_path_info: PathInfo<0>,
... |
36 | | platform_version: &PlatformVersion,
37 | | ) -> Result<(), Error> {
| |__________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
packages/rs-drive/src/drive/identity/contract_info/keys/mod.rs#L44
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-drive/src/drive/identity/contract_info/keys/mod.rs:44:10
|
44 | ) -> (
| __________^
45 | | BTreeMap<String, Vec<(KeyID, Purpose)>>,
46 | | Vec<(KeyID, Purpose)>,
47 | | ) {
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
packages/rs-drive/src/drive/votes/cleanup/remove_contested_resource_vote_poll_contenders_operations/v0/mod.rs#L20
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-drive/src/drive/votes/cleanup/remove_contested_resource_vote_poll_contenders_operations/v0/mod.rs:20:21
|
20 | vote_polls: &[(
| _____________________^
21 | | &ContestedDocumentResourceVotePollWithContractInfo,
22 | | &TimestampMillis,
23 | | &BTreeMap<ResourceVoteChoice, Vec<Identifier>>,
24 | | )],
| |__________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
packages/rs-drive/src/drive/votes/cleanup/remove_contested_resource_vote_poll_contenders_operations/v0/mod.rs#L31
warning: you seem to want to iterate on a map's keys
--> packages/rs-drive/src/drive/votes/cleanup/remove_contested_resource_vote_poll_contenders_operations/v0/mod.rs:31:46
|
31 | for (resource_vote_choice, _) in *votes {
| ^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#for_kv_map
= note: `#[warn(clippy::for_kv_map)]` on by default
help: use the corresponding method
|
31 | for resource_vote_choice in (*votes).keys() {
| ~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
|
This job succeeded
Loading