Warnings will never be nil, should check for len() of the warnings.