Skip to content

claimBoostedRewards extra check #4132

claimBoostedRewards extra check

claimBoostedRewards extra check #4132

Triggered via pull request September 29, 2024 23:25
Status Failure
Total duration 11m 27s
Artifacts

actions.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 50 warnings
Contracts / Rust tests
Process completed with exit code 101.
Contracts / Test Coverage
Process completed with exit code 1.
Contracts / Wasm tests
Process completed with exit code 101.
[clippy] dex/farm/src/lib.rs#L232: dex/farm/src/lib.rs#L232
warning: this expression creates a reference which is immediately dereferenced by the compiler --> dex/farm/src/lib.rs:232:42 | 232 | !self.current_claim_progress(&user).is_empty(), | ^^^^^ help: change this to: `user` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
[clippy] dex/farm-with-locked-rewards/src/lib.rs#L230: dex/farm-with-locked-rewards/src/lib.rs#L230
warning: this expression creates a reference which is immediately dereferenced by the compiler --> dex/farm-with-locked-rewards/src/lib.rs:230:42 | 230 | !self.current_claim_progress(&user).is_empty(), | ^^^^^ help: change this to: `user` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
[clippy] farm-staking/farm-staking/src/claim_only_boosted_staking_rewards.rs#L45: farm-staking/farm-staking/src/claim_only_boosted_staking_rewards.rs#L45
warning: this expression creates a reference which is immediately dereferenced by the compiler --> farm-staking/farm-staking/src/claim_only_boosted_staking_rewards.rs:45:42 | 45 | !self.current_claim_progress(&user).is_empty(), | ^^^^^ help: change this to: `user` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
[clippy] dex/farm/src/lib.rs#L232: dex/farm/src/lib.rs#L232
warning: this expression creates a reference which is immediately dereferenced by the compiler --> dex/farm/src/lib.rs:232:42 | 232 | !self.current_claim_progress(&user).is_empty(), | ^^^^^ help: change this to: `user` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
[clippy] dex/farm-with-locked-rewards/src/lib.rs#L230: dex/farm-with-locked-rewards/src/lib.rs#L230
warning: this expression creates a reference which is immediately dereferenced by the compiler --> dex/farm-with-locked-rewards/src/lib.rs:230:42 | 230 | !self.current_claim_progress(&user).is_empty(), | ^^^^^ help: change this to: `user` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
[clippy] farm-staking/farm-staking/src/claim_only_boosted_staking_rewards.rs#L45: farm-staking/farm-staking/src/claim_only_boosted_staking_rewards.rs#L45
warning: this expression creates a reference which is immediately dereferenced by the compiler --> farm-staking/farm-staking/src/claim_only_boosted_staking_rewards.rs:45:42 | 45 | !self.current_claim_progress(&user).is_empty(), | ^^^^^ help: change this to: `user` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
Contracts / Clippy linter check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Contracts / Rust tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Contracts / Rust tests: legacy-contracts/farm-v12/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Rust tests: legacy-contracts/price-discovery-v2/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Rust tests: legacy-contracts/farm-v13-custom-rewards/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Rust tests: legacy-contracts/price-discovery-v1/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Rust tests: legacy-contracts/farm-v13/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Rust tests: legacy-contracts/proxy-dex-legacy/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Rust tests: energy-integration/governance-v2/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Rust tests: dex/proxy-deployer/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Rust tests: legacy-contracts/simple-lock-legacy/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Rust tests: pause-all/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Test Coverage
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Contracts / Test Coverage: legacy-contracts/farm-v13-custom-rewards/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Test Coverage: legacy-contracts/farm-v13/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Test Coverage: legacy-contracts/price-discovery-v2/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Test Coverage: legacy-contracts/price-discovery-v1/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Test Coverage: legacy-contracts/farm-v12/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Test Coverage: legacy-contracts/proxy-dex-legacy/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Test Coverage: legacy-contracts/simple-lock-legacy/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Test Coverage: energy-integration/governance-v2/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Test Coverage: dex/proxy-deployer/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Test Coverage: pause-all/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Wasm tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Contracts / Wasm tests: legacy-contracts/farm-v13-locked-rewards/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Wasm tests: legacy-contracts/price-discovery-v2/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Wasm tests: locked-asset/simple-lock/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Wasm tests: legacy-contracts/farm-v13-custom-rewards/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Wasm tests: legacy-contracts/farm-v13/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Wasm tests: locked-asset/energy-factory/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Wasm tests: locked-asset/proxy_dex/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Wasm tests: legacy-contracts/farm-staking-proxy-v13/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Wasm tests: locked-asset/distribution/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Wasm tests: locked-asset/lkmex-transfer/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Wasm tests: energy-integration/governance-v2/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Wasm tests: energy-integration/energy-factory-mock/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Wasm tests: energy-integration/fees-collector/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Wasm tests: energy-integration/energy-update/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Wasm tests: legacy-contracts/factory-legacy/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Wasm tests: legacy-contracts/farm-v13/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Wasm tests: legacy-contracts/proxy-dex-legacy/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Wasm tests: legacy-contracts/farm-v12/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Wasm tests: legacy-contracts/farm-v13-locked-rewards/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.
Contracts / Wasm tests: legacy-contracts/farm-staking-proxy-v13/meta/src/main.rs#L2
use of deprecated function `multiversx_sc_meta::cli_main`: Backwards compatibility only, please use `cli_main` from crate `multiversx-sc-meta-lib` instead.