Skip to content

compliance: compliance-server: db: Define migrations and query db #14

compliance: compliance-server: db: Define migrations and query db

compliance: compliance-server: db: Define migrations and query db #14

Triggered via push June 29, 2024 01:42
Status Success
Total duration 4m 25s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 18 warnings
unused `async` for function with no await statements: compliance/compliance-server/src/main.rs#L92
error: unused `async` for function with no await statements --> compliance/compliance-server/src/main.rs:92:1 | 92 | / async fn check_wallet_compliance( 93 | | wallet_address: String, 94 | | chainalysis_api_key: &str, 95 | | pool: ConnectionPool, ... | 105 | | Ok(ComplianceStatus::Compliant) 106 | | } | |_^ | = help: consider removing the `async` from this function = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_async = note: requested on the command line with `-D clippy::unused-async`
unused variable: `chainalysis_api_key`: compliance/compliance-server/src/main.rs#L94
error: unused variable: `chainalysis_api_key` --> compliance/compliance-server/src/main.rs:94:5 | 94 | chainalysis_api_key: &str, | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chainalysis_api_key` | = note: `-D unused-variables` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_variables)]`
cargo-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, arduino/setup-protoc@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
cargo-test
The following actions uses node12 which is deprecated and will be forced to run on node16: 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
#[table_name] attribute form is deprecated
cargo-test
#[table_name] attribute form is deprecated
cargo-test
#[sql_type] attribute form is deprecated
cargo-test
#[sql_type] attribute form is deprecated
cargo-test
#[sql_type] attribute form is deprecated
cargo-test
#[sql_type] attribute form is deprecated
cargo-test
#[sql_type] attribute form is deprecated
cargo-test
#[sql_type] attribute form is deprecated
cargo-test
#[table_name] attribute form is deprecated
cargo-test
#[table_name] attribute form is deprecated
cargo-test
#[sql_type] attribute form is deprecated
cargo-test
#[sql_type] attribute form is deprecated
cargo-test
#[sql_type] attribute form is deprecated
cargo-test
#[sql_type] attribute form is deprecated
cargo-test
#[sql_type] attribute form is deprecated
cargo-test
#[sql_type] attribute form is deprecated