Skip to content

cargo fmt

cargo fmt #82

Triggered via push November 6, 2023 02:16
Status Failure
Total duration 8m 10s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 14 warnings
no method named `get_bytes` found for struct `zklink_sdk_types::prelude::ChangePubKey` in the current scope: interface/src/sign_change_pubkey.rs#L50
error[E0599]: no method named `get_bytes` found for struct `zklink_sdk_types::prelude::ChangePubKey` in the current scope --> interface/src/sign_change_pubkey.rs:50:49 | 50 | tx.signature = zklink_singer.sign_musig(&tx.get_bytes())?; | ^^^^^^^^^ method not found in `ChangePubKey` | ::: /home/runner/work/zklink_sdk/zklink_sdk/types/src/basic_types/mod.rs:101:8 | 101 | fn get_bytes(&self) -> Vec<u8>; | --------- the method is available for `zklink_sdk_types::prelude::ChangePubKey` here | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 1 + use zklink_sdk_types::basic_types::GetBytes; |
clippy_check
Clippy had exited with the 101 exit code
no method named `get_bytes` found for struct `zklink_sdk_types::prelude::ChangePubKey` in the current scope: interface/src/sign_change_pubkey.rs#L50
error[E0599]: no method named `get_bytes` found for struct `zklink_sdk_types::prelude::ChangePubKey` in the current scope --> interface/src/sign_change_pubkey.rs:50:49 | 50 | tx.signature = zklink_singer.sign_musig(&tx.get_bytes())?; | ^^^^^^^^^ method not found in `ChangePubKey` | ::: /home/runner/work/zklink_sdk/zklink_sdk/types/src/basic_types/mod.rs:101:8 | 101 | fn get_bytes(&self) -> Vec<u8>; | --------- the method is available for `zklink_sdk_types::prelude::ChangePubKey` here | = help: items from traits can only be used if the trait is in scope help: the following trait is implemented but not in scope; perhaps add a `use` for it: | 1 + use zklink_sdk_types::basic_types::GetBytes; |
cargo test: interface/src/sign_change_pubkey.rs#L50
no method named `get_bytes` found for struct `zklink_sdk_types::prelude::ChangePubKey` in the current scope
cargo test
could not compile `zklink_sdk_interface` (lib) due to previous error
cargo test
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
go binding build and test
Process completed with exit code 2.
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_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/
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 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 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
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