Skip to content

fix: recursion error into calling #387

fix: recursion error into calling

fix: recursion error into calling #387

GitHub Actions / clippy succeeded Feb 19, 2024 in 1s

clippy

88 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 88
Note 0
Help 0

Versions

  • rustc 1.78.0-nightly (2bf78d12d 2024-02-18)
  • cargo 1.78.0-nightly (7b7af3077 2024-02-17)
  • clippy 0.1.78 (2bf78d1 2024-02-18)

Annotations

Check warning on line 60 in pilota-build/src/ir/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

struct `ExceptionVariant` is never constructed

warning: struct `ExceptionVariant` is never constructed
  --> pilota-build/src/ir/mod.rs:60:12
   |
60 | pub struct ExceptionVariant {
   |            ^^^^^^^^^^^^^^^^
   |
   = note: `ExceptionVariant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis

Check warning on line 14 in pilota-build/src/index.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

method `increment_by` is never used

warning: method `increment_by` is never used
  --> pilota-build/src/index.rs:14:8
   |
3  | pub trait Idx: Sized + Copy + 'static {
   |           --- method in this trait
...
14 |     fn increment_by(&mut self, amount: usize) {
   |        ^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

Check warning on line 1 in pilota/src/thrift/binary_unsafe.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `TryInto` is imported redundantly

warning: the item `TryInto` is imported redundantly
 --> pilota/src/thrift/binary_unsafe.rs:1:11
  |
1 | use std::{convert::TryInto, ptr, slice, str};
  |           ^^^^^^^^^^^^^^^^
 --> /rustc/2bf78d12d33ae02d10010309a0d85dd04e7cff72/library/std/src/prelude/mod.rs:129:13
  |
  = note: the item `TryInto` is already defined here

Check warning on line 1 in pilota/src/thrift/binary_le.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `TryInto` is imported redundantly

warning: the item `TryInto` is imported redundantly
 --> pilota/src/thrift/binary_le.rs:1:11
  |
1 | use std::{convert::TryInto, str};
  |           ^^^^^^^^^^^^^^^^
 --> /rustc/2bf78d12d33ae02d10010309a0d85dd04e7cff72/library/std/src/prelude/mod.rs:129:13
  |
  = note: the item `TryInto` is already defined here

Check warning on line 1 in pilota/src/thrift/binary.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `TryInto` is imported redundantly

warning: the item `TryInto` is imported redundantly
 --> pilota/src/thrift/binary.rs:1:11
  |
1 | use std::{convert::TryInto, str};
  |           ^^^^^^^^^^^^^^^^
 --> /rustc/2bf78d12d33ae02d10010309a0d85dd04e7cff72/library/std/src/prelude/mod.rs:129:13
  |
  = note: the item `TryInto` is already defined here

Check warning on line 9 in pilota/src/prost/types.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `Vec` is imported redundantly

warning: the item `Vec` is imported redundantly
 --> pilota/src/prost/types.rs:9:29
  |
9 | use alloc::{string::String, vec::Vec};
  |                             ^^^^^^^^
 --> /rustc/2bf78d12d33ae02d10010309a0d85dd04e7cff72/library/std/src/prelude/mod.rs:125:13
  |
  = note: the item `Vec` is already defined here

Check warning on line 9 in pilota/src/prost/types.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `String` is imported redundantly

warning: the item `String` is imported redundantly
 --> pilota/src/prost/types.rs:9:13
  |
9 | use alloc::{string::String, vec::Vec};
  |             ^^^^^^^^^^^^^^
 --> /rustc/2bf78d12d33ae02d10010309a0d85dd04e7cff72/library/std/src/prelude/mod.rs:125:13
  |
  = note: the item `String` is already defined here

Check warning on line 3 in pilota/src/prost/message.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `Vec` is imported redundantly

warning: the item `Vec` is imported redundantly
 --> pilota/src/prost/message.rs:3:25
  |
3 | use alloc::{boxed::Box, vec::Vec};
  |                         ^^^^^^^^
 --> /rustc/2bf78d12d33ae02d10010309a0d85dd04e7cff72/library/std/src/prelude/mod.rs:125:13
  |
  = note: the item `Vec` is already defined here

Check warning on line 3 in pilota/src/prost/message.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `Box` is imported redundantly

warning: the item `Box` is imported redundantly
 --> pilota/src/prost/message.rs:3:13
  |
3 | use alloc::{boxed::Box, vec::Vec};
  |             ^^^^^^^^^^
 --> /rustc/2bf78d12d33ae02d10010309a0d85dd04e7cff72/library/std/src/prelude/mod.rs:125:13
  |
  = note: the item `Box` is already defined here

Check warning on line 4 in pilota/src/prost/error.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `Vec` is imported redundantly

warning: the item `Vec` is imported redundantly
 --> pilota/src/prost/error.rs:4:38
  |
4 | use alloc::{borrow::Cow, boxed::Box, vec::Vec};
  |                                      ^^^^^^^^
 --> /rustc/2bf78d12d33ae02d10010309a0d85dd04e7cff72/library/std/src/prelude/mod.rs:125:13
  |
  = note: the item `Vec` is already defined here

Check warning on line 4 in pilota/src/prost/error.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `Box` is imported redundantly

warning: the item `Box` is imported redundantly
 --> pilota/src/prost/error.rs:4:26
  |
4 | use alloc::{borrow::Cow, boxed::Box, vec::Vec};
  |                          ^^^^^^^^^^
 --> /rustc/2bf78d12d33ae02d10010309a0d85dd04e7cff72/library/std/src/prelude/mod.rs:125:13
  |
  = note: the item `Box` is already defined here
  |
  = note: `#[warn(unused_imports)]` on by default

Check warning on line 9 in pilota-thrift-parser/src/parser/typedef.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `Ident` is imported redundantly

warning: the item `Ident` is imported redundantly
  --> pilota-thrift-parser/src/parser/typedef.rs:9:31
   |
9  |     descriptor::{Annotations, Ident, Type, Typedef},
   |                               ^^^^^
10 |     parser::*,
   |     --------- the item `Ident` is already imported here

Check warning on line 5 in pilota-thrift-parser/src/parser/typedef.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `IResult` is imported redundantly

warning: the item `IResult` is imported redundantly
  --> pilota-thrift-parser/src/parser/typedef.rs:5:5
   |
5  |     IResult,
   |     ^^^^^^^
...
10 |     parser::*,
   |     --------- the item `IResult` is already imported here

Check warning on line 4 in pilota-thrift-parser/src/parser/typedef.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `tuple` is imported redundantly

warning: the item `tuple` is imported redundantly
  --> pilota-thrift-parser/src/parser/typedef.rs:4:5
   |
4  |     sequence::tuple,
   |     ^^^^^^^^^^^^^^^
...
10 |     parser::*,
   |     --------- the item `tuple` is already imported here

Check warning on line 3 in pilota-thrift-parser/src/parser/typedef.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `opt` is imported redundantly

warning: the item `opt` is imported redundantly
  --> pilota-thrift-parser/src/parser/typedef.rs:3:23
   |
3  |     combinator::{map, opt},
   |                       ^^^
...
10 |     parser::*,
   |     --------- the item `opt` is already imported here

Check warning on line 3 in pilota-thrift-parser/src/parser/typedef.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `map` is imported redundantly

warning: the item `map` is imported redundantly
  --> pilota-thrift-parser/src/parser/typedef.rs:3:18
   |
3  |     combinator::{map, opt},
   |                  ^^^
...
10 |     parser::*,
   |     --------- the item `map` is already imported here

Check warning on line 2 in pilota-thrift-parser/src/parser/typedef.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `tag` is imported redundantly

warning: the item `tag` is imported redundantly
  --> pilota-thrift-parser/src/parser/typedef.rs:2:5
   |
2  |     bytes::complete::tag,
   |     ^^^^^^^^^^^^^^^^^^^^
...
10 |     parser::*,
   |     --------- the item `tag` is already imported here

Check warning on line 12 in pilota-thrift-parser/src/parser/ty.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `Path` is imported redundantly

warning: the item `Path` is imported redundantly
  --> pilota-thrift-parser/src/parser/ty.rs:12:49
   |
12 |     descriptor::{Annotations, CppType, Literal, Path, Ty, Type},
   |                                                 ^^^^
13 |     parser::*,
   |     --------- the item `Path` is already imported here

Check warning on line 8 in pilota-thrift-parser/src/parser/ty.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `IResult` is imported redundantly

warning: the item `IResult` is imported redundantly
  --> pilota-thrift-parser/src/parser/ty.rs:8:5
   |
8  |     IResult,
   |     ^^^^^^^
...
13 |     parser::*,
   |     --------- the item `IResult` is already imported here

Check warning on line 7 in pilota-thrift-parser/src/parser/ty.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `tuple` is imported redundantly

warning: the item `tuple` is imported redundantly
  --> pilota-thrift-parser/src/parser/ty.rs:7:26
   |
7  |     sequence::{preceded, tuple},
   |                          ^^^^^
...
13 |     parser::*,
   |     --------- the item `tuple` is already imported here

Check warning on line 7 in pilota-thrift-parser/src/parser/ty.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `preceded` is imported redundantly

warning: the item `preceded` is imported redundantly
  --> pilota-thrift-parser/src/parser/ty.rs:7:16
   |
7  |     sequence::{preceded, tuple},
   |                ^^^^^^^^
...
13 |     parser::*,
   |     --------- the item `preceded` is already imported here

Check warning on line 6 in pilota-thrift-parser/src/parser/ty.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `opt` is imported redundantly

warning: the item `opt` is imported redundantly
  --> pilota-thrift-parser/src/parser/ty.rs:6:23
   |
6  |     combinator::{map, opt},
   |                       ^^^
...
13 |     parser::*,
   |     --------- the item `opt` is already imported here

Check warning on line 6 in pilota-thrift-parser/src/parser/ty.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `map` is imported redundantly

warning: the item `map` is imported redundantly
  --> pilota-thrift-parser/src/parser/ty.rs:6:18
   |
6  |     combinator::{map, opt},
   |                  ^^^
...
13 |     parser::*,
   |     --------- the item `map` is already imported here

Check warning on line 5 in pilota-thrift-parser/src/parser/ty.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `tag` is imported redundantly

warning: the item `tag` is imported redundantly
  --> pilota-thrift-parser/src/parser/ty.rs:5:5
   |
5  |     bytes::complete::tag,
   |     ^^^^^^^^^^^^^^^^^^^^
...
13 |     parser::*,
   |     --------- the item `tag` is already imported here

Check warning on line 4 in pilota-thrift-parser/src/parser/ty.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the item `alt` is imported redundantly

warning: the item `alt` is imported redundantly
  --> pilota-thrift-parser/src/parser/ty.rs:4:14
   |
4  |     branch::{alt, permutation},
   |              ^^^
...
13 |     parser::*,
   |     --------- the item `alt` is already imported here