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

Compilation failure is confirmed at the moment of accessing typeSignature of a specific symbol at macro expansion #11611

Open
giiita opened this issue Jul 5, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@giiita
Copy link

commented Jul 5, 2019

I had to look at specific declarations in the macro and examine them individually. Many such errors occurred when trying to examine the akka stream declaration.

def getType(symbol: Symbol): Type = {
  symbol.typeSignature
}
[error] error while loading SmallSortedMap$Entry, class file '/Users/xxxxx/.ivy2/cache/com.typesafe.akka/akka-protobuf_2.13/jars/akka-protobuf_2.13-2.5.23.jar(akka/protobuf/SmallSortedMap$Entry.class)' is broken
[error] (class java.util.NoSuchElementException/key not found: K)

In this way, it seems that an error occurs when accessing a typeSygnature for a specific symbol.

I want to ignore this, hide it and compile successfully

  implicit class RichVectorSymbol(value: Vector[Symbol]) {
    def accessible: Vector[Symbol] = {
      value.flatMap { x =>
        scala.util.Try {
          print(s"typecheck ${x.fullName} ")
          c.typecheck(q"${c.parse(x.fullName)}", silent = true)
        } match {
          case Success(r) if r.nonEmpty =>
            println("Success")
            Some(r.symbol)
          case Failure(e) =>
            println("Fail")
            c.warning(c.enclosingPosition, e.getMessage)
            None
          case _ =>
            println("Empty")
            None
        }
      }
    }
  }

as a result.

// Success case
typecheck akka.event.jul.Logger Success
typecheck akka.io.dns.CachePolicy Success
typecheck akka.io.dns.DnsSettings Success

// Fail case
typecheck com.fasterxml.jackson.databind.ObjectMapper$2 [error] error while loading ObjectMapper$2, class file '/Users/xxxxx/.ivy2/cache/com.fasterxml.jackson.core/jackson-databind/bundles/jackson-databind-2.9.8.jar(com/fasterxml/jackson/databind/ObjectMapper$2.class)' is broken
[error] (class java.util.NoSuchElementException/key not found: T)
Empty
typecheck akka.protobuf.SmallSortedMap$Entry [error] error while loading SmallSortedMap$Entry, class file '/Users/xxxxx/.ivy2/cache/com.typesafe.akka/akka-protobuf_2.13/jars/akka-protobuf_2.13-2.5.23.jar(akka/protobuf/SmallSortedMap$Entry.class)' is broken
[error] (class java.util.NoSuchElementException/key not found: K)
Empty

It looks like it's an EmptyTree, but it looks like compilation errors have been finalized within typecheck.

Debug mode stacktrace

