This thread is for updates and discussions about the eventual Scala 2.13.16 release.
As of yet, we don’t know much about the release’s likely contents or timing. If no followup to 2.13.15 needs to be rushed out, then a typical timeframe might be 3–6 months.
We’ll need to build Scala 2.13.16 to support Scala 3.6 in the TASTy reader, but I think it can wait until after Scala 3.6.2 is out.
Reasoning:
3.6.0 was mistakenly published and is now withdrawn
3.6.1 was issued merely as damage control (as will be explained further in a postmortem blog post this week) and is effectively an RC rather than a “real” release
3.6.2 will be the first 3.6.x release intended for general use
So I think it’s fine for us to wait, especially since it hasn’t been very long since 2.13.15.
We are actively winding down the scala/scala PR queue for 2.13.16. If there’s anything you’re hoping will get in, the window of opportunity is starting to close.
(How long you have depends on the nature of the change, how long it might take to review, etc.)
We would be especially grateful if Windows users would make sure the REPL isn’t broken in your environment because of the JLine changes.
Because of the holidays, we’ll extend the usual testing periods. We will publish the final release to Maven Central no sooner than Fri Jan 3, and then fully announce no sooner than Wed Jan 8.
When trying to build Scala Native I get java.lang.NoClassDefFoundError: xsbti/AnalysisCallback3 is it a known issue?
I’m using sbt 1.10.2, full stacktrace below
sbt:scala-native> last utilJVM2_13/Compile/compileIncremental
[debug] [zinc] IncrementalCompile -----------
[debug] IncrementalCompile.incrementalCompile
[debug] previous = Stamps for: 0 products, 0 sources, 0 libraries
[debug] current source = Set(${BASE}/util/src/main/scala/scala/scalanative/util/ScalaStdlibCompat.scala, ${BASE}/util/src/main/scala/scala/scalanative/io/VirtualDirectory.scala, ${BASE}/util/src/main/scala/scala/scalanative/util/package.scala, ${BASE}/util/src/main/scala/scala/scalanative/util/ScopedVar.scala, ${BASE}/util/src/main/scala/scala/scalanative/util/UnreachableException.scala, ${BASE}/util/src/main/scala/scala/scalanative/util/Scope.scala, ${BASE}/util/src/main/scala/scala/scalanative/util/UnsupportedException.scala, ${BASE}/util/src/main/scala/scala/scalanative/util/And.scala, ${BASE}/util/src/main/scala/scala/scalanative/util/StringUtils.scala, ${BASE}/util/src/main/scala/scala/scalanative/util/ShowBuilder.scala, ${BASE}/util/src/main/scala/scala/scalanative/io/package.scala, ${BASE}/util/src/main/scala/scala/scalanative/util/TypeOps.scala)
[debug] > initialChanges = InitialChanges(Changes(added = Set(${BASE}/util/src/main/scala/scala/scalanative/io/VirtualDirectory.scala, ${BASE}/util/src/main/scala/scala/scalanative/util/UnreachableException.scala, ${BASE}/util/src/main/scala/scala/scalanative/util/UnsupportedException.scala, ${BASE}/util/src/main/scala/scala/scalanative/util/ShowBuilder.scala, ${BASE}/util/src/main/scala/scala/scalanative/util/ScopedVar.scala, ${BASE}/util/src/main/scala/scala/scalanative/util/Scope.scala, ${BASE}/util/src/main/scala/scala/scalanative/util/ScalaStdlibCompat.scala, ${BASE}/util/src/main/scala/scala/scalanative/util/And.scala, ${BASE}/util/src/main/scala/scala/scalanative/util/TypeOps.scala, ${BASE}/util/src/main/scala/scala/scalanative/util/StringUtils.scala, ${BASE}/util/src/main/scala/scala/scalanative/io/package.scala, ${BASE}/util/src/main/scala/scala/scalanative/util/package.scala), removed = Set(), changed = Set(), unmodified = ...),Set(),Set(),API Changes: Set())
[debug] Full compilation, no sources in previous analysis.
[debug] all 12 sources are invalidated
[debug] Initial set of included nodes:
[debug] Recompiling all sources: number of invalidated sources > 50.0 percent of all sources
[debug] compilation cycle 1
[info] compiling 12 Scala sources to /Users/wmazur/projects/scala-native/util/jvm/.2.13/target/scala-2.13/classes ...
[debug] Returning already retrieved and compiled bridge: /Users/wmazur/Library/Caches/Coursier/v1/https/scala-ci.typesafe.com/artifactory/scala-integration/org/scala-lang/scala2-sbt-bridge/2.13.16-bin-1f34012/scala2-sbt-bridge-2.13.16-bin-1f34012.jar.
[debug] [zinc] Running cached compiler 358e36a for Scala compiler version 2.13.16-bin-1f34012
[debug] [zinc] The Scala compiler is invoked with:
[debug] -deprecation
[debug] -unchecked
[debug] -feature
[debug] -Xfatal-warnings
[debug] -encoding
[debug] utf8
[debug] -release:8
[debug] -Wconf:cat=deprecation&msg=method lineStream_!:s
[debug] -Wconf:cat=deprecation&msg=class|object OpenHashMap:s
[debug] -Wconf:cat=deprecation&msg=class Stream:s
[debug] -Wconf:cat=deprecation&msg=method retain in trait SetOps:s
[debug] -classpath
[debug] /Users/wmazur/projects/scala-native/util/jvm/.2.13/target/scala-2.13/classes:/Users/wmazur/Library/Caches/Coursier/v1/https/scala-ci.typesafe.com/artifactory/scala-integration/org/scala-lang/scala-library/2.13.16-bin-1f34012/scala-library-2.13.16-bin-1f34012.jar
[error] ## Exception when compiling 12 sources to /Users/wmazur/projects/scala-native/util/jvm/.2.13/target/scala-2.13/classes
[error] java.lang.NoClassDefFoundError: xsbti/AnalysisCallback3
[error] scala.tools.xsbt.ZincCompiler.getSourceFile(CallbackGlobal.scala:88)
[error] scala.tools.nsc.Global$Run.$anonfun$compileFiles$1(Global.scala:1651)
[error] scala.tools.nsc.Global$Run.compileFiles(Global.scala:1651)
[error] scala.tools.xsbt.CachedCompiler0.run(CompilerBridge.scala:176)
[error] scala.tools.xsbt.CachedCompiler0.run(CompilerBridge.scala:139)
[error] scala.tools.xsbt.CompilerBridge.run(CompilerBridge.scala:43)
[error] sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:91)
[error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$7(MixedAnalyzingCompiler.scala:196)
[error] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
[error] sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:251)
[error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:186)
[error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4$adapted(MixedAnalyzingCompiler.scala:166)
[error] sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:241)
[error] sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:166)
[error] sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:214)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:534)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:534)
[error] sbt.internal.inc.Incremental$.$anonfun$apply$3(Incremental.scala:178)
[error] sbt.internal.inc.Incremental$.$anonfun$apply$3$adapted(Incremental.scala:176)
[error] sbt.internal.inc.Incremental$$anon$2.run(Incremental.scala:454)
[error] sbt.internal.inc.IncrementalCommon$CycleState.next(IncrementalCommon.scala:117)
[error] sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:56)
[error] sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:52)
[error] sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:265)
[error] sbt.internal.inc.Incremental$.$anonfun$incrementalCompile$8(Incremental.scala:409)
[error] sbt.internal.inc.Incremental$.withClassfileManager(Incremental.scala:496)
[error] sbt.internal.inc.Incremental$.incrementalCompile(Incremental.scala:396)
[error] sbt.internal.inc.Incremental$.apply(Incremental.scala:170)
[error] sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:534)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:488)
[error] sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:332)
[error] sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:425)
[error] sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:137)
[error] sbt.Defaults$.compileIncrementalTaskImpl(Defaults.scala:2427)
[error] sbt.Defaults$.$anonfun$compileIncrementalTask$2(Defaults.scala:2377)
[error] sbt.internal.server.BspCompileTask$.$anonfun$compute$1(BspCompileTask.scala:41)
[error] sbt.internal.io.Retry$.apply(Retry.scala:47)
[error] sbt.internal.io.Retry$.apply(Retry.scala:29)
[error] sbt.internal.io.Retry$.apply(Retry.scala:24)
[error] sbt.internal.server.BspCompileTask$.compute(BspCompileTask.scala:41)
[error] sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:2375)
[error] scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:63)
[error] sbt.std.Transform$$anon$4.work(Transform.scala:69)
[error] sbt.Execute.$anonfun$submit$2(Execute.scala:283)
[error] sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
[error] sbt.Execute.work(Execute.scala:292)
[error] sbt.Execute.$anonfun$submit$1(Execute.scala:283)
[error] sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
[error] java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
[error] java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[error] java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[error] java.base/java.lang.Thread.run(Thread.java:833)
[error]
[error] java.lang.NoClassDefFoundError: xsbti/AnalysisCallback3
[error] at scala.tools.xsbt.ZincCompiler.getSourceFile(CallbackGlobal.scala:88)
[error] at scala.tools.nsc.Global$Run.$anonfun$compileFiles$1(Global.scala:1651)
[error] at scala.tools.nsc.Global$Run.compileFiles(Global.scala:1651)
[error] at scala.tools.xsbt.CachedCompiler0.run(CompilerBridge.scala:176)
[error] at scala.tools.xsbt.CachedCompiler0.run(CompilerBridge.scala:139)
[error] at scala.tools.xsbt.CompilerBridge.run(CompilerBridge.scala:43)
[error] at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:91)
[error] at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$7(MixedAnalyzingCompiler.scala:196)
[error] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
[error] at sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:251)
[error] at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:186)
[error] at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4$adapted(MixedAnalyzingCompiler.scala:166)
[error] at sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:241)
[error] at sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:166)
[error] at sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:214)
[error] at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:534)
[error] at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:534)
[error] at sbt.internal.inc.Incremental$.$anonfun$apply$3(Incremental.scala:178)
[error] at sbt.internal.inc.Incremental$.$anonfun$apply$3$adapted(Incremental.scala:176)
[error] at sbt.internal.inc.Incremental$$anon$2.run(Incremental.scala:454)
[error] at sbt.internal.inc.IncrementalCommon$CycleState.next(IncrementalCommon.scala:117)
[error] at sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:56)
[error] at sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:52)
[error] at sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:265)
[error] at sbt.internal.inc.Incremental$.$anonfun$incrementalCompile$8(Incremental.scala:409)
[error] at sbt.internal.inc.Incremental$.withClassfileManager(Incremental.scala:496)
[error] at sbt.internal.inc.Incremental$.incrementalCompile(Incremental.scala:396)
[error] at sbt.internal.inc.Incremental$.apply(Incremental.scala:170)
[error] at sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:534)
[error] at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:488)
[error] at sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:332)
[error] at sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:425)
[error] at sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:137)
[error] at sbt.Defaults$.compileIncrementalTaskImpl(Defaults.scala:2427)
[error] at sbt.Defaults$.$anonfun$compileIncrementalTask$2(Defaults.scala:2377)
[error] at sbt.internal.server.BspCompileTask$.$anonfun$compute$1(BspCompileTask.scala:41)
[error] at sbt.internal.io.Retry$.apply(Retry.scala:47)
[error] at sbt.internal.io.Retry$.apply(Retry.scala:29)
[error] at sbt.internal.io.Retry$.apply(Retry.scala:24)
[error] at sbt.internal.server.BspCompileTask$.compute(BspCompileTask.scala:41)
[error] at sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:2375)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:63)
[error] at sbt.std.Transform$$anon$4.work(Transform.scala:69)
[error] at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
[error] at sbt.Execute.work(Execute.scala:292)
[error] at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
[error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[error] at java.base/java.lang.Thread.run(Thread.java:833)
[error] Caused by: java.lang.ClassNotFoundException: xsbti.AnalysisCallback3
[error] at scala.tools.xsbt.ZincCompiler.getSourceFile(CallbackGlobal.scala:88)
[error] at scala.tools.nsc.Global$Run.$anonfun$compileFiles$1(Global.scala:1651)
[error] at scala.tools.nsc.Global$Run.compileFiles(Global.scala:1651)
[error] at scala.tools.xsbt.CachedCompiler0.run(CompilerBridge.scala:176)
[error] at scala.tools.xsbt.CachedCompiler0.run(CompilerBridge.scala:139)
[error] at scala.tools.xsbt.CompilerBridge.run(CompilerBridge.scala:43)
[error] at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:91)
[error] at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$7(MixedAnalyzingCompiler.scala:196)
[error] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
[error] at sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:251)
[error] at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:186)
[error] at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4$adapted(MixedAnalyzingCompiler.scala:166)
[error] at sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:241)
[error] at sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:166)
[error] at sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:214)
[error] at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:534)
[error] at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:534)
[error] at sbt.internal.inc.Incremental$.$anonfun$apply$3(Incremental.scala:178)
[error] at sbt.internal.inc.Incremental$.$anonfun$apply$3$adapted(Incremental.scala:176)
[error] at sbt.internal.inc.Incremental$$anon$2.run(Incremental.scala:454)
[error] at sbt.internal.inc.IncrementalCommon$CycleState.next(IncrementalCommon.scala:117)
[error] at sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:56)
[error] at sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:52)
[error] at sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:265)
[error] at sbt.internal.inc.Incremental$.$anonfun$incrementalCompile$8(Incremental.scala:409)
[error] at sbt.internal.inc.Incremental$.withClassfileManager(Incremental.scala:496)
[error] at sbt.internal.inc.Incremental$.incrementalCompile(Incremental.scala:396)
[error] at sbt.internal.inc.Incremental$.apply(Incremental.scala:170)
[error] at sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:534)
[error] at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:488)
[error] at sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:332)
[error] at sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:425)
[error] at sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:137)
[error] at sbt.Defaults$.compileIncrementalTaskImpl(Defaults.scala:2427)
[error] at sbt.Defaults$.$anonfun$compileIncrementalTask$2(Defaults.scala:2377)
[error] at sbt.internal.server.BspCompileTask$.$anonfun$compute$1(BspCompileTask.scala:41)
[error] at sbt.internal.io.Retry$.apply(Retry.scala:47)
[error] at sbt.internal.io.Retry$.apply(Retry.scala:29)
[error] at sbt.internal.io.Retry$.apply(Retry.scala:24)
[error] at sbt.internal.server.BspCompileTask$.compute(BspCompileTask.scala:41)
[error] at sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:2375)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:63)
[error] at sbt.std.Transform$$anon$4.work(Transform.scala:69)
[error] at sbt.Execute.$anonfun$submit$2(Execute.scala:283)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
[error] at sbt.Execute.work(Execute.scala:292)
[error] at sbt.Execute.$anonfun$submit$1(Execute.scala:283)
[error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[error] at java.base/java.lang.Thread.run(Thread.java:833)
[error] (utilJVM2_13 / Compile / compileIncremental) java.lang.NoClassDefFoundError: xsbti/AnalysisCallback3
As you can see from my screenshot above, I have no colors.
However, I recall also checking the stable Scala 2.13 and having no colors on windows so… I don’t know… (I do see colors on my Linux machine)
Maybe someone else can confirm if this is expected.
Glad to hear it’s otherwise working; thanks for the report.
But as long as there’s no regression since 2.13.15 that’s good enough for me
But regardless, perhaps someone has some ideas for you about how to get the colors to show up. Mind moving that to a separate thread on the users forum? (Feel free to link to that thread from here.)