Skip to content
GitHub Actions / clippy succeeded Apr 9, 2024 in 2s

clippy

118 warnings

Details

Results

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

Versions

  • rustc 1.77.2 (25ef9e3d8 2024-04-09)
  • cargo 1.77.2 (e52e36006 2024-03-26)
  • clippy 0.1.77 (25ef9e3 2024-04-09)

Annotations

Check warning on line 22 in ton-grpc/src/message.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`

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

Check warning on line 90 in ton-grpc/src/block.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`

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

Check warning on line 74 in ton-grpc/src/block.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`

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

Check warning on line 46 in ton-grpc/src/block.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`

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

Check warning on line 33 in ton-grpc/src/block.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`

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

Check warning on line 25 in ton-grpc/src/block.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`

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

Check warning on line 105 in ton-grpc/src/account.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`

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

Check warning on line 68 in ton-grpc/src/account.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`

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

Check warning on line 48 in ton-grpc/src/account.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`

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

Check warning on line 152 in tonlibjson-client/src/router.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unneeded `return` statement

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)
    |

Check warning on line 97 in tonlibjson-client/src/router.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

using `clone` on type `Route` which implements the `Copy` trait

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

Check warning on line 80 in tonlibjson-client/src/cursor_client.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this `let...else` may be rewritten with the `?` operator

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

Check warning on line 134 in tonlibjson-client/src/block.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

wildcard pattern covers any other pattern as it will match anyway

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

Check warning on line 733 in /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used

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 LiteServerGetTime {
    | ---------------------- associated constants in this implementation
733 |     const CONSTRUCTOR_NUMBER_LE: u32 = 380459572u32;
    |           ^^^^^^^^^^^^^^^^^^^^^
734 |     const CONSTRUCTOR_NUMBER_BE: u32 = 878357782u32;
    |           ^^^^^^^^^^^^^^^^^^^^^

Check warning on line 724 in /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used

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:724:11
    |
723 | impl LiteServerCurrentTime {
    | -------------------------- associated constants in this implementation
724 |     const CONSTRUCTOR_NUMBER_LE: u32 = 3914530829u32;
    |           ^^^^^^^^^^^^^^^^^^^^^
725 |     const CONSTRUCTOR_NUMBER_BE: u32 = 218125289u32;
    |           ^^^^^^^^^^^^^^^^^^^^^

Check warning on line 717 in /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

type alias `BoxedDouble` is never used

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:717:10
    |
717 | pub type BoxedDouble = Double;
    |          ^^^^^^^^^^^

Check warning on line 714 in /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used

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:714:11
    |
713 | impl LiteServerGetMasterchainInfoExt {
    | ------------------------------------ associated constants in this implementation
714 |     const CONSTRUCTOR_NUMBER_LE: u32 = 1889956319u32;
    |           ^^^^^^^^^^^^^^^^^^^^^
715 |     const CONSTRUCTOR_NUMBER_BE: u32 = 3748767344u32;
    |           ^^^^^^^^^^^^^^^^^^^^^

Check warning on line 703 in /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used

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:703:11
    |
702 | impl LiteServerMasterchainInfoExt {
    | --------------------------------- associated constants in this implementation
703 |     const CONSTRUCTOR_NUMBER_LE: u32 = 2831999221u32;
    |           ^^^^^^^^^^^^^^^^^^^^^
704 |     const CONSTRUCTOR_NUMBER_BE: u32 = 4125150376u32;
    |           ^^^^^^^^^^^^^^^^^^^^^

Check warning on line 687 in /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used

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:687:11
    |
686 | impl LiteServerGetLibraries {
    | --------------------------- associated constants in this implementation
687 |     const CONSTRUCTOR_NUMBER_LE: u32 = 3508713058u32;
    |           ^^^^^^^^^^^^^^^^^^^^^
688 |     const CONSTRUCTOR_NUMBER_BE: u32 = 1656103633u32;
    |           ^^^^^^^^^^^^^^^^^^^^^

Check warning on line 676 in /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used

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:676:11
    |
675 | impl LiteServerLibraryResult {
    | ---------------------------- associated constants in this implementation
676 |     const CONSTRUCTOR_NUMBER_LE: u32 = 293255531u32;
    |           ^^^^^^^^^^^^^^^^^^^^^
677 |     const CONSTRUCTOR_NUMBER_BE: u32 = 1807317521u32;
    |           ^^^^^^^^^^^^^^^^^^^^^

Check warning on line 667 in /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used

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:667:11
    |
666 | impl LiteServerGetShardInfo {
    | --------------------------- associated constants in this implementation
667 |     const CONSTRUCTOR_NUMBER_LE: u32 = 1185084453u32;
    |           ^^^^^^^^^^^^^^^^^^^^^
668 |     const CONSTRUCTOR_NUMBER_BE: u32 = 636789318u32;
    |           ^^^^^^^^^^^^^^^^^^^^^

Check warning on line 653 in /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used

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:653:11
    |
652 | impl LiteServerShardInfo {
    | ------------------------ associated constants in this implementation
653 |     const CONSTRUCTOR_NUMBER_LE: u32 = 2682703236u32;
    |           ^^^^^^^^^^^^^^^^^^^^^
654 |     const CONSTRUCTOR_NUMBER_BE: u32 = 2228086431u32;
    |           ^^^^^^^^^^^^^^^^^^^^^

Check warning on line 641 in /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used

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:641:11
    |
640 | impl LiteServerGetState {
    | ----------------------- associated constants in this implementation
641 |     const CONSTRUCTOR_NUMBER_LE: u32 = 3127783094u32;
    |           ^^^^^^^^^^^^^^^^^^^^^
642 |     const CONSTRUCTOR_NUMBER_BE: u32 = 3056496314u32;
    |           ^^^^^^^^^^^^^^^^^^^^^

Check warning on line 630 in /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used

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:630:11
    |
629 | impl LiteServerBlockState {
    | ------------------------- associated constants in this implementation
630 |     const CONSTRUCTOR_NUMBER_LE: u32 = 2880297996u32;
    |           ^^^^^^^^^^^^^^^^^^^^^
631 |     const CONSTRUCTOR_NUMBER_BE: u32 = 215788971u32;
    |           ^^^^^^^^^^^^^^^^^^^^^

Check warning on line 618 in /home/runner/work/ton-grpc/ton-grpc/target/x86_64-unknown-linux-gnu/debug/build/ton-liteserver-client-5cdd8a8fddc721f4/out/generated.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

associated constants `CONSTRUCTOR_NUMBER_LE` and `CONSTRUCTOR_NUMBER_BE` are never used

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:618:11
    |
617 | impl LiteServerSignatureSet {
    | --------------------------- associated constants in this implementation
618 |     const CONSTRUCTOR_NUMBER_LE: u32 = 4131694310u32;
    |           ^^^^^^^^^^^^^^^^^^^^^
619 |     const CONSTRUCTOR_NUMBER_BE: u32 = 3869656310u32;
    |           ^^^^^^^^^^^^^^^^^^^^^