Skip to content

Error handling for API Client #29

Error handling for API Client

Error handling for API Client #29

Triggered via push January 2, 2024 19:37
Status Failure
Total duration 1m 0s
Artifacts

on_push.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 40 warnings
Rustfmt
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
Clippy: crates/antelope/src/chain/asset.rs#L287
redundant field names in struct initialization
Clippy: crates/antelope/src/chain/asset.rs#L347
redundant field names in struct initialization
Clippy: crates/antelope/src/chain/asset.rs#L368
redundant field names in struct initialization
Clippy: crates/antelope/src/chain/block_id.rs#L2
unused import: `crate::chain::checksum::Checksum256`
Clippy: crates/antelope/src/chain/name.rs#L207
redundant field names in struct initialization
Clippy: crates/antelope/src/chain/signature.rs#L2
unused import: `k256::elliptic_curve::Curve`
Clippy: crates/antelope/src/chain/varint.rs#L17
redundant field names in struct initialization
Clippy: crates/antelope/src/chain/time.rs#L2
unused imports: `DateTime`, `ParseError`
Clippy: crates/antelope/src/serializer/formatter.rs#L1
unused import: `from_str`
Clippy: crates/antelope/src/serializer/formatter.rs#L2
unused import: `ClientError`
Rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Rustfmt
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/
Rustfmt
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/
Rustfmt
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/
Rustfmt
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/
Check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Check: crates/antelope/src/chain/block_id.rs#L2
unused import: `crate::chain::checksum::Checksum256`
Check: crates/antelope/src/chain/signature.rs#L2
unused import: `k256::elliptic_curve::Curve`
Check: crates/antelope/src/chain/time.rs#L2
unused imports: `DateTime`, `ParseError`
Check: crates/antelope/src/serializer/formatter.rs#L1
unused import: `from_str`
Check: crates/antelope/src/serializer/formatter.rs#L2
unused import: `ClientError`
Check: crates/antelope/src/chain/blob.rs#L26
use of deprecated function `base64::decode`: Use Engine::decode
Check: crates/antelope/src/chain/blob.rs#L42
use of deprecated function `base64::encode`: Use Engine::encode
Check: crates/antelope/src/chain/signature.rs#L66
value assigned to `size` is never read
Check: crates/antelope/src/api/v1/structs.rs#L51
field `error` is never read
Check: crates/antelope/src/util.rs#L42
unused `Result` that must be used
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/
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/
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/
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
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@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
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
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
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
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/
Test Suite
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test Suite
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/
Test Suite
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/
Test Suite
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/
Test Suite
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/
Test Suite: crates/antelope/src/chain/block_id.rs#L2
unused import: `crate::chain::checksum::Checksum256`
Test Suite: crates/antelope/src/chain/signature.rs#L2
unused import: `k256::elliptic_curve::Curve`
Test Suite: crates/antelope/src/chain/time.rs#L2
unused imports: `DateTime`, `ParseError`
Test Suite: crates/antelope/src/serializer/formatter.rs#L1
unused import: `from_str`
Test Suite: crates/antelope/src/serializer/formatter.rs#L2
unused import: `ClientError`
Test Suite: crates/antelope/src/chain/blob.rs#L26
use of deprecated function `base64::decode`: Use Engine::decode
Test Suite: crates/antelope/src/chain/blob.rs#L42
use of deprecated function `base64::encode`: Use Engine::encode
Test Suite: crates/antelope/src/chain/signature.rs#L66
value assigned to `size` is never read
Test Suite: crates/antelope/src/api/v1/structs.rs#L51
field `error` is never read
Test Suite: crates/antelope/src/util.rs#L42
unused `Result` that must be used