Foundry-like tests #225
template-test-current.yml
on: pull_request
Template tool test - current (unreleased) templates
6m 50s
Annotations
18 warnings
[clippy] contracts/foundry/test_multisig/src/test_multisig.rs#L57:
contracts/foundry/test_multisig/src/test_multisig.rs#L57
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> contracts/foundry/test_multisig/src/test_multisig.rs:57:26
|
57 | .get_storage(&multisig, &ManagedBuffer::from(b"quorum"));
| ^^^^^^^^^ help: change this to: `multisig`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
[clippy] contracts/foundry/test_multisig/src/test_multisig.rs#L64:
contracts/foundry/test_multisig/src/test_multisig.rs#L64
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> contracts/foundry/test_multisig/src/test_multisig.rs:64:26
|
64 | .get_storage(&multisig, &ManagedBuffer::from(b"num_board_members"));
| ^^^^^^^^^ help: change this to: `multisig`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
[clippy] contracts/foundry/test_multisig/src/test_multisig.rs#L95:
contracts/foundry/test_multisig/src/test_multisig.rs#L95
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> contracts/foundry/test_multisig/src/test_multisig.rs:95:37
|
95 | self.test_raw().start_prank(&proposer);
| ^^^^^^^^^ help: change this to: `proposer`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
[clippy] contracts/foundry/test_multisig/src/test_multisig.rs#L97:
contracts/foundry/test_multisig/src/test_multisig.rs#L97
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> contracts/foundry/test_multisig/src/test_multisig.rs:97:13
|
97 | &multisig,
| ^^^^^^^^^ help: change this to: `multisig`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
[clippy] contracts/foundry/test_multisig/src/test_multisig.rs#L112:
contracts/foundry/test_multisig/src/test_multisig.rs#L112
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> contracts/foundry/test_multisig/src/test_multisig.rs:112:13
|
112 | &multisig,
| ^^^^^^^^^ help: change this to: `multisig`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
[clippy] contracts/foundry/test_multisig/src/test_multisig.rs#L127:
contracts/foundry/test_multisig/src/test_multisig.rs#L127
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> contracts/foundry/test_multisig/src/test_multisig.rs:127:13
|
127 | &multisig,
| ^^^^^^^^^ help: change this to: `multisig`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
[clippy] contracts/foundry/foundrylike/src/test_adder.rs#L92:
contracts/foundry/foundrylike/src/test_adder.rs#L92
warning: the borrowed expression implements the required traits
--> contracts/foundry/foundrylike/src/test_adder.rs:92:34
|
92 | adder_init_args.push_arg(&value); // initial sum
| ^^^^^^ help: change this to: `value`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
[clippy] contracts/foundry/foundrylike/src/test_adder.rs#L105:
contracts/foundry/foundrylike/src/test_adder.rs#L105
warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
--> contracts/foundry/foundrylike/src/test_adder.rs:105:9
|
105 | / match res {
106 | | Result::Err(_) => panic!("call failed"),
107 | | Result::Ok(_) => (),
108 | | };
| |_________^ help: try this: `if let Result::Err(_) = res { panic!("call failed") }`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match
= note: `#[warn(clippy::single_match)]` on by default
|
[clippy] contracts/foundry/foundrylike/src/test_adder.rs#L92:
contracts/foundry/foundrylike/src/test_adder.rs#L92
warning: the borrowed expression implements the required traits
--> contracts/foundry/foundrylike/src/test_adder.rs:92:34
|
92 | adder_init_args.push_arg(&value); // initial sum
| ^^^^^^ help: change this to: `value`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
[clippy] contracts/foundry/foundrylike/src/test_adder.rs#L105:
contracts/foundry/foundrylike/src/test_adder.rs#L105
warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
--> contracts/foundry/foundrylike/src/test_adder.rs:105:9
|
105 | / match res {
106 | | Result::Err(_) => panic!("call failed"),
107 | | Result::Ok(_) => (),
108 | | };
| |_________^ help: try this: `if let Result::Err(_) = res { panic!("call failed") }`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match
= note: `#[warn(clippy::single_match)]` on by default
|
[clippy] contracts/foundry/test_multisig/src/test_multisig.rs#L57:
contracts/foundry/test_multisig/src/test_multisig.rs#L57
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> contracts/foundry/test_multisig/src/test_multisig.rs:57:26
|
57 | .get_storage(&multisig, &ManagedBuffer::from(b"quorum"));
| ^^^^^^^^^ help: change this to: `multisig`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
[clippy] contracts/foundry/test_multisig/src/test_multisig.rs#L64:
contracts/foundry/test_multisig/src/test_multisig.rs#L64
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> contracts/foundry/test_multisig/src/test_multisig.rs:64:26
|
64 | .get_storage(&multisig, &ManagedBuffer::from(b"num_board_members"));
| ^^^^^^^^^ help: change this to: `multisig`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
[clippy] contracts/foundry/test_multisig/src/test_multisig.rs#L95:
contracts/foundry/test_multisig/src/test_multisig.rs#L95
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> contracts/foundry/test_multisig/src/test_multisig.rs:95:37
|
95 | self.test_raw().start_prank(&proposer);
| ^^^^^^^^^ help: change this to: `proposer`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
[clippy] contracts/foundry/test_multisig/src/test_multisig.rs#L97:
contracts/foundry/test_multisig/src/test_multisig.rs#L97
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> contracts/foundry/test_multisig/src/test_multisig.rs:97:13
|
97 | &multisig,
| ^^^^^^^^^ help: change this to: `multisig`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
[clippy] contracts/foundry/test_multisig/src/test_multisig.rs#L112:
contracts/foundry/test_multisig/src/test_multisig.rs#L112
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> contracts/foundry/test_multisig/src/test_multisig.rs:112:13
|
112 | &multisig,
| ^^^^^^^^^ help: change this to: `multisig`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
[clippy] contracts/foundry/test_multisig/src/test_multisig.rs#L127:
contracts/foundry/test_multisig/src/test_multisig.rs#L127
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> contracts/foundry/test_multisig/src/test_multisig.rs:127:13
|
127 | &multisig,
| ^^^^^^^^^ help: change this to: `multisig`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
Template tool test - current (unreleased) templates
Unexpected input(s) 'default', valid inputs are ['toolchain', 'target', 'components', 'cache', 'rustflags']
|
Template tool test - current (unreleased) templates
Unexpected input(s) 'default', valid inputs are ['toolchain', 'target', 'components', 'cache', 'rustflags']
|