We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Compilation fails with java.lang.AssertionError when compiling the example application from README:
object Main extends ZIOAppDefault: val app = Http.collect[Request] { case Method.GET -> !! / "text" => Response.text("Hello World!") } override def run = Server.start(8090, app).forever
build.sbt:
val scala3Version = "3.1.1" lazy val root = project .in(file(".")) .settings( name := "zio-exploration", version := "0.1.0-SNAPSHOT", scalaVersion := scala3Version, libraryDependencies ++= Seq( "dev.zio" %% "zio" % "2.0.0-RC3", "io.d11" %% "zhttp" % "2.0.0-RC4" ) )
JDK version:
openjdk version "11.0.14" 2022-01-18 OpenJDK Runtime Environment Temurin-11.0.14+9 (build 11.0.14+9) OpenJDK 64-Bit Server VM Temurin-11.0.14+9 (build 11.0.14+9, mixed mode)
Stacktrace:
[error] ## Exception when compiling 1 sources to <workspace>/zio-exploration/target/scala-3.1.1/classes [error] java.lang.AssertionError: assertion failed [error] scala.runtime.Scala3RunTime$.assertFailed(Scala3RunTime.scala:11) [error] dotty.tools.dotc.core.Types$MethodType.<init>(Types.scala:3697) [error] dotty.tools.dotc.core.Types$CachedMethodType.<init>(Types.scala:3717) [error] dotty.tools.dotc.core.Types$MethodTypeCompanion.apply(Types.scala:3788) [error] dotty.tools.dotc.core.Types$MethodTypeCompanion.apply(Types.scala:3787) [error] dotty.tools.dotc.core.Types$LambdaType.newLikeThis(Types.scala:3470) [error] dotty.tools.dotc.core.Types$LambdaType.newLikeThis$(Types.scala:3403) [error] dotty.tools.dotc.core.Types$MethodOrPoly.newLikeThis(Types.scala:3483) [error] dotty.tools.dotc.core.Types$LambdaType.derivedLambdaType(Types.scala:3460) [error] dotty.tools.dotc.core.Types$LambdaType.derivedLambdaType$(Types.scala:3403) [error] dotty.tools.dotc.core.Types$MethodOrPoly.derivedLambdaType(Types.scala:3483) [error] dotty.tools.dotc.core.TypeErasure.dotty$tools$dotc$core$TypeErasure$$apply(TypeErasure.scala:637) [error] dotty.tools.dotc.core.TypeErasure.eraseInfo(TypeErasure.scala:712) [error] dotty.tools.dotc.core.TypeErasure$.transformInfo(TypeErasure.scala:244) [error] dotty.tools.dotc.transform.Erasure.transform(Erasure.scala:85) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:830) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Symbols$Symbol.recomputeDenot(Symbols.scala:122) [error] dotty.tools.dotc.core.Symbols$Symbol.computeDenot(Symbols.scala:116) [error] dotty.tools.dotc.core.Symbols$Symbol.denot(Symbols.scala:109) [error] dotty.tools.dotc.core.Symbols$.toDenot(Symbols.scala:494) [error] dotty.tools.dotc.transform.Mixin.needsTraitSetter(Mixin.scala:169) [error] dotty.tools.dotc.transform.Mixin.transformSym$$anonfun$1(Mixin.scala:148) [error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:15) [error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:10) [error] scala.collection.immutable.List.foreach(List.scala:333) [error] dotty.tools.dotc.core.Scopes$Scope.foreach(Scopes.scala:94) [error] dotty.tools.dotc.transform.Mixin.transformSym(Mixin.scala:152) [error] dotty.tools.dotc.core.DenotTransformers$SymTransformer.transform(DenotTransformers.scala:70) [error] dotty.tools.dotc.core.DenotTransformers$SymTransformer.transform$(DenotTransformers.scala:65) [error] dotty.tools.dotc.transform.Mixin.transform(Mixin.scala:110) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:830) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] dotty.tools.dotc.core.Symbols$Symbol.recomputeDenot(Symbols.scala:122) [error] dotty.tools.dotc.core.Symbols$Symbol.computeDenot(Symbols.scala:116) [error] dotty.tools.dotc.core.Symbols$Symbol.denot(Symbols.scala:109) [error] dotty.tools.dotc.core.Symbols$.toDenot(Symbols.scala:494) [error] dotty.tools.dotc.core.SymDenotations$ClassDenotation.registeredCompanion(SymDenotations.scala:2320) [error] dotty.tools.dotc.core.SymDenotations$SymDenotation.companionType(SymDenotations.scala:1207) [error] dotty.tools.dotc.core.SymDenotations$SymDenotation.companionClass(SymDenotations.scala:1215) [error] dotty.tools.dotc.core.SymDenotations$SymDenotation.linkedClass(SymDenotations.scala:1256) [error] dotty.tools.backend.jvm.BTypesFromSymbols.setClassInfo(BTypesFromSymbols.scala:167) [error] dotty.tools.backend.jvm.BTypesFromSymbols.classBTypeFromSymbol$$anonfun$1(BTypesFromSymbols.scala:90) [error] scala.collection.mutable.HashMap.getOrElse(HashMap.scala:436) [error] dotty.tools.backend.jvm.BTypesFromSymbols.classBTypeFromSymbol(BTypesFromSymbols.scala:91) [error] dotty.tools.backend.jvm.BCodeHelpers$BCInnerClassGen.getClassBTypeAndRegisterInnerClass(BCodeHelpers.scala:272) [error] dotty.tools.backend.jvm.BCodeHelpers$BCInnerClassGen.getClassBTypeAndRegisterInnerClass$(BCodeHelpers.scala:212) [error] dotty.tools.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.getClassBTypeAndRegisterInnerClass(BCodeSkelBuilder.scala:63) [error] dotty.tools.backend.jvm.BCodeHelpers.primitiveOrClassToBType$1$$anonfun$1(BCodeHelpers.scala:820) [error] scala.collection.immutable.HashMap.getOrElse(HashMap.scala:683) [error] dotty.tools.backend.jvm.BCodeHelpers.primitiveOrClassToBType$1(BCodeHelpers.scala:820) [error] dotty.tools.backend.jvm.BCodeHelpers.dotty$tools$backend$jvm$BCodeHelpers$$typeToTypeKind(BCodeHelpers.scala:839) [error] dotty.tools.backend.jvm.BCodeHelpers$BCInnerClassGen.toTypeKind(BCodeHelpers.scala:301) [error] dotty.tools.backend.jvm.BCodeHelpers$BCInnerClassGen.toTypeKind$(BCodeHelpers.scala:212) [error] dotty.tools.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.toTypeKind(BCodeSkelBuilder.scala:63) [error] dotty.tools.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.tpeTK(BCodeSkelBuilder.scala:95) [error] dotty.tools.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:285) [error] dotty.tools.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoadQualifier(BCodeBodyBuilder.scala:1111) [error] dotty.tools.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genApply(BCodeBodyBuilder.scala:771) [error] dotty.tools.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:361) [error] dotty.tools.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:285) [error] dotty.tools.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoadQualifier(BCodeBodyBuilder.scala:1111) [error] dotty.tools.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genApply(BCodeBodyBuilder.scala:771) [error] dotty.tools.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:361) [error] dotty.tools.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.emitNormalMethodBody$1(BCodeSkelBuilder.scala:766) [error] dotty.tools.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.genDefDef(BCodeSkelBuilder.scala:801) [error] dotty.tools.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.gen(BCodeSkelBuilder.scala:609) [error] dotty.tools.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.gen$$anonfun$1(BCodeSkelBuilder.scala:615) [error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:15) [error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:10) [error] scala.collection.immutable.List.foreach(List.scala:333) [error] dotty.tools.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.gen(BCodeSkelBuilder.scala:615) [error] dotty.tools.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.genPlainClass(BCodeSkelBuilder.scala:230) [error] dotty.tools.backend.jvm.GenBCodePipeline$Worker1.visit(GenBCode.scala:259) [error] dotty.tools.backend.jvm.GenBCodePipeline$Worker1.run(GenBCode.scala:224) [error] dotty.tools.backend.jvm.GenBCodePipeline.buildAndSendToDisk(GenBCode.scala:559) [error] dotty.tools.backend.jvm.GenBCodePipeline.run(GenBCode.scala:525) [error] dotty.tools.backend.jvm.GenBCode.run(GenBCode.scala:63) [error] dotty.tools.dotc.core.Phases$Phase.runOn$$anonfun$1(Phases.scala:308) [error] scala.collection.immutable.List.map(List.scala:246) [error] dotty.tools.dotc.core.Phases$Phase.runOn(Phases.scala:309) [error] dotty.tools.backend.jvm.GenBCode.runOn(GenBCode.scala:71) [error] dotty.tools.dotc.Run.runPhases$1$$anonfun$1(Run.scala:261) [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:1323) [error] dotty.tools.dotc.Run.runPhases$1(Run.scala:272) [error] dotty.tools.dotc.Run.compileUnits$$anonfun$1(Run.scala:280) [error] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) [error] dotty.tools.dotc.util.Stats$.maybeMonitored(Stats.scala:68) [error] dotty.tools.dotc.Run.compileUnits(Run.scala:289) [error] dotty.tools.dotc.Run.compileSources(Run.scala:222) [error] dotty.tools.dotc.Run.compile(Run.scala:206) [error] dotty.tools.dotc.Driver.doCompile(Driver.scala:39) [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:192) [error] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) [error] sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:247) [error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:182) [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:210) [error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:528) [error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:528) [error] sbt.internal.inc.Incremental$.$anonfun$apply$5(Incremental.scala:177) [error] sbt.internal.inc.Incremental$.$anonfun$apply$5$adapted(Incremental.scala:175) [error] sbt.internal.inc.Incremental$$anon$2.run(Incremental.scala:461) [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:416) [error] sbt.internal.inc.Incremental$.withClassfileManager(Incremental.scala:503) [error] sbt.internal.inc.Incremental$.incrementalCompile(Incremental.scala:403) [error] sbt.internal.inc.Incremental$.apply(Incremental.scala:169) [error] sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:528) [error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:482) [error] sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:332) [error] sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:420) [error] sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:137) [error] sbt.Defaults$.compileIncrementalTaskImpl(Defaults.scala:2366) [error] sbt.Defaults$.$anonfun$compileIncrementalTask$2(Defaults.scala:2316) [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:2314) [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:515) [error] java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [error] java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [error] java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [error] java.base/java.lang.Thread.run(Thread.java:829) [error] [error] java.lang.AssertionError: assertion failed [error] at scala.runtime.Scala3RunTime$.assertFailed(Scala3RunTime.scala:11) [error] at dotty.tools.dotc.core.Types$MethodType.<init>(Types.scala:3697) [error] at dotty.tools.dotc.core.Types$CachedMethodType.<init>(Types.scala:3717) [error] at dotty.tools.dotc.core.Types$MethodTypeCompanion.apply(Types.scala:3788) [error] at dotty.tools.dotc.core.Types$MethodTypeCompanion.apply(Types.scala:3787) [error] at dotty.tools.dotc.core.Types$LambdaType.newLikeThis(Types.scala:3470) [error] at dotty.tools.dotc.core.Types$LambdaType.newLikeThis$(Types.scala:3403) [error] at dotty.tools.dotc.core.Types$MethodOrPoly.newLikeThis(Types.scala:3483) [error] at dotty.tools.dotc.core.Types$LambdaType.derivedLambdaType(Types.scala:3460) [error] at dotty.tools.dotc.core.Types$LambdaType.derivedLambdaType$(Types.scala:3403) [error] at dotty.tools.dotc.core.Types$MethodOrPoly.derivedLambdaType(Types.scala:3483) [error] at dotty.tools.dotc.core.TypeErasure.dotty$tools$dotc$core$TypeErasure$$apply(TypeErasure.scala:637) [error] at dotty.tools.dotc.core.TypeErasure.eraseInfo(TypeErasure.scala:712) [error] at dotty.tools.dotc.core.TypeErasure$.transformInfo(TypeErasure.scala:244) [error] at dotty.tools.dotc.transform.Erasure.transform(Erasure.scala:85) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:830) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Symbols$Symbol.recomputeDenot(Symbols.scala:122) [error] at dotty.tools.dotc.core.Symbols$Symbol.computeDenot(Symbols.scala:116) [error] at dotty.tools.dotc.core.Symbols$Symbol.denot(Symbols.scala:109) [error] at dotty.tools.dotc.core.Symbols$.toDenot(Symbols.scala:494) [error] at dotty.tools.dotc.transform.Mixin.needsTraitSetter(Mixin.scala:169) [error] at dotty.tools.dotc.transform.Mixin.transformSym$$anonfun$1(Mixin.scala:148) [error] at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15) [error] at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10) [error] at scala.collection.immutable.List.foreach(List.scala:333) [error] at dotty.tools.dotc.core.Scopes$Scope.foreach(Scopes.scala:94) [error] at dotty.tools.dotc.transform.Mixin.transformSym(Mixin.scala:152) [error] at dotty.tools.dotc.core.DenotTransformers$SymTransformer.transform(DenotTransformers.scala:70) [error] at dotty.tools.dotc.core.DenotTransformers$SymTransformer.transform$(DenotTransformers.scala:65) [error] at dotty.tools.dotc.transform.Mixin.transform(Mixin.scala:110) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:830) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.goForward$1(Denotations.scala:850) [error] at dotty.tools.dotc.core.Denotations$SingleDenotation.current(Denotations.scala:879) [error] at dotty.tools.dotc.core.Symbols$Symbol.recomputeDenot(Symbols.scala:122) [error] at dotty.tools.dotc.core.Symbols$Symbol.computeDenot(Symbols.scala:116) [error] at dotty.tools.dotc.core.Symbols$Symbol.denot(Symbols.scala:109) [error] at dotty.tools.dotc.core.Symbols$.toDenot(Symbols.scala:494) [error] at dotty.tools.dotc.core.SymDenotations$ClassDenotation.registeredCompanion(SymDenotations.scala:2320) [error] at dotty.tools.dotc.core.SymDenotations$SymDenotation.companionType(SymDenotations.scala:1207) [error] at dotty.tools.dotc.core.SymDenotations$SymDenotation.companionClass(SymDenotations.scala:1215) [error] at dotty.tools.dotc.core.SymDenotations$SymDenotation.linkedClass(SymDenotations.scala:1256) [error] at dotty.tools.backend.jvm.BTypesFromSymbols.setClassInfo(BTypesFromSymbols.scala:167) [error] at dotty.tools.backend.jvm.BTypesFromSymbols.classBTypeFromSymbol$$anonfun$1(BTypesFromSymbols.scala:90) [error] at scala.collection.mutable.HashMap.getOrElse(HashMap.scala:436) [error] at dotty.tools.backend.jvm.BTypesFromSymbols.classBTypeFromSymbol(BTypesFromSymbols.scala:91) [error] at dotty.tools.backend.jvm.BCodeHelpers$BCInnerClassGen.getClassBTypeAndRegisterInnerClass(BCodeHelpers.scala:272) [error] at dotty.tools.backend.jvm.BCodeHelpers$BCInnerClassGen.getClassBTypeAndRegisterInnerClass$(BCodeHelpers.scala:212) [error] at dotty.tools.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.getClassBTypeAndRegisterInnerClass(BCodeSkelBuilder.scala:63) [error] at dotty.tools.backend.jvm.BCodeHelpers.primitiveOrClassToBType$1$$anonfun$1(BCodeHelpers.scala:820) [error] at scala.collection.immutable.HashMap.getOrElse(HashMap.scala:683) [error] at dotty.tools.backend.jvm.BCodeHelpers.primitiveOrClassToBType$1(BCodeHelpers.scala:820) [error] at dotty.tools.backend.jvm.BCodeHelpers.dotty$tools$backend$jvm$BCodeHelpers$$typeToTypeKind(BCodeHelpers.scala:839) [error] at dotty.tools.backend.jvm.BCodeHelpers$BCInnerClassGen.toTypeKind(BCodeHelpers.scala:301) [error] at dotty.tools.backend.jvm.BCodeHelpers$BCInnerClassGen.toTypeKind$(BCodeHelpers.scala:212) [error] at dotty.tools.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.toTypeKind(BCodeSkelBuilder.scala:63) [error] at dotty.tools.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.tpeTK(BCodeSkelBuilder.scala:95) [error] at dotty.tools.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:285) [error] at dotty.tools.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoadQualifier(BCodeBodyBuilder.scala:1111) [error] at dotty.tools.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genApply(BCodeBodyBuilder.scala:771) [error] at dotty.tools.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:361) [error] at dotty.tools.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:285) [error] at dotty.tools.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoadQualifier(BCodeBodyBuilder.scala:1111) [error] at dotty.tools.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genApply(BCodeBodyBuilder.scala:771) [error] at dotty.tools.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:361) [error] at dotty.tools.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.emitNormalMethodBody$1(BCodeSkelBuilder.scala:766) [error] at dotty.tools.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.genDefDef(BCodeSkelBuilder.scala:801) [error] at dotty.tools.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.gen(BCodeSkelBuilder.scala:609) [error] at dotty.tools.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.gen$$anonfun$1(BCodeSkelBuilder.scala:615) [error] at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15) [error] at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10) [error] at scala.collection.immutable.List.foreach(List.scala:333) [error] at dotty.tools.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.gen(BCodeSkelBuilder.scala:615) [error] at dotty.tools.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.genPlainClass(BCodeSkelBuilder.scala:230) [error] at dotty.tools.backend.jvm.GenBCodePipeline$Worker1.visit(GenBCode.scala:259) [error] at dotty.tools.backend.jvm.GenBCodePipeline$Worker1.run(GenBCode.scala:224) [error] at dotty.tools.backend.jvm.GenBCodePipeline.buildAndSendToDisk(GenBCode.scala:559) [error] at dotty.tools.backend.jvm.GenBCodePipeline.run(GenBCode.scala:525) [error] at dotty.tools.backend.jvm.GenBCode.run(GenBCode.scala:63) [error] at dotty.tools.dotc.core.Phases$Phase.runOn$$anonfun$1(Phases.scala:308) [error] at scala.collection.immutable.List.map(List.scala:246) [error] at dotty.tools.dotc.core.Phases$Phase.runOn(Phases.scala:309) [error] at dotty.tools.backend.jvm.GenBCode.runOn(GenBCode.scala:71) [error] at dotty.tools.dotc.Run.runPhases$1$$anonfun$1(Run.scala:261) [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:1323) [error] at dotty.tools.dotc.Run.runPhases$1(Run.scala:272) [error] at dotty.tools.dotc.Run.compileUnits$$anonfun$1(Run.scala:280) [error] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) [error] at dotty.tools.dotc.util.Stats$.maybeMonitored(Stats.scala:68) [error] at dotty.tools.dotc.Run.compileUnits(Run.scala:289) [error] at dotty.tools.dotc.Run.compileSources(Run.scala:222) [error] at dotty.tools.dotc.Run.compile(Run.scala:206) [error] at dotty.tools.dotc.Driver.doCompile(Driver.scala:39) [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:192) [error] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) [error] at sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:247) [error] at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:182) [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:210) [error] at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:528) [error] at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:528) [error] at sbt.internal.inc.Incremental$.$anonfun$apply$5(Incremental.scala:177) [error] at sbt.internal.inc.Incremental$.$anonfun$apply$5$adapted(Incremental.scala:175) [error] at sbt.internal.inc.Incremental$$anon$2.run(Incremental.scala:461) [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:416) [error] at sbt.internal.inc.Incremental$.withClassfileManager(Incremental.scala:503) [error] at sbt.internal.inc.Incremental$.incrementalCompile(Incremental.scala:403) [error] at sbt.internal.inc.Incremental$.apply(Incremental.scala:169) [error] at sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:528) [error] at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:482) [error] at sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:332) [error] at sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:420) [error] at sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:137) [error] at sbt.Defaults$.compileIncrementalTaskImpl(Defaults.scala:2366) [error] at sbt.Defaults$.$anonfun$compileIncrementalTask$2(Defaults.scala:2316) [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:2314) [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:515) [error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) [error] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [error] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [error] at java.base/java.lang.Thread.run(Thread.java:829) [error] (Compile / compileIncremental) java.lang.AssertionError: assertion failed
The text was updated successfully, but these errors were encountered:
ZIO 2.0.0-RC3 is support is not supported yet, there is a PR open we will merge it soon #1152
Sorry, something went wrong.
No branches or pull requests
Compilation fails with java.lang.AssertionError when compiling the example application from README:
build.sbt:
JDK version:
Stacktrace:
The text was updated successfully, but these errors were encountered: