From 4390343329987b9f58708c44b6bb19129b0ac096 Mon Sep 17 00:00:00 2001 From: Filip Baciu Date: Mon, 24 Aug 2026 12:16:41 +0300 Subject: [PATCH] fix(server): raise the crate recursion limit for the trait solver Proving Send for the boxed request_login future walks the whole pairing-flow future tree (chain, SSO and identity futures) and exceeds the default limit of 128 on the current nightly clippy toolchain (1.100.0-nightly 2026-08-23), failing the workspace on an overflow in pairing_host.rs. 256 covers the tree; reproduced and verified on plain main. --- rust/crates/truapi-server/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rust/crates/truapi-server/src/lib.rs b/rust/crates/truapi-server/src/lib.rs index d9ba7b79b..f203699aa 100644 --- a/rust/crates/truapi-server/src/lib.rs +++ b/rust/crates/truapi-server/src/lib.rs @@ -2,6 +2,9 @@ clippy::double_must_use, reason = "async-trait generates must_use futures for async trait methods" )] +// The pairing-flow future nests the chain, SSO and identity futures deeply +// enough that proving the tree's auto traits exceeds the default limit. +#![recursion_limit = "256"] //! TrUAPI server runtime: dispatcher, frames, SCALE encoding, stream management. //!