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

Compiler crash attempting to compile file that calls an ambiguous overload #21645

Open
steinybot opened this issue Sep 25, 2024 · 0 comments
Open
Labels
itype:bug itype:crash stat:needs minimization Needs a self contained minimization stat:needs triage Every issue needs to have an "area" and "itype" label

Comments

@steinybot
Copy link

steinybot commented Sep 25, 2024

Compiler version

3.5.1

Minimized code

Apologies, I do not have time to minimize right now but it should be reproducible in this commit: https://github.com/steinybot/kyo/blob/beb8fafbaa2a5124dfcc9f5a6c881faf5eab8a7d/kyo-prelude/shared/src/test/scala/kyo/AbortTest.scala#L199-L205

Running: sbt kyo-prelude/Test/compile

Output (click arrow to expand)

sbt:kyoJVM> kyo-prelude/Test/compile
[info] compiling 30 Scala sources to /Users/jason/src/kyo2/kyo-prelude/jvm/target/scala-3.5.1/test-classes ...
[error] -- [E051] Reference Error: /Users/jason/src/kyo2/kyo-prelude/jvm/src/test/scala/kyo/MonadLawsTest.scala:69:42
[error] 69 |                                    Abort.run(
[error]    |                                    ^^^^^^^^^
[error]    |Ambiguous overload. The overloaded alternatives of method run in object Abort with types
[error]    | [A, S]
[error]    |  (v: => A < (kyo.Abort[Nothing] & S))
[error]    |    (implicit evidence$1: kyo.kernel.Flat[A], x$2: kyo.kernel.Frame):
[error]    |      kyo.Result[Nothing, A] < S
[error]    | [E]: kyo.Abort.RunOps[E]
[error]    |both match arguments (A < (kyo.Abort[String] & kyo.Emit[Int] & kyo.Var[Boolean]))
[error]    |
[error]    | longer explanation available when compiling with `-explain`
[info]
[info]   exception occurred while typechecking /Users/jason/src/kyo2/kyo-prelude/shared/src/test/scala/kyo/AbortTest.scala
[info]
[info]   An unhandled exception was thrown in the compiler.
[info]   Please file a crash report here:
[info]   https://github.com/scala/scala3/issues/new/choose
[info]   For non-enriched exceptions, compile with -Xno-enrich-error-messages.
[info]
[info]      while compiling: /Users/jason/src/kyo2/kyo-prelude/shared/src/test/scala/kyo/AbortTest.scala
[info]         during phase: typer
[info]                 mode: Mode(ImplicitsEnabled)
[info]      library version: version 2.13.14
[info]     compiler version: version 3.5.1
[info]             settings: -Wvalue-discard true -Xkind-projector "" -classpath /Users/jason/src/kyo2/kyo-prelude/jvm/target/scala-3.5.1/test-classes:/Users/jason/src/kyo2/kyo-prelude/jvm/target/scala-3.5.1/classes:/Users/jason/src/kyo2/kyo-data/jvm/target/scala-3.5.1/classes:/Users/jason/src/kyo2/kyo-tag/jvm/target/scala-3.5.1/classes:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala3-library_3/3.5.1/scala3-library_3-3.5.1.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scalatest/scalatest_3/3.2.19/scalatest_3-3.2.19.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/lihaoyi/pprint_3/0.9.0/pprint_3-0.9.0.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/jctools/jctools-core/4.0.5/jctools-core-4.0.5.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/dev/zio/zio-laws-laws_3/1.0.0-RC31/zio-laws-laws_3-1.0.0-RC31.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/dev/zio/zio-test-sbt_3/2.1.9/zio-test-sbt_3-2.1.9.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/javassist/javassist/3.30.2-GA/javassist-3.30.2-GA.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.14/scala-library-2.13.14.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scalatest/scalatest-core_3/3.2.19/scalatest-core_3-3.2.19.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scalatest/scalatest-featurespec_3/3.2.19/scalatest-featurespec_3-3.2.19.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scalatest/scalatest-flatspec_3/3.2.19/scalatest-flatspec_3-3.2.19.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scalatest/scalatest-freespec_3/3.2.19/scalatest-freespec_3-3.2.19.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scalatest/scalatest-funsuite_3/3.2.19/scalatest-funsuite_3-3.2.19.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scalatest/scalatest-funspec_3/3.2.19/scalatest-funspec_3-3.2.19.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scalatest/scalatest-propspec_3/3.2.19/scalatest-propspec_3-3.2.19.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scalatest/scalatest-refspec_3/3.2.19/scalatest-refspec_3-3.2.19.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scalatest/scalatest-wordspec_3/3.2.19/scalatest-wordspec_3-3.2.19.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scalatest/scalatest-diagrams_3/3.2.19/scalatest-diagrams_3-3.2.19.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scalatest/scalatest-matchers-core_3/3.2.19/scalatest-matchers-core_3-3.2.19.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scalatest/scalatest-shouldmatchers_3/3.2.19/scalatest-shouldmatchers_3-3.2.19.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scalatest/scalatest-mustmatchers_3/3.2.19/scalatest-mustmatchers_3-3.2.19.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/lihaoyi/fansi_3/0.5.0/fansi_3-0.5.0.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/com/lihaoyi/sourcecode_3/0.4.0/sourcecode_3-0.4.0.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/dev/zio/zio-prelude_3/1.0.0-RC31/zio-prelude_3-1.0.0-RC31.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/dev/zio/zio-test_3/2.1.9/zio-test_3-2.1.9.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/dev/zio/zio_3/2.1.9/zio_3-2.1.9.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-sbt/test-interface/1.0/test-interface-1.0.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scalactic/scalactic_3/3.2.19/scalactic_3-3.2.19.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scalatest/scalatest-compatible/3.2.19/scalatest-compatible-3.2.19.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/modules/scala-xml_3/2.1.0/scala-xml_3-2.1.0.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/dev/zio/zio-prelude-macros_3/1.0.0-RC31/zio-prelude-macros_3-1.0.0-RC31.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/dev/zio/zio-streams_3/2.1.9/zio-streams_3-2.1.9.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/portable-scala/portable-scala-reflect_2.13/1.1.3/portable-scala-reflect_2.13-1.1.3.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/dev/zio/zio-internal-macros_3/2.1.9/zio-internal-macros_3-2.1.9.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/dev/zio/zio-stacktracer_3/2.1.9/zio-stacktracer_3-2.1.9.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/dev/zio/izumi-reflect_3/2.3.9/izumi-reflect_3-2.3.9.jar:/Users/jason/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/dev/zio/izumi-reflect-thirdparty-boopickle-shaded_3/2.3.9/izumi-reflect-thirdparty-boopickle-shaded_3-2.3.9.jar -d /Users/jason/src/kyo2/kyo-prelude/jvm/target/scala-3.5.1/test-classes -deprecation true -encoding utf8 -feature true -java-output-version 11 -language List(strictEquality)
[error] ## Exception when compiling 30 sources to /Users/jason/src/kyo2/kyo-prelude/jvm/target/scala-3.5.1/test-classes
[error] java.lang.AssertionError: assertion failed: TS[20443030, 20443029, 20443028] attempted to take ownership of (param)36 which is already owned by committable TS[20487573, 20479858, 20443030, 20443029, 20443028]
[error] scala.runtime.Scala3RunTime$.assertFailed(Scala3RunTime.scala:8)
[error] dotty.tools.dotc.core.TyperState.includeVar(TyperState.scala:272)
[error] dotty.tools.dotc.core.TyperState.$anonfun$2$$anonfun$1(TyperState.scala:234)
[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:334)
[error] dotty.tools.dotc.core.TyperState.$anonfun$2(TyperState.scala:233)
[error] scala.collection.immutable.List.forall(List.scala:387)
[error] dotty.tools.dotc.core.TyperState.mergeConstraintWith(TyperState.scala:228)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArgs(ProtoTypes.scala:517)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.fold(ProtoTypes.scala:603)
[error] dotty.tools.dotc.core.Types$TypeAccumulator.foldOver(Types.scala:6859)
[error] dotty.tools.dotc.core.Types$TypeTraverser.traverseChildren(Types.scala:6897)
[error] dotty.tools.dotc.typer.ImplicitRunInfo$collectParts$2$.traverse(Implicits.scala:680)
[error] dotty.tools.dotc.core.Types$TypeTraverser.apply(Types.scala:6896)
[error] dotty.tools.dotc.core.Types$TypeTraverser.apply(Types.scala:6896)
[error] dotty.tools.dotc.typer.ProtoTypes$SelectionProto.fold(ProtoTypes.scala:279)
[error] dotty.tools.dotc.core.Types$TypeAccumulator.foldOver(Types.scala:6859)
[error] dotty.tools.dotc.core.Types$TypeTraverser.traverseChildren(Types.scala:6897)
[error] dotty.tools.dotc.typer.ImplicitRunInfo$collectParts$2$.traverse(Implicits.scala:680)
[error] dotty.tools.dotc.core.Types$TypeTraverser.apply(Types.scala:6896)
[error] dotty.tools.dotc.core.Types$TypeTraverser.apply(Types.scala:6896)
[error] dotty.tools.dotc.typer.ProtoTypes$SelectionProto.fold(ProtoTypes.scala:279)
[error] dotty.tools.dotc.core.Types$TypeAccumulator.foldOver(Types.scala:6859)
[error] dotty.tools.dotc.core.Types$TypeTraverser.traverseChildren(Types.scala:6897)
[error] dotty.tools.dotc.typer.ImplicitRunInfo$collectParts$2$.traverse(Implicits.scala:680)
[error] dotty.tools.dotc.core.Types$TypeTraverser.apply(Types.scala:6896)
[error] dotty.tools.dotc.core.Types$TypeTraverser.apply(Types.scala:6896)
[error] dotty.tools.dotc.typer.ProtoTypes$ViewProto.fold(ProtoTypes.scala:660)
[error] dotty.tools.dotc.core.Types$TypeAccumulator.foldOver(Types.scala:6859)
[error] dotty.tools.dotc.core.Types$TypeTraverser.traverseChildren(Types.scala:6897)
[error] dotty.tools.dotc.typer.ImplicitRunInfo$collectParts$2$.traverse(Implicits.scala:680)
[error] dotty.tools.dotc.typer.ImplicitRunInfo$collectParts$2$.apply(Implicits.scala:686)
[error] dotty.tools.dotc.typer.ImplicitRunInfo.recur$1(Implicits.scala:762)
[error] dotty.tools.dotc.typer.ImplicitRunInfo.computeIScope(Implicits.scala:773)
[error] dotty.tools.dotc.typer.ImplicitRunInfo.$anonfun$1(Implicits.scala:849)
[error] dotty.tools.dotc.util.ReadOnlyMap.getOrElse(ReadOnlyMap.scala:23)
[error] dotty.tools.dotc.typer.ImplicitRunInfo.implicitScope(Implicits.scala:849)
[error] dotty.tools.dotc.typer.ImplicitRunInfo.implicitScope$(Implicits.scala:624)
[error] dotty.tools.dotc.Run.implicitScope(Run.scala:43)
[error] dotty.tools.dotc.typer.Implicits$ImplicitSearch.implicitScope(Implicits.scala:1804)
[error] dotty.tools.dotc.typer.Implicits$ImplicitSearch.searchImplicit(Implicits.scala:1689)
[error] dotty.tools.dotc.typer.Implicits$ImplicitSearch.searchImplicit$$anonfun$2(Implicits.scala:1773)
[error] dotty.tools.dotc.typer.Implicits$SearchResult.recoverWith(Implicits.scala:430)
[error] dotty.tools.dotc.typer.Implicits$ImplicitSearch.searchImplicit(Implicits.scala:1759)
[error] dotty.tools.dotc.typer.Implicits$ImplicitSearch.bestImplicit(Implicits.scala:1800)
[error] dotty.tools.dotc.typer.Implicits.inferImplicit(Implicits.scala:1109)
[error] dotty.tools.dotc.typer.Implicits.inferImplicit$(Implicits.scala:860)
[error] dotty.tools.dotc.typer.Typer.inferImplicit(Typer.scala:145)
[error] dotty.tools.dotc.typer.Implicits.inferView(Implicits.scala:900)
[error] dotty.tools.dotc.typer.Implicits.inferView$(Implicits.scala:860)
[error] dotty.tools.dotc.typer.Typer.inferView(Typer.scala:145)
[error] dotty.tools.dotc.typer.Implicits.viewExists(Implicits.scala:873)
[error] dotty.tools.dotc.typer.Implicits.viewExists$(Implicits.scala:860)
[error] dotty.tools.dotc.typer.Typer.viewExists(Typer.scala:145)
[error] dotty.tools.dotc.typer.ProtoTypes$Compatibility.necessarilyCompatible(ProtoTypes.scala:52)
[error] dotty.tools.dotc.typer.ProtoTypes$Compatibility.necessarilyCompatible$(ProtoTypes.scala:31)
[error] dotty.tools.dotc.typer.Typer.necessarilyCompatible(Typer.scala:145)
[error] dotty.tools.dotc.typer.ProtoTypes$Compatibility.constrainResult(ProtoTypes.scala:102)
[error] dotty.tools.dotc.typer.ProtoTypes$Compatibility.constrainResult$(ProtoTypes.scala:31)
[error] dotty.tools.dotc.typer.Typer.constrainResult(Typer.scala:145)
[error] dotty.tools.dotc.typer.ProtoTypes$Compatibility.constrainResult(ProtoTypes.scala:153)
[error] dotty.tools.dotc.typer.ProtoTypes$Compatibility.constrainResult$(ProtoTypes.scala:31)
[error] dotty.tools.dotc.typer.Typer.constrainResult(Typer.scala:145)
[error] dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:568)
[error] dotty.tools.dotc.typer.Applications$TestApplication.<init>(Applications.scala:839)
[error] dotty.tools.dotc.typer.Applications$ApplicableToTrees.<init>(Applications.scala:846)
[error] dotty.tools.dotc.typer.Applications.isApp$1(Applications.scala:1639)
[error] dotty.tools.dotc.typer.Applications.isApplicableMethodRef(Applications.scala:1640)
[error] dotty.tools.dotc.typer.Applications.isApplicableMethodRef$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.isApplicableMethodRef(Typer.scala:145)
[error] dotty.tools.dotc.typer.Applications.narrowByTrees$1$$anonfun$1(Applications.scala:2262)
[error] dotty.tools.dotc.core.Decorators$.loop$2(Decorators.scala:135)
[error] dotty.tools.dotc.core.Decorators$.filterConserve(Decorators.scala:149)
[error] dotty.tools.dotc.typer.Applications.narrowByTrees$1(Applications.scala:2261)
[error] dotty.tools.dotc.typer.Applications.resolveOverloaded1(Applications.scala:2277)
[error] dotty.tools.dotc.typer.Applications.resolve$1(Applications.scala:2109)
[error] dotty.tools.dotc.typer.Applications.resolveOverloaded(Applications.scala:2146)
[error] dotty.tools.dotc.typer.Applications.resolveOverloaded$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.resolveOverloaded(Typer.scala:145)
[error] dotty.tools.dotc.typer.Typer.adaptOverloaded$1(Typer.scala:3995)
[error] dotty.tools.dotc.typer.Typer.adapt1(Typer.scala:4654)
[error] dotty.tools.dotc.typer.Typer.adapt(Typer.scala:3954)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3576)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3580)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3691)
[error] dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:1040)
[error] dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1231)
[error] dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.typedApply(Typer.scala:145)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3414)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3499)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3576)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3580)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3691)
[error] dotty.tools.dotc.typer.Typer.typeSelectOnTerm$1(Typer.scala:961)
[error] dotty.tools.dotc.typer.Typer.typedSelect(Typer.scala:1003)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3389)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3498)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3576)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3580)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3691)
[error] dotty.tools.dotc.typer.Typer.typeSelectOnTerm$1(Typer.scala:961)
[error] dotty.tools.dotc.typer.Typer.typedSelect(Typer.scala:1003)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3389)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3498)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3576)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3580)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3691)
[error] dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:1040)
[error] dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1231)
[error] dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.typedApply(Typer.scala:145)
[error] dotty.tools.dotc.typer.Typer.typedInfixOp(Typer.scala:3309)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3455)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3499)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$7(ProtoTypes.scala:532)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.cacheTypedArg(ProtoTypes.scala:455)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:533)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:688)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:574)
[error] dotty.tools.dotc.typer.Applications$TypedApply.<init>(Applications.scala:878)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.<init>(Applications.scala:995)
[error] dotty.tools.dotc.typer.Applications.ApplyTo(Applications.scala:1257)
[error] dotty.tools.dotc.typer.Applications.ApplyTo$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.ApplyTo(Typer.scala:145)
[error] dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:1068)
[error] dotty.tools.dotc.typer.Applications.realApply$1$$anonfun$2(Applications.scala:1178)
[error] dotty.tools.dotc.typer.Typer$.tryEither(Typer.scala:118)
[error] dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:1193)
[error] dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1231)
[error] dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.typedApply(Typer.scala:145)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3414)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3499)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3576)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3580)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3691)
[error] dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1406)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3422)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3499)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$7(ProtoTypes.scala:532)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.cacheTypedArg(ProtoTypes.scala:455)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:533)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:688)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:574)
[error] dotty.tools.dotc.typer.Applications$TypedApply.<init>(Applications.scala:878)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.<init>(Applications.scala:995)
[error] dotty.tools.dotc.typer.Applications.ApplyTo(Applications.scala:1257)
[error] dotty.tools.dotc.typer.Applications.ApplyTo$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.ApplyTo(Typer.scala:145)
[error] dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:1068)
[error] dotty.tools.dotc.typer.Applications.realApply$1$$anonfun$2(Applications.scala:1178)
[error] dotty.tools.dotc.typer.Typer$.tryEither(Typer.scala:118)
[error] dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:1193)
[error] dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1231)
[error] dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.typedApply(Typer.scala:145)
[error] dotty.tools.dotc.typer.Typer.typedInfixOp(Typer.scala:3309)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3455)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3499)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3576)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3580)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3691)
[error] dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1406)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3422)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3499)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$7(ProtoTypes.scala:532)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.cacheTypedArg(ProtoTypes.scala:455)
[error] dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:533)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:996)
[error] dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:688)
[error] dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:752)
[error] dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:574)
[error] dotty.tools.dotc.typer.Applications$TypedApply.<init>(Applications.scala:878)
[error] dotty.tools.dotc.typer.Applications$ApplyToUntyped.<init>(Applications.scala:995)
[error] dotty.tools.dotc.typer.Applications.ApplyTo(Applications.scala:1257)
[error] dotty.tools.dotc.typer.Applications.ApplyTo$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.ApplyTo(Typer.scala:145)
[error] dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:1068)
[error] dotty.tools.dotc.typer.Applications.realApply$1$$anonfun$2(Applications.scala:1178)
[error] dotty.tools.dotc.typer.Typer$.tryEither(Typer.scala:118)
[error] dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:1193)
[error] dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1231)
[error] dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:434)
[error] dotty.tools.dotc.typer.Typer.typedApply(Typer.scala:145)
[error] dotty.tools.dotc.typer.Typer.typedInfixOp(Typer.scala:3309)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3455)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3499)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3576)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3580)
[error] dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3629)
[error] dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3648)
[error] dotty.tools.dotc.typer.Typer.typedClassDef(Typer.scala:3096)
[error] dotty.tools.dotc.typer.Typer.typedTypeOrClassDef$1(Typer.scala:3402)
[error] dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:3406)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3498)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3576)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3580)
[error] dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3602)
[error] dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3648)
[error] dotty.tools.dotc.typer.Typer.typedPackageDef(Typer.scala:3229)
[error] dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:3448)
[error] dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:3499)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3576)
[error] dotty.tools.dotc.typer.Typer.typed(Typer.scala:3580)
[error] dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3691)
[error] dotty.tools.dotc.typer.TyperPhase.typeCheck$$anonfun$1(TyperPhase.scala:47)
[error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
[error] scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
[error] dotty.tools.dotc.core.Phases$Phase.monitor(Phases.scala:503)
[error] dotty.tools.dotc.typer.TyperPhase.typeCheck(TyperPhase.scala:53)
[error] dotty.tools.dotc.typer.TyperPhase.$anonfun$4(TyperPhase.scala:99)
[error] scala.collection.Iterator$$anon$6.hasNext(Iterator.scala:479)
[error] scala.collection.Iterator$$anon$9.hasNext(Iterator.scala:583)
[error] scala.collection.immutable.List.prependedAll(List.scala:155)
[error] scala.collection.immutable.List$.from(List.scala:685)
[error] scala.collection.immutable.List$.from(List.scala:682)
[error] scala.collection.IterableOps$WithFilter.map(Iterable.scala:900)
[error] dotty.tools.dotc.typer.TyperPhase.runOn(TyperPhase.scala:98)
[error] dotty.tools.dotc.Run.runPhases$1$$anonfun$1(Run.scala:343)
[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:336)
[error] dotty.tools.dotc.Run.compileUnits$$anonfun$1(Run.scala:384)
[error] dotty.tools.dotc.Run.compileUnits$$anonfun$adapted$1(Run.scala:396)
[error] dotty.tools.dotc.util.Stats$.maybeMonitored(Stats.scala:69)
[error] dotty.tools.dotc.Run.compileUnits(Run.scala:396)
[error] dotty.tools.dotc.Run.compileSources(Run.scala:282)
[error] dotty.tools.dotc.Run.compile(Run.scala:267)
[error] dotty.tools.dotc.Driver.doCompile(Driver.scala:37)
[error] dotty.tools.xsbt.CompilerBridgeDriver.run(CompilerBridgeDriver.java:141)
[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:196)
[error] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
[error] sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:251)
[error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:186)
[error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4$adapted(MixedAnalyzingCompiler.scala:166)
[error] sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:241)
[error] sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:166)
[error] sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:214)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:534)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:534)
[error] sbt.internal.inc.Incremental$.$anonfun$apply$3(Incremental.scala:178)
[error] sbt.internal.inc.Incremental$.$anonfun$apply$3$adapted(Incremental.scala:176)
[error] sbt.internal.inc.Incremental$$anon$2.run(Incremental.scala:454)
[error] sbt.internal.inc.IncrementalCommon$CycleState.next(IncrementalCommon.scala:117)
[error] sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:56)
[error] sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:52)
[error] sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:265)
[error] sbt.internal.inc.Incremental$.$anonfun$incrementalCompile$8(Incremental.scala:409)
[error] sbt.internal.inc.Incremental$.withClassfileManager(Incremental.scala:496)
[error] sbt.internal.inc.Incremental$.incrementalCompile(Incremental.scala:396)
[error] sbt.internal.inc.Incremental$.apply(Incremental.scala:170)
[error] sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:534)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:488)
[error] sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:332)
[error] sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:425)
[error] sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:137)
[error] sbt.Defaults$.compileIncrementalTaskImpl(Defaults.scala:2427)
[error] sbt.Defaults$.$anonfun$compileIncrementalTask$2(Defaults.scala:2377)
[error] sbt.internal.server.BspCompileTask$.$anonfun$compute$1(BspCompileTask.scala:41)
[error] sbt.internal.io.Retry$.apply(Retry.scala:47)
[error] sbt.internal.io.Retry$.apply(Retry.scala:29)
[error] sbt.internal.io.Retry$.apply(Retry.scala:24)
[error] sbt.internal.server.BspCompileTask$.compute(BspCompileTask.scala:41)
[error] sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:2375)
[error] scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:63)
[error] sbt.std.Transform$$anon$4.work(Transform.scala:69)
[error] sbt.Execute.$anonfun$submit$2(Execute.scala:283)
[error] sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:24)
[error] sbt.Execute.work(Execute.scala:292)
[error] sbt.Execute.$anonfun$submit$1(Execute.scala:283)
[error] sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] sbt.CompletionService$$anon$2.call(CompletionService.scala:65)
[error] java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[error] java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
[error] java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[error] java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[error] java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[error] java.base/java.lang.Thread.run(Thread.java:1583)
@steinybot steinybot added itype:bug itype:crash stat:needs triage Every issue needs to have an "area" and "itype" label labels Sep 25, 2024
@KacperFKorban KacperFKorban added the stat:needs minimization Needs a self contained minimization label Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
itype:bug itype:crash stat:needs minimization Needs a self contained minimization stat:needs triage Every issue needs to have an "area" and "itype" label
Projects
None yet
Development

No branches or pull requests

2 participants