I have written a merge request [1] to fix FTBFS on all platforms. Tested on my dev machine on amd64 and riscv64. If more helps are needed, please let me know.
Thanks for the patch,
Was this patch just a result of general QA activity or is there some program you are trying to package?
We can fix this up if there is a good reason, but i'm more inclined to say a crate that is abandoned upstream, fails to build with current rustc and has been superseeded by funcationality in the standard library probablly doesn't belong in Debian.