have you installed rust analyzer? it literally tell you what happened and how to solve it, even with a quick fix when hovering on the error