Skip to content

feat(core): update indexer status #189

feat(core): update indexer status

feat(core): update indexer status #189

Triggered via push September 7, 2023 04:33
Status Failure
Total duration 3m 0s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

clippy-check.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 7 warnings
clippy_check
Process completed with exit code 101.
using `Result.or_else(|x| Err(y))`, which is more succinctly expressed as `map_err(|x| y)`: crates/ark-starknet/src/collection_manager.rs#L55
warning: using `Result.or_else(|x| Err(y))`, which is more succinctly expressed as `map_err(|x| y)` --> crates/ark-starknet/src/collection_manager.rs:55:23 | 55 | Err(_) => self | _______________________^ 56 | | .call_contract_helper( 57 | | contract_address, 58 | | "owner_of", ... | 63 | | .await 64 | | .or_else(|_| Err(anyhow!("Failed to get token owner"))), | |_______________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map = note: `#[warn(clippy::bind_instead_of_map)]` on by default help: try | 55 ~ Err(_) => self 56 + .call_contract_helper( 57 + contract_address, 58 + "owner_of", 59 + token_id_low, 60 + token_id_high, 61 + effective_block_id, 62 + ) 63 ~ .await.map_err(|_| anyhow!("Failed to get token owner")), |
useless conversion to the same type: `std::string::String`: crates/ark-db/src/indexer/create.rs#L21
warning: useless conversion to the same type: `std::string::String` --> crates/ark-db/src/indexer/create.rs:21:44 | 21 | .item("version", AttributeValue::S(String::from(indexer_version))) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `String::from()`: `indexer_version` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion = note: `#[warn(clippy::useless_conversion)]` on by default
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@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/
clippy_check
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/
clippy_check
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/
clippy_check
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/
clippy_check
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/