I'm not convinced this isn't a rust bug itself, but CI was complaining about lifetimes and those complaints couldn't be reproduced locally, so this should probably fix it maybe?