Skip to content

Erc4626 extension #2184

Erc4626 extension

Erc4626 extension #2184

Triggered via pull request January 23, 2025 15:01
Status Success
Total duration 2m 5s
Artifacts

check.yml

on: pull_request
nightly / fmt
19s
nightly / fmt
nightly / doc
37s
nightly / doc
ubuntu / stable / features
1m 50s
ubuntu / stable / features
ubuntu / stable / typos
4s
ubuntu / stable / typos
Matrix: clippy
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
ubuntu / stable / typos
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
nightly / fmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
nightly / doc
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
beta / clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
beta / clippy: contracts/src/token/erc20/extensions/erc4626.rs#L666
[clippy] reported by reviewdog 🐶 warning: this expression creates a reference which is immediately dereferenced by the compiler --> contracts/src/token/erc20/extensions/erc4626.rs:666:51 | 666 | let max_assets = self.max_withdraw(owner, &erc20)?; | ^^^^^^ help: change this to: `erc20` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-W clippy::needless-borrow` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::needless_borrow)]` Raw Output: contracts/src/token/erc20/extensions/erc4626.rs:666:51:w:warning: this expression creates a reference which is immediately dereferenced by the compiler --> contracts/src/token/erc20/extensions/erc4626.rs:666:51 | 666 | let max_assets = self.max_withdraw(owner, &erc20)?; | ^^^^^^ help: change this to: `erc20` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-W clippy::needless-borrow` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::needless_borrow)]` __END__
beta / clippy: contracts/src/token/erc20/extensions/erc4626.rs#L695
[clippy] reported by reviewdog 🐶 warning: this expression creates a reference which is immediately dereferenced by the compiler --> contracts/src/token/erc20/extensions/erc4626.rs:695:49 | 695 | let max_shares = self.max_redeem(owner, &erc20); | ^^^^^^ help: change this to: `erc20` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow Raw Output: contracts/src/token/erc20/extensions/erc4626.rs:695:49:w:warning: this expression creates a reference which is immediately dereferenced by the compiler --> contracts/src/token/erc20/extensions/erc4626.rs:695:49 | 695 | let max_shares = self.max_redeem(owner, &erc20); | ^^^^^^ help: change this to: `erc20` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow __END__
stable / clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
stable / clippy: contracts/src/token/erc20/extensions/erc4626.rs#L666
[clippy] reported by reviewdog 🐶 warning: this expression creates a reference which is immediately dereferenced by the compiler --> contracts/src/token/erc20/extensions/erc4626.rs:666:51 | 666 | let max_assets = self.max_withdraw(owner, &erc20)?; | ^^^^^^ help: change this to: `erc20` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-W clippy::needless-borrow` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::needless_borrow)]` Raw Output: contracts/src/token/erc20/extensions/erc4626.rs:666:51:w:warning: this expression creates a reference which is immediately dereferenced by the compiler --> contracts/src/token/erc20/extensions/erc4626.rs:666:51 | 666 | let max_assets = self.max_withdraw(owner, &erc20)?; | ^^^^^^ help: change this to: `erc20` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-W clippy::needless-borrow` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::needless_borrow)]` __END__
stable / clippy: contracts/src/token/erc20/extensions/erc4626.rs#L695
[clippy] reported by reviewdog 🐶 warning: this expression creates a reference which is immediately dereferenced by the compiler --> contracts/src/token/erc20/extensions/erc4626.rs:695:49 | 695 | let max_shares = self.max_redeem(owner, &erc20); | ^^^^^^ help: change this to: `erc20` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow Raw Output: contracts/src/token/erc20/extensions/erc4626.rs:695:49:w:warning: this expression creates a reference which is immediately dereferenced by the compiler --> contracts/src/token/erc20/extensions/erc4626.rs:695:49 | 695 | let max_shares = self.max_redeem(owner, &erc20); | ^^^^^^ help: change this to: `erc20` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow __END__
ubuntu / stable / features
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636