Skip to content

Instantly share code, notes, and snippets.

@nrmancuso
Created December 20, 2021 17:48
Show Gist options
  • Save nrmancuso/f31dfa2ce8788223cc272cf3f718b14f to your computer and use it in GitHub Desktop.
Save nrmancuso/f31dfa2ce8788223cc272cf3f718b14f to your computer and use it in GitHub Desktop.
[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 9.3-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The artifact junit:junit-dep:jar:4.11-beta-1 has been relocated to junit:junit:jar:4.11-beta-1: The artifact junit:junit does not contain Hamcrest anymore but declares a dependency to Hamcrest. Thus, junit:junit-dep has become obsolete.
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ checkstyle ---
[INFO] Deleting /home/nick/IdeaProjects/checkstyle/target
[INFO]
[INFO] --- tidy-maven-plugin:1.1.0:check (validate) @ checkstyle ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-maven) @ checkstyle ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-versions) @ checkstyle ---
[INFO]
[INFO] --- xml-maven-plugin:1.0.2:check-format (default) @ checkstyle ---
[INFO]
[INFO] --- antlr4-maven-plugin:4.9.0:antlr4 (default) @ checkstyle ---
[INFO] ANTLR 4: Processing source directory /home/nick/IdeaProjects/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-maven-plugin:3.2.0:add-source (add-source) @ checkstyle ---
[INFO] Source directory: /home/nick/IdeaProjects/checkstyle/target/generated-sources/antlr added.
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ checkstyle ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 375 resources
[INFO]
[INFO] --- build-helper-maven-plugin:3.2.0:add-test-source (add-test-source) @ checkstyle ---
[INFO] Test Source directory: /home/nick/IdeaProjects/checkstyle/src/test/resources added.
[INFO]
[INFO] --- build-helper-maven-plugin:3.2.0:add-test-source (add-it-test-source) @ checkstyle ---
[INFO] Test Source directory: /home/nick/IdeaProjects/checkstyle/src/it/java added.
[INFO]
[INFO] --- build-helper-maven-plugin:3.2.0:add-test-source (add-it-test-resource) @ checkstyle ---
[INFO] Test Source directory: /home/nick/IdeaProjects/checkstyle/src/it/resources added.
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ checkstyle ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 420 source files to /home/nick/IdeaProjects/checkstyle/target/classes
[INFO] /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/DefaultConfiguration.java: Some input files use or override a deprecated API.
[INFO] /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/DefaultConfiguration.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/api/AutomaticBean.java: /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/api/AutomaticBean.java uses unchecked or unsafe operations.
[INFO] /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/api/AutomaticBean.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/JavadocDetailNodeParser.java:[133,34] cannot find symbol
symbol: method getCtx()
location: variable recognitionEx of type org.antlr.v4.runtime.RecognitionException
[ERROR] /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/JavadocDetailNodeParser.java:[482,50] cannot find symbol
symbol: method getCtx()
location: variable exception of type org.antlr.v4.runtime.RecognitionException
[ERROR] /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/JavadocDetailNodeParser.java:[605,21] name clash: syntaxError(org.antlr.v4.runtime.Recognizer<?,?>,java.lang.Object,int,int,java.lang.String,org.antlr.v4.runtime.RecognitionException) in com.puppycrawl.tools.checkstyle.JavadocDetailNodeParser.DescriptiveErrorListener and <T>syntaxError(org.antlr.v4.runtime.Recognizer<T,?>,T,int,int,java.lang.String,org.antlr.v4.runtime.RecognitionException) in org.antlr.v4.runtime.ANTLRErrorListener have the same erasure, yet neither overrides the other
[ERROR] /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/JavadocDetailNodeParser.java:[604,9] method does not override or implement a method from a supertype
[ERROR] /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/JavadocDetailNodeParser.java:[619,37] cannot find symbol
symbol: method getCtx()
location: variable ex of type org.antlr.v4.runtime.RecognitionException
[ERROR] /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/JavaParser.java:[247,21] name clash: syntaxError(org.antlr.v4.runtime.Recognizer<?,?>,java.lang.Object,int,int,java.lang.String,org.antlr.v4.runtime.RecognitionException) in com.puppycrawl.tools.checkstyle.JavaParser.CheckstyleErrorListener and <T>syntaxError(org.antlr.v4.runtime.Recognizer<T,?>,T,int,int,java.lang.String,org.antlr.v4.runtime.RecognitionException) in org.antlr.v4.runtime.ANTLRErrorListener have the same erasure, yet neither overrides the other
[ERROR] /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/JavaParser.java:[246,9] method does not override or implement a method from a supertype
[ERROR] /home/nick/IdeaProjects/checkstyle/target/generated-sources/antlr/com/puppycrawl/tools/checkstyle/grammar/java/JavaLanguageLexer.java:[232,63] cannot find symbol
symbol: variable _decisionToDFA
location: class com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageLexer
[ERROR] /home/nick/IdeaProjects/checkstyle/target/generated-sources/antlr/com/puppycrawl/tools/checkstyle/grammar/java/JavaLanguageLexer.java:[232,79] cannot find symbol
symbol: variable _sharedContextCache
location: class com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageLexer
[ERROR] /home/nick/IdeaProjects/checkstyle/target/generated-sources/antlr/com/puppycrawl/tools/checkstyle/grammar/javadoc/JavadocLexer.java:[213,63] cannot find symbol
symbol: variable _decisionToDFA
location: class com.puppycrawl.tools.checkstyle.grammar.javadoc.JavadocLexer
[ERROR] /home/nick/IdeaProjects/checkstyle/target/generated-sources/antlr/com/puppycrawl/tools/checkstyle/grammar/javadoc/JavadocLexer.java:[213,79] cannot find symbol
symbol: variable _sharedContextCache
location: class com.puppycrawl.tools.checkstyle.grammar.javadoc.JavadocLexer
[ERROR] /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/JavaAstVisitor.java:[310,49] incompatible types: java.util.ListIterator<capture#1 of ? extends com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.TypeBoundTypeContext> cannot be converted to java.util.Iterator<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.TypeBoundTypeContext>
[ERROR] /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/grammar/CrAwareLexerSimulator.java:[49,9] no suitable constructor found for LexerATNSimulator(org.antlr.v4.runtime.Lexer,org.antlr.v4.runtime.atn.ATN,org.antlr.v4.runtime.dfa.DFA[],org.antlr.v4.runtime.atn.PredictionContextCache)
constructor org.antlr.v4.runtime.atn.LexerATNSimulator.LexerATNSimulator(org.antlr.v4.runtime.atn.ATN) is not applicable
(actual and formal argument lists differ in length)
constructor org.antlr.v4.runtime.atn.LexerATNSimulator.LexerATNSimulator(org.antlr.v4.runtime.Lexer,org.antlr.v4.runtime.atn.ATN) is not applicable
(actual and formal argument lists differ in length)
[INFO] 13 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.834 s
[INFO] Finished at: 2021-12-20T12:47:20-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project checkstyle: Compilation failure: Compilation failure:
[ERROR] /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/JavadocDetailNodeParser.java:[133,34] cannot find symbol
[ERROR] symbol: method getCtx()
[ERROR] location: variable recognitionEx of type org.antlr.v4.runtime.RecognitionException
[ERROR] /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/JavadocDetailNodeParser.java:[482,50] cannot find symbol
[ERROR] symbol: method getCtx()
[ERROR] location: variable exception of type org.antlr.v4.runtime.RecognitionException
[ERROR] /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/JavadocDetailNodeParser.java:[605,21] name clash: syntaxError(org.antlr.v4.runtime.Recognizer<?,?>,java.lang.Object,int,int,java.lang.String,org.antlr.v4.runtime.RecognitionException) in com.puppycrawl.tools.checkstyle.JavadocDetailNodeParser.DescriptiveErrorListener and <T>syntaxError(org.antlr.v4.runtime.Recognizer<T,?>,T,int,int,java.lang.String,org.antlr.v4.runtime.RecognitionException) in org.antlr.v4.runtime.ANTLRErrorListener have the same erasure, yet neither overrides the other
[ERROR] /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/JavadocDetailNodeParser.java:[604,9] method does not override or implement a method from a supertype
[ERROR] /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/JavadocDetailNodeParser.java:[619,37] cannot find symbol
[ERROR] symbol: method getCtx()
[ERROR] location: variable ex of type org.antlr.v4.runtime.RecognitionException
[ERROR] /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/JavaParser.java:[247,21] name clash: syntaxError(org.antlr.v4.runtime.Recognizer<?,?>,java.lang.Object,int,int,java.lang.String,org.antlr.v4.runtime.RecognitionException) in com.puppycrawl.tools.checkstyle.JavaParser.CheckstyleErrorListener and <T>syntaxError(org.antlr.v4.runtime.Recognizer<T,?>,T,int,int,java.lang.String,org.antlr.v4.runtime.RecognitionException) in org.antlr.v4.runtime.ANTLRErrorListener have the same erasure, yet neither overrides the other
[ERROR] /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/JavaParser.java:[246,9] method does not override or implement a method from a supertype
[ERROR] /home/nick/IdeaProjects/checkstyle/target/generated-sources/antlr/com/puppycrawl/tools/checkstyle/grammar/java/JavaLanguageLexer.java:[232,63] cannot find symbol
[ERROR] symbol: variable _decisionToDFA
[ERROR] location: class com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageLexer
[ERROR] /home/nick/IdeaProjects/checkstyle/target/generated-sources/antlr/com/puppycrawl/tools/checkstyle/grammar/java/JavaLanguageLexer.java:[232,79] cannot find symbol
[ERROR] symbol: variable _sharedContextCache
[ERROR] location: class com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageLexer
[ERROR] /home/nick/IdeaProjects/checkstyle/target/generated-sources/antlr/com/puppycrawl/tools/checkstyle/grammar/javadoc/JavadocLexer.java:[213,63] cannot find symbol
[ERROR] symbol: variable _decisionToDFA
[ERROR] location: class com.puppycrawl.tools.checkstyle.grammar.javadoc.JavadocLexer
[ERROR] /home/nick/IdeaProjects/checkstyle/target/generated-sources/antlr/com/puppycrawl/tools/checkstyle/grammar/javadoc/JavadocLexer.java:[213,79] cannot find symbol
[ERROR] symbol: variable _sharedContextCache
[ERROR] location: class com.puppycrawl.tools.checkstyle.grammar.javadoc.JavadocLexer
[ERROR] /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/JavaAstVisitor.java:[310,49] incompatible types: java.util.ListIterator<capture#1 of ? extends com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.TypeBoundTypeContext> cannot be converted to java.util.Iterator<com.puppycrawl.tools.checkstyle.grammar.java.JavaLanguageParser.TypeBoundTypeContext>
[ERROR] /home/nick/IdeaProjects/checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/grammar/CrAwareLexerSimulator.java:[49,9] no suitable constructor found for LexerATNSimulator(org.antlr.v4.runtime.Lexer,org.antlr.v4.runtime.atn.ATN,org.antlr.v4.runtime.dfa.DFA[],org.antlr.v4.runtime.atn.PredictionContextCache)
[ERROR] constructor org.antlr.v4.runtime.atn.LexerATNSimulator.LexerATNSimulator(org.antlr.v4.runtime.atn.ATN) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] constructor org.antlr.v4.runtime.atn.LexerATNSimulator.LexerATNSimulator(org.antlr.v4.runtime.Lexer,org.antlr.v4.runtime.atn.ATN) is not applicable
[ERROR] (actual and formal argument lists differ in length)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment