Paymaster SC #24
Paymaster SC #24
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (4)
contracts/paymaster/tests/empty_scenario_rs_test.rs|7 col 64| error[E0277]: the trait bound paymaster::ContractBuilder: multiversx_sc_scenario::multiversx_sc::contract_base::CallableContractBuilder
is not satisfied
--> contracts/paymaster/tests/empty_scenario_rs_test.rs:7:64
|
7 | blockchain.register_contract("file:output/paymaster.wasm", paymaster::ContractBuilder);
| ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait multiversx_sc_scenario::multiversx_sc::contract_base::CallableContractBuilder
is not implemented for paymaster::ContractBuilder
| |
| required by a bound introduced by this call
|
note: required by a bound in multiversx_sc_scenario::ScenarioWorld::register_contract
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.41.3/src/facade/scenario_world.rs:53:33
|
53 | pub fn register_contract<B: CallableContractBuilder>(
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in ScenarioWorld::register_contract
contracts/paymaster/tests/empty_scenario_rs_test.rs|13 col 13| error[E0599]: no method named run
found for struct multiversx_sc_scenario::ScenarioWorld
in the current scope
--> contracts/paymaster/tests/empty_scenario_rs_test.rs:13:13
|
13 | world().run("scenarios/empty.scen.json");
| ^^^ method not found in ScenarioWorld
contracts/paymaster/tests/empty_scenario_go_test.rs|4 col 20| error[E0599]: no function or associated item named vm_go
found for struct multiversx_sc_scenario::ScenarioWorld
in the current scope
--> contracts/paymaster/tests/empty_scenario_go_test.rs:4:20
|
4 | ScenarioWorld::vm_go()
| ^^^^^ function or associated item not found in ScenarioWorld
contracts/paymaster/tests/empty_scenario_go_test.rs|9 col 13| error[E0599]: no method named run
found for struct multiversx_sc_scenario::ScenarioWorld
in the current scope
--> contracts/paymaster/tests/empty_scenario_go_test.rs:9:13
|
9 | world().run("scenarios/empty.scen.json");
| ^^^ method not found in ScenarioWorld
Filtered Findings (0)
Annotations
Check failure on line 7 in contracts/paymaster/tests/empty_scenario_rs_test.rs
github-actions / clippy
[clippy] contracts/paymaster/tests/empty_scenario_rs_test.rs#L7
error[E0277]: the trait bound `paymaster::ContractBuilder: multiversx_sc_scenario::multiversx_sc::contract_base::CallableContractBuilder` is not satisfied
--> contracts/paymaster/tests/empty_scenario_rs_test.rs:7:64
|
7 | blockchain.register_contract("file:output/paymaster.wasm", paymaster::ContractBuilder);
| ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `multiversx_sc_scenario::multiversx_sc::contract_base::CallableContractBuilder` is not implemented for `paymaster::ContractBuilder`
| |
| required by a bound introduced by this call
|
note: required by a bound in `multiversx_sc_scenario::ScenarioWorld::register_contract`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.41.3/src/facade/scenario_world.rs:53:33
|
53 | pub fn register_contract<B: CallableContractBuilder>(
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ScenarioWorld::register_contract`
Raw output
contracts/paymaster/tests/empty_scenario_rs_test.rs:7:64:e:error[E0277]: the trait bound `paymaster::ContractBuilder: multiversx_sc_scenario::multiversx_sc::contract_base::CallableContractBuilder` is not satisfied
--> contracts/paymaster/tests/empty_scenario_rs_test.rs:7:64
|
7 | blockchain.register_contract("file:output/paymaster.wasm", paymaster::ContractBuilder);
| ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `multiversx_sc_scenario::multiversx_sc::contract_base::CallableContractBuilder` is not implemented for `paymaster::ContractBuilder`
| |
| required by a bound introduced by this call
|
note: required by a bound in `multiversx_sc_scenario::ScenarioWorld::register_contract`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.41.3/src/facade/scenario_world.rs:53:33
|
53 | pub fn register_contract<B: CallableContractBuilder>(
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ScenarioWorld::register_contract`
__END__
Check failure on line 13 in contracts/paymaster/tests/empty_scenario_rs_test.rs
github-actions / clippy
[clippy] contracts/paymaster/tests/empty_scenario_rs_test.rs#L13
error[E0599]: no method named `run` found for struct `multiversx_sc_scenario::ScenarioWorld` in the current scope
--> contracts/paymaster/tests/empty_scenario_rs_test.rs:13:13
|
13 | world().run("scenarios/empty.scen.json");
| ^^^ method not found in `ScenarioWorld`
Raw output
contracts/paymaster/tests/empty_scenario_rs_test.rs:13:13:e:error[E0599]: no method named `run` found for struct `multiversx_sc_scenario::ScenarioWorld` in the current scope
--> contracts/paymaster/tests/empty_scenario_rs_test.rs:13:13
|
13 | world().run("scenarios/empty.scen.json");
| ^^^ method not found in `ScenarioWorld`
__END__
Check failure on line 4 in contracts/paymaster/tests/empty_scenario_go_test.rs
github-actions / clippy
[clippy] contracts/paymaster/tests/empty_scenario_go_test.rs#L4
error[E0599]: no function or associated item named `vm_go` found for struct `multiversx_sc_scenario::ScenarioWorld` in the current scope
--> contracts/paymaster/tests/empty_scenario_go_test.rs:4:20
|
4 | ScenarioWorld::vm_go()
| ^^^^^ function or associated item not found in `ScenarioWorld`
Raw output
contracts/paymaster/tests/empty_scenario_go_test.rs:4:20:e:error[E0599]: no function or associated item named `vm_go` found for struct `multiversx_sc_scenario::ScenarioWorld` in the current scope
--> contracts/paymaster/tests/empty_scenario_go_test.rs:4:20
|
4 | ScenarioWorld::vm_go()
| ^^^^^ function or associated item not found in `ScenarioWorld`
__END__
Check failure on line 9 in contracts/paymaster/tests/empty_scenario_go_test.rs
github-actions / clippy
[clippy] contracts/paymaster/tests/empty_scenario_go_test.rs#L9
error[E0599]: no method named `run` found for struct `multiversx_sc_scenario::ScenarioWorld` in the current scope
--> contracts/paymaster/tests/empty_scenario_go_test.rs:9:13
|
9 | world().run("scenarios/empty.scen.json");
| ^^^ method not found in `ScenarioWorld`
Raw output
contracts/paymaster/tests/empty_scenario_go_test.rs:9:13:e:error[E0599]: no method named `run` found for struct `multiversx_sc_scenario::ScenarioWorld` in the current scope
--> contracts/paymaster/tests/empty_scenario_go_test.rs:9:13
|
9 | world().run("scenarios/empty.scen.json");
| ^^^ method not found in `ScenarioWorld`
__END__