Running
xcrun xcresulttool get build-results --path ResultFile
does not always show the warnings that the build emitted, If I run the legacy command,
xcrun xcresulttool get --legacy --path ResultFile
against the same file, there are (numerous) warnings, where the non-legacy call above shows no warnings.