Check for warnings in the to dist env