how to fix frame leak problem on mac

I downloaded rust off steam on my M3 max and it seems to have a memory leak problem as when I play it it stutters even though the in game fps counter says 80-120 constantly. when I check the rust console it gives me this message over and over again every time it micro freezes."Internal: JobTempAlloc has allocations that are more than the maximum lifespan of 4 frames old - this is not allowed and likely a leak To Debug, run app with -diag-job-temp-memory-leak-validation cd line argument. This will output the callstacks of the leaked allocations." I've tried typing the proposed code into my computer terminal and the rust one and it did nothing said command not found. does anyone what to run to fix this or how to fix the code that is causing the problem as I am unfamiliar with coding. thank you