Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include more patch versions when testing Scala versions #1436

Merged
merged 10 commits into from
Mar 5, 2024

Conversation

lefou
Copy link
Member

@lefou lefou commented Mar 4, 2024

Also use testCached in the unitTest and integrationTest commands to avoid repeating tests.

I needed to make the following adaptions:

  • Removed support for Scala 2.12.8, as some modules didn't compile correctly on Java 17.
  • Ignored test failures in AmmoniteBuildServerTests. I think those never run successfully, but we never ran then on CI, so we didn't catch those issues.
  • Ignore a single test failure in the BasisTests integration test. I seems to always fail when run on any Scala 3 version we support.

Due to running much more tests (same tests on more Scala versions), the test suite now takes longer. Since Ammonite isn't seeing many contributions nowadays and most contributions are maintenance tasks, having a better coverage is a bonus worth the somewhat longer waiting time. I expect the time to increase once we add more Scala patch version to a supported line. To speed things up, we have the option to scale out by splitting up the Scala versions in test matrix.

@lefou
Copy link
Member Author

lefou commented Mar 4, 2024

The BSP server tests seem to not work for various Scala versions.

amm[2.13.2].test.testCached 12 tests failed: 
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.router imports
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.errored.import file and compilation
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.single comment with no line feed
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.build changed notification
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.errored.compilation
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.errored.import file
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.don't delete directories in target
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.dash in name
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.semanticdb
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.caching
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.cache clean-up
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.simple
amm[2.13.3].test.testCached 12 tests failed: 
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.errored.compilation
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.dash in name
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.router imports
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.errored.import file
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.caching
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.single comment with no line feed
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.build changed notification
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.don't delete directories in target
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.cache clean-up
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.errored.import file and compilation
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.simple
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.semanticdb
amm[2.13.4].test.testCached 12 tests failed: 
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.dash in name
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.router imports
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.build changed notification
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.errored.import file and compilation
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.single comment with no line feed
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.errored.compilation
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.don't delete directories in target
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.caching
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.cache clean-up
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.simple
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.errored.import file
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.semanticdb
amm[2.13.5].test.testCached 12 tests failed: 
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.simple
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.dash in name
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.router imports
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.don't delete directories in target
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.single comment with no line feed
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.errored.import file and compilation
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.errored.compilation
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.errored.import file
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.build changed notification
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.caching
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.semanticdb
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.cache clean-up
amm[2.13.6].test.testCached 12 tests failed: 
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.errored.import file
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.errored.compilation
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.single comment with no line feed
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.dash in name
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.build changed notification
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.router imports
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.simple
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.errored.import file and compilation
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.don't delete directories in target
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.caching
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.cache clean-up
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.semanticdb
amm[2.13.7].test.testCached 12 tests failed: 
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.errored.import file
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.dash in name
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.router imports
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.don't delete directories in target
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.single comment with no line feed
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.simple
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.caching
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.cache clean-up
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.errored.compilation
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.errored.import file and compilation
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.semanticdb
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.build changed notification
amm[2.13.8].test.testCached 12 tests failed: 
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.errored.compilation
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.simple
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.dash in name
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.single comment with no line feed
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.errored.import file and compilation
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.cache clean-up
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.don't delete directories in target
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.build changed notification
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.router imports
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.errored.import file
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.semanticdb
  ammonite.interp.script.AmmoniteBuildServerTests ammonite.interp.script.AmmoniteBuildServerTests.caching

