Fix chain tests #9941
Annotations
15 warnings
integration test dev environment
the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0
|
test:
executor/tests/executor_test.rs#L10
unused import: `encode_create_account_script_function`
|
test:
executor/tests/executor_test.rs#L200
unused variable: `net`
|
test
`starcoin-executor` (test "executor_test") generated 2 warnings (run `cargo fix --test "executor_test"` to apply 1 suggestion)
|
test
the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0
|
run cargo check:
vm/types/src/state_view.rs#L60
question mark operator is useless here
|
run cargo check:
vm/types/src/contract_event.rs#L56
using `clone` on type `EventKey` which implements the `Copy` trait
|
run cargo check
`starcoin-vm-types` (lib) generated 2 warnings (run `cargo clippy --fix --lib -p starcoin-vm-types` to apply 2 suggestions)
|
run cargo check:
vm/types/src/on_chain_resource/block_metadata.rs#L65
`to_string` applied to a type that implements `Display` in `assert_eq!` args
|
run cargo check
`starcoin-vm-types` (lib test) generated 3 warnings (2 duplicates) (run `cargo clippy --fix --lib -p starcoin-vm-types --tests` to apply 1 suggestion)
|
run cargo check
`starcoin-vm-types` (lib) generated 2 warnings (2 duplicates)
|
run cargo check:
executor/benchmark/src/lib.rs#L18
unused import: `encode_create_account_script_function`
|
run cargo check:
executor/benchmark/src/lib.rs#L28
unused import: `starcoin_vm_types::genesis_config::StdlibVersion`
|
run cargo check:
executor/benchmark/src/lib.rs#L29
unused import: `starcoin_vm_types::token::stc`
|
run cargo check:
executor/benchmark/src/lib.rs#L30
unused import: `starcoin_vm_types::transaction::authenticator::AuthenticationKey`
|
Loading