checkstyle / test-configs

Stores configs for regression-report.yml (checkstyle repository) and diff.groovy (contribution repository)
https://github.com/checkstyle/checkstyle/tree/master/.github/workflows#regression-report-workflow---regression-reportyml
GNU Lesser General Public License v2.1
2 stars 3 forks source link

diff-java-tool: convert diff.groovy to java project #105

Closed romani closed 2 months ago

romani commented 4 months ago

convert diff.groovy to java project to manage it easily and be able to generate final JAR file and use it by github new workflow action. JAR file can be committed in main repo for simplicity.

romani commented 3 months ago

as diff.groovy is using patch-diff-report-tool and compiles it https://github.com/checkstyle/contribution/blob/41ec549dc9976dfcc919a5683b9e08a893e04d70/checkstyle-tester/diff.groovy#L450-L455

and we already copied patch-diff-report-tool

we simply can simply embed java version of diff.groovy to patch-diff-report-tool, so we will have only one JAR patch-diff-report-tool and it will do all logic.

romani commented 3 months ago

one more idea, we can compile patch-diff-report-tool ones , publish it here: https://github.com/checkstyle/test-configs/releases/tag/patch-diff-report-tool-0.1-SNAPSHOT as I already did and simply use github action to download it before execution of diff.groovy

We can even remove this project from this repository at all, we just need jar, nothing else. patch-diff-report-tool will stay in contribution repo, we do not need it, it almost never changed, it work fine.

romani commented 3 months ago

action for release downloads: https://github.com/checkstyle/checkstyle/pull/15237/files#diff-d48f9d13e1de189307d86e0ae0fdcd7d11555c03ea207bddc76054be640b4d5fR39-R44

relentless-pursuit commented 3 months ago

@romani

java -Dxml.skip=true -jar /Users/piyushkumarsadangi/Development/test-configs/diff-java-tool/build/libs/diff-java-tool-1.0.0.jar \
  --localGitRepo /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle \
  --baseBranch master \
  --patchBranch testConfig \
  --config /Users/piyushkumarsadangi/Development/test-configs/AbstractClassName/Example1/config.xml \
  --listOfProjects /Users/piyushkumarsadangi/Development/test-configs/AbstractClassName/Example1/list-of-projects.properties

Basically, i am going to the folder of diff-java-tool and building the jar using ./gradlew build

I am running this command. Right now, i have made correction with my jar have jdk11 i.e. the new java project have jdk11 in sync with checkstyle main repo.

I am getting the error. I have built my jar with the current code base already in the PR. I am using below build.gradle.

plugins {
    id 'java'
    id 'application'
    id 'com.github.johnrengelman.shadow' version '7.1.2'
}

repositories {
    mavenCentral()
}

dependencies {
    implementation 'commons-cli:commons-cli:1.4'
    implementation 'org.apache.maven.shared:maven-invoker:3.1.0'
    implementation 'org.eclipse.jgit:org.eclipse.jgit:5.13.0.202109080827-r'
    testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
    testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
}

application {
    mainClassName = 'com.github.checkstyle.difftool.DiffTool'
}

java {
    toolchain {
        languageVersion = JavaLanguageVersion.of(11)
    }
}

shadowJar {
    archiveBaseName.set('diff-java-tool')
    archiveClassifier.set('')
    archiveVersion.set('1.0.0')
}

test {
    useJUnitPlatform()
}
piyushkumarsadangi@piyushs-MacBook-Air checkstyle % java -Dxml.skip=true -jar /Users/piyushkumarsadangi/Development/test-configs/diff-java-tool/build/libs/diff-java-tool-1.0.0.jar \                                   
  --localGitRepo /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle \
  --baseBranch master \
  --patchBranch testConfig \
  --config /Users/piyushkumarsadangi/Development/test-configs/AbstractClassName/Example1/config.xml \
  --listOfProjects /Users/piyushkumarsadangi/Development/test-configs/AbstractClassName/Example1/list-of-projects.properties
