Have you tried using the #[debug_handler]
macro on get_all_armies
? Without that macro handler errors don't tell you much more than "something isn't right".
Generally this kind of error indicates some type in the handler signature doesn't implement a necessary trait. Maybe you accidentally lost an automatically-derived trait like Send + Sync
? The macro is the easiest way to check.