See this capnproto-c++ issue: https://github.com/capnproto/capnproto/pull/1656 capnprust-rust RPC likely needs a similar fix.