feat: TON LiteServer ANDL TCP Client #643
pr-check.yml
on: pull_request
Run rust-clippy analyzing
3m 15s
Annotations
137 warnings
in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`:
ton-grpc/src/message.rs#L15
warning: in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`
--> ton-grpc/src/message.rs:15:107
|
15 | async fn send_message(&self, request: Request<SendRequest>) -> Result<Response<SendResponse>, Status> {
| ___________________________________________________________________________________________________________^
16 | | let msg = request.into_inner();
17 | |
18 | | let hash = self.client.send_message_returning_hash(&msg.body).await
... |
21 | | Ok(Response::new(SendResponse { hash }))
22 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_conditions
|
in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`:
ton-grpc/src/block.rs#L79
warning: in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`
--> ton-grpc/src/block.rs:79:131
|
79 | async fn get_account_addresses(&self, request: Request<BlockId>) -> Result<Response<Self::GetAccountAddressesStream>, Status> {
| ___________________________________________________________________________________________________________________________________^
80 | | let msg = request.into_inner();
81 | | let block_id = extend_block_id(&self.client, &msg).await
82 | | .map_err(|e: anyhow::Error| Status::internal(e.to_string()))?;
... |
89 | | Ok(Response::new(stream))
90 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_conditions
|
in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`:
ton-grpc/src/block.rs#L51
warning: in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`
--> ton-grpc/src/block.rs:51:144
|
51 | async fn get_transaction_ids(&self, request: Request<GetTransactionIdsRequest>) -> Result<Response<Self::GetTransactionIdsStream>, Status> {
| ________________________________________________________________________________________________________________________________________________^
52 | | let msg = request.into_inner();
53 | |
54 | | let order = msg.order();
... |
73 | | Ok(Response::new(stream))
74 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_conditions
|
in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`:
ton-grpc/src/block.rs#L36
warning: in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`
--> ton-grpc/src/block.rs:36:106
|
36 | async fn get_shards(&self, request: Request<BlockId>) -> Result<Response<GetShardsResponse>, Status> {
| __________________________________________________________________________________________________________^
37 | | let block_id = extend_block_id(&self.client, &request.into_inner()).await
38 | | .map_err(|e: anyhow::Error| Status::internal(e.to_string()))?;
39 | |
... |
45 | | }))
46 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_conditions
|
in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`:
ton-grpc/src/block.rs#L28
warning: in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`
--> ton-grpc/src/block.rs:28:98
|
28 | async fn get_block(&self, request: Request<BlockId>) -> Result<Response<BlockIdExt>, Status> {
| __________________________________________________________________________________________________^
29 | | let block_id = extend_block_id(&self.client, &request.into_inner()).await
30 | | .map_err(|e: anyhow::Error| Status::internal(e.to_string()))?;
31 | |
32 | | Ok(Response::new(block_id.into()))
33 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_conditions
|
in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`:
ton-grpc/src/block.rs#L20
warning: in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`
--> ton-grpc/src/block.rs:20:116
|
20 | async fn get_last_block(&self, _request: Request<GetLastBlockRequest>) -> Result<Response<BlockIdExt>, Status> {
| ____________________________________________________________________________________________________________________^
21 | | let block = self.client.get_masterchain_info().await
22 | | .map_err(|e: anyhow::Error| Status::internal(e.to_string()))?.last;
23 | |
24 | | Ok(Response::new(block.into()))
25 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_conditions
|
in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`:
ton-grpc/src/account.rs#L73
warning: in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`
--> ton-grpc/src/account.rs:73:172
|
73 | async fn get_account_transactions(&self, request: Request<GetAccountTransactionsRequest>) -> std::result::Result<Response<Self::GetAccountTransactionsStream>, Status> {
| ____________________________________________________________________________________________________________________________________________________________________________^
74 | | let msg = request.into_inner();
75 | | let client = self.client.clone();
76 | |
... |
104 | | Ok(Response::new(stream))
105 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_conditions
|
in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`:
ton-grpc/src/account.rs#L51
warning: in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`
--> ton-grpc/src/account.rs:51:147
|
51 | async fn get_shard_account_cell(&self, request: Request<GetShardAccountCellRequest>) -> Result<Response<GetShardAccountCellResponse>, Status> {
| ___________________________________________________________________________________________________________________________________________________^
52 | | let msg = request.into_inner();
53 | |
54 | | let (block_id, cell) = self.fetch_shard_account_cell(&msg)
... |
67 | | Ok(Response::new(response))
68 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_conditions
|
in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`:
ton-grpc/src/account.rs#L25
warning: in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`
--> ton-grpc/src/account.rs:25:147
|
25 | async fn get_account_state(&self, request: Request<GetAccountStateRequest>) -> std::result::Result<Response<GetAccountStateResponse>, Status> {
| ___________________________________________________________________________________________________________________________________________________^
26 | | let msg = request.into_inner();
27 | |
28 | | let address = AccountAddressData::from_str(&msg.account_address)
... |
47 | | }))
48 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_conditions
= note: `#[warn(clippy::blocks_in_conditions)]` on by default
|
unneeded `return` statement:
tonlibjson-client/src/router.rs#L152
warning: unneeded `return` statement
--> tonlibjson-client/src/router.rs:152:17
|
152 | return Err(RouterError::RouteUnknown);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
|
152 - return Err(RouterError::RouteUnknown);
152 + Err(RouterError::RouteUnknown)
|
|
using `clone` on type `Route` which implements the `Copy` trait:
tonlibjson-client/src/router.rs#L97
warning: using `clone` on type `Route` which implements the `Copy` trait
--> tonlibjson-client/src/router.rs:97:31
|
97 | let req = req.clone();
| ^^^^^^^^^^^ help: try removing the `clone` call: `req`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `#[warn(clippy::clone_on_copy)]` on by default
|
this `let...else` may be rewritten with the `?` operator:
tonlibjson-client/src/cursor_client.rs#L78
warning: this `let...else` may be rewritten with the `?` operator
--> tonlibjson-client/src/cursor_client.rs:78:9
|
78 | / let Some(seqno) = self.right_end else {
79 | | return None;
80 | | };
| |__________^ help: replace it with: `let seqno = self.right_end?;`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
= note: `#[warn(clippy::question_mark)]` on by default
|
wildcard pattern covers any other pattern as it will match anyway:
tonlibjson-client/src/block.rs#L134
warning: wildcard pattern covers any other pattern as it will match anyway
--> tonlibjson-client/src/block.rs:134:13
|
134 | 1 | _ => BlockCriteria::Seqno { shard: self.id.shard, seqno: self.id.seqno }
| ^^^^^
|
= help: consider handling `_` separately
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wildcard_in_or_patterns
= note: `#[warn(clippy::wildcard_in_or_patterns)]` on by default
|
unneeded `return` statement:
ton-liteserver-client/src/deserializer.rs#L40
warning: unneeded `return` statement
--> ton-liteserver-client/src/deserializer.rs:40:9
|
40 | return Ok(result)
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
40 | Ok(result)
|
|
unneeded `return` statement:
ton-liteserver-client/src/deserializer.rs#L32
warning: unneeded `return` statement
--> ton-liteserver-client/src/deserializer.rs:32:9
|
32 | return Ok(self.input.get_i64_le())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
32 | Ok(self.input.get_i64_le())
|
|
unneeded `return` statement:
ton-liteserver-client/src/deserializer.rs#L28
warning: unneeded `return` statement
--> ton-liteserver-client/src/deserializer.rs:28:9
|
28 | return Ok(self.input.get_i32_le())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
28 | Ok(self.input.get_i32_le())
|
|
unneeded `return` statement:
ton-liteserver-client/src/deserializer.rs#L16
warning: unneeded `return` statement
--> ton-liteserver-client/src/deserializer.rs:16:9
|
16 | return Deserializer { input: bytes.into() }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
|
16 | Deserializer { input: bytes.into() }
|
|
function `from_bytes` is never used:
ton-liteserver-client/src/deserializer.rs#L75
warning: function `from_bytes` is never used
--> ton-liteserver-client/src/deserializer.rs:75:8
|
75 | pub fn from_bytes<T>(bytes: Vec<u8>) -> anyhow::Result<T>
| ^^^^^^^^^^
|
associated function `from_bytes` is never used:
ton-liteserver-client/src/deserializer.rs#L15
warning: associated function `from_bytes` is never used
--> ton-liteserver-client/src/deserializer.rs:15:12
|
13 | impl Deserializer {
| ----------------- associated function in this implementation
14 | // TODO[akostylev0]
15 | pub fn from_bytes(bytes: Vec<u8>) -> Self {
| ^^^^^^^^^^
|
function `to_bytes` is never used:
ton-liteserver-client/src/serializer.rs#L65
warning: function `to_bytes` is never used
--> ton-liteserver-client/src/serializer.rs:65:8
|
65 | pub fn to_bytes<T>(value: &T) -> anyhow::Result<Vec<u8>>
| ^^^^^^^^
|
associated constant `CONSTRUCTOR_NUMBER_LE` is never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L766
warning: associated constant `CONSTRUCTOR_NUMBER_LE` is never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:766:11
|
765 | impl LiteServerGetMasterchainInfo {
| --------------------------------- associated constant in this implementation
766 | const CONSTRUCTOR_NUMBER_LE: u32 = 2310399534u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constant `CONSTRUCTOR_NUMBER_LE` is never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L757
warning: associated constant `CONSTRUCTOR_NUMBER_LE` is never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:757:11
|
756 | impl LiteServerMasterchainInfo {
| ------------------------------ associated constant in this implementation
757 | const CONSTRUCTOR_NUMBER_LE: u32 = 2239965313u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L746
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:746:11
|
745 | impl LiteServerGetConfigParams {
| ------------------------------ associated constants in this implementation
746 | const CONSTRUCTOR_NUMBER_LE: u32 = 705764377u32;
| ^^^^^^^^^^^^^^^^^^^^^
747 | const CONSTRUCTOR_NUMBER_BE: u32 = 421269802u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L733
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:733:11
|
732 | impl LiteServerGetConfigAll {
| --------------------------- associated constants in this implementation
733 | const CONSTRUCTOR_NUMBER_LE: u32 = 2434475703u32;
| ^^^^^^^^^^^^^^^^^^^^^
734 | const CONSTRUCTOR_NUMBER_BE: u32 = 3072727953u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L721
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:721:11
|
720 | impl LiteServerConfigInfo {
| ------------------------- associated constants in this implementation
721 | const CONSTRUCTOR_NUMBER_LE: u32 = 2927306543u32;
| ^^^^^^^^^^^^^^^^^^^^^
722 | const CONSTRUCTOR_NUMBER_BE: u32 = 791116718u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L709
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:709:11
|
708 | impl LiteServerGetTime {
| ---------------------- associated constants in this implementation
709 | const CONSTRUCTOR_NUMBER_LE: u32 = 380459572u32;
| ^^^^^^^^^^^^^^^^^^^^^
710 | const CONSTRUCTOR_NUMBER_BE: u32 = 878357782u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L700
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:700:11
|
699 | impl LiteServerCurrentTime {
| -------------------------- associated constants in this implementation
700 | const CONSTRUCTOR_NUMBER_LE: u32 = 3914530829u32;
| ^^^^^^^^^^^^^^^^^^^^^
701 | const CONSTRUCTOR_NUMBER_BE: u32 = 218125289u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L691
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:691:11
|
690 | impl LiteServerLibraryEntry {
| --------------------------- associated constants in this implementation
691 | const CONSTRUCTOR_NUMBER_LE: u32 = 2331976774u32;
| ^^^^^^^^^^^^^^^^^^^^^
692 | const CONSTRUCTOR_NUMBER_BE: u32 = 1176829834u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
type alias `LiteServerBoxedLibraryEntry` is never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L684
warning: type alias `LiteServerBoxedLibraryEntry` is never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:684:10
|
684 | pub type LiteServerBoxedLibraryEntry = LiteServerLibraryEntry;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L681
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:681:11
|
680 | impl LiteServerTransactionId {
| ---------------------------- associated constants in this implementation
681 | const CONSTRUCTOR_NUMBER_LE: u32 = 186399645u32;
| ^^^^^^^^^^^^^^^^^^^^^
682 | const CONSTRUCTOR_NUMBER_BE: u32 = 2637896715u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
type alias `LiteServerBoxedTransactionId` is never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L672
warning: type alias `LiteServerBoxedTransactionId` is never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:672:10
|
672 | pub type LiteServerBoxedTransactionId = LiteServerTransactionId;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L669
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:669:11
|
668 | impl LiteServerGetValidatorStats {
| -------------------------------- associated constants in this implementation
669 | const CONSTRUCTOR_NUMBER_LE: u32 = 152721596u32;
| ^^^^^^^^^^^^^^^^^^^^^
670 | const CONSTRUCTOR_NUMBER_BE: u32 = 3159890441u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L654
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:654:11
|
653 | impl LiteServerValidatorStats {
| ----------------------------- associated constants in this implementation
654 | const CONSTRUCTOR_NUMBER_LE: u32 = 3120010968u32;
| ^^^^^^^^^^^^^^^^^^^^^
655 | const CONSTRUCTOR_NUMBER_BE: u32 = 3633772473u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L640
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:640:11
|
639 | impl LiteServerBlockLinkForward {
| ------------------------------- associated constants in this implementation
640 | const CONSTRUCTOR_NUMBER_LE: u32 = 1376767516u32;
| ^^^^^^^^^^^^^^^^^^^^^
641 | const CONSTRUCTOR_NUMBER_BE: u32 = 483266386u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L627
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:627:11
|
626 | impl LiteServerBlockLinkBack {
| ---------------------------- associated constants in this implementation
627 | const CONSTRUCTOR_NUMBER_LE: u32 = 4018019311u32;
| ^^^^^^^^^^^^^^^^^^^^^
628 | const CONSTRUCTOR_NUMBER_BE: u32 = 4011556591u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
variants `LiteServerBlockLinkBack` and `LiteServerBlockLinkForward` are never constructed:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L614
warning: variants `LiteServerBlockLinkBack` and `LiteServerBlockLinkForward` are never constructed
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:614:5
|
613 | pub enum LiteServerBoxedBlockLink {
| ------------------------ variants in this enum
614 | LiteServerBlockLinkBack(LiteServerBlockLinkBack),
| ^^^^^^^^^^^^^^^^^^^^^^^
615 | LiteServerBlockLinkForward(LiteServerBlockLinkForward),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `LiteServerBoxedBlockLink` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L609
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:609:11
|
608 | impl TonNodeZeroStateIdExt {
| -------------------------- associated constants in this implementation
609 | const CONSTRUCTOR_NUMBER_LE: u32 = 494024110u32;
| ^^^^^^^^^^^^^^^^^^^^^
610 | const CONSTRUCTOR_NUMBER_BE: u32 = 2922738205u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
type alias `TonNodeBoxedZeroStateIdExt` is never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L601
warning: type alias `TonNodeBoxedZeroStateIdExt` is never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:601:10
|
601 | pub type TonNodeBoxedZeroStateIdExt = TonNodeZeroStateIdExt;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L598
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:598:11
|
597 | impl LiteServerShardBlockLink {
| ----------------------------- associated constants in this implementation
598 | const CONSTRUCTOR_NUMBER_LE: u32 = 3540897650u32;
| ^^^^^^^^^^^^^^^^^^^^^
599 | const CONSTRUCTOR_NUMBER_BE: u32 = 1926172115u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
type alias `LiteServerBoxedShardBlockLink` is never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L591
warning: type alias `LiteServerBoxedShardBlockLink` is never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:591:10
|
591 | pub type LiteServerBoxedShardBlockLink = LiteServerShardBlockLink;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L588
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:588:11
|
587 | impl LiteServerListBlockTransactions {
| ------------------------------------ associated constants in this implementation
588 | const CONSTRUCTOR_NUMBER_LE: u32 = 2444493079u32;
| ^^^^^^^^^^^^^^^^^^^^^
589 | const CONSTRUCTOR_NUMBER_BE: u32 = 385987729u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L572
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:572:11
|
571 | impl LiteServerBlockTransactions {
| -------------------------------- associated constants in this implementation
572 | const CONSTRUCTOR_NUMBER_LE: u32 = 3180113195u32;
| ^^^^^^^^^^^^^^^^^^^^^
573 | const CONSTRUCTOR_NUMBER_BE: u32 = 732794045u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L559
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:559:11
|
558 | impl LiteServerWaitMasterchainSeqno {
| ----------------------------------- associated constants in this implementation
559 | const CONSTRUCTOR_NUMBER_LE: u32 = 3135944850u32;
| ^^^^^^^^^^^^^^^^^^^^^
560 | const CONSTRUCTOR_NUMBER_BE: u32 = 2461592250u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constant `CONSTRUCTOR_NUMBER_LE` is never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L547
warning: associated constant `CONSTRUCTOR_NUMBER_LE` is never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:547:11
|
546 | impl LiteServerQuery {
| -------------------- associated constant in this implementation
547 | const CONSTRUCTOR_NUMBER_LE: u32 = 2039219935u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L536
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:536:11
|
535 | impl LiteServerQueryPrefix {
| -------------------------- associated constants in this implementation
536 | const CONSTRUCTOR_NUMBER_LE: u32 = 1926489734u32;
| ^^^^^^^^^^^^^^^^^^^^^
537 | const CONSTRUCTOR_NUMBER_BE: u32 = 2263274354u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L526
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:526:11
|
525 | impl LiteServerGetBlock {
| ----------------------- associated constants in this implementation
526 | const CONSTRUCTOR_NUMBER_LE: u32 = 1668796173u32;
| ^^^^^^^^^^^^^^^^^^^^^
527 | const CONSTRUCTOR_NUMBER_BE: u32 = 231700323u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L515
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:515:11
|
514 | impl LiteServerBlockData {
| ------------------------ associated constants in this implementation
515 | const CONSTRUCTOR_NUMBER_LE: u32 = 2775903596u32;
| ^^^^^^^^^^^^^^^^^^^^^
516 | const CONSTRUCTOR_NUMBER_BE: u32 = 1827501221u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L505
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:505:11
|
504 | impl LiteServerAccountId {
| ------------------------ associated constants in this implementation
505 | const CONSTRUCTOR_NUMBER_LE: u32 = 1973478085u32;
| ^^^^^^^^^^^^^^^^^^^^^
506 | const CONSTRUCTOR_NUMBER_BE: u32 = 3319963765u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
type alias `LiteServerBoxedAccountId` is never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L498
warning: type alias `LiteServerBoxedAccountId` is never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:498:10
|
498 | pub type LiteServerBoxedAccountId = LiteServerAccountId;
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L495
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:495:11
|
494 | impl LiteServerGetShardBlockProof {
| --------------------------------- associated constants in this implementation
495 | const CONSTRUCTOR_NUMBER_LE: u32 = 1285948240u32;
| ^^^^^^^^^^^^^^^^^^^^^
496 | const CONSTRUCTOR_NUMBER_BE: u32 = 1342416460u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L484
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:484:11
|
483 | impl LiteServerShardBlockProof {
| ------------------------------ associated constants in this implementation
484 | const CONSTRUCTOR_NUMBER_LE: u32 = 493002874u32;
| ^^^^^^^^^^^^^^^^^^^^^
485 | const CONSTRUCTOR_NUMBER_BE: u32 = 2057331229u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
type alias `BoxedString` is never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L476
warning: type alias `BoxedString` is never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:476:10
|
476 | pub type BoxedString = String;
| ^^^^^^^^^^^
|
type alias `BoxedInt` is never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L475
warning: type alias `BoxedInt` is never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:475:10
|
475 | pub type BoxedInt = Int;
| ^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L472
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:472:11
|
471 | impl LiteServerDebugVerbosity {
| ----------------------------- associated constants in this implementation
472 | const CONSTRUCTOR_NUMBER_LE: u32 = 1564493619u32;
| ^^^^^^^^^^^^^^^^^^^^^
473 | const CONSTRUCTOR_NUMBER_BE: u32 = 860307549u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
type alias `LiteServerDebugBoxedVerbosity` is never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L466
warning: type alias `LiteServerDebugBoxedVerbosity` is never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:466:10
|
466 | pub type LiteServerDebugBoxedVerbosity = LiteServerDebugVerbosity;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
associated constant `CONSTRUCTOR_NUMBER_LE` is never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L463
warning: associated constant `CONSTRUCTOR_NUMBER_LE` is never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:463:11
|
462 | impl AdnlMessageAnswer {
| ---------------------- associated constant in this implementation
463 | const CONSTRUCTOR_NUMBER_LE: u32 = 262964246u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constant `CONSTRUCTOR_NUMBER_LE` is never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L454
warning: associated constant `CONSTRUCTOR_NUMBER_LE` is never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:454:11
|
453 | impl AdnlMessageQuery {
| --------------------- associated constant in this implementation
454 | const CONSTRUCTOR_NUMBER_LE: u32 = 3029072250u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
variants `AdnlMessageQuery` and `AdnlMessageAnswer` are never constructed:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L445
warning: variants `AdnlMessageQuery` and `AdnlMessageAnswer` are never constructed
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:445:5
|
444 | pub enum AdnlBoxedMessage {
| ---------------- variants in this enum
445 | AdnlMessageQuery(AdnlMessageQuery),
| ^^^^^^^^^^^^^^^^
446 | AdnlMessageAnswer(AdnlMessageAnswer),
| ^^^^^^^^^^^^^^^^^
|
= note: `AdnlBoxedMessage` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L440
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:440:11
|
439 | impl LiteServerGetAllShardsInfo {
| ------------------------------- associated constants in this implementation
440 | const CONSTRUCTOR_NUMBER_LE: u32 = 1960050027u32;
| ^^^^^^^^^^^^^^^^^^^^^
441 | const CONSTRUCTOR_NUMBER_BE: u32 = 1811796852u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L429
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:429:11
|
428 | impl LiteServerAllShardsInfo {
| ---------------------------- associated constants in this implementation
429 | const CONSTRUCTOR_NUMBER_LE: u32 = 160425773u32;
| ^^^^^^^^^^^^^^^^^^^^^
430 | const CONSTRUCTOR_NUMBER_BE: u32 = 770150153u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L418
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:418:11
|
417 | impl LiteServerGetAccountStatePrunned {
| ------------------------------------- associated constants in this implementation
418 | const CONSTRUCTOR_NUMBER_LE: u32 = 1516864775u32;
| ^^^^^^^^^^^^^^^^^^^^^
419 | const CONSTRUCTOR_NUMBER_BE: u32 = 126183770u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L406
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:406:11
|
405 | impl LiteServerGetAccountState {
| ------------------------------ associated constants in this implementation
406 | const CONSTRUCTOR_NUMBER_LE: u32 = 1804144165u32;
| ^^^^^^^^^^^^^^^^^^^^^
407 | const CONSTRUCTOR_NUMBER_BE: u32 = 621709675u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L394
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:394:11
|
393 | impl LiteServerAccountState {
| --------------------------- associated constants in this implementation
394 | const CONSTRUCTOR_NUMBER_LE: u32 = 1887029073u32;
| ^^^^^^^^^^^^^^^^^^^^^
395 | const CONSTRUCTOR_NUMBER_BE: u32 = 1372027248u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L381
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:381:11
|
380 | impl LiteServerListBlockTransactionsExt {
| --------------------------------------- associated constants in this implementation
381 | const CONSTRUCTOR_NUMBER_LE: u32 = 2091475225u32;
| ^^^^^^^^^^^^^^^^^^^^^
382 | const CONSTRUCTOR_NUMBER_BE: u32 = 425830780u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L365
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:365:11
|
364 | impl LiteServerBlockTransactionsExt {
| ----------------------------------- associated constants in this implementation
365 | const CONSTRUCTOR_NUMBER_LE: u32 = 4220517604u32;
| ^^^^^^^^^^^^^^^^^^^^^
366 | const CONSTRUCTOR_NUMBER_BE: u32 = 3841757179u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L352
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:352:11
|
351 | impl TonNodeBlockId {
| ------------------- associated constants in this implementation
352 | const CONSTRUCTOR_NUMBER_LE: u32 = 3083710823u32;
| ^^^^^^^^^^^^^^^^^^^^^
353 | const CONSTRUCTOR_NUMBER_BE: u32 = 1739705783u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
type alias `TonNodeBoxedBlockId` is never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L344
warning: type alias `TonNodeBoxedBlockId` is never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:344:10
|
344 | pub type TonNodeBoxedBlockId = TonNodeBlockId;
| ^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L341
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:341:11
|
340 | impl LiteServerLookupBlock {
| -------------------------- associated constants in this implementation
341 | const CONSTRUCTOR_NUMBER_LE: u32 = 114948177u32;
| ^^^^^^^^^^^^^^^^^^^^^
342 | const CONSTRUCTOR_NUMBER_BE: u32 = 1375262982u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L327
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:327:11
|
326 | impl LiteServerGetBlockHeader {
| ----------------------------- associated constants in this implementation
327 | const CONSTRUCTOR_NUMBER_LE: u32 = 569116318u32;
| ^^^^^^^^^^^^^^^^^^^^^
328 | const CONSTRUCTOR_NUMBER_BE: u32 = 2651253793u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L315
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:315:11
|
314 | impl LiteServerBlockHeader {
| -------------------------- associated constants in this implementation
315 | const CONSTRUCTOR_NUMBER_LE: u32 = 1965916697u32;
| ^^^^^^^^^^^^^^^^^^^^^
316 | const CONSTRUCTOR_NUMBER_BE: u32 = 427961717u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L304
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:304:11
|
303 | impl LiteServerGetLibraries {
| --------------------------- associated constants in this implementation
304 | const CONSTRUCTOR_NUMBER_LE: u32 = 3508713058u32;
| ^^^^^^^^^^^^^^^^^^^^^
305 | const CONSTRUCTOR_NUMBER_BE: u32 = 1656103633u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L293
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:293:11
|
292 | impl LiteServerLibraryResult {
| ---------------------------- associated constants in this implementation
293 | const CONSTRUCTOR_NUMBER_LE: u32 = 293255531u32;
| ^^^^^^^^^^^^^^^^^^^^^
294 | const CONSTRUCTOR_NUMBER_BE: u32 = 1807317521u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L284
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:284:11
|
283 | impl LiteServerGetBlockProof {
| ---------------------------- associated constants in this implementation
284 | const CONSTRUCTOR_NUMBER_LE: u32 = 513137733u32;
| ^^^^^^^^^^^^^^^^^^^^^
285 | const CONSTRUCTOR_NUMBER_BE: u32 = 1172083998u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L271
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:271:11
|
270 | impl LiteServerPartialBlockProof {
| -------------------------------- associated constants in this implementation
271 | const CONSTRUCTOR_NUMBER_LE: u32 = 2396050113u32;
| ^^^^^^^^^^^^^^^^^^^^^
272 | const CONSTRUCTOR_NUMBER_BE: u32 = 3251818638u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L259
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:259:11
|
258 | impl LiteServerGetShardInfo {
| --------------------------- associated constants in this implementation
259 | const CONSTRUCTOR_NUMBER_LE: u32 = 1185084453u32;
| ^^^^^^^^^^^^^^^^^^^^^
260 | const CONSTRUCTOR_NUMBER_BE: u32 = 636789318u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L245
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:245:11
|
244 | impl LiteServerShardInfo {
| ------------------------ associated constants in this implementation
245 | const CONSTRUCTOR_NUMBER_LE: u32 = 2682703236u32;
| ^^^^^^^^^^^^^^^^^^^^^
246 | const CONSTRUCTOR_NUMBER_BE: u32 = 2228086431u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L233
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:233:11
|
232 | impl LiteServerGetState {
| ----------------------- associated constants in this implementation
233 | const CONSTRUCTOR_NUMBER_LE: u32 = 3127783094u32;
| ^^^^^^^^^^^^^^^^^^^^^
234 | const CONSTRUCTOR_NUMBER_BE: u32 = 3056496314u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L222
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:222:11
|
221 | impl LiteServerBlockState {
| ------------------------- associated constants in this implementation
222 | const CONSTRUCTOR_NUMBER_LE: u32 = 2880297996u32;
| ^^^^^^^^^^^^^^^^^^^^^
223 | const CONSTRUCTOR_NUMBER_BE: u32 = 215788971u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L210
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:210:11
|
209 | impl LiteServerTransactionId3 {
| ----------------------------- associated constants in this implementation
210 | const CONSTRUCTOR_NUMBER_LE: u32 = 746707575u32;
| ^^^^^^^^^^^^^^^^^^^^^
211 | const CONSTRUCTOR_NUMBER_BE: u32 = 2010808620u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
type alias `LiteServerBoxedTransactionId3` is never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L203
warning: type alias `LiteServerBoxedTransactionId3` is never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:203:10
|
203 | pub type LiteServerBoxedTransactionId3 = LiteServerTransactionId3;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L200
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:200:11
|
199 | impl LiteServerGetTransactions {
| ------------------------------ associated constants in this implementation
200 | const CONSTRUCTOR_NUMBER_LE: u32 = 474015649u32;
| ^^^^^^^^^^^^^^^^^^^^^
201 | const CONSTRUCTOR_NUMBER_BE: u32 = 2716287004u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L186
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:186:11
|
185 | impl LiteServerTransactionList {
| ------------------------------ associated constants in this implementation
186 | const CONSTRUCTOR_NUMBER_LE: u32 = 1864812043u32;
| ^^^^^^^^^^^^^^^^^^^^^
187 | const CONSTRUCTOR_NUMBER_BE: u32 = 197535343u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
type alias `BoxedLong` is never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L178
warning: type alias `BoxedLong` is never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:178:10
|
178 | pub type BoxedLong = Long;
| ^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L175
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:175:11
|
174 | impl LiteServerSendMessage {
| -------------------------- associated constants in this implementation
175 | const CONSTRUCTOR_NUMBER_LE: u32 = 1762317442u32;
| ^^^^^^^^^^^^^^^^^^^^^
176 | const CONSTRUCTOR_NUMBER_BE: u32 = 2194934377u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L164
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:164:11
|
163 | impl LiteServerSendMsgStatus {
| ---------------------------- associated constants in this implementation
164 | const CONSTRUCTOR_NUMBER_LE: u32 = 961602967u32;
| ^^^^^^^^^^^^^^^^^^^^^
165 | const CONSTRUCTOR_NUMBER_BE: u32 = 2548387897u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L155
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:155:11
|
154 | impl LiteServerGetMasterchainInfoExt {
| ------------------------------------ associated constants in this implementation
155 | const CONSTRUCTOR_NUMBER_LE: u32 = 1889956319u32;
| ^^^^^^^^^^^^^^^^^^^^^
156 | const CONSTRUCTOR_NUMBER_BE: u32 = 3748767344u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L144
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:144:11
|
143 | impl LiteServerMasterchainInfoExt {
| --------------------------------- associated constants in this implementation
144 | const CONSTRUCTOR_NUMBER_LE: u32 = 2831999221u32;
| ^^^^^^^^^^^^^^^^^^^^^
145 | const CONSTRUCTOR_NUMBER_BE: u32 = 4125150376u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L128
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:128:11
|
127 | impl True {
| --------- associated constants in this implementation
128 | const CONSTRUCTOR_NUMBER_LE: u32 = 1072550713u32;
| ^^^^^^^^^^^^^^^^^^^^^
129 | const CONSTRUCTOR_NUMBER_BE: u32 = 970190143u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
type alias `BoxedTrue` is never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L124
warning: type alias `BoxedTrue` is never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:124:10
|
124 | pub type BoxedTrue = True;
| ^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L121
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:121:11
|
120 | impl LiteServerError {
| -------------------- associated constants in this implementation
121 | const CONSTRUCTOR_NUMBER_LE: u32 = 3148472648u32;
| ^^^^^^^^^^^^^^^^^^^^^
122 | const CONSTRUCTOR_NUMBER_BE: u32 = 1222748603u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
type alias `LiteServerBoxedError` is never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L114
warning: type alias `LiteServerBoxedError` is never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:114:10
|
114 | pub type LiteServerBoxedError = LiteServerError;
| ^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L111
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:111:11
|
110 | impl TonNodeBlockIdExt {
| ---------------------- associated constants in this implementation
111 | const CONSTRUCTOR_NUMBER_LE: u32 = 1733487480u32;
| ^^^^^^^^^^^^^^^^^^^^^
112 | const CONSTRUCTOR_NUMBER_BE: u32 = 2028687975u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
type alias `TonNodeBoxedBlockIdExt` is never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L101
warning: type alias `TonNodeBoxedBlockIdExt` is never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:101:10
|
101 | pub type TonNodeBoxedBlockIdExt = TonNodeBlockIdExt;
| ^^^^^^^^^^^^^^^^^^^^^^
|
type alias `BoxedDouble` is never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L100
warning: type alias `BoxedDouble` is never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:100:10
|
100 | pub type BoxedDouble = Double;
| ^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L97
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:97:11
|
96 | impl LiteServerGetOneTransaction {
| -------------------------------- associated constants in this implementation
97 | const CONSTRUCTOR_NUMBER_LE: u32 = 3557762282u32;
| ^^^^^^^^^^^^^^^^^^^^^
98 | const CONSTRUCTOR_NUMBER_BE: u32 = 3928231892u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L84
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:84:11
|
83 | impl LiteServerTransactionInfo {
| ------------------------------ associated constants in this implementation
84 | const CONSTRUCTOR_NUMBER_LE: u32 = 249490759u32;
| ^^^^^^^^^^^^^^^^^^^^^
85 | const CONSTRUCTOR_NUMBER_BE: u32 = 1206771214u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L73
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:73:11
|
72 | impl LiteServerSignature {
| ------------------------ associated constants in this implementation
73 | const CONSTRUCTOR_NUMBER_LE: u32 = 2749298773u32;
| ^^^^^^^^^^^^^^^^^^^^^
74 | const CONSTRUCTOR_NUMBER_BE: u32 = 1442373283u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
type alias `LiteServerBoxedSignature` is never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L66
warning: type alias `LiteServerBoxedSignature` is never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:66:10
|
66 | pub type LiteServerBoxedSignature = LiteServerSignature;
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L63
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:63:11
|
62 | impl LiteServerSignatureSet {
| --------------------------- associated constants in this implementation
63 | const CONSTRUCTOR_NUMBER_LE: u32 = 4131694310u32;
| ^^^^^^^^^^^^^^^^^^^^^
64 | const CONSTRUCTOR_NUMBER_BE: u32 = 3869656310u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L52
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:52:11
|
51 | impl LiteServerGetVersion {
| ------------------------- associated constants in this implementation
52 | const CONSTRUCTOR_NUMBER_LE: u32 = 590058507u32;
| ^^^^^^^^^^^^^^^^^^^^^
53 | const CONSTRUCTOR_NUMBER_BE: u32 = 194259747u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L43
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:43:11
|
42 | impl LiteServerVersion {
| ---------------------- associated constants in this implementation
43 | const CONSTRUCTOR_NUMBER_LE: u32 = 1510248933u32;
| ^^^^^^^^^^^^^^^^^^^^^
44 | const CONSTRUCTOR_NUMBER_BE: u32 = 3851486298u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L31
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:31:11
|
30 | impl LiteServerRunSmcMethod {
| --------------------------- associated constants in this implementation
31 | const CONSTRUCTOR_NUMBER_LE: u32 = 1556504018u32;
| ^^^^^^^^^^^^^^^^^^^^^
32 | const CONSTRUCTOR_NUMBER_BE: u32 = 3529360988u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used:
/home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs#L16
warning: associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used
--> /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs:16:11
|
15 | impl LiteServerRunMethodResult {
| ------------------------------ associated constants in this implementation
16 | const CONSTRUCTOR_NUMBER_LE: u32 = 2086863068u32;
| ^^^^^^^^^^^^^^^^^^^^^
17 | const CONSTRUCTOR_NUMBER_BE: u32 = 3691012988u32;
| ^^^^^^^^^^^^^^^^^^^^^
|
type alias `SecureBytes` is never used:
ton-liteserver-client/src/tl.rs#L21
warning: type alias `SecureBytes` is never used
--> ton-liteserver-client/src/tl.rs:21:6
|
21 | type SecureBytes = Vec<u8>;
| ^^^^^^^^^^^
|
type alias `SecureString` is never used:
ton-liteserver-client/src/tl.rs#L20
warning: type alias `SecureString` is never used
--> ton-liteserver-client/src/tl.rs:20:6
|
20 | type SecureString = String;
| ^^^^^^^^^^^^
|
type alias `Int128` is never used:
ton-liteserver-client/src/tl.rs#L15
warning: type alias `Int128` is never used
--> ton-liteserver-client/src/tl.rs:15:6
|
15 | type Int128 = i128;
| ^^^^^^
|
type alias `Int64` is never used:
ton-liteserver-client/src/tl.rs#L13
warning: type alias `Int64` is never used
--> ton-liteserver-client/src/tl.rs:13:6
|
13 | type Int64 = i64;
| ^^^^^
|
type alias `Int53` is never used:
ton-liteserver-client/src/tl.rs#L12
warning: type alias `Int53` is never used
--> ton-liteserver-client/src/tl.rs:12:6
|
12 | type Int53 = i64;
| ^^^^^
|
type alias `Int32` is never used:
ton-liteserver-client/src/tl.rs#L10
warning: type alias `Int32` is never used
--> ton-liteserver-client/src/tl.rs:10:6
|
10 | type Int32 = i32;
| ^^^^^
|
type alias `Double` is never used:
ton-liteserver-client/src/tl.rs#L8
warning: type alias `Double` is never used
--> ton-liteserver-client/src/tl.rs:8:6
|
8 | type Double = f64;
| ^^^^^^
|
associated function `connect` is never used:
ton-liteserver-client/src/client.rs#L8
warning: associated function `connect` is never used
--> ton-liteserver-client/src/client.rs:8:18
|
7 | impl LiteServerClient {
| --------------------- associated function in this implementation
8 | pub async fn connect(addr: SocketAddrV4, server_key: &ServerKey) -> anyhow::Result<Self> {
| ^^^^^^^
|
struct `LiteServerClient` is never constructed:
ton-liteserver-client/src/client.rs#L3
warning: struct `LiteServerClient` is never constructed
--> ton-liteserver-client/src/client.rs:3:12
|
3 | pub struct LiteServerClient {
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
variable does not need to be mutable:
ton-liteserver-client/src/serializer.rs#L47
warning: variable does not need to be mutable
--> ton-liteserver-client/src/serializer.rs:47:17
|
47 | let mut padding = (val.len() + 4) % 4;
| ----^^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
unused import: `Display`:
ton-liteserver-client/src/serializer.rs#L2
warning: unused import: `Display`
--> ton-liteserver-client/src/serializer.rs:2:23
|
2 | use std::fmt::{Debug, Display};
| ^^^^^^^
|
unused import: `std::error::Error`:
ton-liteserver-client/src/serializer.rs#L1
warning: unused import: `std::error::Error`
--> ton-liteserver-client/src/serializer.rs:1:5
|
1 | use std::error::Error;
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
call to `.clone()` on a reference in this situation does nothing:
tl_parser/src/lib.rs#L202
warning: call to `.clone()` on a reference in this situation does nothing
--> tl_parser/src/lib.rs:202:25
|
202 | let prev = input.clone();
| ^^^^^^^^ help: remove this redundant call
|
= note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
= note: `#[warn(noop_method_call)]` on by default
|
useless use of `format!`:
tl_parser/src/lib.rs#L179
warning: useless use of `format!`
--> tl_parser/src/lib.rs:179:23
|
179 | None => { format!("{}", self.r#type.constructor_number_form() )}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `self.r#type.constructor_number_form().to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
|
useless use of `format!`:
tl_parser/src/lib.rs#L86
warning: useless use of `format!`
--> tl_parser/src/lib.rs:86:50
|
86 | Plain { name, condition: None } => { format!("{}", name) }
| ^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `name.to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
= note: `#[warn(clippy::useless_format)]` on by default
|
this expression creates a reference which is immediately dereferenced by the compiler:
ton-liteserver-client/build.rs#L156
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> ton-liteserver-client/build.rs:156:35
|
156 | if skip_list.contains(&&type_ident) {
| ^^^^^^^^^^^^ help: change this to: `(&type_ident)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
methods `configure` and `configure_full` are never used:
ton-liteserver-client/build.rs#L125
warning: methods `configure` and `configure_full` are never used
--> ton-liteserver-client/build.rs:125:8
|
117 | impl Generator {
| -------------- methods in this implementation
...
125 | fn configure(mut self, name: &str, derives: Vec<&str>) -> Self {
| ^^^^^^^^^
...
131 | fn configure_full(mut self, name: &str, configuration: TypeConfiguration) -> Self {
| ^^^^^^^^^^^^^^
|
methods `derives`, `field`, and `build` are never used:
ton-liteserver-client/build.rs#L98
warning: methods `derives`, `field`, and `build` are never used
--> ton-liteserver-client/build.rs:98:8
|
97 | impl TypeConfigurationBuilder {
| ----------------------------- methods in this implementation
98 | fn derives(mut self, derives: Vec<&str>) -> Self {
| ^^^^^^^
...
105 | fn field(mut self, field: &str, configuration: FieldConfiguration) -> Self {
| ^^^^^
...
111 | fn build(self) -> TypeConfiguration {
| ^^^^^
|
methods `skip`, `optional`, `deserialize_with`, `serialize_with`, and `build` are never used:
ton-liteserver-client/build.rs#L69
warning: methods `skip`, `optional`, `deserialize_with`, `serialize_with`, and `build` are never used
--> ton-liteserver-client/build.rs:69:8
|
68 | impl FieldConfigurationBuilder {
| ------------------------------ methods in this implementation
69 | fn skip(mut self) -> Self {
| ^^^^
...
74 | fn optional(mut self) -> Self {
| ^^^^^^^^
...
80 | fn deserialize_with(mut self, deserialize_with: &str) -> Self {
| ^^^^^^^^^^^^^^^^
...
86 | fn serialize_with(mut self, serialize_with: &str) -> Self {
| ^^^^^^^^^^^^^^
...
92 | fn build(self) -> FieldConfiguration {
| ^^^^^
|
fields `deserialize_with` and `serialize_with` are never read:
ton-liteserver-client/build.rs#L64
warning: fields `deserialize_with` and `serialize_with` are never read
--> ton-liteserver-client/build.rs:64:9
|
61 | struct FieldConfiguration {
| ------------------ fields in this struct
...
64 | pub deserialize_with: Option<String>,
| ^^^^^^^^^^^^^^^^
65 | pub serialize_with: Option<String>
| ^^^^^^^^^^^^^^
|
fields `skip`, `optional`, `deserialize_with`, and `serialize_with` are never read:
ton-liteserver-client/build.rs#L54
warning: fields `skip`, `optional`, `deserialize_with`, and `serialize_with` are never read
--> ton-liteserver-client/build.rs:54:5
|
53 | struct FieldConfigurationBuilder {
| ------------------------- fields in this struct
54 | skip: bool,
| ^^^^
55 | optional: bool,
| ^^^^^^^^
56 | deserialize_with: Option<String>,
| ^^^^^^^^^^^^^^^^
57 | serialize_with: Option<String>
| ^^^^^^^^^^^^^^
|
fields `derives` and `fields` are never read:
ton-liteserver-client/build.rs#L37
warning: fields `derives` and `fields` are never read
--> ton-liteserver-client/build.rs:37:5
|
36 | struct TypeConfigurationBuilder {
| ------------------------ fields in this struct
37 | derives: Vec<String>,
| ^^^^^^^
38 | fields: HashMap<String, FieldConfiguration>
| ^^^^^^
|
function `configure_field` is never used:
ton-liteserver-client/build.rs#L33
warning: function `configure_field` is never used
--> ton-liteserver-client/build.rs:33:4
|
33 | fn configure_field() -> FieldConfigurationBuilder { Default::default() }
| ^^^^^^^^^^^^^^^
|
function `configure_type` is never used:
ton-liteserver-client/build.rs#L32
warning: function `configure_type` is never used
--> ton-liteserver-client/build.rs:32:4
|
32 | fn configure_type() -> TypeConfigurationBuilder { Default::default() }
| ^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
value assigned to `deserialize_number_from_string` is never read:
ton-liteserver-client/build.rs#L255
warning: value assigned to `deserialize_number_from_string` is never read
--> ton-liteserver-client/build.rs:255:33
|
255 | ... deserialize_number_from_string = true;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: maybe it is overwritten before being read?
|
value assigned to `deserialize_number_from_string` is never read:
ton-liteserver-client/build.rs#L233
warning: value assigned to `deserialize_number_from_string` is never read
--> ton-liteserver-client/build.rs:233:29
|
233 | ... deserialize_number_from_string = true;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: maybe it is overwritten before being read?
= note: `#[warn(unused_assignments)]` on by default
|
variable `deserialize_number_from_string` is assigned to, but never used:
ton-liteserver-client/build.rs#L231
warning: variable `deserialize_number_from_string` is assigned to, but never used
--> ton-liteserver-client/build.rs:231:33
|
231 | let mut deserialize_number_from_string = false; // TODO[akostylev0]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: consider using `_deserialize_number_from_string` instead
|
unused variable: `id`:
ton-liteserver-client/build.rs#L209
warning: unused variable: `id`
--> ton-liteserver-client/build.rs:209:21
|
209 | let id = definition.id();
| ^^ help: if this is intentional, prefix it with an underscore: `_id`
|
= note: `#[warn(unused_variables)]` on by default
|
this expression creates a reference which is immediately dereferenced by the compiler:
tonlibjson-client/build.rs#L220
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> tonlibjson-client/build.rs:220:35
|
220 | if skip_list.contains(&&type_ident) {
| ^^^^^^^^^^^^ help: change this to: `(&type_ident)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
call to `.clone()` on a reference in this situation does nothing:
tl_parser/src/lib.rs#L202
warning: call to `.clone()` on a reference in this situation does nothing
--> tl_parser/src/lib.rs:202:25
|
202 | let prev = input.clone();
| ^^^^^^^^ help: remove this redundant call
|
= note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
= note: `#[warn(noop_method_call)]` on by default
|
useless use of `format!`:
tl_parser/src/lib.rs#L179
warning: useless use of `format!`
--> tl_parser/src/lib.rs:179:23
|
179 | None => { format!("{}", self.r#type.constructor_number_form() )}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `self.r#type.constructor_number_form().to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
|
useless use of `format!`:
tl_parser/src/lib.rs#L86
warning: useless use of `format!`
--> tl_parser/src/lib.rs:86:50
|
86 | Plain { name, condition: None } => { format!("{}", name) }
| ^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `name.to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
= note: `#[warn(clippy::useless_format)]` on by default
|
Run rust-clippy analyzing
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.
|
Run rust-clippy analyzing
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/
|