farm position functionality tests #3608
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
actions.yml
on: pull_request
Contracts
/
Wasm tests
13m 6s
Contracts
/
Rust tests
4m 19s
Contracts
/
Clippy linter check
1m 49s
Annotations
16 warnings
[clippy] dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L671:
dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L671
warning: field assignment outside of initializer for an instance created with Default::default()
--> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:671:17
|
671 | user_farm_position.total_farm_position = managed_biguint!(new_farm_position);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: consider initializing the variable with `UserTotalFarmPosition::<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>> { total_farm_position: managed_biguint!(new_farm_position), ..Default::default() }` and removing relevant reassignments
--> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:670:17
|
670 | let mut user_farm_position = UserTotalFarmPosition::default();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default
= note: `#[warn(clippy::field_reassign_with_default)]` on by default
|
[clippy] dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L672:
dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L672
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:672:63
|
672 | sc.user_total_farm_position(&managed_address!(&user_addr))
| ^^^^^^^^^^ help: change this to: `user_addr`
|
= 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/tests/farm_setup/multi_user_farm_setup.rs#L682:
dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L682
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:682:67
|
682 | sc.user_total_farm_position(&managed_address!(&user_addr));
| ^^^^^^^^^^ help: change this to: `user_addr`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
[clippy] dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L671:
dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L671
warning: field assignment outside of initializer for an instance created with Default::default()
--> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:671:17
|
671 | user_farm_position.total_farm_position = managed_biguint!(new_farm_position);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: consider initializing the variable with `UserTotalFarmPosition::<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>> { total_farm_position: managed_biguint!(new_farm_position), ..Default::default() }` and removing relevant reassignments
--> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:670:17
|
670 | let mut user_farm_position = UserTotalFarmPosition::default();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default
= note: `#[warn(clippy::field_reassign_with_default)]` on by default
|
[clippy] dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L672:
dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L672
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:672:63
|
672 | sc.user_total_farm_position(&managed_address!(&user_addr))
| ^^^^^^^^^^ help: change this to: `user_addr`
|
= 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/tests/farm_setup/multi_user_farm_setup.rs#L682:
dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L682
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:682:67
|
682 | sc.user_total_farm_position(&managed_address!(&user_addr));
| ^^^^^^^^^^ help: change this to: `user_addr`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
[clippy] dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L671:
dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L671
warning: field assignment outside of initializer for an instance created with Default::default()
--> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:671:17
|
671 | user_farm_position.total_farm_position = managed_biguint!(new_farm_position);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: consider initializing the variable with `UserTotalFarmPosition::<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>> { total_farm_position: managed_biguint!(new_farm_position), ..Default::default() }` and removing relevant reassignments
--> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:670:17
|
670 | let mut user_farm_position = UserTotalFarmPosition::default();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default
= note: `#[warn(clippy::field_reassign_with_default)]` on by default
|
[clippy] dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L672:
dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L672
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:672:63
|
672 | sc.user_total_farm_position(&managed_address!(&user_addr))
| ^^^^^^^^^^ help: change this to: `user_addr`
|
= 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/tests/farm_setup/multi_user_farm_setup.rs#L682:
dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L682
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:682:67
|
682 | sc.user_total_farm_position(&managed_address!(&user_addr));
| ^^^^^^^^^^ help: change this to: `user_addr`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
[clippy] dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L671:
dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L671
warning: field assignment outside of initializer for an instance created with Default::default()
--> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:671:17
|
671 | user_farm_position.total_farm_position = managed_biguint!(new_farm_position);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: consider initializing the variable with `UserTotalFarmPosition::<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>> { total_farm_position: managed_biguint!(new_farm_position), ..Default::default() }` and removing relevant reassignments
--> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:670:17
|
670 | let mut user_farm_position = UserTotalFarmPosition::default();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default
= note: `#[warn(clippy::field_reassign_with_default)]` on by default
|
[clippy] dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L672:
dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L672
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:672:63
|
672 | sc.user_total_farm_position(&managed_address!(&user_addr))
| ^^^^^^^^^^ help: change this to: `user_addr`
|
= 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/tests/farm_setup/multi_user_farm_setup.rs#L682:
dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L682
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:682:67
|
682 | sc.user_total_farm_position(&managed_address!(&user_addr));
| ^^^^^^^^^^ help: change this to: `user_addr`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
[clippy] dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L671:
dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L671
warning: field assignment outside of initializer for an instance created with Default::default()
--> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:671:17
|
671 | user_farm_position.total_farm_position = managed_biguint!(new_farm_position);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: consider initializing the variable with `UserTotalFarmPosition::<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::debug_api::DebugApiBackend>> { total_farm_position: managed_biguint!(new_farm_position), ..Default::default() }` and removing relevant reassignments
--> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:670:17
|
670 | let mut user_farm_position = UserTotalFarmPosition::default();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default
= note: `#[warn(clippy::field_reassign_with_default)]` on by default
|
[clippy] dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L672:
dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L672
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:672:63
|
672 | sc.user_total_farm_position(&managed_address!(&user_addr))
| ^^^^^^^^^^ help: change this to: `user_addr`
|
= 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/tests/farm_setup/multi_user_farm_setup.rs#L682:
dex/farm/tests/farm_setup/multi_user_farm_setup.rs#L682
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> dex/farm/tests/farm_setup/multi_user_farm_setup.rs:682:67
|
682 | sc.user_total_farm_position(&managed_address!(&user_addr));
| ^^^^^^^^^^ help: change this to: `user_addr`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
Contracts / Wasm tests
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/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
report
Expired
|
45.4 KB |
|
report-markdown
Expired
|
2.07 KB |
|