Hi, I tinkered around with dh-rust a bit tonight and implemented a function that tries to sort packages by dependencies rather than dependency count[1]. This solves the FTBFS issues for some packages, such as wasmtime, bounded-static.
Unfortunately, the sort function hangs if there are dependency cycles and I don't see a way to break those. Cheers, -Hilko [1] https://salsa.debian.org/bengen/dh-rust/-/tree/fix-1094199