Fallback receive #282
check.yml
on: pull_request
stable / fmt
16s
Matrix: clippy
Annotations
1 error and 12 warnings
stable / fmt
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
stable / fmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
stable / fmt
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
first doc comment paragraph is too long:
stylus-sdk/src/storage/traits.rs#L100
warning: first doc comment paragraph is too long
--> stylus-sdk/src/storage/traits.rs:100:1
|
100 | / /// Binds a storage accessor to a lifetime to prevent aliasing.
101 | | /// Because this type doesn't implement `DerefMut`, mutable methods on the accessor aren't available.
102 | | /// For a mutable accessor, see [`StorageGuardMut`].
| |_
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph
help: add an empty line
|
100 ~ /// Binds a storage accessor to a lifetime to prevent aliasing.
101 + ///
|
|
first doc comment paragraph is too long:
stylus-sdk/src/storage/traits.rs#L87
warning: first doc comment paragraph is too long
--> stylus-sdk/src/storage/traits.rs:87:1
|
87 | / /// Trait for top-level storage types, usually implemented by proc macros.
88 | | /// Top-level types are special in that their lifetimes track the entirety
89 | | /// of all the EVM state-changes throughout a contract invocation.
90 | | ///
91 | | /// To prevent storage aliasing during reentrancy, you must hold a reference
| |_
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph
help: add an empty line
|
87 ~ /// Trait for top-level storage types, usually implemented by proc macros.
88 + ///
|
|
first doc comment paragraph is too long:
stylus-sdk/src/storage/traits.rs#L76
warning: first doc comment paragraph is too long
--> stylus-sdk/src/storage/traits.rs:76:1
|
76 | / /// Trait for simple accessors that store no more than their wrapped value.
77 | | /// The type's representation must be entirely inline, or storage leaks become possible.
78 | | /// Note: it is a logic error if erasure does anything more than writing the zero-value.
| |_
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph
help: add an empty line
|
76 ~ /// Trait for simple accessors that store no more than their wrapped value.
77 + ///
|
|
first doc comment paragraph is too long:
stylus-sdk/src/storage/traits.rs#L12
warning: first doc comment paragraph is too long
--> stylus-sdk/src/storage/traits.rs:12:1
|
12 | / /// Accessor trait that lets a type be used in persistent storage.
13 | | /// Users can implement this trait to add novel data structures to their contract definitions.
14 | | /// The Stylus SDK by default provides only solidity types, which are represented [`the same way`].
15 | | ///
16 | | /// [`the same way`]: https://docs.soliditylang.org/en/latest/internals/layout_in_storage.html
| |_
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph
help: add an empty line
|
12 ~ /// Accessor trait that lets a type be used in persistent storage.
13 + ///
|
|
first doc comment paragraph is too long:
stylus-sdk/src/hostio.rs#L453
warning: first doc comment paragraph is too long
--> stylus-sdk/src/hostio.rs:453:11
|
453 | $(#[$meta])*
| ^
|
::: stylus-sdk/src/msg.rs:23:1
|
23 | / wrap_hostio!(
24 | | /// Gets the address of the account that called the program. For normal L2-to-L2 transactions
25 | | /// the semantics are equivalent to that of the EVM's [`CALLER`] opcode, including in cases
26 | | /// arising from [`DELEGATE_CALL`].
... |
34 | | sender SENDER msg_sender Address
35 | | );
| |_- in this macro invocation
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph
= note: this warning originates in the macro `wrap_hostio` (in Nightly builds, run with -Z macro-backtrace for more info)
|
first doc comment paragraph is too long:
stylus-sdk/src/methods.rs#L6
warning: first doc comment paragraph is too long
--> stylus-sdk/src/methods.rs:6:1
|
6 | / /// State mutability of a contract fuction. This is currently used for checking whether contracts
7 | | /// are allowed to override a function from another contract they inherit from.
8 | | /// Users should not need this type outside of proc macros.
| |_
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph
= note: `#[warn(clippy::too_long_first_doc_paragraph)]` on by default
|
stable / clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
stable / clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
beta / clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
beta / clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|