[SPARK-3997][Build]scalastyle should output the error location