…ompile`

```
amm.runtime[2.12.8].compile java.io.IOError: java.lang.RuntimeException: /packages cannot be represented as URI
    java.base/jdk.internal.jrtfs.JrtPath.toUri(JrtPath.java:175)
    scala.tools.nsc.classpath.JrtClassPath.asURLs(DirectoryClassPath.scala:213)
    scala.tools.nsc.classpath.AggregateClassPath.$anonfun$asURLs$1(AggregateClassPath.scala:64)
    scala.collection.TraversableLike.$anonfun$flatMap$1(TraversableLike.scala:244)
    scala.collection.Iterator.foreach(Iterator.scala:941)
    scala.collection.Iterator.foreach$(Iterator.scala:941)
    scala.collection.AbstractIterator.foreach(Iterator.scala:1429)
    scala.collection.IterableLike.foreach(IterableLike.scala:74)
    scala.collection.IterableLike.foreach$(IterableLike.scala:73)
    scala.collection.AbstractIterable.foreach(Iterable.scala:56)
    scala.collection.TraversableLike.flatMap(TraversableLike.scala:244)
    scala.collection.TraversableLike.flatMap$(TraversableLike.scala:241)
    scala.collection.AbstractTraversable.flatMap(Traversable.scala:108)
    scala.tools.nsc.classpath.AggregateClassPath.asURLs(AggregateClassPath.scala:64)
    scala.tools.nsc.typechecker.Macros.findMacroClassLoader(Macros.scala:78)
    scala.tools.nsc.typechecker.Macros.findMacroClassLoader$(Macros.scala:77)
    scala.tools.nsc.Global$$anon$4.findMacroClassLoader(Global.scala:477)
    scala.reflect.macros.runtime.MacroRuntimes.$anonfun$defaultMacroClassloaderCache$2(MacroRuntimes.scala:68)
    scala.reflect.internal.SymbolTable$perRunCaches$$anon$2.apply(SymbolTable.scala:477)
    scala.reflect.macros.runtime.MacroRuntimes.defaultMacroClassloader(MacroRuntimes.scala:70)
    scala.reflect.macros.runtime.MacroRuntimes.defaultMacroClassloader$(MacroRuntimes.scala:70)
    scala.tools.nsc.Global$$anon$4.defaultMacroClassloader(Global.scala:477)
    scala.reflect.macros.runtime.MacroRuntimes$MacroRuntimeResolver.resolveRuntime(MacroRuntimes.scala:88)
    scala.reflect.macros.runtime.MacroRuntimes.$anonfun$standardMacroRuntime$3(MacroRuntimes.scala:50)
    scala.collection.mutable.MapLike.getOrElseUpdate(MapLike.scala:209)
    scala.collection.mutable.MapLike.getOrElseUpdate$(MapLike.scala:206)
    scala.collection.mutable.AbstractMap.getOrElseUpdate(Map.scala:82)
    scala.reflect.macros.runtime.MacroRuntimes.standardMacroRuntime(MacroRuntimes.scala:50)
    scala.reflect.macros.runtime.MacroRuntimes.standardMacroRuntime$(MacroRuntimes.scala:43)
    scala.tools.nsc.Global$$anon$4.standardMacroRuntime(Global.scala:477)
    scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$14.default(AnalyzerPlugins.scala:455)
    scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$14.default(AnalyzerPlugins.scala:452)
    scala.tools.nsc.typechecker.AnalyzerPlugins.invoke(AnalyzerPlugins.scala:408)
    scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroRuntime(AnalyzerPlugins.scala:452)
    scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroRuntime$(AnalyzerPlugins.scala:452)
    scala.tools.nsc.Global$$anon$4.pluginsMacroRuntime(Global.scala:477)
    scala.reflect.macros.runtime.MacroRuntimes.macroRuntime(MacroRuntimes.scala:37)
    scala.reflect.macros.runtime.MacroRuntimes.macroRuntime$(MacroRuntimes.scala:37)
    scala.tools.nsc.Global$$anon$4.macroRuntime(Global.scala:477)
    scala.tools.nsc.typechecker.Macros$MacroExpander.$anonfun$expand$1(Macros.scala:631)
    scala.tools.nsc.Global.withInfoLevel(Global.scala:227)
    scala.tools.nsc.typechecker.Macros$MacroExpander.expand(Macros.scala:625)
    scala.tools.nsc.typechecker.Macros$MacroExpander.apply(Macros.scala:612)
    scala.tools.nsc.typechecker.Macros.standardMacroExpand(Macros.scala:787)
    scala.tools.nsc.typechecker.Macros.standardMacroExpand$(Macros.scala:785)
    scala.tools.nsc.Global$$anon$4.standardMacroExpand(Global.scala:477)
    scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$12.default(AnalyzerPlugins.scala:439)
    scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$12.default(AnalyzerPlugins.scala:436)
    scala.tools.nsc.typechecker.AnalyzerPlugins.invoke(AnalyzerPlugins.scala:408)
    scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroExpand(AnalyzerPlugins.scala:436)
    scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroExpand$(AnalyzerPlugins.scala:436)
    scala.tools.nsc.Global$$anon$4.pluginsMacroExpand(Global.scala:477)
    scala.tools.nsc.typechecker.Macros.macroExpand(Macros.scala:776)
    scala.tools.nsc.typechecker.Macros.macroExpand$(Macros.scala:769)
    scala.tools.nsc.Global$$anon$4.macroExpand(Global.scala:477)
    scala.tools.nsc.typechecker.Typers$Typer.vanillaAdapt$1(Typers.scala:1183)
    scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1243)
    scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1216)
    scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1236)
    scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5740)
    scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:5942)
    scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5645)
    scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
    scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5790)
    scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3373)
    scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3373)
    scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2503)
    scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typed1$98(Typers.scala:5655)
    scala.tools.nsc.typechecker.Typers$Typer.typedOutsidePatternMode$1(Typers.scala:500)
    scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5690)
    scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
    scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:5942)
    scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5645)
    scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
    scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5790)
    scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3373)
    scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3373)
    scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:2030)
    scala.tools.nsc.typechecker.Typers$Typer.typedModuleDef(Typers.scala:1896)
    scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5647)
    scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
    scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5790)
    scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3373)
    scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3373)
    scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5356)
    scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5649)
    scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
    scala.tools.nsc.typechecker.Analyzer$typerFactory$TyperPhase.apply(Analyzer.scala:114)
    scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:448)
    scala.tools.nsc.typechecker.Analyzer$typerFactory$TyperPhase.run(Analyzer.scala:103)
    scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1498)
    scala.tools.nsc.Global$Run.compileUnits(Global.scala:1482)
    scala.tools.nsc.Global$Run.compileSources(Global.scala:1475)
    scala.tools.nsc.Global$Run.compileFiles(Global.scala:1580)
    xsbt.CachedCompiler0.run(CompilerBridge.scala:165)
    xsbt.CachedCompiler0.run(CompilerBridge.scala:134)
    xsbt.CompilerBridge.run(CompilerBridge.scala:39)
    sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:91)
    sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$7(MixedAnalyzingCompiler.scala:193)
    scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
    sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:248)
    sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:183)
    sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4$adapted(MixedAnalyzingCompiler.scala:163)
    sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:239)
    sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:163)
    sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:211)
    sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:534)
    sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:534)
    sbt.internal.inc.Incremental$.$anonfun$apply$5(Incremental.scala:180)
    sbt.internal.inc.Incremental$.$anonfun$apply$5$adapted(Incremental.scala:178)
    sbt.internal.inc.Incremental$$anon$2.run(Incremental.scala:464)
    sbt.internal.inc.IncrementalCommon$CycleState.next(IncrementalCommon.scala:116)
    sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:56)
    sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:52)
    sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:263)
    sbt.internal.inc.Incremental$.$anonfun$incrementalCompile$8(Incremental.scala:419)
    sbt.internal.inc.Incremental$.withClassfileManager(Incremental.scala:506)
    sbt.internal.inc.Incremental$.incrementalCompile(Incremental.scala:406)
    sbt.internal.inc.Incremental$.apply(Incremental.scala:172)
    sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:534)
    sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:488)
    sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:332)
    sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:425)
    sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:137)
    mill.scalalib.worker.ZincWorkerImpl.compileInternal(ZincWorkerImpl.scala:561)
    mill.scalalib.worker.ZincWorkerImpl.$anonfun$compileMixed0$1(ZincWorkerImpl.scala:339)
    mill.api.FixSizedCache.withCachedValue(FixSizedCache.scala:66)
    mill.scalalib.worker.ZincWorkerImpl.withCompilers(ZincWorkerImpl.scala:421)
    mill.scalalib.worker.ZincWorkerImpl.compileMixed0(ZincWorkerImpl.scala:338)
    mill.scalalib.worker.ZincWorkerImpl.compileMixed(ZincWorkerImpl.scala:306)
    mill.scalalib.ScalaModule.$anonfun$compile$2(ScalaModule.scala:201)
    mill.define.Task$TraverseCtx.evaluate(Task.scala:380)
