Update tests.sh #17
Triggered via pull request
November 28, 2023 05:08
Status
Success
Total duration
50m 42s
Artifacts
–
tests.yml
on: pull_request
Run clippy and unit tests
50m 32s
Build the contract
10m 15s
Annotations
25 warnings
Build the contract
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/
|
Build the contract
package `ahash v0.7.6` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
|
Build the contract
package `hermit-abi v0.3.1` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
|
Run clippy and unit tests
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/
|
Run clippy and unit tests:
src/contracts/storage/position.rs#L16
unused import: `ink::prelude::vec`
|
Run clippy and unit tests:
src/contracts/storage/position.rs#L17
unused import: `ink::primitives::AccountId`
|
Run clippy and unit tests:
src/math/math.rs#L7
unused import: `super::percentage`
|
Run clippy and unit tests:
src/lib.rs#L216
this `else { if .. }` block can be collapsed
|
Run clippy and unit tests:
src/contracts/collections/pools.rs#L40
method `remove` is never used
|
Run clippy and unit tests:
src/contracts/logic/math.rs#L22
function `get_liquidity` is never used
|
Run clippy and unit tests:
src/contracts/logic/math.rs#L95
function `get_liquidity_by_x` is never used
|
Run clippy and unit tests:
src/contracts/logic/math.rs#L117
function `get_liquidity_by_x_sqrt_price` is never used
|
Run clippy and unit tests:
src/contracts/logic/math.rs#L167
function `get_liquidity_by_y` is never used
|
Run clippy and unit tests:
src/contracts/logic/math.rs#L190
function `get_liquidity_by_y_sqrt_price` is never used
|
Run clippy and unit tests
package `cumulus-pallet-parachain-system v0.3.0` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
|
Run clippy and unit tests:
src/test_helpers/lib.rs#L1
unused import: `decimal::*`
|
Run clippy and unit tests
`test_helpers` (lib) generated 1 warning (run `cargo fix --lib -p test_helpers` to apply 1 suggestion)
|
Run clippy and unit tests:
src/contracts/storage/position.rs#L16
unused import: `ink::prelude::vec`
|
Run clippy and unit tests:
src/contracts/storage/position.rs#L17
unused import: `ink::primitives::AccountId`
|
Run clippy and unit tests:
src/math/math.rs#L7
unused import: `super::percentage`
|
Run clippy and unit tests:
src/contracts/collections/pools.rs#L40
method `remove` is never used
|
Run clippy and unit tests:
src/contracts/logic/math.rs#L22
function `get_liquidity` is never used
|
Run clippy and unit tests:
src/contracts/logic/math.rs#L95
function `get_liquidity_by_x` is never used
|
Run clippy and unit tests:
src/contracts/logic/math.rs#L117
function `get_liquidity_by_x_sqrt_price` is never used
|
Run clippy and unit tests:
src/contracts/logic/math.rs#L167
function `get_liquidity_by_y` is never used
|