Game sc fixed clippy #130
actions.yml
on: pull_request
Contracts
/
Wasm tests
8m 20s
Contracts
/
Rust tests
3m 16s
Contracts
/
Clippy linter check
56s
Annotations
10 warnings
[clippy] contracts/mvx-game-sc/tests/game_sc_blackbox_tests.rs#L2:
contracts/mvx-game-sc/tests/game_sc_blackbox_tests.rs#L2
warning: unused imports: `Address`, `CodecFrom`
--> contracts/mvx-game-sc/tests/game_sc_blackbox_tests.rs:2:41
|
2 | codec::{multi_types::OptionalValue, CodecFrom},
| ^^^^^^^^^
3 | storage::mappers::SingleValue,
4 | types::{Address, EgldOrEsdtTokenIdentifier, TokenIdentifier},
| ^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
[clippy] contracts/mvx-game-sc/tests/game_sc_blackbox_tests.rs#L8:
contracts/mvx-game-sc/tests/game_sc_blackbox_tests.rs#L8
warning: unused import: `StorageModule`
--> contracts/mvx-game-sc/tests/game_sc_blackbox_tests.rs:8:27
|
8 | storage::{ProxyTrait, StorageModule},
| ^^^^^^^^^^^^^
|
[clippy] contracts/mvx-game-sc/tests/game_sc_blackbox_tests.rs#L31:
contracts/mvx-game-sc/tests/game_sc_blackbox_tests.rs#L31
warning: fields `user1`, `user2`, and `owner` are never read
--> contracts/mvx-game-sc/tests/game_sc_blackbox_tests.rs:33:5
|
31 | struct GameContractState {
| ----------------- fields in this struct
32 | world: ScenarioWorld,
33 | user1: AddressValue,
| ^^^^^
34 | user2: AddressValue,
| ^^^^^
35 | owner: AddressValue,
| ^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
Contracts / Rust tests:
contracts/mvx-game-sc/tests/game_sc_blackbox_tests.rs#L2
unused imports: `Address`, `CodecFrom`
|
Contracts / Rust tests:
contracts/mvx-game-sc/tests/game_sc_blackbox_tests.rs#L8
unused import: `StorageModule`
|
Contracts / Rust tests:
contracts/mvx-game-sc/tests/game_sc_blackbox_tests.rs#L33
fields `user1`, `user2`, and `owner` are never read
|
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/
|
Contracts / Wasm tests:
contracts/mvx-game-sc/tests/game_sc_blackbox_tests.rs#L2
unused imports: `Address`, `CodecFrom`
|
Contracts / Wasm tests:
contracts/mvx-game-sc/tests/game_sc_blackbox_tests.rs#L8
unused import: `StorageModule`
|
Contracts / Wasm tests:
contracts/mvx-game-sc/tests/game_sc_blackbox_tests.rs#L33
fields `user1`, `user2`, and `owner` are never read
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
report
Expired
|
38.5 KB |
|
report-markdown
Expired
|
2.52 KB |
|