Upgrade contracts to 0.43.4 #96
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (9)
contracts/multisig/tests/multisig_whitebox_test.rs|5 col 5| error[E0432]: unresolved import adder::Adder
--> contracts/multisig/tests/multisig_whitebox_test.rs:5:5
|
5 | use adder::Adder;
| ^^^^^^^^^^^^ no Adder
in the root
contracts/multisig/tests/multisig_whitebox_test.rs|607 col 75| error[E0425]: cannot find value contract_obj
in crate adder
--> contracts/multisig/tests/multisig_whitebox_test.rs:607:75
|
607 | let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, adder::contract_obj);
| ^^^^^^^^^^^^ not found in adder
|
help: consider importing one of these items
|
3 + use multisig::contract_obj;
|
3 + use multisig::multisig_events::contract_obj;
|
3 + use multisig::multisig_perform::contract_obj;
|
3 + use multisig::multisig_propose::contract_obj;
|
and 23 other candidates
help: if you import contract_obj
, refer to it directly
|
607 - let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, adder::contract_obj);
607 + let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, contract_obj);
|
contracts/multisig/tests/multisig_whitebox_test.rs|614 col 53| error[E0425]: cannot find value ContractBuilder
in crate adder
--> contracts/multisig/tests/multisig_whitebox_test.rs:614:53
|
614 | world.register_contract(ADDER_PATH_EXPR, adder::ContractBuilder);
| ^^^^^^^^^^^^^^^ not found in adder
|
help: consider importing one of these items
|
3 + use multisig::ContractBuilder;
|
3 + use multisig::multisig_events::ContractBuilder;
|
3 + use multisig::multisig_perform::ContractBuilder;
|
3 + use multisig::multisig_propose::ContractBuilder;
|
and 23 other candidates
help: if you import ContractBuilder
, refer to it directly
|
614 - world.register_contract(ADDER_PATH_EXPR, adder::ContractBuilder);
614 + world.register_contract(ADDER_PATH_EXPR, ContractBuilder);
|
contracts/multisig/tests/multisig_whitebox_test.rs|668 col 75| error[E0425]: cannot find value contract_obj
in crate adder
--> contracts/multisig/tests/multisig_whitebox_test.rs:668:75
|
668 | let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, adder::contract_obj);
| ^^^^^^^^^^^^ not found in adder
|
help: consider importing one of these items
|
3 + use multisig::contract_obj;
|
3 + use multisig::multisig_events::contract_obj;
|
3 + use multisig::multisig_perform::contract_obj;
|
3 + use multisig::multisig_propose::contract_obj;
|
and 23 other candidates
help: if you import contract_obj
, refer to it directly
|
668 - let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, adder::contract_obj);
668 + let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, contract_obj);
|
contracts/multisig/tests/multisig_whitebox_test.rs|675 col 53| error[E0425]: cannot find value ContractBuilder
in crate adder
--> contracts/multisig/tests/multisig_whitebox_test.rs:675:53
|
675 | world.register_contract(ADDER_PATH_EXPR, adder::ContractBuilder);
| ^^^^^^^^^^^^^^^ not found in adder
|
help: consider importing one of these items
|
3 + use multisig::ContractBuilder;
|
3 + use multisig::multisig_events::ContractBuilder;
|
3 + use multisig::multisig_perform::ContractBuilder;
|
3 + use multisig::multisig_propose::ContractBuilder;
|
and 23 other candidates
help: if you import ContractBuilder
, refer to it directly
|
675 - world.register_contract(ADDER_PATH_EXPR, adder::ContractBuilder);
675 + world.register_contract(ADDER_PATH_EXPR, ContractBuilder);
|
contracts/multisig/tests/multisig_whitebox_test.rs|729 col 75| error[E0425]: cannot find value contract_obj
in crate adder
--> contracts/multisig/tests/multisig_whitebox_test.rs:729:75
|
729 | let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, adder::contract_obj);
| ^^^^^^^^^^^^ not found in adder
|
help: consider importing one of these items
|
3 + use multisig::contract_obj;
|
3 + use multisig::multisig_events::contract_obj;
|
3 + use multisig::multisig_perform::contract_obj;
|
3 + use multisig::multisig_propose::contract_obj;
|
and 23 other candidates
help: if you import contract_obj
, refer to it directly
|
729 - let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, adder::contract_obj);
729 + let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, contract_obj);
|
contracts/multisig/tests/multisig_whitebox_test.rs|732 col 83| error[E0425]: cannot find value contract_obj
in crate adder
--> contracts/multisig/tests/multisig_whitebox_test.rs:732:83
|
732 | let new_adder_whitebox = WhiteboxContract::new(NEW_ADDER_ADDRESS_EXPR, adder::contract_obj);
| ^^^^^^^^^^^^ not found in adder
|
help: consider importing one of these items
|
3 + use multisig::contract_obj;
|
3 + use multisig::multisig_events::contract_obj;
|
3 + use multisig::multisig_perform::contract_obj;
|
3 + use multisig::multisig_propose::contract_obj;
|
and 23 other candidates
help: if you import contract_obj
, refer to it directly
|
732 - let new_adder_whitebox = WhiteboxContract::new(NEW_ADDER_ADDRESS_EXPR, adder::contract_obj);
732 + let new_adder_whitebox = WhiteboxContract::new(NEW_ADDER_ADDRESS_EXPR, contract_obj);
|
contracts/multisig/tests/multisig_whitebox_test.rs|739 col 53| error[E0425]: cannot find value ContractBuilder
in crate adder
--> contracts/multisig/tests/multisig_whitebox_test.rs:739:53
|
739 | world.register_contract(ADDER_PATH_EXPR, adder::ContractBuilder);
| ^^^^^^^^^^^^^^^ not found in adder
|
help: consider importing one of these items
|
3 + use multisig::ContractBuilder;
|
3 + use multisig::multisig_events::ContractBuilder;
|
3 + use multisig::multisig_perform::ContractBuilder;
|
3 + use multisig::multisig_propose::ContractBuilder;
|
and 23 other candidates
help: if you import ContractBuilder
, refer to it directly
|
739 - world.register_contract(ADDER_PATH_EXPR, adder::ContractBuilder);
739 + world.register_contract(ADDER_PATH_EXPR, ContractBuilder);
|
contracts/multisig/tests/multisig_whitebox_test.rs|822 col 61| error[E0425]: cannot find value ContractBuilder
in crate factorial
--> contracts/multisig/tests/multisig_whitebox_test.rs:822:61
|
822 | world.register_contract(FACTORIAL_PATH_EXPR, factorial::ContractBuilder);
| ^^^^^^^^^^^^^^^ not found in factorial
|
help: consider importing one of these items
|
3 + use multisig::ContractBuilder;
|
3 + use multisig::multisig_events::ContractBuilder;
|
3 + use multisig::multisig_perform::ContractBuilder;
|
3 + use multisig::multisig_propose::ContractBuilder;
|
and 23 other candidates
help: if you import ContractBuilder
, refer to it directly
|
822 - world.register_contract(FACTORIAL_PATH_EXPR, factorial::ContractBuilder);
822 + world.register_contract(FACTORIAL_PATH_EXPR, ContractBuilder);
|
Filtered Findings (0)
Annotations
Check failure on line 5 in contracts/multisig/tests/multisig_whitebox_test.rs
github-actions / clippy
[clippy] contracts/multisig/tests/multisig_whitebox_test.rs#L5
error[E0432]: unresolved import `adder::Adder`
--> contracts/multisig/tests/multisig_whitebox_test.rs:5:5
|
5 | use adder::Adder;
| ^^^^^^^^^^^^ no `Adder` in the root
Raw output
contracts/multisig/tests/multisig_whitebox_test.rs:5:5:e:error[E0432]: unresolved import `adder::Adder`
--> contracts/multisig/tests/multisig_whitebox_test.rs:5:5
|
5 | use adder::Adder;
| ^^^^^^^^^^^^ no `Adder` in the root
__END__
Check failure on line 607 in contracts/multisig/tests/multisig_whitebox_test.rs
github-actions / clippy
[clippy] contracts/multisig/tests/multisig_whitebox_test.rs#L607
error[E0425]: cannot find value `contract_obj` in crate `adder`
--> contracts/multisig/tests/multisig_whitebox_test.rs:607:75
|
607 | let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, adder::contract_obj);
| ^^^^^^^^^^^^ not found in `adder`
|
help: consider importing one of these items
|
3 + use multisig::contract_obj;
|
3 + use multisig::multisig_events::contract_obj;
|
3 + use multisig::multisig_perform::contract_obj;
|
3 + use multisig::multisig_propose::contract_obj;
|
and 23 other candidates
help: if you import `contract_obj`, refer to it directly
|
607 - let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, adder::contract_obj);
607 + let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, contract_obj);
|
Raw output
contracts/multisig/tests/multisig_whitebox_test.rs:607:75:e:error[E0425]: cannot find value `contract_obj` in crate `adder`
--> contracts/multisig/tests/multisig_whitebox_test.rs:607:75
|
607 | let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, adder::contract_obj);
| ^^^^^^^^^^^^ not found in `adder`
|
help: consider importing one of these items
|
3 + use multisig::contract_obj;
|
3 + use multisig::multisig_events::contract_obj;
|
3 + use multisig::multisig_perform::contract_obj;
|
3 + use multisig::multisig_propose::contract_obj;
|
and 23 other candidates
help: if you import `contract_obj`, refer to it directly
|
607 - let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, adder::contract_obj);
607 + let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, contract_obj);
|
__END__
Check failure on line 614 in contracts/multisig/tests/multisig_whitebox_test.rs
github-actions / clippy
[clippy] contracts/multisig/tests/multisig_whitebox_test.rs#L614
error[E0425]: cannot find value `ContractBuilder` in crate `adder`
--> contracts/multisig/tests/multisig_whitebox_test.rs:614:53
|
614 | world.register_contract(ADDER_PATH_EXPR, adder::ContractBuilder);
| ^^^^^^^^^^^^^^^ not found in `adder`
|
help: consider importing one of these items
|
3 + use multisig::ContractBuilder;
|
3 + use multisig::multisig_events::ContractBuilder;
|
3 + use multisig::multisig_perform::ContractBuilder;
|
3 + use multisig::multisig_propose::ContractBuilder;
|
and 23 other candidates
help: if you import `ContractBuilder`, refer to it directly
|
614 - world.register_contract(ADDER_PATH_EXPR, adder::ContractBuilder);
614 + world.register_contract(ADDER_PATH_EXPR, ContractBuilder);
|
Raw output
contracts/multisig/tests/multisig_whitebox_test.rs:614:53:e:error[E0425]: cannot find value `ContractBuilder` in crate `adder`
--> contracts/multisig/tests/multisig_whitebox_test.rs:614:53
|
614 | world.register_contract(ADDER_PATH_EXPR, adder::ContractBuilder);
| ^^^^^^^^^^^^^^^ not found in `adder`
|
help: consider importing one of these items
|
3 + use multisig::ContractBuilder;
|
3 + use multisig::multisig_events::ContractBuilder;
|
3 + use multisig::multisig_perform::ContractBuilder;
|
3 + use multisig::multisig_propose::ContractBuilder;
|
and 23 other candidates
help: if you import `ContractBuilder`, refer to it directly
|
614 - world.register_contract(ADDER_PATH_EXPR, adder::ContractBuilder);
614 + world.register_contract(ADDER_PATH_EXPR, ContractBuilder);
|
__END__
Check failure on line 668 in contracts/multisig/tests/multisig_whitebox_test.rs
github-actions / clippy
[clippy] contracts/multisig/tests/multisig_whitebox_test.rs#L668
error[E0425]: cannot find value `contract_obj` in crate `adder`
--> contracts/multisig/tests/multisig_whitebox_test.rs:668:75
|
668 | let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, adder::contract_obj);
| ^^^^^^^^^^^^ not found in `adder`
|
help: consider importing one of these items
|
3 + use multisig::contract_obj;
|
3 + use multisig::multisig_events::contract_obj;
|
3 + use multisig::multisig_perform::contract_obj;
|
3 + use multisig::multisig_propose::contract_obj;
|
and 23 other candidates
help: if you import `contract_obj`, refer to it directly
|
668 - let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, adder::contract_obj);
668 + let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, contract_obj);
|
Raw output
contracts/multisig/tests/multisig_whitebox_test.rs:668:75:e:error[E0425]: cannot find value `contract_obj` in crate `adder`
--> contracts/multisig/tests/multisig_whitebox_test.rs:668:75
|
668 | let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, adder::contract_obj);
| ^^^^^^^^^^^^ not found in `adder`
|
help: consider importing one of these items
|
3 + use multisig::contract_obj;
|
3 + use multisig::multisig_events::contract_obj;
|
3 + use multisig::multisig_perform::contract_obj;
|
3 + use multisig::multisig_propose::contract_obj;
|
and 23 other candidates
help: if you import `contract_obj`, refer to it directly
|
668 - let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, adder::contract_obj);
668 + let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, contract_obj);
|
__END__
Check failure on line 675 in contracts/multisig/tests/multisig_whitebox_test.rs
github-actions / clippy
[clippy] contracts/multisig/tests/multisig_whitebox_test.rs#L675
error[E0425]: cannot find value `ContractBuilder` in crate `adder`
--> contracts/multisig/tests/multisig_whitebox_test.rs:675:53
|
675 | world.register_contract(ADDER_PATH_EXPR, adder::ContractBuilder);
| ^^^^^^^^^^^^^^^ not found in `adder`
|
help: consider importing one of these items
|
3 + use multisig::ContractBuilder;
|
3 + use multisig::multisig_events::ContractBuilder;
|
3 + use multisig::multisig_perform::ContractBuilder;
|
3 + use multisig::multisig_propose::ContractBuilder;
|
and 23 other candidates
help: if you import `ContractBuilder`, refer to it directly
|
675 - world.register_contract(ADDER_PATH_EXPR, adder::ContractBuilder);
675 + world.register_contract(ADDER_PATH_EXPR, ContractBuilder);
|
Raw output
contracts/multisig/tests/multisig_whitebox_test.rs:675:53:e:error[E0425]: cannot find value `ContractBuilder` in crate `adder`
--> contracts/multisig/tests/multisig_whitebox_test.rs:675:53
|
675 | world.register_contract(ADDER_PATH_EXPR, adder::ContractBuilder);
| ^^^^^^^^^^^^^^^ not found in `adder`
|
help: consider importing one of these items
|
3 + use multisig::ContractBuilder;
|
3 + use multisig::multisig_events::ContractBuilder;
|
3 + use multisig::multisig_perform::ContractBuilder;
|
3 + use multisig::multisig_propose::ContractBuilder;
|
and 23 other candidates
help: if you import `ContractBuilder`, refer to it directly
|
675 - world.register_contract(ADDER_PATH_EXPR, adder::ContractBuilder);
675 + world.register_contract(ADDER_PATH_EXPR, ContractBuilder);
|
__END__
Check failure on line 729 in contracts/multisig/tests/multisig_whitebox_test.rs
github-actions / clippy
[clippy] contracts/multisig/tests/multisig_whitebox_test.rs#L729
error[E0425]: cannot find value `contract_obj` in crate `adder`
--> contracts/multisig/tests/multisig_whitebox_test.rs:729:75
|
729 | let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, adder::contract_obj);
| ^^^^^^^^^^^^ not found in `adder`
|
help: consider importing one of these items
|
3 + use multisig::contract_obj;
|
3 + use multisig::multisig_events::contract_obj;
|
3 + use multisig::multisig_perform::contract_obj;
|
3 + use multisig::multisig_propose::contract_obj;
|
and 23 other candidates
help: if you import `contract_obj`, refer to it directly
|
729 - let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, adder::contract_obj);
729 + let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, contract_obj);
|
Raw output
contracts/multisig/tests/multisig_whitebox_test.rs:729:75:e:error[E0425]: cannot find value `contract_obj` in crate `adder`
--> contracts/multisig/tests/multisig_whitebox_test.rs:729:75
|
729 | let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, adder::contract_obj);
| ^^^^^^^^^^^^ not found in `adder`
|
help: consider importing one of these items
|
3 + use multisig::contract_obj;
|
3 + use multisig::multisig_events::contract_obj;
|
3 + use multisig::multisig_perform::contract_obj;
|
3 + use multisig::multisig_propose::contract_obj;
|
and 23 other candidates
help: if you import `contract_obj`, refer to it directly
|
729 - let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, adder::contract_obj);
729 + let adder_whitebox = WhiteboxContract::new(ADDER_ADDRESS_EXPR, contract_obj);
|
__END__
Check failure on line 732 in contracts/multisig/tests/multisig_whitebox_test.rs
github-actions / clippy
[clippy] contracts/multisig/tests/multisig_whitebox_test.rs#L732
error[E0425]: cannot find value `contract_obj` in crate `adder`
--> contracts/multisig/tests/multisig_whitebox_test.rs:732:83
|
732 | let new_adder_whitebox = WhiteboxContract::new(NEW_ADDER_ADDRESS_EXPR, adder::contract_obj);
| ^^^^^^^^^^^^ not found in `adder`
|
help: consider importing one of these items
|
3 + use multisig::contract_obj;
|
3 + use multisig::multisig_events::contract_obj;
|
3 + use multisig::multisig_perform::contract_obj;
|
3 + use multisig::multisig_propose::contract_obj;
|
and 23 other candidates
help: if you import `contract_obj`, refer to it directly
|
732 - let new_adder_whitebox = WhiteboxContract::new(NEW_ADDER_ADDRESS_EXPR, adder::contract_obj);
732 + let new_adder_whitebox = WhiteboxContract::new(NEW_ADDER_ADDRESS_EXPR, contract_obj);
|
Raw output
contracts/multisig/tests/multisig_whitebox_test.rs:732:83:e:error[E0425]: cannot find value `contract_obj` in crate `adder`
--> contracts/multisig/tests/multisig_whitebox_test.rs:732:83
|
732 | let new_adder_whitebox = WhiteboxContract::new(NEW_ADDER_ADDRESS_EXPR, adder::contract_obj);
| ^^^^^^^^^^^^ not found in `adder`
|
help: consider importing one of these items
|
3 + use multisig::contract_obj;
|
3 + use multisig::multisig_events::contract_obj;
|
3 + use multisig::multisig_perform::contract_obj;
|
3 + use multisig::multisig_propose::contract_obj;
|
and 23 other candidates
help: if you import `contract_obj`, refer to it directly
|
732 - let new_adder_whitebox = WhiteboxContract::new(NEW_ADDER_ADDRESS_EXPR, adder::contract_obj);
732 + let new_adder_whitebox = WhiteboxContract::new(NEW_ADDER_ADDRESS_EXPR, contract_obj);
|
__END__
Check failure on line 739 in contracts/multisig/tests/multisig_whitebox_test.rs
github-actions / clippy
[clippy] contracts/multisig/tests/multisig_whitebox_test.rs#L739
error[E0425]: cannot find value `ContractBuilder` in crate `adder`
--> contracts/multisig/tests/multisig_whitebox_test.rs:739:53
|
739 | world.register_contract(ADDER_PATH_EXPR, adder::ContractBuilder);
| ^^^^^^^^^^^^^^^ not found in `adder`
|
help: consider importing one of these items
|
3 + use multisig::ContractBuilder;
|
3 + use multisig::multisig_events::ContractBuilder;
|
3 + use multisig::multisig_perform::ContractBuilder;
|
3 + use multisig::multisig_propose::ContractBuilder;
|
and 23 other candidates
help: if you import `ContractBuilder`, refer to it directly
|
739 - world.register_contract(ADDER_PATH_EXPR, adder::ContractBuilder);
739 + world.register_contract(ADDER_PATH_EXPR, ContractBuilder);
|
Raw output
contracts/multisig/tests/multisig_whitebox_test.rs:739:53:e:error[E0425]: cannot find value `ContractBuilder` in crate `adder`
--> contracts/multisig/tests/multisig_whitebox_test.rs:739:53
|
739 | world.register_contract(ADDER_PATH_EXPR, adder::ContractBuilder);
| ^^^^^^^^^^^^^^^ not found in `adder`
|
help: consider importing one of these items
|
3 + use multisig::ContractBuilder;
|
3 + use multisig::multisig_events::ContractBuilder;
|
3 + use multisig::multisig_perform::ContractBuilder;
|
3 + use multisig::multisig_propose::ContractBuilder;
|
and 23 other candidates
help: if you import `ContractBuilder`, refer to it directly
|
739 - world.register_contract(ADDER_PATH_EXPR, adder::ContractBuilder);
739 + world.register_contract(ADDER_PATH_EXPR, ContractBuilder);
|
__END__
Check failure on line 822 in contracts/multisig/tests/multisig_whitebox_test.rs
github-actions / clippy
[clippy] contracts/multisig/tests/multisig_whitebox_test.rs#L822
error[E0425]: cannot find value `ContractBuilder` in crate `factorial`
--> contracts/multisig/tests/multisig_whitebox_test.rs:822:61
|
822 | world.register_contract(FACTORIAL_PATH_EXPR, factorial::ContractBuilder);
| ^^^^^^^^^^^^^^^ not found in `factorial`
|
help: consider importing one of these items
|
3 + use multisig::ContractBuilder;
|
3 + use multisig::multisig_events::ContractBuilder;
|
3 + use multisig::multisig_perform::ContractBuilder;
|
3 + use multisig::multisig_propose::ContractBuilder;
|
and 23 other candidates
help: if you import `ContractBuilder`, refer to it directly
|
822 - world.register_contract(FACTORIAL_PATH_EXPR, factorial::ContractBuilder);
822 + world.register_contract(FACTORIAL_PATH_EXPR, ContractBuilder);
|
Raw output
contracts/multisig/tests/multisig_whitebox_test.rs:822:61:e:error[E0425]: cannot find value `ContractBuilder` in crate `factorial`
--> contracts/multisig/tests/multisig_whitebox_test.rs:822:61
|
822 | world.register_contract(FACTORIAL_PATH_EXPR, factorial::ContractBuilder);
| ^^^^^^^^^^^^^^^ not found in `factorial`
|
help: consider importing one of these items
|
3 + use multisig::ContractBuilder;
|
3 + use multisig::multisig_events::ContractBuilder;
|
3 + use multisig::multisig_perform::ContractBuilder;
|
3 + use multisig::multisig_propose::ContractBuilder;
|
and 23 other candidates
help: if you import `ContractBuilder`, refer to it directly
|
822 - world.register_contract(FACTORIAL_PATH_EXPR, factorial::ContractBuilder);
822 + world.register_contract(FACTORIAL_PATH_EXPR, ContractBuilder);
|
__END__