Skip to content

add wasm support for sdk #24

add wasm support for sdk

add wasm support for sdk #24

Triggered via pull request October 12, 2023 07:34
Status Failure
Total duration 11m 22s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 16 warnings
mismatched types: interface/src/signer.rs#L47
error[E0308]: mismatched types --> interface/src/signer.rs:47:27 | 47 | check_create2data(&self.zklink_signer, create2data.clone(), from_account)?; | ----------------- ^^^^^^^^^^^^^^^^^^^ expected `Arc<ZkLinkSigner>`, found `&ZkLinkSigner` | | | arguments to this function are incorrect | = note: expected struct `std::sync::Arc<zklink_sdk_signers::zklink_signer::ZkLinkSigner>` found reference `&zklink_sdk_signers::zklink_signer::ZkLinkSigner` note: function defined here --> interface/src/sign_change_pubkey.rs:66:8 | 66 | pub fn check_create2data( | ^^^^^^^^^^^^^^^^^ 67 | zklink_singer: Arc<ZkLinkSigner>, | --------------------------------
unused import: `Order`: interface/src/signer.rs#L19
error: unused import: `Order` --> interface/src/signer.rs:19:49 | 19 | use zklink_sdk_types::tx_type::order_matching::{Order, OrderMatching}; | ^^^^^ | = note: `-D unused-imports` implied by `-D warnings`
unresolved import `crate::sign_order::sign_order`: interface/src/signer.rs#L3
error[E0432]: unresolved import `crate::sign_order::sign_order` --> interface/src/signer.rs:3:5 | 3 | use crate::sign_order::sign_order; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `sign_order` in `sign_order` | note: found an item that was configured out --> interface/src/sign_order.rs:8:8 | 8 | pub fn sign_order(order: &Order, zklink_signer: &ZkLinkSigner) -> Result<Order, ZkSignerError> { | ^^^^^^^^^^ help: consider importing this module instead | 3 | use crate::sign_order; | ~~~~~~~~~~~~~~~~~
clippy_check
Clippy had exited with the 101 exit code
cargo test: interface/src/signer.rs#L3
unresolved import `crate::sign_order::sign_order`
cargo test: interface/src/signer.rs#L47
mismatched types
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.
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 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: interface/src/signer.rs#L19
unused import: `Order`
cargo test
`zklink_sdk_interface` (lib) generated 1 warning
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