More datasets #148
Triggered via pull request
September 16, 2023 02:18
Status
Failure
Total duration
9m 23s
Artifacts
–
Annotations
1 error and 14 warnings
build
Process completed with exit code 101.
|
fmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, Swatinem/rust-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
fmt
The `save-state` 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/
|
fmt
The `save-state` 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/
|
fmt
The `save-state` 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/
|
fmt
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/
|
fmt
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/
|
fmt
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/
|
fmt
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/
|
fmt
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/
|
use of `or_insert_with` to construct default value:
crates/freeze/src/datasets/transaction_addresses.rs#L251
warning: use of `or_insert_with` to construct default value
--> crates/freeze/src/datasets/transaction_addresses.rs:251:43
|
251 | logs_by_tx.entry(tx_hash).or_insert_with(Vec::new).push(log);
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
|
use of `or_insert` to construct default value:
crates/freeze/src/datasets/logs.rs#L360
warning: use of `or_insert` to construct default value
--> crates/freeze/src/datasets/logs.rs:360:64
|
360 | ... let tokens = map.entry(param.name).or_insert(Vec::new());
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
|
use of `or_insert` to construct default value:
crates/freeze/src/datasets/logs.rs#L251
warning: use of `or_insert` to construct default value
--> crates/freeze/src/datasets/logs.rs:251:42
|
251 | self.event_cols.entry(k).or_insert(Vec::new()).extend(v);
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
= note: `#[warn(clippy::unwrap_or_default)]` on by default
|
casting to the same type is unnecessary (`u32` -> `u32`):
crates/freeze/src/datasets/erc20_metadata.rs#L190
warning: casting to the same type is unnecessary (`u32` -> `u32`)
--> crates/freeze/src/datasets/erc20_metadata.rs:190:36
|
190 | self.block_number.push(block_number as u32);
| ^^^^^^^^^^^^^^^^^^^ help: try: `block_number`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
|
code lint
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
|