Deprecate the result and InferOutcome results from methods, and refactor to be Outcome with fields `warnings`, `errors` and `ty`.