java.util.NoSuchElementException: key not found: K
	at scala.collection.immutable.Map$EmptyMap$.apply(Map.scala:228)
	at scala.collection.immutable.Map$EmptyMap$.apply(Map.scala:224)
	at scala.tools.nsc.symtab.classfile.ClassfileParser.sig2type$1(ClassfileParser.scala:750)
	at scala.tools.nsc.symtab.classfile.ClassfileParser.sig2type$1(ClassfileParser.scala:686)
	at scala.tools.nsc.symtab.classfile.ClassfileParser.sig2type$1(ClassfileParser.scala:686)
	at scala.tools.nsc.symtab.classfile.ClassfileParser.scala$tools$nsc$symtab$classfile$ClassfileParser$$sigToType(ClassfileParser.scala:795)
	at scala.tools.nsc.symtab.classfile.ClassfileParser$ClassTypeCompleter.complete(ClassfileParser.scala:1272)
	at scala.reflect.internal.Symbols$Symbol.completeInfo(Symbols.scala:1544)
	at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1517)
	at scala.reflect.internal.Symbols$Symbol.initialize(Symbols.scala:1691)
	at scala.tools.nsc.symtab.classfile.ClassfileParser.parseClass(ClassfileParser.scala:548)
	at scala.tools.nsc.symtab.classfile.ClassfileParser.$anonfun$parse$2(ClassfileParser.scala:161)
	at scala.tools.nsc.symtab.classfile.ClassfileParser.$anonfun$parse$1(ClassfileParser.scala:147)
	at scala.tools.nsc.symtab.classfile.ClassfileParser.parse(ClassfileParser.scala:130)
	at scala.tools.nsc.symtab.SymbolLoaders$ClassfileLoader.doComplete(SymbolLoaders.scala:323)
	at scala.tools.nsc.symtab.SymbolLoaders$SymbolLoader.$anonfun$complete$2(SymbolLoaders.scala:230)
	at scala.tools.nsc.symtab.SymbolLoaders$SymbolLoader.complete(SymbolLoaders.scala:228)
	at scala.reflect.internal.Symbols$Symbol.completeInfo(Symbols.scala:1544)
	at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1517)
	at scala.reflect.internal.Symbols$SymbolContextApiImpl.typeSignature(Symbols.scala:184)
	at scala.reflect.internal.Symbols$SymbolContextApiImpl.typeSignature(Symbols.scala:99)
	at com.phylage.scaladia.internal.AutoDIExtractor$RichVectorSymbol.$anonfun$accessible$1(AutoDIExtractor.scala:146)
	at scala.collection.StrictOptimizedIterableOps.flatMap(StrictOptimizedIterableOps.scala:118)
	at scala.collection.StrictOptimizedIterableOps.flatMap$(StrictOptimizedIterableOps.scala:105)
	at scala.collection.immutable.Vector.flatMap(Vector.scala:113)
	at com.phylage.scaladia.internal.AutoDIExtractor$RichVectorSymbol.accessible(AutoDIExtractor.scala:144)
	at com.phylage.scaladia.internal.AutoDIExtractor.recursiveModuleExplore(AutoDIExtractor.scala:123)
	at com.phylage.scaladia.internal.AutoDIExtractor.recursivePackageExplore(AutoDIExtractor.scala:115)
	at com.phylage.scaladia.internal.AutoDIExtractor.run(AutoDIExtractor.scala:83)
	at com.phylage.scaladia.internal.AutoDIExtractor$.getList(AutoDIExtractor.scala:19)
	at com.phylage.scaladia.internal.Macro$.containerSetting(Macro.scala:47)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at scala.reflect.macros.runtime.JavaReflectionRuntimes$JavaReflectionResolvers.$anonfun$resolveJavaReflectionRuntime$4(JavaReflectionRuntimes.scala:46)
	at scala.tools.nsc.typechecker.Macros.macroExpandWithRuntime(Macros.scala:754)
	at scala.tools.nsc.typechecker.Macros.macroExpandWithRuntime$(Macros.scala:730)
	at scala.tools.nsc.Global$$anon$5.macroExpandWithRuntime(Global.scala:482)
	at scala.tools.nsc.typechecker.Macros$MacroExpander.$anonfun$expand$1(Macros.scala:560)
	at scala.tools.nsc.Global.withInfoLevel(Global.scala:225)
	at scala.tools.nsc.typechecker.Macros$MacroExpander.expand(Macros.scala:553)
	at scala.tools.nsc.typechecker.Macros$MacroExpander.apply(Macros.scala:540)
	at scala.tools.nsc.typechecker.Macros.standardMacroExpand(Macros.scala:715)
	at scala.tools.nsc.typechecker.Macros.standardMacroExpand$(Macros.scala:713)
	at scala.tools.nsc.Global$$anon$5.standardMacroExpand(Global.scala:482)
	at scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$12.default(AnalyzerPlugins.scala:439)
	at scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$12.default(AnalyzerPlugins.scala:436)
	at scala.tools.nsc.typechecker.AnalyzerPlugins.invoke(AnalyzerPlugins.scala:408)
	at scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroExpand(AnalyzerPlugins.scala:436)
	at scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroExpand$(AnalyzerPlugins.scala:436)
	at scala.tools.nsc.Global$$anon$5.pluginsMacroExpand(Global.scala:482)
	at scala.tools.nsc.typechecker.Macros.macroExpand(Macros.scala:704)
	at scala.tools.nsc.typechecker.Macros.macroExpand$(Macros.scala:697)
	at scala.tools.nsc.Global$$anon$5.macroExpand(Global.scala:482)
	at scala.tools.nsc.typechecker.Typers$Typer.vanillaAdapt$1(Typers.scala:1213)
	at scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1278)
	at scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1251)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5881)
	at scala.tools.nsc.typechecker.Typers$Typer.typedValDefImpl(Typers.scala:6122)
	at scala.tools.nsc.typechecker.Typers$Typer.typedValDef(Typers.scala:2099)
	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5773)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
	at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5931)
	at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3396)
	at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3396)
	at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:2050)
	at scala.tools.nsc.typechecker.Typers$Typer.typedModuleDef(Typers.scala:1925)
	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5776)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
	at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5931)
	at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3396)
	at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3396)
	at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:2050)
	at scala.tools.nsc.typechecker.Typers$Typer.typedModuleDef(Typers.scala:1925)
	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5776)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
	at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5931)
	at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3396)
	at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3396)
	at scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5475)
	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5778)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
	at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5931)
	at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3396)
	at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3396)
	at scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5475)
	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5778)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
	at scala.tools.nsc.typechecker.Analyzer$typerFactory$TyperPhase.apply(Analyzer.scala:115)
	at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:451)
	at scala.tools.nsc.typechecker.Analyzer$typerFactory$TyperPhase.run(Analyzer.scala:104)
	at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1510)
	at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1494)
	at scala.tools.nsc.Global$Run.compileSources(Global.scala:1486)
	at scala.tools.nsc.Global$Run.compile(Global.scala:1615)
	at xsbt.CachedCompiler0.run(CompilerInterface.scala:130)
	at xsbt.CachedCompiler0.run(CompilerInterface.scala:105)
	at xsbt.CompilerInterface.run(CompilerInterface.scala:31)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sbt.internal.inc.AnalyzingCompiler.call(AnalyzingCompiler.scala:237)
	at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:111)
	at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:90)
	at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$3(MixedAnalyzingCompiler.scala:82)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
	at sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:133)
	at sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:73)
	at sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:116)
	at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:307)
	at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:307)
	at sbt.internal.inc.Incremental$.doCompile(Incremental.scala:106)
	at sbt.internal.inc.Incremental$.$anonfun$compile$4(Incremental.scala:87)
	at sbt.internal.inc.IncrementalCommon.recompileClasses(IncrementalCommon.scala:116)
	at sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:63)
	at sbt.internal.inc.Incremental$.$anonfun$compile$3(Incremental.scala:89)
	at sbt.internal.inc.Incremental$.manageClassfiles(Incremental.scala:134)
	at sbt.internal.inc.Incremental$.compile(Incremental.scala:80)
	at sbt.internal.inc.IncrementalCompile$.apply(Compile.scala:67)
	at sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:311)
	at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:269)
	at sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:159)
	at sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:238)
	at sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:69)
	at sbt.Defaults$.compileIncrementalTaskImpl(Defaults.scala:1549)
	at sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:1523)
	at scala.Function1.$anonfun$compose$1(Function1.scala:44)
	at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:40)
	at sbt.std.Transform$$anon$4.work(System.scala:67)
	at sbt.Execute.$anonfun$submit$2(Execute.scala:269)
	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
	at sbt.Execute.work(Execute.scala:278)
	at sbt.Execute.$anonfun$submit$1(Execute.scala:269)
	at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178)
	at sbt.CompletionService$$anon$2.call(CompletionService.scala:37)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