java.lang.RuntimeException: /packages cannot be represented as URI
    java.base/jdk.internal.jrtfs.JrtPath.toUri(JrtPath.java:175)
    scala.tools.nsc.classpath.JrtClassPath.asURLs(DirectoryClassPath.scala:213)
    scala.tools.nsc.classpath.AggregateClassPath.$anonfun$asURLs$1(AggregateClassPath.scala:64)
    scala.collection.TraversableLike.$anonfun$flatMap$1(TraversableLike.scala:244)
    scala.collection.Iterator.foreach(Iterator.scala:941)
    scala.collection.Iterator.foreach$(Iterator.scala:941)
    scala.collection.AbstractIterator.foreach(Iterator.scala:1429)
    scala.collection.IterableLike.foreach(IterableLike.scala:74)
    scala.collection.IterableLike.foreach$(IterableLike.scala:73)
    scala.collection.AbstractIterable.foreach(Iterable.scala:56)
    scala.collection.TraversableLike.flatMap(TraversableLike.scala:244)
    scala.collection.TraversableLike.flatMap$(TraversableLike.scala:241)
    scala.collection.AbstractTraversable.flatMap(Traversable.scala:108)
    scala.tools.nsc.classpath.AggregateClassPath.asURLs(AggregateClassPath.scala:64)
    scala.tools.nsc.typechecker.Macros.findMacroClassLoader(Macros.scala:78)
    scala.tools.nsc.typechecker.Macros.findMacroClassLoader$(Macros.scala:77)
    scala.tools.nsc.Global$$anon$4.findMacroClassLoader(Global.scala:477)
    scala.reflect.macros.runtime.MacroRuntimes.$anonfun$defaultMacroClassloaderCache$2(MacroRuntimes.scala:68)
    scala.reflect.internal.SymbolTable$perRunCaches$$anon$2.apply(SymbolTable.scala:477)
    scala.reflect.macros.runtime.MacroRuntimes.defaultMacroClassloader(MacroRuntimes.scala:70)
    scala.reflect.macros.runtime.MacroRuntimes.defaultMacroClassloader$(MacroRuntimes.scala:70)
    scala.tools.nsc.Global$$anon$4.defaultMacroClassloader(Global.scala:477)
    scala.reflect.macros.runtime.MacroRuntimes$MacroRuntimeResolver.resolveRuntime(MacroRuntimes.scala:88)
    scala.reflect.macros.runtime.MacroRuntimes.$anonfun$standardMacroRuntime$3(MacroRuntimes.scala:50)
    scala.collection.mutable.MapLike.getOrElseUpdate(MapLike.scala:209)
    scala.collection.mutable.MapLike.getOrElseUpdate$(MapLike.scala:206)
    scala.collection.mutable.AbstractMap.getOrElseUpdate(Map.scala:82)
    scala.reflect.macros.runtime.MacroRuntimes.standardMacroRuntime(MacroRuntimes.scala:50)
    scala.reflect.macros.runtime.MacroRuntimes.standardMacroRuntime$(MacroRuntimes.scala:43)
    scala.tools.nsc.Global$$anon$4.standardMacroRuntime(Global.scala:477)
    scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$14.default(AnalyzerPlugins.scala:455)
    scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$14.default(AnalyzerPlugins.scala:452)
    scala.tools.nsc.typechecker.AnalyzerPlugins.invoke(AnalyzerPlugins.scala:408)
    scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroRuntime(AnalyzerPlugins.scala:452)
    scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroRuntime$(AnalyzerPlugins.scala:452)
    scala.tools.nsc.Global$$anon$4.pluginsMacroRuntime(Global.scala:477)
    scala.reflect.macros.runtime.MacroRuntimes.macroRuntime(MacroRuntimes.scala:37)
    scala.reflect.macros.runtime.MacroRuntimes.macroRuntime$(MacroRuntimes.scala:37)
    scala.tools.nsc.Global$$anon$4.macroRuntime(Global.scala:477)
    scala.tools.nsc.typechecker.Macros$MacroExpander.$anonfun$expand$1(Macros.scala:631)
    scala.tools.nsc.Global.withInfoLevel(Global.scala:227)
    scala.tools.nsc.typechecker.Macros$MacroExpander.expand(Macros.scala:625)
    scala.tools.nsc.typechecker.Macros$MacroExpander.apply(Macros.scala:612)
    scala.tools.nsc.typechecker.Macros.standardMacroExpand(Macros.scala:787)
    scala.tools.nsc.typechecker.Macros.standardMacroExpand$(Macros.scala:785)
    scala.tools.nsc.Global$$anon$4.standardMacroExpand(Global.scala:477)
    scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$12.default(AnalyzerPlugins.scala:439)
    scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$12.default(AnalyzerPlugins.scala:436)
    scala.tools.nsc.typechecker.AnalyzerPlugins.invoke(AnalyzerPlugins.scala:408)
    scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroExpand(AnalyzerPlugins.scala:436)
    scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroExpand$(AnalyzerPlugins.scala:436)
    scala.tools.nsc.Global$$anon$4.pluginsMacroExpand(Global.scala:477)
    scala.tools.nsc.typechecker.Macros.macroExpand(Macros.scala:776)
    scala.tools.nsc.typechecker.Macros.macroExpand$(Macros.scala:769)
    scala.tools.nsc.Global$$anon$4.macroExpand(Global.scala:477)
    scala.tools.nsc.typechecker.Typers$Typer.vanillaAdapt$1(Typers.scala:1183)
    scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1243)
    scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1216)
    scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1236)
    scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5740)
    scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:5942)
    scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5645)
    scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
    scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5790)
    scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3373)
    scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3373)
    scala.tools.nsc.typechecker.Typers$Typer.typedBlock(Typers.scala:2503)
    scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typed1$98(Typers.scala:5655)
    scala.tools.nsc.typechecker.Typers$Typer.typedOutsidePatternMode$1(Typers.scala:500)
    scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5690)
    scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
    scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:5942)
    scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5645)
    scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
    scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5790)
    scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3373)
    scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3373)
    scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:2030)
    scala.tools.nsc.typechecker.Typers$Typer.typedModuleDef(Typers.scala:1896)
    scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5647)
    scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
    scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5790)
    scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3373)
    scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3373)
    scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5356)
    scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5649)
    scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
    scala.tools.nsc.typechecker.Analyzer$typerFactory$TyperPhase.apply(Analyzer.scala:114)
    scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:448)
    scala.tools.nsc.typechecker.Analyzer$typerFactory$TyperPhase.run(Analyzer.scala:103)
    scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1498)
    scala.tools.nsc.Global$Run.compileUnits(Global.scala:1482)
    scala.tools.nsc.Global$Run.compileSources(Global.scala:1475)
    scala.tools.nsc.Global$Run.compileFiles(Global.scala:1580)
    xsbt.CachedCompiler0.run(CompilerBridge.scala:165)
    xsbt.CachedCompiler0.run(CompilerBridge.scala:134)
    xsbt.CompilerBridge.run(CompilerBridge.scala:39)
    sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:91)
    sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$7(MixedAnalyzingCompiler.scala:193)
    scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
    sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:248)
    sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:183)
    sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4$adapted(MixedAnalyzingCompiler.scala:163)
    sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:239)
    sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:163)
    sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:211)
    sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:534)
    sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:534)
    sbt.internal.inc.Incremental$.$anonfun$apply$5(Incremental.scala:180)
    sbt.internal.inc.Incremental$.$anonfun$apply$5$adapted(Incremental.scala:178)
    sbt.internal.inc.Incremental$$anon$2.run(Incremental.scala:464)
    sbt.internal.inc.IncrementalCommon$CycleState.next(IncrementalCommon.scala:116)
    sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:56)
    sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:52)
    sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:263)
    sbt.internal.inc.Incremental$.$anonfun$incrementalCompile$8(Incremental.scala:419)
    sbt.internal.inc.Incremental$.withClassfileManager(Incremental.scala:506)
    sbt.internal.inc.Incremental$.incrementalCompile(Incremental.scala:406)
    sbt.internal.inc.Incremental$.apply(Incremental.scala:172)
    sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:534)
    sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:488)
    sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:332)
    sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:425)
    sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:137)
    mill.scalalib.worker.ZincWorkerImpl.compileInternal(ZincWorkerImpl.scala:561)
    mill.scalalib.worker.ZincWorkerImpl.$anonfun$compileMixed0$1(ZincWorkerImpl.scala:339)
    mill.api.FixSizedCache.withCachedValue(FixSizedCache.scala:66)
    mill.scalalib.worker.ZincWorkerImpl.withCompilers(ZincWorkerImpl.scala:421)
    mill.scalalib.worker.ZincWorkerImpl.compileMixed0(ZincWorkerImpl.scala:338)
    mill.scalalib.worker.ZincWorkerImpl.compileMixed(ZincWorkerImpl.scala:306)
    mill.scalalib.ScalaModule.$anonfun$compile$2(ScalaModule.scala:201)
    mill.define.Task$TraverseCtx.evaluate(Task.scala:380)
```
@lefou lefou changed the title Include more patch versions when testing Scala versions CI: Include more patch versions when testing Scala versions Mar 4, 2024
@lefou lefou changed the title CI: Include more patch versions when testing Scala versions Include more patch versions when testing Scala versions Mar 4, 2024
@lefou lefou merged commit 21dc3ed into main Mar 5, 2024
24 checks passed
@lefou lefou deleted the ci-run-all-versions branch March 5, 2024 09:48
@lefou lefou added this to the 3.0.0-M1 milestone Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant