fix: recursion error into calling #387
dependency-review.yaml
on: pull_request
dependency-review
18s
Annotations
89 warnings
struct `ExceptionVariant` is never constructed:
pilota-build/src/ir/mod.rs#L60
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
|
method `increment_by` is never used:
pilota-build/src/index.rs#L14
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
|
the item `TryInto` is imported redundantly:
pilota/src/thrift/binary_unsafe.rs#L1
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
|
the item `TryInto` is imported redundantly:
pilota/src/thrift/binary_le.rs#L1
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
|
the item `TryInto` is imported redundantly:
pilota/src/thrift/binary.rs#L1
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
|
the item `Vec` is imported redundantly:
pilota/src/prost/types.rs#L9
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
|
the item `String` is imported redundantly:
pilota/src/prost/types.rs#L9
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
|
the item `Vec` is imported redundantly:
pilota/src/prost/message.rs#L3
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
|
the item `Box` is imported redundantly:
pilota/src/prost/message.rs#L3
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
|
the item `Vec` is imported redundantly:
pilota/src/prost/error.rs#L4
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
|
the item `Box` is imported redundantly:
pilota/src/prost/error.rs#L4
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
|
the item `Ident` is imported redundantly:
pilota-thrift-parser/src/parser/typedef.rs#L9
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
|
the item `IResult` is imported redundantly:
pilota-thrift-parser/src/parser/typedef.rs#L5
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
|
the item `tuple` is imported redundantly:
pilota-thrift-parser/src/parser/typedef.rs#L4
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
|
the item `opt` is imported redundantly:
pilota-thrift-parser/src/parser/typedef.rs#L3
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
|
the item `map` is imported redundantly:
pilota-thrift-parser/src/parser/typedef.rs#L3
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
|
the item `tag` is imported redundantly:
pilota-thrift-parser/src/parser/typedef.rs#L2
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
|
the item `Path` is imported redundantly:
pilota-thrift-parser/src/parser/ty.rs#L12
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
|
the item `IResult` is imported redundantly:
pilota-thrift-parser/src/parser/ty.rs#L8
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
|
the item `tuple` is imported redundantly:
pilota-thrift-parser/src/parser/ty.rs#L7
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
|
the item `preceded` is imported redundantly:
pilota-thrift-parser/src/parser/ty.rs#L7
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
|
the item `opt` is imported redundantly:
pilota-thrift-parser/src/parser/ty.rs#L6
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
|
the item `map` is imported redundantly:
pilota-thrift-parser/src/parser/ty.rs#L6
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
|
the item `tag` is imported redundantly:
pilota-thrift-parser/src/parser/ty.rs#L5
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
|
the item `alt` is imported redundantly:
pilota-thrift-parser/src/parser/ty.rs#L4
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
|
the item `Arc` is imported redundantly:
pilota-thrift-parser/src/parser/ty.rs#L1
warning: the item `Arc` is imported redundantly
--> pilota-thrift-parser/src/parser/ty.rs:1:5
|
1 | use std::sync::Arc;
| ^^^^^^^^^^^^^^
...
13 | parser::*,
| --------- the item `Arc` is already imported here
|
the item `IResult` is imported redundantly:
pilota-thrift-parser/src/parser/thrift.rs#L7
warning: the item `IResult` is imported redundantly
--> pilota-thrift-parser/src/parser/thrift.rs:7:5
|
7 | IResult,
| ^^^^^^^
...
14 | parser::*,
| --------- the item `IResult` is already imported here
|
the item `tuple` is imported redundantly:
pilota-thrift-parser/src/parser/thrift.rs#L6
warning: the item `tuple` is imported redundantly
--> pilota-thrift-parser/src/parser/thrift.rs:6:5
|
6 | sequence::tuple,
| ^^^^^^^^^^^^^^^
...
14 | parser::*,
| --------- the item `tuple` is already imported here
|
the item `opt` is imported redundantly:
pilota-thrift-parser/src/parser/thrift.rs#L4
warning: the item `opt` is imported redundantly
--> pilota-thrift-parser/src/parser/thrift.rs:4:28
|
4 | combinator::{eof, map, opt, peek, recognize},
| ^^^
...
14 | parser::*,
| --------- the item `opt` is already imported here
|
the item `map` is imported redundantly:
pilota-thrift-parser/src/parser/thrift.rs#L4
warning: the item `map` is imported redundantly
--> pilota-thrift-parser/src/parser/thrift.rs:4:23
|
4 | combinator::{eof, map, opt, peek, recognize},
| ^^^
...
14 | parser::*,
| --------- the item `map` is already imported here
|
the item `Ident` is imported redundantly:
pilota-thrift-parser/src/parser/struct_.rs#L8
warning: the item `Ident` is imported redundantly
--> pilota-thrift-parser/src/parser/struct_.rs:8:49
|
8 | descriptor::{Annotations, Exception, Field, Ident, Struct, StructLike, Union},
| ^^^^^
9 | parser::*,
| --------- the item `Ident` is already imported here
|
the item `IResult` is imported redundantly:
pilota-thrift-parser/src/parser/struct_.rs#L4
warning: the item `IResult` is imported redundantly
--> pilota-thrift-parser/src/parser/struct_.rs:4:5
|
4 | IResult,
| ^^^^^^^
...
9 | parser::*,
| --------- the item `IResult` is already imported here
|
the item `opt` is imported redundantly:
pilota-thrift-parser/src/parser/struct_.rs#L3
warning: the item `opt` is imported redundantly
--> pilota-thrift-parser/src/parser/struct_.rs:3:23
|
3 | combinator::{map, opt},
| ^^^
...
9 | parser::*,
| --------- the item `opt` is already imported here
|
the item `map` is imported redundantly:
pilota-thrift-parser/src/parser/struct_.rs#L3
warning: the item `map` is imported redundantly
--> pilota-thrift-parser/src/parser/struct_.rs:3:18
|
3 | combinator::{map, opt},
| ^^^
...
9 | parser::*,
| --------- the item `map` is already imported here
|
the item `tag` is imported redundantly:
pilota-thrift-parser/src/parser/struct_.rs#L2
warning: the item `tag` is imported redundantly
--> pilota-thrift-parser/src/parser/struct_.rs:2:5
|
2 | bytes::complete::tag,
| ^^^^^^^^^^^^^^^^^^^^
...
9 | parser::*,
| --------- the item `tag` is already imported here
|
the item `Ident` is imported redundantly:
pilota-thrift-parser/src/parser/service.rs#L9
warning: the item `Ident` is imported redundantly
--> pilota-thrift-parser/src/parser/service.rs:9:41
|
9 | descriptor::{Annotations, Function, Ident, Service},
| ^^^^^
10 | parser::*,
| --------- the item `Ident` is already imported here
|
the item `IResult` is imported redundantly:
pilota-thrift-parser/src/parser/service.rs#L5
warning: the item `IResult` is imported redundantly
--> pilota-thrift-parser/src/parser/service.rs:5:5
|
5 | IResult,
| ^^^^^^^
...
10 | parser::*,
| --------- the item `IResult` is already imported here
|
the item `tuple` is imported redundantly:
pilota-thrift-parser/src/parser/service.rs#L4
warning: the item `tuple` is imported redundantly
--> pilota-thrift-parser/src/parser/service.rs:4:5
|
4 | sequence::tuple,
| ^^^^^^^^^^^^^^^
...
10 | parser::*,
| --------- the item `tuple` is already imported here
|
the item `opt` is imported redundantly:
pilota-thrift-parser/src/parser/service.rs#L3
warning: the item `opt` is imported redundantly
--> pilota-thrift-parser/src/parser/service.rs:3:23
|
3 | combinator::{map, opt},
| ^^^
...
10 | parser::*,
| --------- the item `opt` is already imported here
|
the item `map` is imported redundantly:
pilota-thrift-parser/src/parser/service.rs#L3
warning: the item `map` is imported redundantly
--> pilota-thrift-parser/src/parser/service.rs:3:18
|
3 | combinator::{map, opt},
| ^^^
...
10 | parser::*,
| --------- the item `map` is already imported here
|
the item `tag` is imported redundantly:
pilota-thrift-parser/src/parser/service.rs#L2
warning: the item `tag` is imported redundantly
--> pilota-thrift-parser/src/parser/service.rs:2:5
|
2 | bytes::complete::tag,
| ^^^^^^^^^^^^^^^^^^^^
...
10 | parser::*,
| --------- the item `tag` is already imported here
|
the item `IResult` is imported redundantly:
pilota-thrift-parser/src/parser/namespace.rs#L6
warning: the item `IResult` is imported redundantly
--> pilota-thrift-parser/src/parser/namespace.rs:6:5
|
6 | IResult,
| ^^^^^^^
...
9 | use super::super::{descriptor::Annotations, parser::*};
| --------- the item `IResult` is already imported here
|
the item `tuple` is imported redundantly:
pilota-thrift-parser/src/parser/namespace.rs#L5
warning: the item `tuple` is imported redundantly
--> pilota-thrift-parser/src/parser/namespace.rs:5:26
|
5 | sequence::{preceded, tuple},
| ^^^^^
...
9 | use super::super::{descriptor::Annotations, parser::*};
| --------- the item `tuple` is already imported here
|
the item `preceded` is imported redundantly:
pilota-thrift-parser/src/parser/namespace.rs#L5
warning: the item `preceded` is imported redundantly
--> pilota-thrift-parser/src/parser/namespace.rs:5:16
|
5 | sequence::{preceded, tuple},
| ^^^^^^^^
...
9 | use super::super::{descriptor::Annotations, parser::*};
| --------- the item `preceded` is already imported here
|
the item `opt` is imported redundantly:
pilota-thrift-parser/src/parser/namespace.rs#L4
warning: the item `opt` is imported redundantly
--> pilota-thrift-parser/src/parser/namespace.rs:4:23
|
4 | combinator::{map, opt},
| ^^^
...
9 | use super::super::{descriptor::Annotations, parser::*};
| --------- the item `opt` is already imported here
|
the item `map` is imported redundantly:
pilota-thrift-parser/src/parser/namespace.rs#L4
warning: the item `map` is imported redundantly
--> pilota-thrift-parser/src/parser/namespace.rs:4:18
|
4 | combinator::{map, opt},
| ^^^
...
9 | use super::super::{descriptor::Annotations, parser::*};
| --------- the item `map` is already imported here
|
the item `tag` is imported redundantly:
pilota-thrift-parser/src/parser/namespace.rs#L3
warning: the item `tag` is imported redundantly
--> pilota-thrift-parser/src/parser/namespace.rs:3:5
|
3 | bytes::complete::tag,
| ^^^^^^^^^^^^^^^^^^^^
...
9 | use super::super::{descriptor::Annotations, parser::*};
| --------- the item `tag` is already imported here
|
the item `alt` is imported redundantly:
pilota-thrift-parser/src/parser/namespace.rs#L2
warning: the item `alt` is imported redundantly
--> pilota-thrift-parser/src/parser/namespace.rs:2:5
|
2 | branch::alt,
| ^^^^^^^^^^^
...
9 | use super::super::{descriptor::Annotations, parser::*};
| --------- the item `alt` is already imported here
|
the item `IResult` is imported redundantly:
pilota-thrift-parser/src/parser/literal.rs#L7
warning: the item `IResult` is imported redundantly
--> pilota-thrift-parser/src/parser/literal.rs:7:5
|
7 | IResult,
| ^^^^^^^
...
10 | use super::super::{descriptor::Literal, parser::*};
| --------- the item `IResult` is already imported here
|
the item `map` is imported redundantly:
pilota-thrift-parser/src/parser/literal.rs#L5
warning: the item `map` is imported redundantly
--> pilota-thrift-parser/src/parser/literal.rs:5:5
|
5 | combinator::map,
| ^^^^^^^^^^^^^^^
...
10 | use super::super::{descriptor::Literal, parser::*};
| --------- the item `map` is already imported here
|
the item `tag` is imported redundantly:
pilota-thrift-parser/src/parser/literal.rs#L3
warning: the item `tag` is imported redundantly
--> pilota-thrift-parser/src/parser/literal.rs:3:32
|
3 | bytes::complete::{escaped, tag},
| ^^^
...
10 | use super::super::{descriptor::Literal, parser::*};
| --------- the item `tag` is already imported here
|
the item `alt` is imported redundantly:
pilota-thrift-parser/src/parser/literal.rs#L2
warning: the item `alt` is imported redundantly
--> pilota-thrift-parser/src/parser/literal.rs:2:5
|
2 | branch::alt,
| ^^^^^^^^^^^
...
10 | use super::super::{descriptor::Literal, parser::*};
| --------- the item `alt` is already imported here
|
the item `IResult` is imported redundantly:
pilota-thrift-parser/src/parser/include.rs#L5
warning: the item `IResult` is imported redundantly
--> pilota-thrift-parser/src/parser/include.rs:5:5
|
5 | IResult,
| ^^^^^^^
...
10 | parser::*,
| --------- the item `IResult` is already imported here
|
the item `tuple` is imported redundantly:
pilota-thrift-parser/src/parser/include.rs#L4
warning: the item `tuple` is imported redundantly
--> pilota-thrift-parser/src/parser/include.rs:4:5
|
4 | sequence::tuple,
| ^^^^^^^^^^^^^^^
...
10 | parser::*,
| --------- the item `tuple` is already imported here
|
the item `opt` is imported redundantly:
pilota-thrift-parser/src/parser/include.rs#L3
warning: the item `opt` is imported redundantly
--> pilota-thrift-parser/src/parser/include.rs:3:23
|
3 | combinator::{map, opt},
| ^^^
...
10 | parser::*,
| --------- the item `opt` is already imported here
|
the item `map` is imported redundantly:
pilota-thrift-parser/src/parser/include.rs#L3
warning: the item `map` is imported redundantly
--> pilota-thrift-parser/src/parser/include.rs:3:18
|
3 | combinator::{map, opt},
| ^^^
...
10 | parser::*,
| --------- the item `map` is already imported here
|
the item `tag` is imported redundantly:
pilota-thrift-parser/src/parser/include.rs#L2
warning: the item `tag` is imported redundantly
--> pilota-thrift-parser/src/parser/include.rs:2:5
|
2 | bytes::complete::tag,
| ^^^^^^^^^^^^^^^^^^^^
...
10 | parser::*,
| --------- the item `tag` is already imported here
|
the item `Ident` is imported redundantly:
pilota-thrift-parser/src/parser/identifier.rs#L9
warning: the item `Ident` is imported redundantly
--> pilota-thrift-parser/src/parser/identifier.rs:9:20
|
9 | use super::super::{descriptor::Ident, parser::*};
| ^^^^^^^^^^^^^^^^^ --------- the item `Ident` is already imported here
|
the item `IResult` is imported redundantly:
pilota-thrift-parser/src/parser/identifier.rs#L6
warning: the item `IResult` is imported redundantly
--> pilota-thrift-parser/src/parser/identifier.rs:6:5
|
6 | IResult,
| ^^^^^^^
...
9 | use super::super::{descriptor::Ident, parser::*};
| --------- the item `IResult` is already imported here
|
the item `tuple` is imported redundantly:
pilota-thrift-parser/src/parser/identifier.rs#L5
warning: the item `tuple` is imported redundantly
--> pilota-thrift-parser/src/parser/identifier.rs:5:5
|
5 | sequence::tuple,
| ^^^^^^^^^^^^^^^
...
9 | use super::super::{descriptor::Ident, parser::*};
| --------- the item `tuple` is already imported here
|
the item `Ident` is imported redundantly:
pilota-thrift-parser/src/parser/field.rs#L11
warning: the item `Ident` is imported redundantly
--> pilota-thrift-parser/src/parser/field.rs:11:61
|
11 | descriptor::{Annotations, Attribute, ConstValue, Field, Ident, Type},
| ^^^^^
12 | parser::*,
| --------- the item `Ident` is already imported here
|
the item `IResult` is imported redundantly:
pilota-thrift-parser/src/parser/field.rs#L7
warning: the item `IResult` is imported redundantly
--> pilota-thrift-parser/src/parser/field.rs:7:5
|
7 | IResult,
| ^^^^^^^
...
12 | parser::*,
| --------- the item `IResult` is already imported here
|
the item `tuple` is imported redundantly:
pilota-thrift-parser/src/parser/field.rs#L6
warning: the item `tuple` is imported redundantly
--> pilota-thrift-parser/src/parser/field.rs:6:5
|
6 | sequence::tuple,
| ^^^^^^^^^^^^^^^
...
12 | parser::*,
| --------- the item `tuple` is already imported here
|
the item `opt` is imported redundantly:
pilota-thrift-parser/src/parser/field.rs#L5
warning: the item `opt` is imported redundantly
--> pilota-thrift-parser/src/parser/field.rs:5:23
|
5 | combinator::{map, opt},
| ^^^
...
12 | parser::*,
| --------- the item `opt` is already imported here
|
the item `map` is imported redundantly:
pilota-thrift-parser/src/parser/field.rs#L5
warning: the item `map` is imported redundantly
--> pilota-thrift-parser/src/parser/field.rs:5:18
|
5 | combinator::{map, opt},
| ^^^
...
12 | parser::*,
| --------- the item `map` is already imported here
|
the item `tag` is imported redundantly:
pilota-thrift-parser/src/parser/field.rs#L3
warning: the item `tag` is imported redundantly
--> pilota-thrift-parser/src/parser/field.rs:3:5
|
3 | bytes::complete::tag,
| ^^^^^^^^^^^^^^^^^^^^
...
12 | parser::*,
| --------- the item `tag` is already imported here
|
the item `alt` is imported redundantly:
pilota-thrift-parser/src/parser/field.rs#L2
warning: the item `alt` is imported redundantly
--> pilota-thrift-parser/src/parser/field.rs:2:5
|
2 | branch::alt,
| ^^^^^^^^^^^
...
12 | parser::*,
| --------- the item `alt` is already imported here
|
the item `Ident` is imported redundantly:
pilota-thrift-parser/src/parser/enum_.rs#L9
warning: the item `Ident` is imported redundantly
--> pilota-thrift-parser/src/parser/enum_.rs:9:48
|
9 | descriptor::{Annotations, Enum, EnumValue, Ident, IntConstant},
| ^^^^^
10 | parser::*,
| --------- the item `Ident` is already imported here
|
the item `IResult` is imported redundantly:
pilota-thrift-parser/src/parser/enum_.rs#L5
warning: the item `IResult` is imported redundantly
--> pilota-thrift-parser/src/parser/enum_.rs:5:5
|
5 | IResult,
| ^^^^^^^
...
10 | parser::*,
| --------- the item `IResult` is already imported here
|
the item `tuple` is imported redundantly:
pilota-thrift-parser/src/parser/enum_.rs#L4
warning: the item `tuple` is imported redundantly
--> pilota-thrift-parser/src/parser/enum_.rs:4:5
|
4 | sequence::tuple,
| ^^^^^^^^^^^^^^^
...
10 | parser::*,
| --------- the item `tuple` is already imported here
|
the item `opt` is imported redundantly:
pilota-thrift-parser/src/parser/enum_.rs#L3
warning: the item `opt` is imported redundantly
--> pilota-thrift-parser/src/parser/enum_.rs:3:23
|
3 | combinator::{map, opt},
| ^^^
...
10 | parser::*,
| --------- the item `opt` is already imported here
|
the item `map` is imported redundantly:
pilota-thrift-parser/src/parser/enum_.rs#L3
warning: the item `map` is imported redundantly
--> pilota-thrift-parser/src/parser/enum_.rs:3:18
|
3 | combinator::{map, opt},
| ^^^
...
10 | parser::*,
| --------- the item `map` is already imported here
|
the item `tag` is imported redundantly:
pilota-thrift-parser/src/parser/enum_.rs#L2
warning: the item `tag` is imported redundantly
--> pilota-thrift-parser/src/parser/enum_.rs:2:5
|
2 | bytes::complete::tag,
| ^^^^^^^^^^^^^^^^^^^^
...
10 | parser::*,
| --------- the item `tag` is already imported here
|
the item `Ident` is imported redundantly:
pilota-thrift-parser/src/parser/constant.rs#L15
warning: the item `Ident` is imported redundantly
--> pilota-thrift-parser/src/parser/constant.rs:15:60
|
15 | Annotations, ConstValue, Constant, DoubleConstant, Ident, IntConstant, Literal, Type,
| ^^^^^
16 | },
17 | parser::*,
| --------- the item `Ident` is already imported here
|
the item `IResult` is imported redundantly:
pilota-thrift-parser/src/parser/constant.rs#L10
warning: the item `IResult` is imported redundantly
--> pilota-thrift-parser/src/parser/constant.rs:10:5
|
10 | IResult,
| ^^^^^^^
...
17 | parser::*,
| --------- the item `IResult` is already imported here
|
the item `tuple` is imported redundantly:
pilota-thrift-parser/src/parser/constant.rs#L9
warning: the item `tuple` is imported redundantly
--> pilota-thrift-parser/src/parser/constant.rs:9:37
|
9 | sequence::{delimited, preceded, tuple},
| ^^^^^
...
17 | parser::*,
| --------- the item `tuple` is already imported here
|
the item `preceded` is imported redundantly:
pilota-thrift-parser/src/parser/constant.rs#L9
warning: the item `preceded` is imported redundantly
--> pilota-thrift-parser/src/parser/constant.rs:9:27
|
9 | sequence::{delimited, preceded, tuple},
| ^^^^^^^^
...
17 | parser::*,
| --------- the item `preceded` is already imported here
|
the item `many0` is imported redundantly:
pilota-thrift-parser/src/parser/constant.rs#L8
warning: the item `many0` is imported redundantly
--> pilota-thrift-parser/src/parser/constant.rs:8:5
|
8 | multi::many0,
| ^^^^^^^^^^^^
...
17 | parser::*,
| --------- the item `many0` is already imported here
|
the item `opt` is imported redundantly:
pilota-thrift-parser/src/parser/constant.rs#L7
warning: the item `opt` is imported redundantly
--> pilota-thrift-parser/src/parser/constant.rs:7:32
|
7 | combinator::{map, map_res, opt, recognize},
| ^^^
...
17 | parser::*,
| --------- the item `opt` is already imported here
|
the item `map` is imported redundantly:
pilota-thrift-parser/src/parser/constant.rs#L7
warning: the item `map` is imported redundantly
--> pilota-thrift-parser/src/parser/constant.rs:7:18
|
7 | combinator::{map, map_res, opt, recognize},
| ^^^
...
17 | parser::*,
| --------- the item `map` is already imported here
|
the item `tag` is imported redundantly:
pilota-thrift-parser/src/parser/constant.rs#L5
warning: the item `tag` is imported redundantly
--> pilota-thrift-parser/src/parser/constant.rs:5:23
|
5 | bytes::complete::{tag, tag_no_case},
| ^^^
...
17 | parser::*,
| --------- the item `tag` is already imported here
|
the item `alt` is imported redundantly:
pilota-thrift-parser/src/parser/constant.rs#L4
warning: the item `alt` is imported redundantly
--> pilota-thrift-parser/src/parser/constant.rs:4:5
|
4 | branch::alt,
| ^^^^^^^^^^^
...
17 | parser::*,
| --------- the item `alt` is already imported here
|
the item `IResult` is imported redundantly:
pilota-thrift-parser/src/parser/annotation.rs#L7
warning: the item `IResult` is imported redundantly
--> pilota-thrift-parser/src/parser/annotation.rs:7:5
|
7 | IResult,
| ^^^^^^^
...
12 | parser::*,
| --------- the item `IResult` is already imported here
|
the item `tuple` is imported redundantly:
pilota-thrift-parser/src/parser/annotation.rs#L6
warning: the item `tuple` is imported redundantly
--> pilota-thrift-parser/src/parser/annotation.rs:6:5
|
6 | sequence::tuple,
| ^^^^^^^^^^^^^^^
...
12 | parser::*,
| --------- the item `tuple` is already imported here
|
the item `many1` is imported redundantly:
pilota-thrift-parser/src/parser/annotation.rs#L5
warning: the item `many1` is imported redundantly
--> pilota-thrift-parser/src/parser/annotation.rs:5:5
|
5 | multi::many1,
| ^^^^^^^^^^^^
...
12 | parser::*,
| --------- the item `many1` is already imported here
|
the item `opt` is imported redundantly:
pilota-thrift-parser/src/parser/annotation.rs#L4
warning: the item `opt` is imported redundantly
--> pilota-thrift-parser/src/parser/annotation.rs:4:23
|
4 | combinator::{map, opt, recognize},
| ^^^
...
12 | parser::*,
| --------- the item `opt` is already imported here
|
the item `map` is imported redundantly:
pilota-thrift-parser/src/parser/annotation.rs#L4
warning: the item `map` is imported redundantly
--> pilota-thrift-parser/src/parser/annotation.rs:4:18
|
4 | combinator::{map, opt, recognize},
| ^^^
...
12 | parser::*,
| --------- the item `map` is already imported here
|
the item `tag` is imported redundantly:
pilota-thrift-parser/src/parser/annotation.rs#L2
warning: the item `tag` is imported redundantly
--> pilota-thrift-parser/src/parser/annotation.rs:2:23
|
2 | bytes::complete::{tag, take_while},
| ^^^
...
12 | parser::*,
| --------- the item `tag` is already imported here
|
= note: `#[warn(unused_imports)]` on by default
|
dependency-review
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/dependency-review-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|