I came across something similar to this in a library and it seems like it\'s causing Rust to panic at the very end of my program. I stripped out most of the irrelevant code, and