Open ZhongRuoyu opened 1 year ago
I am using
openjdk 23 2024-09-17
OpenJDK Runtime Environment Homebrew (build 23)
OpenJDK 64-Bit Server VM Homebrew (build 23, mixed mode, sharing)
on an Apple Silicon M3 machine.
I get the following output when I try to build ltex-ls
16:08:47 ltex-ls (git)-[develop]-: mvn -B -e -DskipTests package
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------< org.bsplines:ltexls >-------------------------
[INFO] Building org.bsplines:ltexls 16.0.1-alpha.1.develop
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- dependency:3.5.0:properties (default) @ ltexls ---
[INFO]
[INFO] --- jacoco:0.8.8:prepare-agent (prepare-agent) @ ltexls ---
[INFO] argLine set to -javaagent:/Users/mocenigo/.m2/repository/org/jacoco/org.jacoco.agent/0.8.8/org.jacoco.agent-0.8.8-runtime.jar=destfile=/Users/mocenigo/Source/ZED/ltex-ls/target/jacoco.exec
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ ltexls ---
[INFO] Copying 12 resources from src/main/resources to target/classes
[INFO]
[INFO] --- compiler:3.10.1:compile (default-compile) @ ltexls ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- kotlin:1.8.10:compile (compile) @ ltexls ---
[WARNING] Using experimental Kotlin incremental compilation
[WARNING] Incremental compilation was attempted but failed:
Failed to compute files to recompile: java.io.FileNotFoundException: /Users/mocenigo/Source/ZED/ltex-ls/target/kotlin-ic/compile/last-build.bin (No such file or directory)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:159)
at org.jetbrains.kotlin.incremental.BuildInfo$Companion.read(BuildInfo.kt:47)
at org.jetbrains.kotlin.incremental.IncrementalJvmCompilerRunner.calculateSourcesToCompileImpl(IncrementalJvmCompilerRunner.kt:276)
at org.jetbrains.kotlin.incremental.IncrementalJvmCompilerRunner.calculateSourcesToCompile(IncrementalJvmCompilerRunner.kt:198)
at org.jetbrains.kotlin.incremental.IncrementalJvmCompilerRunner.calculateSourcesToCompile(IncrementalJvmCompilerRunner.kt:131)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.tryCompileIncrementally(IncrementalCompilerRunner.kt:170)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compile(IncrementalCompilerRunner.kt:89)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compile$default(IncrementalCompilerRunner.kt:80)
at org.jetbrains.kotlin.incremental.IncrementalJvmCompilerRunnerKt.makeIncrementally(IncrementalJvmCompilerRunner.kt:112)
at org.jetbrains.kotlin.maven.K2JVMCompileMojo.runIncrementalCompiler(K2JVMCompileMojo.java:270)
at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execCompiler(K2JVMCompileMojo.java:234)
at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execCompiler(K2JVMCompileMojo.java:55)
at org.jetbrains.kotlin.maven.KotlinCompileMojoBase.execute(KotlinCompileMojoBase.java:209)
at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execute(K2JVMCompileMojo.java:222)
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 java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:255)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:201)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:361)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:314)
Falling back to non-incremental compilation (reason = IC_FAILED_TO_COMPUTE_FILES_TO_RECOMPILE)
To help us fix this issue, please file a bug at https://youtrack.jetbrains.com/issues/KT with the above stack trace.
(Be sure to search for the above exception in existing issues first to avoid filing duplicated bugs.)
[INFO] Kotlin compile iteration: /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/LtexLanguageServerLauncher.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/client/LtexLanguageClient.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/languagetool/LanguageToolHttpInterface.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/languagetool/LanguageToolInterface.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/languagetool/LanguageToolJavaInterface.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/languagetool/LanguageToolRuleMatch.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/AnnotatedTextFragment.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/CharacterBasedCodeAnnotatedTextBuilder.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/CodeAnnotatedTextBuilder.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/CodeFragment.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/CodeFragmentizer.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/DummyGenerator.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/RegexCodeFragmentizer.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/bibtex/BibtexFragmentizer.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/bibtex/BibtexFragmentizerDefaults.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/gitcommit/GitCommitAnnotatedTextBuilder.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/gitcommit/GitCommitFragmentizer.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/html/HtmlAnnotatedTextBuilder.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/html/HtmlFragmentizer.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexAnnotatedTextBuilder.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexAnnotatedTextBuilderDefaults.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexCommandSignature.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexCommandSignatureMatch.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexCommandSignatureMatcher.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexEnvironmentSignature.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexFragmentizer.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexPackageOption.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexPackageOptionsParser.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/markdown/LtexMarkdownDisplayMath.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/markdown/LtexMarkdownDisplayMathParser.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/markdown/LtexMarkdownExtension.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/markdown/LtexMarkdownInlineMath.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/markdown/LtexMarkdownInlineMathParser.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/markdown/LtexMarkdownOptions.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/markdown/MarkdownAnnotatedTextBuilder.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/markdown/MarkdownAnnotatedTextBuilderDefaults.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/markdown/MarkdownFragmentizer.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/markdown/MarkdownNodeSignature.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/nop/NopAnnotatedTextBuilder.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/nop/NopFragmentizer.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/org/OrgAnnotatedTextBuilder.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/org/OrgFragmentizer.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/plaintext/PlaintextAnnotatedTextBuilder.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/plaintext/PlaintextFragmentizer.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/program/ProgramAnnotatedTextBuilder.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/program/ProgramCommentRegexs.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/program/ProgramFragmentizer.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/restructuredtext/RestructuredtextAnnotatedTextBuilder.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/restructuredtext/RestructuredtextFragmentizer.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/server/CodeActionProvider.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/server/CompletionListProvider.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/server/DelayedDiagnosticsPublisherRunnable.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/server/DocumentChecker.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/server/LtexLanguageServer.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/server/LtexTextDocumentItem.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/server/LtexTextDocumentService.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/server/LtexWorkspaceService.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/server/NonServerChecker.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/settings/HiddenFalsePositive.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/settings/Settings.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/settings/SettingsDifference.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/settings/SettingsManager.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/tools/ExcludeFromGeneratedCoverage.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/tools/FileIo.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/tools/I18n.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/tools/Logging.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/tools/TeeInputStream.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/tools/TeeOutputStream.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/tools/Tools.kt, /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/tools/VersionProvider.kt
[INFO] Exit code: COMPILATION_ERROR
[ERROR] warnings found and -Werror specified
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/languagetool/LanguageToolHttpInterface.kt: (44, 7) 'constructor URL(URL!, String!)' is deprecated. Deprecated in Java
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/languagetool/LanguageToolHttpInterface.kt: (44, 11) 'constructor URL(String!)' is deprecated. Deprecated in Java
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/html/HtmlAnnotatedTextBuilder.kt: (106, 31) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexAnnotatedTextBuilder.kt: (257, 26) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexAnnotatedTextBuilder.kt: (442, 22) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexAnnotatedTextBuilder.kt: (445, 22) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexAnnotatedTextBuilder.kt: (547, 22) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexAnnotatedTextBuilder.kt: (698, 28) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexAnnotatedTextBuilder.kt: (774, 50) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexAnnotatedTextBuilder.kt: (778, 20) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexAnnotatedTextBuilder.kt: (785, 20) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexCommandSignature.kt: (131, 25) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexCommandSignature.kt: (136, 36) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexCommandSignature.kt: (137, 36) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexFragmentizer.kt: (233, 21) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexFragmentizer.kt: (234, 20) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexFragmentizer.kt: (264, 25) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexFragmentizer.kt: (265, 24) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexFragmentizer.kt: (270, 54) 'removeLast(): E!' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexFragmentizer.kt: (271, 47) 'removeLast(): E!' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexFragmentizer.kt: (289, 54) 'removeLast(): E!' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/latex/LatexFragmentizer.kt: (290, 47) 'removeLast(): E!' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/markdown/LtexMarkdownDisplayMathParser.kt: (138, 62) 'reversed(): (Mutable)List<E!>!' is deprecated. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/markdown/MarkdownAnnotatedTextBuilder.kt: (156, 26) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/org/OrgAnnotatedTextBuilder.kt: (120, 29) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/org/OrgAnnotatedTextBuilder.kt: (142, 29) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/org/OrgAnnotatedTextBuilder.kt: (151, 31) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/org/OrgAnnotatedTextBuilder.kt: (153, 31) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/org/OrgAnnotatedTextBuilder.kt: (163, 29) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/org/OrgAnnotatedTextBuilder.kt: (179, 31) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/org/OrgAnnotatedTextBuilder.kt: (206, 29) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/org/OrgAnnotatedTextBuilder.kt: (432, 64) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[WARNING] /Users/mocenigo/Source/ZED/ltex-ls/src/main/kotlin/org/bsplines/ltexls/parsing/org/OrgAnnotatedTextBuilder.kt: (443, 28) 'addLast(E!): Unit' is deprecated. Overrides deprecated member in 'kotlin.collections.AbstractMutableList'. This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version
[INFO] Compiled 70 Kotlin files using incremental compiler
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.570 s
[INFO] Finished at: 2024-10-06T16:09:05+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jetbrains.kotlin:kotlin-maven-plugin:1.8.10:compile (compile) on project ltexls: Compilation failure
[ERROR] warnings found and -Werror specified
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jetbrains.kotlin:kotlin-maven-plugin:1.8.10:compile (compile) on project ltexls: Compilation failure
warnings found and -Werror specified
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.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
at java.lang.reflect.Method.invoke (Method.java:580)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
Caused by: org.jetbrains.kotlin.maven.KotlinCompilationFailureException: Compilation failure
warnings found and -Werror specified
at org.jetbrains.kotlin.maven.MavenPluginLogMessageCollector.throwKotlinCompilerException (MavenPluginLogMessageCollector.java:111)
at org.jetbrains.kotlin.maven.KotlinCompileMojoBase.execute (KotlinCompileMojoBase.java:212)
at org.jetbrains.kotlin.maven.K2JVMCompileMojo.execute (K2JVMCompileMojo.java:222)
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.DirectMethodHandleAccessor.invoke (DirectMethodHandleAccessor.java:103)
at java.lang.reflect.Method.invoke (Method.java:580)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
[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
Describe the bug A clear and concise description of what the bug is.
While packaging OpenJDK 20 for Homebrew at https://github.com/Homebrew/homebrew-core/pull/126319, the following LTeX LS build failure was noticed (full logs available here):
This is related to the deprecation of
java.net.URL
'spublic URL(String)
andpublic URL(URL, String)
constructors.Steps to reproduce Steps to reproduce the behavior:
python3.11 -u tools/createCompletionLists.py
mvn -B -e -DskipTests package
Expected behavior A clear and concise description of what you expected to happen.
LTeX LS should be successfully built.
Sample document If the bug occurs for a specific document (e.g. LaTeX), please paste it here. If your document is very long or confidential, please create and attach a smaller example for which the bug still occurs so that we can reproduce it.
N/A
LTeX configuration Please paste all configuration settings starting with
ltex.
from yoursettings.json
. You can help us by temporarily removing some irrelevant settings from yoursettings.json
and see if the bug still occurs.N/A
LTeX LS log Paste the log (output) of LTeX LS here:
N/A
Version information List here the version information of the relevant software.
openjdk 20 2023-03-21
Additional context/information You can add any other context or information about the problem here.