feat: add --skip-modifiers flag (#68) #151
ci.yml
on: push
lint
1m 29s
ubuntu / stable / coverage
2m 14s
Matrix: build
Annotations
69 warnings
docs for function returning `Result` missing `# Errors` section:
src/syntax/mod.rs#L14
warning: docs for function returning `Result` missing `# Errors` section
--> src/syntax/mod.rs:14:1
|
14 | pub fn parse(text: &str) -> crate::error::Result<ast::Ast> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
docs for function returning `Result` missing `# Errors` section:
src/syntax/visitor.rs#L23
warning: docs for function returning `Result` missing `# Errors` section
--> src/syntax/visitor.rs:23:5
|
23 | / fn visit_description(
24 | | &mut self,
25 | | description: &ast::Description,
26 | | ) -> Result<Self::Output, Self::Error>;
| |___________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
docs for function returning `Result` missing `# Errors` section:
src/syntax/visitor.rs#L21
warning: docs for function returning `Result` missing `# Errors` section
--> src/syntax/visitor.rs:21:5
|
21 | fn visit_action(&mut self, action: &ast::Action) -> Result<Self::Output, Self::Error>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
docs for function returning `Result` missing `# Errors` section:
src/syntax/visitor.rs#L19
warning: docs for function returning `Result` missing `# Errors` section
--> src/syntax/visitor.rs:19:5
|
19 | fn visit_condition(&mut self, condition: &ast::Condition) -> Result<Self::Output, Self::Error>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
docs for function returning `Result` missing `# Errors` section:
src/syntax/visitor.rs#L17
warning: docs for function returning `Result` missing `# Errors` section
--> src/syntax/visitor.rs:17:5
|
17 | fn visit_root(&mut self, root: &ast::Root) -> Result<Self::Output, Self::Error>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
docs for function returning `Result` missing `# Errors` section:
src/syntax/tokenizer.rs#L162
warning: docs for function returning `Result` missing `# Errors` section
--> src/syntax/tokenizer.rs:162:5
|
162 | pub fn tokenize(&mut self, text: &str) -> Result<Vec<Token>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
docs for function returning `Result` missing `# Errors` section:
src/syntax/semantics.rs#L128
warning: docs for function returning `Result` missing `# Errors` section
--> src/syntax/semantics.rs:128:5
|
128 | pub fn analyze(&mut self, ast: &ast::Ast) -> Result<()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
docs for function which may panic missing `# Panics` section:
src/syntax/semantics.rs#L128
warning: docs for function which may panic missing `# Panics` section
--> src/syntax/semantics.rs:128:5
|
128 | pub fn analyze(&mut self, ast: &ast::Ast) -> Result<()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: first possible panic found here
--> src/syntax/semantics.rs:129:9
|
129 | / match ast {
130 | | Ast::Root(root) => self.visit_root(root),
131 | | Ast::Condition(condition) => self.visit_condition(condition),
132 | | Ast::Action(action) => self.visit_action(action),
... |
136 | | // be stored in `self.errors`.
137 | | .unwrap();
| |_________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc
|
docs for function returning `Result` missing `# Errors` section:
src/syntax/parser.rs#L139
warning: docs for function returning `Result` missing `# Errors` section
--> src/syntax/parser.rs:139:5
|
139 | pub fn parse(&mut self, text: &str, tokens: &[Token]) -> Result<Ast> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
docs for function returning `Result` missing `# Errors` section:
src/scaffold/mod.rs#L141
warning: docs for function returning `Result` missing `# Errors` section
--> src/scaffold/mod.rs:141:1
|
141 | pub fn scaffold(text: &str, cfg: &Config) -> crate::error::Result<String> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
docs for function which may panic missing `# Panics` section:
src/scaffold/mod.rs#L141
warning: docs for function which may panic missing `# Panics` section
--> src/scaffold/mod.rs:141:1
|
141 | pub fn scaffold(text: &str, cfg: &Config) -> crate::error::Result<String> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: first possible panic found here
--> src/scaffold/mod.rs:145:21
|
145 | let formatted = fmt(&source).expect("should format the emitted solidity code");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc
|
more than 3 bools in a struct:
src/scaffold/mod.rs#L24
warning: more than 3 bools in a struct
--> src/scaffold/mod.rs:24:1
|
24 | / pub struct Scaffold {
25 | | /// The set of tree files to generate from.
26 | | ///
27 | | /// Each Solidity file will be named after its matching
... |
50 | | pub skip_modifiers: bool,
51 | | }
| |_^
|
= help: consider using a state machine or refactoring bools into two-variant enums
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#struct_excessive_bools
= note: `#[warn(clippy::struct_excessive_bools)]` implied by `#[warn(clippy::pedantic)]`
|
docs for function which may panic missing `# Panics` section:
src/scaffold/modifiers.rs#L41
warning: docs for function which may panic missing `# Panics` section
--> src/scaffold/modifiers.rs:41:5
|
41 | pub fn discover(&mut self, ast: &Ast) -> &IndexMap<String, String> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: first possible panic found here
--> src/scaffold/modifiers.rs:44:17
|
44 | self.visit_root(root).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc
= note: `#[warn(clippy::missing_panics_doc)]` implied by `#[warn(clippy::pedantic)]`
|
unused `self` argument:
src/scaffold/emitter.rs#L83
warning: unused `self` argument
--> src/scaffold/emitter.rs:83:29
|
83 | fn emit_contract_header(&self, contract: &hir::ContractDefinition) -> String {
| ^^^^^
|
= help: consider refactoring to an associated function
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_self
= note: `#[warn(clippy::unused_self)]` implied by `#[warn(clippy::pedantic)]`
|
item name ends with its containing module's name:
src/hir/mod.rs#L40
warning: item name ends with its containing module's name
--> src/hir/mod.rs:40:8
|
40 | pub fn translate_tree_to_hir(tree: &str, cfg: &Config) -> error::Result<Hir> {
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_name_repetitions
= note: `#[warn(clippy::module_name_repetitions)]` implied by `#[warn(clippy::pedantic)]`
|
docs for function returning `Result` missing `# Errors` section:
src/hir/mod.rs#L40
warning: docs for function returning `Result` missing `# Errors` section
--> src/hir/mod.rs:40:1
|
40 | pub fn translate_tree_to_hir(tree: &str, cfg: &Config) -> error::Result<Hir> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
docs for function returning `Result` missing `# Errors` section:
src/hir/mod.rs#L20
warning: docs for function returning `Result` missing `# Errors` section
--> src/hir/mod.rs:20:1
|
20 | pub fn translate(text: &str, cfg: &Config) -> anyhow::Result<Hir> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
docs for function returning `Result` missing `# Errors` section:
src/hir/visitor.rs#L72
warning: docs for function returning `Result` missing `# Errors` section
--> src/hir/visitor.rs:72:5
|
72 | / fn visit_statement(
73 | | &mut self,
74 | | statement: &hir::Statement,
75 | | ) -> Result<Self::StatementOutput, Self::Error>;
| |____________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
docs for function returning `Result` missing `# Errors` section:
src/hir/visitor.rs#L62
warning: docs for function returning `Result` missing `# Errors` section
--> src/hir/visitor.rs:62:5
|
62 | / fn visit_comment(&mut self, comment: &hir::Comment)
63 | | -> Result<Self::CommentOutput, Self::Error>;
| |____________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
docs for function returning `Result` missing `# Errors` section:
src/hir/visitor.rs#L50
warning: docs for function returning `Result` missing `# Errors` section
--> src/hir/visitor.rs:50:5
|
50 | / fn visit_function(
51 | | &mut self,
52 | | function: &hir::FunctionDefinition,
53 | | ) -> Result<Self::FunctionDefinitionOutput, Self::Error>;
| |_____________________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
docs for function returning `Result` missing `# Errors` section:
src/hir/visitor.rs#L39
warning: docs for function returning `Result` missing `# Errors` section
--> src/hir/visitor.rs:39:5
|
39 | / fn visit_contract(
40 | | &mut self,
41 | | contract: &hir::ContractDefinition,
42 | | ) -> Result<Self::ContractDefinitionOutput, Self::Error>;
| |_____________________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
docs for function returning `Result` missing `# Errors` section:
src/hir/visitor.rs#L31
warning: docs for function returning `Result` missing `# Errors` section
--> src/hir/visitor.rs:31:5
|
31 | fn visit_root(&mut self, root: &hir::Root) -> Result<Self::RootOutput, Self::Error>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
docs for function returning `Result` missing `# Errors` section:
src/hir/combiner.rs#L109
warning: docs for function returning `Result` missing `# Errors` section
--> src/hir/combiner.rs:109:5
|
109 | pub fn combine(self, text: &str, hirs: Vec<Hir>) -> Result<Hir> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
|
docs for function returning `Result` missing `# Errors` section:
src/config.rs#L66
warning: docs for function returning `Result` missing `# Errors` section
--> src/config.rs:66:1
|
66 | pub fn run() -> anyhow::Result<()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
= note: `#[warn(clippy::missing_errors_doc)]` implied by `#[warn(clippy::pedantic)]`
|
calling `Scaffold::default()` is more clear than this expression:
src/config.rs#L61
warning: calling `Scaffold::default()` is more clear than this expression
--> src/config.rs:61:24
|
61 | Self::Scaffold(Default::default())
| ^^^^^^^^^^^^^^^^^^ help: try: `Scaffold::default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_trait_access
|
struct update has no effect, all the fields in the struct have already been specified:
src/config.rs#L40
warning: struct update has no effect, all the fields in the struct have already been specified
--> src/config.rs:40:19
|
40 | ..Config::default()
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_update
= note: `#[warn(clippy::needless_update)]` implied by `#[warn(clippy::all)]`
|
calling `Check::default()` is more clear than this expression:
src/config.rs#L26
warning: calling `Check::default()` is more clear than this expression
--> src/config.rs:26:38
|
26 | Commands::Scaffold(_) => Default::default(),
| ^^^^^^^^^^^^^^^^^^ help: try: `Check::default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_trait_access
|
calling `Scaffold::default()` is more clear than this expression:
src/config.rs#L19
warning: calling `Scaffold::default()` is more clear than this expression
--> src/config.rs:19:35
|
19 | Commands::Check(_) => Default::default(),
| ^^^^^^^^^^^^^^^^^^ help: try: `Scaffold::default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_trait_access
|
this function's return value is unnecessary:
src/check/mod.rs#L58
warning: this function's return value is unnecessary
--> src/check/mod.rs:58:5
|
58 | / pub(crate) fn run(&self, cfg: &Config) -> anyhow::Result<()> {
59 | | let mut violations = Vec::new();
60 | | let ctxs: Vec<Context> = self
61 | | .files
... |
120 | | Ok(())
121 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_wraps
= note: `#[warn(clippy::unnecessary_wraps)]` implied by `#[warn(clippy::pedantic)]`
help: remove the return type...
|
58 | pub(crate) fn run(&self, cfg: &Config) -> anyhow::Result<()> {
| ~~~~~~~~~~~~~~~~~~
help: ...and then remove returned values
|
120 - Ok(())
120 +
|
|
you seem to be trying to use `&Box<T>`. Consider using just `&T`:
src/check/violation.rs#L313
warning: you seem to be trying to use `&Box<T>`. Consider using just `&T`
--> src/check/violation.rs:313:19
|
313 | contract_sol: &Box<ContractDefinition>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&ContractDefinition`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrowed_box
= note: `#[warn(clippy::borrowed_box)]` implied by `#[warn(clippy::all)]`
|
calling `Config::default()` is more clear than this expression:
src/check/violation.rs#L187
warning: calling `Config::default()` is more clear than this expression
--> src/check/violation.rs:187:48
|
187 | let pt = sol::Translator::new(&Default::default()).translate(&ctx.hir);
| ^^^^^^^^^^^^^^^^^^ help: try: `Config::default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_trait_access
|
the loop variable `j` is only used to index `present_fn_indices`:
src/check/rules/structural_match.rs#L160
warning: the loop variable `j` is only used to index `present_fn_indices`
--> src/check/rules/structural_match.rs:160:18
|
160 | for j in i + 1..present_fn_indices.len() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop
= note: `#[warn(clippy::needless_range_loop)]` implied by `#[warn(clippy::all)]`
help: consider using an iterator
|
160 | for <item> in present_fn_indices.iter().skip(i + 1) {
| ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
consider adding a `;` to the last statement for consistent formatting:
src/check/rules/structural_match.rs#L134
warning: consider adding a `;` to the last statement for consistent formatting
--> src/check/rules/structural_match.rs:134:25
|
134 | / violations.push(Violation::new(
135 | | ViolationKind::MatchingFunctionMissing(fn_hir.clone(), hir_idx),
136 | | Location::Code(
137 | | ctx.tree.to_string_lossy().into_owned(),
138 | | fn_hir.span.start.line,
139 | | ),
140 | | ))
| |__________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned
= note: `#[warn(clippy::semicolon_if_nothing_returned)]` implied by `#[warn(clippy::pedantic)]`
help: add a `;` here
|
134 ~ violations.push(Violation::new(
135 + ViolationKind::MatchingFunctionMissing(fn_hir.clone(), hir_idx),
136 + Location::Code(
137 + ctx.tree.to_string_lossy().into_owned(),
138 + fn_hir.span.start.line,
139 + ),
140 + ));
|
|
calling `Config::default()` is more clear than this expression:
src/check/context.rs#L121
warning: calling `Config::default()` is more clear than this expression
--> src/check/context.rs:121:20
|
121 | let cfg = &Default::default();
| ^^^^^^^^^^^^^^^^^^ help: try: `Config::default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_trait_access
|
methods called `from_*` usually take no `self`:
src/check/context.rs#L85
warning: methods called `from_*` usually take no `self`
--> src/check/context.rs:85:31
|
85 | pub(crate) fn from_parsed(mut self, parsed: Parsed) -> Self {
| ^^^^^^^^
|
= help: consider choosing a less ambiguous name
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention
note: the lint level is defined here
--> src/lib.rs:3:9
|
3 | #![warn(clippy::all, clippy::pedantic, clippy::cargo)]
| ^^^^^^^^^^^
= note: `#[warn(clippy::wrong_self_convention)]` implied by `#[warn(clippy::all)]`
|
calling `Config::default()` is more clear than this expression:
src/check/context.rs#L53
warning: calling `Config::default()` is more clear than this expression
--> src/check/context.rs:53:58
|
53 | let hir = crate::hir::translate(&tree_contents, &Default::default()).map_err(|e| {
| ^^^^^^^^^^^^^^^^^^ help: try: `Config::default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_trait_access
= note: `#[warn(clippy::default_trait_access)]` implied by `#[warn(clippy::pedantic)]`
|
this argument is passed by value, but not consumed in the function body:
src/check/context.rs#L50
warning: this argument is passed by value, but not consumed in the function body
--> src/check/context.rs:50:43
|
50 | pub(crate) fn new(tree: PathBuf, cfg: Config) -> Result<Self, Violation> {
| ^^^^^^ help: consider taking a reference instead: `&Config`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
note: the lint level is defined here
--> src/lib.rs:3:22
|
3 | #![warn(clippy::all, clippy::pedantic, clippy::cargo)]
| ^^^^^^^^^^^^^^^^
= note: `#[warn(clippy::needless_pass_by_value)]` implied by `#[warn(clippy::pedantic)]`
|
multiple versions for dependency `yansi`: 0.5.1, 1.0.0-rc.1:
src/lib.rs#L1
warning: multiple versions for dependency `yansi`: 0.5.1, 1.0.0-rc.1
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|
multiple versions for dependency `toml_edit`: 0.19.15, 0.20.7, 0.21.0:
src/lib.rs#L1
warning: multiple versions for dependency `toml_edit`: 0.19.15, 0.20.7, 0.21.0
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|
multiple versions for dependency `toml`: 0.7.8, 0.8.8:
src/lib.rs#L1
warning: multiple versions for dependency `toml`: 0.7.8, 0.8.8
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|
multiple versions for dependency `syn`: 1.0.109, 2.0.66:
src/lib.rs#L1
warning: multiple versions for dependency `syn`: 1.0.109, 2.0.66
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|
multiple versions for dependency `socket2`: 0.4.10, 0.5.5:
src/lib.rs#L1
warning: multiple versions for dependency `socket2`: 0.4.10, 0.5.5
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|
multiple versions for dependency `proc-macro-crate`: 1.3.1, 2.0.0:
src/lib.rs#L1
warning: multiple versions for dependency `proc-macro-crate`: 1.3.1, 2.0.0
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|
multiple versions for dependency `bitflags`: 1.3.2, 2.4.1:
src/lib.rs#L1
warning: multiple versions for dependency `bitflags`: 1.3.2, 2.4.1
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
|
multiple versions for dependency `alloy-primitives`: 0.3.3, 0.4.2:
src/lib.rs#L1
warning: multiple versions for dependency `alloy-primitives`: 0.3.3, 0.4.2
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_crate_versions
note: the lint level is defined here
--> src/lib.rs:3:40
|
3 | #![warn(clippy::all, clippy::pedantic, clippy::cargo)]
| ^^^^^^^^^^^^^
= note: `#[warn(clippy::multiple_crate_versions)]` implied by `#[warn(clippy::cargo)]`
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, 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/
|
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, 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/
|
build (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build (macOS-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build (macOS-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, 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/
|
build (macOS-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build (macOS-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build (macOS-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build (macOS-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build (windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build (windows-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, 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/
|
build (windows-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build (windows-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build (windows-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
build (windows-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|