Two things:
That error is usually on all the call sites except one that would be done first and cause the Lazy instance to become poisoned. The different one will have the actual error message. In my case
Invalid `cargo metadata` output: Error("EOF while parsing a value", line: 1, column: 0)
When this has happened to me it was because cargo metadata failed to run. In my case it was in a different workspace where one of my dependencies lived.
If you get the same first error as me
Try running cargo metadata and see what error it reports
If it doesn't report an error look carefully at which crate first gives the error and try running cargo metadata in that crate (or at least in the same workspace as the crate).