pkg: ignore warnings when checking