Skip to content

Actions: checks trigger also on feat branches #421

Actions: checks trigger also on feat branches

Actions: checks trigger also on feat branches #421

GitHub Actions / clippy succeeded Dec 27, 2023 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (38)

multisig/tests/scenario_go_test.rs|3 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> multisig/tests/scenario_go_test.rs:3:29
|
3 | multiversx_sc_scenario::run_go("mandos/create_elrond_to_ethereum_tx_batch.scen.json");
| ^^^^^^
|
= note: #[warn(deprecated)] on by default
multisig/tests/scenario_go_test.rs|8 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> multisig/tests/scenario_go_test.rs:8:29
|
8 | multiversx_sc_scenario::run_go("mandos/ethereum_to_elrond_tx_batch_ok.scen.json");
| ^^^^^^
multisig/tests/scenario_go_test.rs|13 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> multisig/tests/scenario_go_test.rs:13:29
|
13 | multiversx_sc_scenario::run_go("mandos/ethereum_to_elrond_tx_batch_rejected.scen.json");
| ^^^^^^
multisig/tests/scenario_go_test.rs|18 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> multisig/tests/scenario_go_test.rs:18:29
|
18 | multiversx_sc_scenario::run_go("mandos/execute_elrond_to_ethereum_tx_batch.scen.json");
| ^^^^^^
multisig/tests/scenario_go_test.rs|23 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> multisig/tests/scenario_go_test.rs:23:29
|
23 | multiversx_sc_scenario::run_go("mandos/get_empty_batch.scen.json");
| ^^^^^^
multisig/tests/scenario_go_test.rs|28 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> multisig/tests/scenario_go_test.rs:28:29
|
28 | multiversx_sc_scenario::run_go("mandos/reject_elrond_to_ethereum_tx_batch.scen.json");
| ^^^^^^
multisig/tests/scenario_go_test.rs|33 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> multisig/tests/scenario_go_test.rs:33:29
|
33 | multiversx_sc_scenario::run_go("mandos/setup.scen.json");
| ^^^^^^
multisig/tests/scenario_go_test.rs|38 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> multisig/tests/scenario_go_test.rs:38:29
|
38 | multiversx_sc_scenario::run_go("mandos/unstake.scen.json");
| ^^^^^^
esdt-safe/tests/scenario_go_test.rs|3 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> esdt-safe/tests/scenario_go_test.rs:3:29
|
3 | multiversx_sc_scenario::run_go("mandos/distribute_fees.scen.json");
| ^^^^^^
|
= note: #[warn(deprecated)] on by default
esdt-safe/tests/scenario_go_test.rs|8 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> esdt-safe/tests/scenario_go_test.rs:8:29
|
8 | multiversx_sc_scenario::run_go("mandos/create_another_tx_ok.scen.json");
| ^^^^^^
esdt-safe/tests/scenario_go_test.rs|13 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> esdt-safe/tests/scenario_go_test.rs:13:29
|
13 | multiversx_sc_scenario::run_go("mandos/create_another_tx_too_late_for_batch.scen.json");
| ^^^^^^
esdt-safe/tests/scenario_go_test.rs|18 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> esdt-safe/tests/scenario_go_test.rs:18:29
|
18 | multiversx_sc_scenario::run_go("mandos/create_transaction_ok.scen.json");
| ^^^^^^
esdt-safe/tests/scenario_go_test.rs|23 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> esdt-safe/tests/scenario_go_test.rs:23:29
|
23 | multiversx_sc_scenario::run_go("mandos/execute_batch_both_rejected.scen.json");
| ^^^^^^
esdt-safe/tests/scenario_go_test.rs|28 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> esdt-safe/tests/scenario_go_test.rs:28:29
|
28 | multiversx_sc_scenario::run_go("mandos/execute_batch_both_success.scen.json");
| ^^^^^^
esdt-safe/tests/scenario_go_test.rs|33 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> esdt-safe/tests/scenario_go_test.rs:33:29
|
33 | multiversx_sc_scenario::run_go("mandos/execute_batch_one_success_one_rejected.scen.json");
| ^^^^^^
esdt-safe/tests/scenario_go_test.rs|38 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> esdt-safe/tests/scenario_go_test.rs:38:29
|
38 | multiversx_sc_scenario::run_go("mandos/execute_transaction_rejected.scen.json");
| ^^^^^^
esdt-safe/tests/scenario_go_test.rs|43 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> esdt-safe/tests/scenario_go_test.rs:43:29
|
43 | multiversx_sc_scenario::run_go("mandos/execute_transaction_success.scen.json");
| ^^^^^^
esdt-safe/tests/scenario_go_test.rs|48 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> esdt-safe/tests/scenario_go_test.rs:48:29
|
48 | multiversx_sc_scenario::run_go("mandos/get_next_pending_tx.scen.json");
| ^^^^^^
esdt-safe/tests/scenario_go_test.rs|53 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> esdt-safe/tests/scenario_go_test.rs:53:29
|
53 | multiversx_sc_scenario::run_go("mandos/get_next_tx_batch.scen.json");
| ^^^^^^
esdt-safe/tests/scenario_go_test.rs|58 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> esdt-safe/tests/scenario_go_test.rs:58:29
|
58 | multiversx_sc_scenario::run_go("mandos/get_next_tx_batch_too_early.scen.json");
| ^^^^^^
esdt-safe/tests/scenario_go_test.rs|63 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> esdt-safe/tests/scenario_go_test.rs:63:29
|
63 | multiversx_sc_scenario::run_go("mandos/setup_accounts.scen.json");
| ^^^^^^
esdt-safe/tests/scenario_go_test.rs|68 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> esdt-safe/tests/scenario_go_test.rs:68:29
|
68 | multiversx_sc_scenario::run_go("mandos/zero_fees.scen.json");
| ^^^^^^
bridged-tokens-wrapper/tests/dfp_big_uint_test.rs|15 col 22| warning: redundant clone
--> bridged-tokens-wrapper/tests/dfp_big_uint_test.rs:15:22
|
15 | assert!(converted.clone().convert(5).to_raw() == 12345u64);
| ^^^^^^^^ help: remove this
|
note: this value is dropped without further use
--> bridged-tokens-wrapper/tests/dfp_big_uint_test.rs:15:13
|
15 | assert!(converted.clone().convert(5).to_raw() == 12345u64);
| ^^^^^^^^^
= 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
bridged-tokens-wrapper/tests/dfp_big_uint_test.rs|7 col 5| warning: this let-binding has unit value
--> bridged-tokens-wrapper/tests/dfp_big_uint_test.rs:7:5
|
7 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
= note: #[warn(clippy::let_unit_value)] on by default
bridged-tokens-wrapper/tests/dfp_big_uint_test.rs|20 col 5| warning: this let-binding has unit value
--> bridged-tokens-wrapper/tests/dfp_big_uint_test.rs:20:5
|
20 | let _ = DebugApi::dummy();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the let binding: DebugApi::dummy();
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
bridged-tokens-wrapper/tests/scenario_go_test.rs|3 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> bridged-tokens-wrapper/tests/scenario_go_test.rs:3:29
|
3 | multiversx_sc_scenario::run_go("mandos/unwrap_token.scen.json");
| ^^^^^^
|
= note: #[warn(deprecated)] on by default
bridged-tokens-wrapper/tests/scenario_go_test.rs|8 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> bridged-tokens-wrapper/tests/scenario_go_test.rs:8:29
|
8 | multiversx_sc_scenario::run_go("mandos/wrap_token.scen.json");
| ^^^^^^
bridged-tokens-wrapper/tests/scenario_go_test.rs|13 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> bridged-tokens-wrapper/tests/scenario_go_test.rs:13:29
|
13 | multiversx_sc_scenario::run_go("mandos/whitelist_token.scen.json");
| ^^^^^^
bridged-tokens-wrapper/tests/scenario_go_test.rs|18 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> bridged-tokens-wrapper/tests/scenario_go_test.rs:18:29
|
18 | multiversx_sc_scenario::run_go("mandos/blacklist_token.scen.json");
| ^^^^^^
bridged-tokens-wrapper/tests/scenario_go_test.rs|23 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> bridged-tokens-wrapper/tests/scenario_go_test.rs:23:29
|
23 | multiversx_sc_scenario::run_go("mandos/add_wrapped_token.scen.json");
| ^^^^^^
bridged-tokens-wrapper/tests/scenario_go_test.rs|28 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> bridged-tokens-wrapper/tests/scenario_go_test.rs:28:29
|
28 | multiversx_sc_scenario::run_go("mandos/remove_wrapped_token.scen.json");
| ^^^^^^
multi-transfer-esdt/tests/scenario_go_test.rs|3 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> multi-transfer-esdt/tests/scenario_go_test.rs:3:29
|
3 | multiversx_sc_scenario::run_go("mandos/batch_transfer_both_executed.scen.json");
| ^^^^^^
|
= note: #[warn(deprecated)] on by default
multi-transfer-esdt/tests/scenario_go_test.rs|8 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> multi-transfer-esdt/tests/scenario_go_test.rs:8:29
|
8 | multiversx_sc_scenario::run_go("mandos/batch_transfer_both_failed.scen.json");
| ^^^^^^
multi-transfer-esdt/tests/scenario_go_test.rs|13 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> multi-transfer-esdt/tests/scenario_go_test.rs:13:29
|
13 | multiversx_sc_scenario::run_go("mandos/batch_transfer_one_executed_one_failed.scen.json");
| ^^^^^^
multi-transfer-esdt/tests/scenario_go_test.rs|18 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> multi-transfer-esdt/tests/scenario_go_test.rs:18:29
|
18 | multiversx_sc_scenario::run_go("mandos/batch_transfer_to_frozen_account.scen.json");
| ^^^^^^
multi-transfer-esdt/tests/scenario_go_test.rs|23 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> multi-transfer-esdt/tests/scenario_go_test.rs:23:29
|
23 | multiversx_sc_scenario::run_go("mandos/setup_accounts.scen.json");
| ^^^^^^
multi-transfer-esdt/tests/scenario_go_test.rs|28 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> multi-transfer-esdt/tests/scenario_go_test.rs:28:29
|
28 | multiversx_sc_scenario::run_go("mandos/transfer_ok.scen.json");
| ^^^^^^
multi-transfer-esdt/tests/scenario_go_test.rs|33 col 29| warning: use of deprecated function multiversx_sc_scenario::run_go: Call sc-meta test-gen in the project folder to automatically upgrade all scenario tests.
--> multi-transfer-esdt/tests/scenario_go_test.rs:33:29
|
33 | multiversx_sc_scenario::run_go("mandos/two_transfers_same_token.scen.json");
| ^^^^^^