farm position functionality #3622
Triggered via pull request
September 29, 2023 09:18
Status
Failure
Total duration
7m 26s
Artifacts
–
actions.yml
on: pull_request
Contracts
/
Wasm tests
7m 17s
Contracts
/
Rust tests
4m 57s
Contracts
/
Clippy linter check
1m 46s
Annotations
1 error and 5 warnings
Contracts / Wasm tests
Process completed with exit code 101.
|
[clippy] dex/farm/src/lib.rs#L122:
dex/farm/src/lib.rs#L122
warning: redundant clone
--> dex/farm/src/lib.rs:122:83
|
122 | let claim_rewards_result = self.claim_rewards::<Wrapper<Self>>(orig_caller.clone());
| ^^^^^^^^ help: remove this
|
note: this value is dropped without further use
--> dex/farm/src/lib.rs:122:72
|
122 | let claim_rewards_result = self.claim_rewards::<Wrapper<Self>>(orig_caller.clone());
| ^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
= note: `#[warn(clippy::redundant_clone)]` on by default
|
[clippy] dex/farm/src/lib.rs#L122:
dex/farm/src/lib.rs#L122
warning: redundant clone
--> dex/farm/src/lib.rs:122:83
|
122 | let claim_rewards_result = self.claim_rewards::<Wrapper<Self>>(orig_caller.clone());
| ^^^^^^^^ help: remove this
|
note: this value is dropped without further use
--> dex/farm/src/lib.rs:122:72
|
122 | let claim_rewards_result = self.claim_rewards::<Wrapper<Self>>(orig_caller.clone());
| ^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
= note: `#[warn(clippy::redundant_clone)]` on by default
|
Contracts / Clippy linter check
Error parsing Cargo.lock manifest, fallback to caching entire file: Error: Invalid TOML document: trying to redefine an already defined table or value
395: checksum = "3b55fe3585cbc745bd7b9793be4bcb3aa7f1869ced7a0981f3d47e6a832c6311"
396: checksum = "e5c160745bf0c997146fa816a19fba8a8d0517e99ed30cc514eca0967f2eed74"
^
397: dependencies = [
|
Contracts / Rust tests
Error parsing Cargo.lock manifest, fallback to caching entire file: Error: Invalid TOML document: trying to redefine an already defined table or value
395: checksum = "3b55fe3585cbc745bd7b9793be4bcb3aa7f1869ced7a0981f3d47e6a832c6311"
396: checksum = "e5c160745bf0c997146fa816a19fba8a8d0517e99ed30cc514eca0967f2eed74"
^
397: dependencies = [
|
Contracts / Wasm tests
Error parsing Cargo.lock manifest, fallback to caching entire file: Error: Invalid TOML document: trying to redefine an already defined table or value
395: checksum = "3b55fe3585cbc745bd7b9793be4bcb3aa7f1869ced7a0981f3d47e6a832c6311"
396: checksum = "e5c160745bf0c997146fa816a19fba8a8d0517e99ed30cc514eca0967f2eed74"
^
397: dependencies = [
|