The build failed, probably because the whitespace between the two lines didn't match.

I think it would be safer if you split it into two "STDERR should contain" checks.