support for warnings, don't flag everything that comes via stderr as an error as this will lead to inaccurate results on CI servers. This uses a regex for the word [Ww]arning, which isn't perfect but it's probably accurate in all useful cases.