plokhotnyuk/jsoniter-scala

Internal compiler error when type-parametrized ADT defininition is nested

plokhotnyuk opened this issue · 0 comments

Derivation with make works fine when the following ADT is defined on the top level:

sealed trait GADT2[A] extends Product with Serializable

object GADT2 {
  case class IsDir(path: String) extends GADT2[_root_.scala.Boolean]
  case class Exists(path: String) extends GADT2[_root_.scala.Boolean]
  case class ReadBytes(path: String) extends GADT2[_root_.scala.Array[_root_.scala.Byte]]
  case class CopyOver(src: Seq[_root_.scala.Byte], path: String) extends GADT2[Int]
}

But when the definition above happens in some class the Scala 2 compiler fails with a message like this:

[error] /home/andriy/Projects/com/github/plokhotnyuk/jsoniter-scala/jsoniter-scala-macros/shared/src/test/scala/com/github/plokhotnyuk/jsoniter_scala/macros/JsonCodecMakerSpec.scala:1891:26: Internal error: unable to find the outer accessor symbol of class JsonCodecMakerSpec
[error]       verifySerDeser(make[Array[GADT2[_]]],
[error]                          ^

And with the Scala 3 compiler it fails with the following error:

[error] ## Exception when compiling 12 sources to /home/andriy/Projects/com/github/plokhotnyuk/jsoniter-scala/jsoniter-scala-macros/jvm/target/scala-3.2.2/test-classes
[error] java.lang.AssertionError: assertion failed: asTerm called on not-a-Term val <none>
[error] scala.runtime.Scala3RunTime$.assertFailed(Scala3RunTime.scala:8)
[error] dotty.tools.dotc.core.Symbols$Symbol.asTerm(Symbols.scala:169)
[error] dotty.tools.dotc.transform.ExplicitOuter$.dotty$tools$dotc$transform$ExplicitOuter$$$outerParamAccessor(ExplicitOuter.scala:228)
[error] dotty.tools.dotc.transform.ExplicitOuter$OuterOps$.loop$1(ExplicitOuter.scala:464)
[error] dotty.tools.dotc.transform.ExplicitOuter$OuterOps$.path$extension(ExplicitOuter.scala:473)
[error] dotty.tools.dotc.transform.Erasure$Typer.typedThis(Erasure.scala:796)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2896)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3145)
[error] dotty.tools.dotc.transform.Erasure$Typer.$anonfun$9(Erasure.scala:840)
[error] dotty.tools.dotc.core.Decorators$ListDecorator$.zipWithConserve$extension(Decorators.scala:152)
[error] dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:840)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2895)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3145)
[error] dotty.tools.dotc.transform.Erasure$Typer.$anonfun$9(Erasure.scala:840)
[error] dotty.tools.dotc.core.Decorators$ListDecorator$.zipWithConserve$extension(Decorators.scala:152)
[error] dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:840)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2895)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] dotty.tools.dotc.typer.Typer.typedIf(Typer.scala:1136)
[error] dotty.tools.dotc.transform.Erasure$Typer.typedIf(Erasure.scala:873)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2904)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3078)
[error] dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3101)
[error] dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1043)
[error] dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1063)
[error] dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1067)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2903)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] dotty.tools.dotc.typer.Typer.typedLabeled(Typer.scala:1766)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:2888)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2957)
[error] dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3145)
[error] dotty.tools.dotc.typer.Typer.$anonfun$51(Typer.scala:2356)
[error] dotty.tools.dotc.inlines.PrepareInlineable$.dropInlineIfError(PrepareInlineable.scala:249)
[error] dotty.tools.dotc.typer.Typer.typedDefDef(Typer.scala:2356)
[error] dotty.tools.dotc.transform.Erasure$Typer.typedDefDef(Erasure.scala:944)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:2871)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2957)
[error] dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3051)
[error] dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3101)
[error] dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1043)
[error] dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1063)
[error] dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1067)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2903)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3022)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:629)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2900)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3022)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] dotty.tools.dotc.typer.Typer.typedInlined(Typer.scala:1922)
[error] dotty.tools.dotc.transform.Erasure$Typer.typedInlined(Erasure.scala:888)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2917)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3145)
[error] dotty.tools.dotc.transform.Erasure$Typer.$anonfun$9(Erasure.scala:840)
[error] dotty.tools.dotc.core.Decorators$ListDecorator$.zipWithConserve$extension(Decorators.scala:152)
[error] dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:840)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2895)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3145)
[error] dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1069)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2903)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3145)
[error] dotty.tools.dotc.typer.Typer.$anonfun$51(Typer.scala:2356)
[error] dotty.tools.dotc.inlines.PrepareInlineable$.dropInlineIfError(PrepareInlineable.scala:249)
[error] dotty.tools.dotc.typer.Typer.typedDefDef(Typer.scala:2356)
[error] dotty.tools.dotc.transform.Erasure$Typer.typedDefDef(Erasure.scala:944)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:2871)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2957)
[error] dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3051)
[error] dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3101)
[error] dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1043)
[error] dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1063)
[error] dotty.tools.dotc.typer.Typer.typedInlined(Typer.scala:1921)
[error] dotty.tools.dotc.transform.Erasure$Typer.typedInlined(Erasure.scala:888)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2917)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3078)
[error] dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3101)
[error] dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1043)
[error] dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1063)
[error] dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1067)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2903)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3145)
[error] dotty.tools.dotc.typer.Typer.$anonfun$51(Typer.scala:2356)
[error] dotty.tools.dotc.inlines.PrepareInlineable$.dropInlineIfError(PrepareInlineable.scala:249)
[error] dotty.tools.dotc.typer.Typer.typedDefDef(Typer.scala:2356)
[error] dotty.tools.dotc.transform.Erasure$Typer.typedDefDef(Erasure.scala:944)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:2871)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2957)
[error] dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3051)
[error] dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3101)
[error] dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1043)
[error] dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1063)
[error] dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1067)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2903)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3145)
[error] dotty.tools.dotc.transform.Erasure$Typer.$anonfun$9(Erasure.scala:840)
[error] dotty.tools.dotc.core.Decorators$ListDecorator$.zipWithConserve$extension(Decorators.scala:152)
[error] dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:840)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2895)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3145)
[error] dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:827)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2895)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3078)
[error] dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3101)
[error] dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1043)
[error] dotty.tools.dotc.typer.Typer.typedClassDef(Typer.scala:2532)
[error] dotty.tools.dotc.transform.Erasure$Typer.typedClassDef(Erasure.scala:1032)
[error] dotty.tools.dotc.typer.Typer.typedTypeOrClassDef$1(Typer.scala:2883)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:2887)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2957)
[error] dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3051)
[error] dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3101)
[error] dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1043)
[error] dotty.tools.dotc.typer.Typer.typedPackageDef(Typer.scala:2659)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2928)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3145)
[error] dotty.tools.dotc.transform.Erasure.run(Erasure.scala:144)
[error] dotty.tools.dotc.core.Phases$Phase.runOn$$anonfun$1(Phases.scala:316)
[error] scala.collection.immutable.List.map(List.scala:250)
[error] dotty.tools.dotc.core.Phases$Phase.runOn(Phases.scala:320)
[error] dotty.tools.dotc.Run.runPhases$1$$anonfun$1(Run.scala:238)
[error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
[error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
[error] scala.collection.ArrayOps$.foreach$extension(ArrayOps.scala:1321)
[error] dotty.tools.dotc.Run.runPhases$1(Run.scala:249)
[error] dotty.tools.dotc.Run.compileUnits$$anonfun$1(Run.scala:257)
[error] dotty.tools.dotc.Run.compileUnits$$anonfun$adapted$1(Run.scala:266)
[error] dotty.tools.dotc.util.Stats$.maybeMonitored(Stats.scala:68)
[error] dotty.tools.dotc.Run.compileUnits(Run.scala:266)
[error] dotty.tools.dotc.Run.compileSources(Run.scala:190)
[error] dotty.tools.dotc.Run.compile(Run.scala:174)
[error] dotty.tools.dotc.Driver.doCompile(Driver.scala:35)
[error] dotty.tools.xsbt.CompilerBridgeDriver.run(CompilerBridgeDriver.java:88)
[error] dotty.tools.xsbt.CompilerBridge.run(CompilerBridge.java:22)
[error] sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:91)
[error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$7(MixedAnalyzingCompiler.scala:193)
[error] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
[error] sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:248)
[error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:183)
[error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4$adapted(MixedAnalyzingCompiler.scala:163)
[error] sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:239)
[error] sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:163)
[error] sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:209)
[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$5(Incremental.scala:179)
[error] sbt.internal.inc.Incremental$.$anonfun$apply$5$adapted(Incremental.scala:177)
[error] sbt.internal.inc.Incremental$$anon$2.run(Incremental.scala:463)
[error] sbt.internal.inc.IncrementalCommon$CycleState.next(IncrementalCommon.scala:116)
[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:263)
[error] sbt.internal.inc.Incremental$.$anonfun$incrementalCompile$8(Incremental.scala:418)
[error] sbt.internal.inc.Incremental$.withClassfileManager(Incremental.scala:506)
[error] sbt.internal.inc.Incremental$.incrementalCompile(Incremental.scala:405)
[error] sbt.internal.inc.Incremental$.apply(Incremental.scala:171)
[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:2363)
[error] sbt.Defaults$.$anonfun$compileIncrementalTask$2(Defaults.scala:2313)
[error] sbt.internal.server.BspCompileTask$.$anonfun$compute$1(BspCompileTask.scala:30)
[error] sbt.internal.io.Retry$.apply(Retry.scala:46)
[error] sbt.internal.io.Retry$.apply(Retry.scala:28)
[error] sbt.internal.io.Retry$.apply(Retry.scala:23)
[error] sbt.internal.server.BspCompileTask$.compute(BspCompileTask.scala:30)
[error] sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:2311)
[error] scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
[error] sbt.std.Transform$$anon$4.work(Transform.scala:68)
[error] sbt.Execute.$anonfun$submit$2(Execute.scala:282)
[error] sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:23)
[error] sbt.Execute.work(Execute.scala:291)
[error] sbt.Execute.$anonfun$submit$1(Execute.scala:282)
[error] sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] sbt.CompletionService$$anon$2.call(CompletionService.scala:64)
[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.AssertionError: assertion failed: asTerm called on not-a-Term val <none>
[error] 	at scala.runtime.Scala3RunTime$.assertFailed(Scala3RunTime.scala:8)
[error] 	at dotty.tools.dotc.core.Symbols$Symbol.asTerm(Symbols.scala:169)
[error] 	at dotty.tools.dotc.transform.ExplicitOuter$.dotty$tools$dotc$transform$ExplicitOuter$$$outerParamAccessor(ExplicitOuter.scala:228)
[error] 	at dotty.tools.dotc.transform.ExplicitOuter$OuterOps$.loop$1(ExplicitOuter.scala:464)
[error] 	at dotty.tools.dotc.transform.ExplicitOuter$OuterOps$.path$extension(ExplicitOuter.scala:473)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.typedThis(Erasure.scala:796)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2896)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] 	at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] 	at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3145)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.$anonfun$9(Erasure.scala:840)
[error] 	at dotty.tools.dotc.core.Decorators$ListDecorator$.zipWithConserve$extension(Decorators.scala:152)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:840)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2895)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] 	at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] 	at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3145)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.$anonfun$9(Erasure.scala:840)
[error] 	at dotty.tools.dotc.core.Decorators$ListDecorator$.zipWithConserve$extension(Decorators.scala:152)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:840)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2895)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] 	at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] 	at dotty.tools.dotc.typer.Typer.typedIf(Typer.scala:1136)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.typedIf(Erasure.scala:873)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2904)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] 	at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] 	at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3078)
[error] 	at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3101)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1043)
[error] 	at dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1063)
[error] 	at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1067)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2903)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] 	at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] 	at dotty.tools.dotc.typer.Typer.typedLabeled(Typer.scala:1766)
[error] 	at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:2888)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2957)
[error] 	at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] 	at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3145)
[error] 	at dotty.tools.dotc.typer.Typer.$anonfun$51(Typer.scala:2356)
[error] 	at dotty.tools.dotc.inlines.PrepareInlineable$.dropInlineIfError(PrepareInlineable.scala:249)
[error] 	at dotty.tools.dotc.typer.Typer.typedDefDef(Typer.scala:2356)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.typedDefDef(Erasure.scala:944)
[error] 	at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:2871)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2957)
[error] 	at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] 	at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3051)
[error] 	at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3101)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1043)
[error] 	at dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1063)
[error] 	at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1067)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2903)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] 	at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3022)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.typedTyped(Erasure.scala:629)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2900)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] 	at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3022)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] 	at dotty.tools.dotc.typer.Typer.typedInlined(Typer.scala:1922)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.typedInlined(Erasure.scala:888)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2917)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] 	at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] 	at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3145)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.$anonfun$9(Erasure.scala:840)
[error] 	at dotty.tools.dotc.core.Decorators$ListDecorator$.zipWithConserve$extension(Decorators.scala:152)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:840)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2895)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] 	at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] 	at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3145)
[error] 	at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1069)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2903)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] 	at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] 	at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3145)
[error] 	at dotty.tools.dotc.typer.Typer.$anonfun$51(Typer.scala:2356)
[error] 	at dotty.tools.dotc.inlines.PrepareInlineable$.dropInlineIfError(PrepareInlineable.scala:249)
[error] 	at dotty.tools.dotc.typer.Typer.typedDefDef(Typer.scala:2356)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.typedDefDef(Erasure.scala:944)
[error] 	at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:2871)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2957)
[error] 	at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] 	at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3051)
[error] 	at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3101)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1043)
[error] 	at dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1063)
[error] 	at dotty.tools.dotc.typer.Typer.typedInlined(Typer.scala:1921)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.typedInlined(Erasure.scala:888)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2917)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] 	at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] 	at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3078)
[error] 	at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3101)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1043)
[error] 	at dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1063)
[error] 	at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1067)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2903)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] 	at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] 	at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3145)
[error] 	at dotty.tools.dotc.typer.Typer.$anonfun$51(Typer.scala:2356)
[error] 	at dotty.tools.dotc.inlines.PrepareInlineable$.dropInlineIfError(PrepareInlineable.scala:249)
[error] 	at dotty.tools.dotc.typer.Typer.typedDefDef(Typer.scala:2356)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.typedDefDef(Erasure.scala:944)
[error] 	at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:2871)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2957)
[error] 	at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] 	at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3051)
[error] 	at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3101)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1043)
[error] 	at dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1063)
[error] 	at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1067)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2903)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] 	at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] 	at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3145)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.$anonfun$9(Erasure.scala:840)
[error] 	at dotty.tools.dotc.core.Decorators$ListDecorator$.zipWithConserve$extension(Decorators.scala:152)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:840)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2895)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] 	at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] 	at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3145)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.typedApply(Erasure.scala:827)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2895)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] 	at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] 	at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3078)
[error] 	at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3101)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1043)
[error] 	at dotty.tools.dotc.typer.Typer.typedClassDef(Typer.scala:2532)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.typedClassDef(Erasure.scala:1032)
[error] 	at dotty.tools.dotc.typer.Typer.typedTypeOrClassDef$1(Typer.scala:2883)
[error] 	at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:2887)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2957)
[error] 	at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] 	at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3051)
[error] 	at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3101)
[error] 	at dotty.tools.dotc.transform.Erasure$Typer.typedStats(Erasure.scala:1043)
[error] 	at dotty.tools.dotc.typer.Typer.typedPackageDef(Typer.scala:2659)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2928)
[error] 	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2958)
[error] 	at dotty.tools.dotc.typer.ReTyper.typedUnadapted(ReTyper.scala:126)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3025)
[error] 	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:3029)
[error] 	at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3145)
[error] 	at dotty.tools.dotc.transform.Erasure.run(Erasure.scala:144)
[error] 	at dotty.tools.dotc.core.Phases$Phase.runOn$$anonfun$1(Phases.scala:316)
[error] 	at scala.collection.immutable.List.map(List.scala:250)
[error] 	at dotty.tools.dotc.core.Phases$Phase.runOn(Phases.scala:320)
[error] 	at dotty.tools.dotc.Run.runPhases$1$$anonfun$1(Run.scala:238)
[error] 	at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
[error] 	at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
[error] 	at scala.collection.ArrayOps$.foreach$extension(ArrayOps.scala:1321)
[error] 	at dotty.tools.dotc.Run.runPhases$1(Run.scala:249)
[error] 	at dotty.tools.dotc.Run.compileUnits$$anonfun$1(Run.scala:257)
[error] 	at dotty.tools.dotc.Run.compileUnits$$anonfun$adapted$1(Run.scala:266)
[error] 	at dotty.tools.dotc.util.Stats$.maybeMonitored(Stats.scala:68)
[error] 	at dotty.tools.dotc.Run.compileUnits(Run.scala:266)
[error] 	at dotty.tools.dotc.Run.compileSources(Run.scala:190)
[error] 	at dotty.tools.dotc.Run.compile(Run.scala:174)
[error] 	at dotty.tools.dotc.Driver.doCompile(Driver.scala:35)
[error] 	at dotty.tools.xsbt.CompilerBridgeDriver.run(CompilerBridgeDriver.java:88)
[error] 	at dotty.tools.xsbt.CompilerBridge.run(CompilerBridge.java:22)
[error] 	at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:91)
[error] 	at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$7(MixedAnalyzingCompiler.scala:193)
[error] 	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
[error] 	at sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:248)
[error] 	at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:183)
[error] 	at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4$adapted(MixedAnalyzingCompiler.scala:163)
[error] 	at sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:239)
[error] 	at sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:163)
[error] 	at sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:209)
[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$5(Incremental.scala:179)
[error] 	at sbt.internal.inc.Incremental$.$anonfun$apply$5$adapted(Incremental.scala:177)
[error] 	at sbt.internal.inc.Incremental$$anon$2.run(Incremental.scala:463)
[error] 	at sbt.internal.inc.IncrementalCommon$CycleState.next(IncrementalCommon.scala:116)
[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:263)
[error] 	at sbt.internal.inc.Incremental$.$anonfun$incrementalCompile$8(Incremental.scala:418)
[error] 	at sbt.internal.inc.Incremental$.withClassfileManager(Incremental.scala:506)
[error] 	at sbt.internal.inc.Incremental$.incrementalCompile(Incremental.scala:405)
[error] 	at sbt.internal.inc.Incremental$.apply(Incremental.scala:171)
[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:2363)
[error] 	at sbt.Defaults$.$anonfun$compileIncrementalTask$2(Defaults.scala:2313)
[error] 	at sbt.internal.server.BspCompileTask$.$anonfun$compute$1(BspCompileTask.scala:30)
[error] 	at sbt.internal.io.Retry$.apply(Retry.scala:46)
[error] 	at sbt.internal.io.Retry$.apply(Retry.scala:28)
[error] 	at sbt.internal.io.Retry$.apply(Retry.scala:23)
[error] 	at sbt.internal.server.BspCompileTask$.compute(BspCompileTask.scala:30)
[error] 	at sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:2311)
[error] 	at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] 	at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
[error] 	at sbt.std.Transform$$anon$4.work(Transform.scala:68)
[error] 	at sbt.Execute.$anonfun$submit$2(Execute.scala:282)
[error] 	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:23)
[error] 	at sbt.Execute.work(Execute.scala:291)
[error] 	at sbt.Execute.$anonfun$submit$1(Execute.scala:282)
[error] 	at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] 	at sbt.CompletionService$$anon$2.call(CompletionService.scala:64)
[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] (jsoniter-scala-macrosJVM / Test / compileIncremental) java.lang.AssertionError: assertion failed: asTerm called on not-a-Term val <none>
[error] Total time: 39 s, completed Mar 23, 2023, 11:17:57 AM