Installing Checkstyle artifact (master) into local Maven repository ...
Running command: git checkout master
Already on 'master'
Your branch is up to date with 'origin/master'.
Running command: git log -1 --pretty=MSG:%s%nSHA-1:%H
MSG:Issue #15214: migrated section 7.3.4 non required javadoc to whole config testing
SHA-1:6ad9e3a9e91b9de4f2b353a8440bfb5b079bf462
Running command: mvn -e --no-transfer-progress --batch-mode -Pno-validations clean install
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO] 
[INFO] ------------------< com.puppycrawl.tools:checkstyle >-------------------
[INFO] Building checkstyle 10.18.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- clean:3.4.0:clean (default-clean) @ checkstyle ---
[INFO] Deleting /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/target
[INFO] 
[INFO] --- tidy:1.3.0:check (validate) @ checkstyle ---
[INFO] Tidy is skipped.
[INFO] 
[INFO] --- enforcer:3.5.0:enforce (enforce-maven) @ checkstyle ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] 
[INFO] --- enforcer:3.5.0:enforce (enforce-versions) @ checkstyle ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed
[INFO] 
[INFO] --- xml:1.1.0:check-format (default) @ checkstyle ---
[INFO] 
[INFO] --- antlr4:4.13.1:antlr4 (default) @ checkstyle ---
[INFO] ANTLR 4: Processing source directory /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/resources
[INFO] Processing grammar: com/puppycrawl/tools/checkstyle/grammar/java/JavaLanguageLexer.g4
[INFO] Processing grammar: com/puppycrawl/tools/checkstyle/grammar/java/JavaLanguageParser.g4
[INFO] Processing grammar: com/puppycrawl/tools/checkstyle/grammar/javadoc/JavadocLexer.g4
[INFO] Processing grammar: com/puppycrawl/tools/checkstyle/grammar/javadoc/JavadocParser.g4
[INFO] 
[INFO] --- build-helper:3.6.0:add-source (add-source) @ checkstyle ---
[INFO] Source directory: /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/target/generated-sources/antlr added.
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ checkstyle ---
[INFO] Copying 399 resources from src/main/resources to target/classes
[INFO] 
[INFO] --- build-helper:3.6.0:add-test-source (add-test-source) @ checkstyle ---
[INFO] Test Source directory: /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/test/resources added.
[INFO] 
[INFO] --- build-helper:3.6.0:add-test-source (add-it-test-source) @ checkstyle ---
[INFO] Test Source directory: /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/it/java added.
[INFO] 
[INFO] --- build-helper:3.6.0:add-test-source (add-it-test-resource) @ checkstyle ---
[INFO] Test Source directory: /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/it/resources added.
[INFO] 
[INFO] --- build-helper:3.6.0:add-test-source (add-xdocs-examples-source) @ checkstyle ---
[INFO] Test Source directory: /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/xdocs-examples/java added.
[INFO] 
[INFO] --- build-helper:3.6.0:add-test-source (add-xdocs-examples-resource) @ checkstyle ---
[INFO] Test Source directory: /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/xdocs-examples/resources added.
[INFO] 
[INFO] --- compiler:3.13.0:compile (default-compile) @ checkstyle ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 5230 source files with javac [debug release 11] to target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[9,5] illegal start of expression
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[9,12] invalid method declaration; return type required
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[17,21] <identifier> expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[19,12] invalid method declaration; return type required
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[24,12] invalid method declaration; return type required
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[45,10] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[46,12] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[48,5] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[50,12] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[52,12] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[54,5] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[58,10] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[59,12] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[61,5] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[65,10] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[66,12] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[70,10] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[79,10] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[81,10] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[85,10] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[89,10] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[93,10] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[98,10] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule526parameternames/InputRecordComponentName.java:[11,8] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[14,34] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[14,41] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[22,28] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[22,29] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[22,30] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[27,29] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[27,30] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[27,35] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[44,31] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[44,32] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[44,34] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[46,20] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[46,37] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[46,38] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[46,42] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[50,29] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[52,38] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[52,13] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[52,39] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[52,44] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[55,52] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[55,53] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[55,54] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[58,48] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[58,49] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[58,51] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[63,34] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[63,35] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[63,36] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[63,44] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[63,61] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[63,62] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[63,63] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[63,73] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[63,90] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[63,91] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[63,92] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[66,32] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[66,33] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[66,35] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[69,18] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[69,21] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[74,38] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[74,39] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[74,42] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[79,36] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[79,37] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[79,40] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[85,33] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[85,42] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[87,31] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[87,32] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[87,39] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[89,32] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[89,33] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[89,40] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[89,58] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[97,36] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[97,37] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[97,44] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule528typevariablenames/InputRecordTypeParameterName.java:[10,8] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule528typevariablenames/InputRecordTypeParameterName.java:[12,10] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule528typevariablenames/InputRecordTypeParameterName.java:[21,5] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule528typevariablenames/InputRecordTypeParameterName.java:[25,5] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule528typevariablenames/InputRecordTypeParameterName.java:[29,5] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule528typevariablenames/InputRecordTypeParameterName.java:[50,5] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/constructorsdeclarationgrouping/InputXpathConstructorsDeclarationGroupingRecords.java:[8,5] illegal start of expression
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/constructorsdeclarationgrouping/InputXpathConstructorsDeclarationGroupingRecords.java:[8,12] invalid method declaration; return type required
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/constructorsdeclarationgrouping/InputXpathConstructorsDeclarationGroupingRecords.java:[14,20] <identifier> expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/constructorsdeclarationgrouping/InputXpathConstructorsDeclarationGroupingRecords.java:[16,1] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/covariantequals/InputXpathCovariantEqualsInRecord.java:[5,8] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/covariantequals/InputXpathCovariantEqualsInRecord.java:[7,12] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/covariantequals/InputXpathCovariantEqualsInRecord.java:[9,5] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/illegalidentifiername/InputXpathIllegalIdentifierNameOne.java:[8,8] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/illegalidentifiername/InputXpathIllegalIdentifierNameTwo.java:[10,16] illegal start of expression
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/illegalidentifiername/InputXpathIllegalIdentifierNameTwo.java:[11,19] : expected
[INFO] 100 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  13.139 s
[INFO] Finished at: 2024-07-28T23:47:00+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project checkstyle: Compilation failure: Compilation failure: 
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[9,5] illegal start of expression
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[9,12] invalid method declaration; return type required
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[17,21] <identifier> expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[19,12] invalid method declaration; return type required
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[24,12] invalid method declaration; return type required
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[45,10] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[46,12] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[48,5] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[50,12] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[52,12] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[54,5] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[58,10] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[59,12] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[61,5] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[65,10] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[66,12] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[70,10] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[79,10] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[81,10] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[85,10] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[89,10] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[93,10] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[98,10] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule526parameternames/InputRecordComponentName.java:[11,8] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[14,34] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[14,41] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[22,28] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[22,29] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[22,30] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[27,29] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[27,30] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[27,35] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[44,31] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[44,32] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[44,34] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[46,20] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[46,37] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[46,38] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[46,42] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[50,29] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[52,38] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[52,13] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[52,39] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[52,44] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[55,52] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[55,53] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[55,54] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[58,48] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[58,49] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[58,51] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[63,34] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[63,35] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[63,36] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[63,44] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[63,61] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[63,62] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[63,63] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[63,73] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[63,90] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[63,91] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[63,92] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[66,32] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[66,33] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[66,35] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[69,18] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[69,21] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[74,38] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[74,39] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[74,42] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[79,36] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[79,37] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[79,40] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[85,33] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[85,42] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[87,31] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[87,32] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[87,39] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[89,32] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[89,33] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[89,40] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[89,58] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[97,36] ')' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[97,37] not a statement
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule527localvariablenames/InputPatternVariableNameEnhancedInstanceofTestDefault.java:[97,44] ';' expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule528typevariablenames/InputRecordTypeParameterName.java:[10,8] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule528typevariablenames/InputRecordTypeParameterName.java:[12,10] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule528typevariablenames/InputRecordTypeParameterName.java:[21,5] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule528typevariablenames/InputRecordTypeParameterName.java:[25,5] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule528typevariablenames/InputRecordTypeParameterName.java:[29,5] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter5naming/rule528typevariablenames/InputRecordTypeParameterName.java:[50,5] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/constructorsdeclarationgrouping/InputXpathConstructorsDeclarationGroupingRecords.java:[8,5] illegal start of expression
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/constructorsdeclarationgrouping/InputXpathConstructorsDeclarationGroupingRecords.java:[8,12] invalid method declaration; return type required
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/constructorsdeclarationgrouping/InputXpathConstructorsDeclarationGroupingRecords.java:[14,20] <identifier> expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/constructorsdeclarationgrouping/InputXpathConstructorsDeclarationGroupingRecords.java:[16,1] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/covariantequals/InputXpathCovariantEqualsInRecord.java:[5,8] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/covariantequals/InputXpathCovariantEqualsInRecord.java:[7,12] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/covariantequals/InputXpathCovariantEqualsInRecord.java:[9,5] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/illegalidentifiername/InputXpathIllegalIdentifierNameOne.java:[8,8] class, interface, or enum expected
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/illegalidentifiername/InputXpathIllegalIdentifierNameTwo.java:[10,16] illegal start of expression
[ERROR] /Users/piyushkumarsadangi/Development/newest-checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/org/checkstyle/suppressionxpathfilter/illegalidentifiername/InputXpathIllegalIdentifierNameTwo.java:[11,19] : expected
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project checkstyle: Compilation failure
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
    at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1309)
    at org.apache.maven.plugin.compiler.CompilerMojo.execute (CompilerMojo.java:215)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:566)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Error: Error: Command execution failed with exit code 1
java.lang.RuntimeException: Error: Command execution failed with exit code 1
    at com.github.checkstyle.difftool.DiffTool.executeCmd(DiffTool.java:860)
    at com.github.checkstyle.difftool.DiffTool.launchCheckstyleReport(DiffTool.java:271)
    at com.github.checkstyle.difftool.DiffTool.main(DiffTool.java:58)
piyushkumarsadangi@piyushs-MacBook-Air checkstyle % 
romani commented 3 months ago

java -Dxml.skip=true -jar

it should be at Running command: mvn -e --no-transfer-progress --batch-mode -Pno-validations clean install

so command that you run to bulid checkstyle is Running command: mvn -Dxml.skip=true -e --no-transfer-progress --batch-mode -Pno-validations clean install

romani commented 3 months ago

please do this update and lets try to update workflow to do execution diff-java-tool by jar.

relentless-pursuit commented 3 months ago

@romani ping.

     - name: Download DiffTool JAR
        uses: robinraju/release-downloader@v1.8
        with:
          repository: "relentless-pursuit/test-configs"
          tag: "diff-tool-1.0.0"
          fileName: "diff-java-tool-1.0.0.jar"

      - name: Download patch-diff-report-tool JAR
        uses: robinraju/release-downloader@v1.8
        with:
          repository: "checkstyle/test-configs"
          tag: "patch-diff-report-tool-0.1-SNAPSHOT"
          fileName: "patch-diff-report-tool-0.1-SNAPSHOT-jar-with-dependencies.jar"

      - name: Build Checkstyle
        run: |
          cd $GITHUB_WORKSPACE
          mvn -Dxml.skip=true -e --no-transfer-progress --batch-mode -Pno-validations clean install

      - name: Generate report
        env:
          BRANCH: ${{ needs.parse_comment.outputs.branch }}
        run: |
          REF="forked/$BRANCH"
          REPO="$GITHUB_WORKSPACE"
          BASE_BRANCH="upstream/master"
          CONFIG_FILE="$GITHUB_WORKSPACE/.ci-temp/diff_config.xml"
          PROJECTS_FILE="$GITHUB_WORKSPACE/.ci-temp/project.properties"

          java -jar diff-java-tool-1.0.0.jar \
            --localGitRepo "$REPO" \
            --baseBranch "$BASE_BRANCH" \
            --patchBranch "$REF" \
            --config "$CONFIG_FILE" \
            --listOfProjects "$PROJECTS_FILE" \
            --allowExcludes

          # Debug output
          echo "Contents of .ci-temp directory:"
          ls -la $GITHUB_WORKSPACE/.ci-temp/
          echo "Contents of PROJECTS_FILE:"
          cat "$PROJECTS_FILE"`

This is the updated workflow. But, still getting error of spacing.

romani commented 3 months ago

failure is at https://github.com/checkstyle-gsoc/checkstyle/actions/runs/10135375845/job/28022702214#step:11:425

 Running command: mvn -e --no-transfer-progress --batch-mode site .................

[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO] 
[INFO] ------------------< com.puppycrawl.tools:checkstyle >-------------------
[INFO] Building checkstyle 10.18.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:3.3.1:copy-resources (copy-resources) @ checkstyle ---
[INFO] Copying 10 resources from src/main/resources/com/puppycrawl/tools/checkstyle 
to target/site/dtds
[INFO] Copying 5 resources from src/main/resources/com/puppycrawl/tools/checkstyle/checks/imports
 to target/site/dtds
[INFO] 
[INFO] --- maven-site-plugin:3.12.1:site (default-site) @ checkstyle ---
[INFO] configuring report plugin org.apache.maven.plugins:maven-project-info-reports-plugin:3.6.2
[INFO] 15 reports detected for maven-project-info-reports-plugin:3.6.2: ci-management,
 dependencies, dependency-info, dependency-management, distribution-management,
 index, issue-management, licenses, mailing-lists, modules, plugin-management, plugins, 
scm, summary, team
[INFO] configuring report plugin org.apache.maven.plugins:maven-javadoc-plugin:3.8.0
[INFO] preparing maven-javadoc-plugin:javadoc report requires 'generate-sources' forked
phase execution
[INFO] 
[INFO] >>> maven-javadoc-plugin:3.8.0:javadoc > generate-sources @ checkstyle >>>
[INFO] 
[INFO] --- tidy-maven-plugin:1.3.0:check (validate) @ checkstyle ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.5.0:enforce (enforce-maven) @ checkstyle ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] 
[INFO] --- maven-enforcer-plugin:3.5.0:enforce (enforce-versions) @ checkstyle ---
[INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed
[INFO] 
[INFO] --- xml-maven-plugin:1.1.0:check-format (default) @ checkstyle ---
Error:  /home/runner/work/checkstyle/checkstyle/./src/main/java/checkstyle/src/xdocs/
   property_types.xml:717,8: Insert 14 spaces. Expected 18 found 4 spaces before start element <b>

attention to Running command: mvn -e --no-transfer-progress --batch-mode site ........

https://github.com/checkstyle/test-configs/blob/5a9df17a1023c6cd12e9d61b1aeba0c36d6f60ef/diff-java-tool/src/main/java/com/github/checkstyle/difftool/DiffTool.java#L785 make it: mvn -e --no-transfer-progress --batch-mode -Dxml.skip=true site

romani commented 3 months ago

@relentless-pursuit

I removed from repo patch-diff-report-tool folder https://github.com/checkstyle/test-configs/commit/755f67f9c00e799f9a3a621601d734bc25fc5b14 as you suppose to get it from release page and looks like you already doing this.

relentless-pursuit commented 3 months ago

@romani, this seems to be impossible to me. i am stuck.

  // Add comprehensive excludes
        String updatedExcludes = excludes +
                ",/home/runner/work/checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/**/*" +
                ",**/src/main/java/checkstyle/src/it/resources-noncompilable/**/*" +
                ",**/checkstyle/src/it/resources-noncompilable/**/*" +
                ",**/src/it/resources-noncompilable/**/*" +
                ",**/resources-noncompilable/**/*" +
                ",**/src/test/resources-noncompilable/**/*" +
                ",**/src/it/**/*" +
                ",**/it/**/*" +
                ",**/test/resources/**/*" +
                ",**/*Input*.java" +
                ",**/*TestInput*.java" +
                ",**/inputs/**/*" +
                ",**/input/**/*" +
                ",**/Example*.java" +
                ",**/Example*.xml" +
                ",**/resources/**/*.properties" +
                ",**/resources/**/*.xml" +
                ",**/noncompilable/**/*" +
                ",**/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/**/*" +
                ",**/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/**/*";

        mvnSite.append(" -Dcheckstyle.excludes=").append(updatedExcludes);
        mvnSite.append(" -Dmaven.compiler.excludes=").append(updatedExcludes);

I added the above patterns and created the jar and deployed. And, then after that, https://github.com/checkstyle-gsoc/checkstyle/actions/runs/10255418838

I am still getting the execution of the folders.

What i observe is that even if i do very specific exclusion like this: ",**/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/**/*" +

And, i see them in maven command in logs.

Running Checkstyle on src/main/java ... with excludes {**/.ci-temp/**/*,**/resources-noncompilable/**/asttreestringprinter/**/*,**/resources-noncompilable/**/filefilters/**/*,**/resources-noncompilable/**/main/**/*,**/resources-noncompilable/**/suppressionsstringprinter/**/*,**/resources-noncompilable/**/gui/**/*,**/resources-noncompilable/**/javadocpropertiesgenerator/**/*,src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/javaparser/InputJavaParser.java,**/InputAllEscapedUnicodeCharacters.java,**/resources-noncompilable/**/javaparser/InputJavaParser.java,**/resources-noncompilable/**/checks/imports/unusedimports/InputUnusedImportsSingleWordPackage.java,**/resources-noncompilable/**/grammar/java19/*,**/resources-noncompilable/**/treewalker/**/*}
Executing Maven command: mvn -e --no-transfer-progress --batch-mode site -Dcheckstyle.config.location=/home/runner/work/checkstyle/checkstyle/.ci-temp/diff_config.xml -Dcheckstyle.excludes=**/.ci-temp/**/*,**/resources-noncompilable/**/asttreestringprinter/**/*,**/resources-noncompilable/**/filefilters/**/*,**/resources-noncompilable/**/main/**/*,**/resources-noncompilable/**/suppressionsstringprinter/**/*,**/resources-noncompilable/**/gui/**/*,**/resources-noncompilable/**/javadocpropertiesgenerator/**/*,src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/javaparser/InputJavaParser.java,**/InputAllEscapedUnicodeCharacters.java,**/resources-noncompilable/**/javaparser/InputJavaParser.java,**/resources-noncompilable/**/checks/imports/unusedimports/InputUnusedImportsSingleWordPackage.java,**/resources-noncompilable/**/grammar/java19/*,**/resources-noncompilable/**/treewalker/**/*,/home/runner/work/checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/**/*,**/src/main/java/checkstyle/src/it/resources-noncompilable/**/*,**/checkstyle/src/it/resources-noncompilable/**/*,**/src/it/resources-noncompilable/**/*,**/resources-noncompilable/**/*,**/src/test/resources-noncompilable/**/*,**/src/it/**/*,**/it/**/*,**/test/resources/**/*,**/*Input*.java,**/*TestInput*.java,**/inputs/**/*,**/input/**/*,**/Example*.java,**/Example*.xml,**/resources/**/*.properties,**/resources/**/*.xml,**/noncompilable/**/*,**/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/**/*,**/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/**/* -Dmaven.compiler.excludes=**/.ci-temp/**/*,**/resources-noncompilable/**/asttreestringprinter/**/*,**/resources-noncompilable/**/filefilters/**/*,**/resources-noncompilable/**/main/**/*,**/resources-noncompilable/**/suppressionsstringprinter/**/*,**/resources-noncompilable/**/gui/**/*,**/resources-noncompilable/**/javadocpropertiesgenerator/**/*,src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/javaparser/InputJavaParser.java,**/InputAllEscapedUnicodeCharacters.java,**/resources-noncompilable/**/javaparser/InputJavaParser.java,**/resources-noncompilable/**/checks/imports/unusedimports/InputUnusedImportsSingleWordPackage.java,**/resources-noncompilable/**/grammar/java19/*,**/resources-noncompilable/**/treewalker/**/*,/home/runner/work/checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/**/*,**/src/main/java/checkstyle/src/it/resources-noncompilable/**/*,**/checkstyle/src/it/resources-noncompilable/**/*,**/src/it/resources-noncompilable/**/*,**/resources-noncompilable/**/*,**/src/test/resources-noncompilable/**/*,**/src/it/**/*,**/it/**/*,**/test/resources/**/*,**/*Input*.java,**/*TestInput*.java,**/inputs/**/*,**/input/**/*,**/Example*.java,**/Example*.xml,**/resources/**/*.properties,**/resources/**/*.xml,**/noncompilable/**/*,**/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/**/*,**/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/**/* -Dcheckstyle.version=10.18.0-SNAPSHOT -Dmaven.javadoc.skip=true -Dxml.skip=true
Running command: mvn -e --no-transfer-progress --batch-mode site -Dcheckstyle.config.location=/home/runner/work/checkstyle/checkstyle/.ci-temp/diff_config.xml -Dcheckstyle.excludes=**/.ci-temp/**/*,**/resources-noncompilable/**/asttreestringprinter/**/*,**/resources-noncompilable/**/filefilters/**/*,**/resources-noncompilable/**/main/**/*,**/resources-noncompilable/**/suppressionsstringprinter/**/*,**/resources-noncompilable/**/gui/**/*,**/resources-noncompilable/**/javadocpropertiesgenerator/**/*,src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/javaparser/InputJavaParser.java,**/InputAllEscapedUnicodeCharacters.java,**/resources-noncompilable/**/javaparser/InputJavaParser.java,**/resources-noncompilable/**/checks/imports/unusedimports/InputUnusedImportsSingleWordPackage.java,**/resources-noncompilable/**/grammar/java19/*,**/resources-noncompilable/**/treewalker/**/*,/home/runner/work/checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/**/*,**/src/main/java/checkstyle/src/it/resources-noncompilable/**/*,**/checkstyle/src/it/resources-noncompilable/**/*,**/src/it/resources-noncompilable/**/*,**/resources-noncompilable/**/*,**/src/test/resources-noncompilable/**/*,**/src/it/**/*,**/it/**/*,**/test/resources/**/*,**/*Input*.java,**/*TestInput*.java,**/inputs/**/*,**/input/**/*,**/Example*.java,**/Example*.xml,**/resources/**/*.properties,**/resources/**/*.xml,**/noncompilable/**/*,**/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/**/*,**/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/**/* -Dmaven.compiler.excludes=**/.ci-temp/**/*,**/resources-noncompilable/**/asttreestringprinter/**/*,**/resources-noncompilable/**/filefilters/**/*,**/resources-noncompilable/**/main/**/*,**/resources-noncompilable/**/suppressionsstringprinter/**/*,**/resources-noncompilable/**/gui/**/*,**/resources-noncompilable/**/javadocpropertiesgenerator/**/*,src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/javaparser/InputJavaParser.java,**/InputAllEscapedUnicodeCharacters.java,**/resources-noncompilable/**/javaparser/InputJavaParser.java,**/resources-noncompilable/**/checks/imports/unusedimports/InputUnusedImportsSingleWordPackage.java,**/resources-noncompilable/**/grammar/java19/*,**/resources-noncompilable/**/treewalker/**/*,/home/runner/work/checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/**/*,**/src/main/java/checkstyle/src/it/resources-noncompilable/**/*,**/checkstyle/src/it/resources-noncompilable/**/*,**/src/it/resources-noncompilable/**/*,**/resources-noncompilable/**/*,**/src/test/resources-noncompilable/**/*,**/src/it/**/*,**/it/**/*,**/test/resources/**/*,**/*Input*.java,**/*TestInput*.java,**/inputs/**/*,**/input/**/*,**/Example*.java,**/Example*.xml,**/resources/**/*.properties,**/resources/**/*.xml,**/noncompilable/**/*,**/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/**/*,**/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/**/* -Dcheckstyle.version=10.18.0-SNAPSHOT -Dmaven.javadoc.skip=true -Dxml.skip=true

But, still getting the error.

Error:  COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
Error:  /home/runner/work/checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[9,5] illegal start of expression
Error:  /home/runner/work/checkstyle/checkstyle/src/main/java/checkstyle/src/it/resources-noncompilable/com/google/checkstyle/test/chapter3filestructure/rule3421overloadsplit/InputOverloadsNeverSplitRecords.java:[9,12] invalid method declaration; return type required

Please help.

Attached the workflow too. https://github.com/checkstyle-gsoc/checkstyle/blob/master/.github/workflows/regression-report.yml

romani commented 2 months ago

@relentless-pursuit , please push all code that you have on your local to gitthub let me see all details.

romani commented 2 months ago

@relentless-pursuit , please start migration of regression-report.yml to use jar.

We also need to add execution of jar to this repository ci.yml file, after "build", as new step. Goal is just to keep testing that jar is executable and can accept some parameters and finish execution without exceptions.