java.io.IOException: class file '/Users/b09765/.ivy2/cache/com.typesafe.akka/akka-protobuf_2.13/jars/akka-protobuf_2.13-2.5.23.jar(akka/protobuf/SmallSortedMap$EntrySet.class)' is broken
(class java.util.NoSuchElementException/key not found: K)
	at scala.tools.nsc.symtab.classfile.ClassfileParser.scala$tools$nsc$symtab$classfile$ClassfileParser$$handleError(ClassfileParser.scala:113)
	at scala.tools.nsc.symtab.classfile.ClassfileParser$$anonfun$scala$tools$nsc$symtab$classfile$ClassfileParser$$parseErrorHandler$1.applyOrElse(ClassfileParser.scala:121)
	at scala.tools.nsc.symtab.classfile.ClassfileParser$$anonfun$scala$tools$nsc$symtab$classfile$ClassfileParser$$parseErrorHandler$1.applyOrElse(ClassfileParser.scala:119)
	at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:37)
	at scala.tools.nsc.symtab.classfile.ClassfileParser.parse(ClassfileParser.scala:131)
	at scala.tools.nsc.symtab.SymbolLoaders$ClassfileLoader.doComplete(SymbolLoaders.scala:323)
	at scala.tools.nsc.symtab.SymbolLoaders$SymbolLoader.$anonfun$complete$2(SymbolLoaders.scala:230)
	at scala.tools.nsc.symtab.SymbolLoaders$SymbolLoader.complete(SymbolLoaders.scala:228)
	at scala.reflect.internal.Symbols$Symbol.completeInfo(Symbols.scala:1544)
	at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1517)
	at scala.reflect.internal.Symbols$SymbolContextApiImpl.typeSignature(Symbols.scala:184)
	at scala.reflect.internal.Symbols$SymbolContextApiImpl.typeSignature(Symbols.scala:99)
	at com.phylage.scaladia.internal.AutoDIExtractor$RichVectorSymbol.$anonfun$accessible$1(AutoDIExtractor.scala:146)
	at scala.collection.StrictOptimizedIterableOps.flatMap(StrictOptimizedIterableOps.scala:118)
	at scala.collection.StrictOptimizedIterableOps.flatMap$(StrictOptimizedIterableOps.scala:105)
	at scala.collection.immutable.Vector.flatMap(Vector.scala:113)
	at com.phylage.scaladia.internal.AutoDIExtractor$RichVectorSymbol.accessible(AutoDIExtractor.scala:144)
	at com.phylage.scaladia.internal.AutoDIExtractor.recursiveModuleExplore(AutoDIExtractor.scala:123)
	at com.phylage.scaladia.internal.AutoDIExtractor.recursivePackageExplore(AutoDIExtractor.scala:115)
	at com.phylage.scaladia.internal.AutoDIExtractor.run(AutoDIExtractor.scala:83)
	at com.phylage.scaladia.internal.AutoDIExtractor$.getList(AutoDIExtractor.scala:19)
	at com.phylage.scaladia.internal.Macro$.containerSetting(Macro.scala:47)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at scala.reflect.macros.runtime.JavaReflectionRuntimes$JavaReflectionResolvers.$anonfun$resolveJavaReflectionRuntime$4(JavaReflectionRuntimes.scala:46)
	at scala.tools.nsc.typechecker.Macros.macroExpandWithRuntime(Macros.scala:754)
	at scala.tools.nsc.typechecker.Macros.macroExpandWithRuntime$(Macros.scala:730)
	at scala.tools.nsc.Global$$anon$5.macroExpandWithRuntime(Global.scala:482)
	at scala.tools.nsc.typechecker.Macros$MacroExpander.$anonfun$expand$1(Macros.scala:560)
	at scala.tools.nsc.Global.withInfoLevel(Global.scala:225)
	at scala.tools.nsc.typechecker.Macros$MacroExpander.expand(Macros.scala:553)
	at scala.tools.nsc.typechecker.Macros$MacroExpander.apply(Macros.scala:540)
	at scala.tools.nsc.typechecker.Macros.standardMacroExpand(Macros.scala:715)
	at scala.tools.nsc.typechecker.Macros.standardMacroExpand$(Macros.scala:713)
	at scala.tools.nsc.Global$$anon$5.standardMacroExpand(Global.scala:482)
	at scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$12.default(AnalyzerPlugins.scala:439)
	at scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$12.default(AnalyzerPlugins.scala:436)
	at scala.tools.nsc.typechecker.AnalyzerPlugins.invoke(AnalyzerPlugins.scala:408)
	at scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroExpand(AnalyzerPlugins.scala:436)
	at scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroExpand$(AnalyzerPlugins.scala:436)
	at scala.tools.nsc.Global$$anon$5.pluginsMacroExpand(Global.scala:482)
	at scala.tools.nsc.typechecker.Macros.macroExpand(Macros.scala:704)
	at scala.tools.nsc.typechecker.Macros.macroExpand$(Macros.scala:697)
	at scala.tools.nsc.Global$$anon$5.macroExpand(Global.scala:482)
	at scala.tools.nsc.typechecker.Typers$Typer.vanillaAdapt$1(Typers.scala:1213)
	at scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1278)
	at scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1251)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5881)
	at scala.tools.nsc.typechecker.Typers$Typer.typedValDefImpl(Typers.scala:6122)
	at scala.tools.nsc.typechecker.Typers$Typer.typedValDef(Typers.scala:2099)
	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5773)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
	at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5931)
	at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3396)
	at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3396)
	at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:2050)
	at scala.tools.nsc.typechecker.Typers$Typer.typedModuleDef(Typers.scala:1925)
	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5776)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
	at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5931)
	at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3396)
	at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3396)
	at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:2050)
	at scala.tools.nsc.typechecker.Typers$Typer.typedModuleDef(Typers.scala:1925)
	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5776)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
	at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5931)
	at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3396)
	at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3396)
	at scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5475)
	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5778)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
	at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5931)
	at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3396)
	at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3396)
	at scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5475)
	at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5778)
	at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5867)
	at scala.tools.nsc.typechecker.Analyzer$typerFactory$TyperPhase.apply(Analyzer.scala:115)
	at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:451)
	at scala.tools.nsc.typechecker.Analyzer$typerFactory$TyperPhase.run(Analyzer.scala:104)
	at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1510)
	at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1494)
	at scala.tools.nsc.Global$Run.compileSources(Global.scala:1486)
	at scala.tools.nsc.Global$Run.compile(Global.scala:1615)
	at xsbt.CachedCompiler0.run(CompilerInterface.scala:130)
	at xsbt.CachedCompiler0.run(CompilerInterface.scala:105)
	at xsbt.CompilerInterface.run(CompilerInterface.scala:31)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sbt.internal.inc.AnalyzingCompiler.call(AnalyzingCompiler.scala:237)
	at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:111)
	at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:90)
	at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$3(MixedAnalyzingCompiler.scala:82)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
	at sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:133)
	at sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:73)
	at sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:116)
	at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:307)
	at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:307)
	at sbt.internal.inc.Incremental$.doCompile(Incremental.scala:106)
	at sbt.internal.inc.Incremental$.$anonfun$compile$4(Incremental.scala:87)
	at sbt.internal.inc.IncrementalCommon.recompileClasses(IncrementalCommon.scala:116)
	at sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:63)
	at sbt.internal.inc.Incremental$.$anonfun$compile$3(Incremental.scala:89)
	at sbt.internal.inc.Incremental$.manageClassfiles(Incremental.scala:134)
	at sbt.internal.inc.Incremental$.compile(Incremental.scala:80)
	at sbt.internal.inc.IncrementalCompile$.apply(Compile.scala:67)
	at sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:311)
	at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:269)
	at sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:159)
	at sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:238)
	at sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:69)
	at sbt.Defaults$.compileIncrementalTaskImpl(Defaults.scala:1549)
	at sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:1523)
	at scala.Function1.$anonfun$compose$1(Function1.scala:44)
	at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:40)
	at sbt.std.Transform$$anon$4.work(System.scala:67)
	at sbt.Execute.$anonfun$submit$2(Execute.scala:269)
	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
	at sbt.Execute.work(Execute.scala:278)
	at sbt.Execute.$anonfun$submit$1(Execute.scala:269)
	at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178)
	at sbt.CompletionService$$anon$2.call(CompletionService.scala:37)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
[error] error while loading SmallSortedMap$EntrySet, class file '/Users/b09765/.ivy2/cache/com.typesafe.akka/akka-protobuf_2.13/jars/akka-protobuf_2.13-2.5.23.jar(akka/protobuf/SmallSortedMap$EntrySet.class)' is broken
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.