support starknet in rust and golang(fix #105) #183
ci.yml
on: pull_request
cargo fmt
15s
cargo sort
13s
taplo_fmt
4s
cargo_machete
5s
clippy_check
1m 51s
cargo build
2m 20s
go binding build and test
4m 51s
build wasm
3m 22s
cargo test
3m 0s
Annotations
8 errors and 16 warnings
cargo fmt
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
you should consider adding a `Default` implementation for `StarkSigner`:
signers/src/starknet_signer/pk_signer.rs#L11
error: you should consider adding a `Default` implementation for `StarkSigner`
--> signers/src/starknet_signer/pk_signer.rs:11:5
|
11 | / pub fn new() -> Self {
12 | | let signing_key = SigningKey::from_random();
13 | | Self(signing_key)
14 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `-D clippy::new-without-default` implied by `-D warnings`
help: try adding this
|
10 + impl Default for StarkSigner {
11 + fn default() -> Self {
12 + Self::new()
13 + }
14 + }
|
|
the borrowed expression implements the required traits:
signers/src/starknet_signer/ecdsa_signature.rs#L138
error: the borrowed expression implements the required traits
--> signers/src/starknet_signer/ecdsa_signature.rs:138:39
|
138 | ZeroPrefixHexSerde::serialize(&bytes, serializer)
| ^^^^^^ help: change this to: `bytes`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
signers/src/starknet_signer/ecdsa_signature.rs#L30
error: the borrowed expression implements the required traits
--> signers/src/starknet_signer/ecdsa_signature.rs:30:21
|
30 | hex::encode(&bytes)
| ^^^^^^ help: change this to: `bytes`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
|
clippy_check
Clippy had exited with the 101 exit code
|
build wasm
Process completed with exit code 2.
|
go binding build and test
not enough arguments in call to sdk.NewSigner
|
go binding build and test
Process completed with exit code 2.
|
cargo_machete
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
taplo_fmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
cargo sort
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
cargo fmt
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/
|
cargo 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/
|
cargo 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/
|
cargo 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/
|
cargo 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/
|
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
|
cargo build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
|
cargo build
the following packages contain code that will be rejected by a future version of Rust: mathru v0.6.10
|
cargo test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
|
cargo test
the following packages contain code that will be rejected by a future version of Rust: mathru v0.6.10
|
build wasm
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
go binding build and test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
go binding build and test
Restore cache failed: Dependencies file is not found in /home/runner/work/zklink_sdk/zklink_sdk. Supported file pattern: go.sum
|