feat(core): log all variables #185
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
1 error and 7 warnings
clippy_check
Process completed with exit code 101.
|
unused import: `types::AttributeValue`:
src/main.rs#L10
warning: unused import: `types::AttributeValue`
--> src/main.rs:10:24
|
10 | use aws_sdk_dynamodb::{types::AttributeValue, Client as DynamoClient};
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
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")),
|
|
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/
|