Jonas, The Rust bindings for Leptonica appear unhappy after the leptonlib transition; perhaps they need to be regenerated? The specific complaint seems to be "test bindgen_test_layout_max_align_t ... FAILED". I am unfamiliar with Rust and unsure how to proceed.
https://ci.debian.net/packages/r/rust-leptonica-sys/testing/i386/52950971/#S7