ucb-bar / chipyard

An Agile RISC-V SoC Design Framework with in-order cores, out-of-order cores, accelerators, and more
https://chipyard.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
1.67k stars 656 forks source link

Invalid build URI #555

Closed ConstantPark closed 4 years ago

ConstantPark commented 4 years ago

This is my error symptom. I don't know "Invalid build URI"

[info] Loading settings for project chipyard-build from plugins.sbt ... [info] Loading project definition from /home/esoc/1.Workspace_1/constant/0.RISCV/mmio/temp/chipyard/project [info] Updating ProjectRef(uri("file:/home/esoc/1.Workspace_1/constant/0.RISCV/mmio/temp/chipyard/project/"), "chipyard-build")... [info] Done updating. [warn] There may be incompatibilities among your library dependencies; run 'evicted' to see detailed eviction warnings. [info] Loading settings for project dsptools from build.sbt ... [info] Loading settings for project barstoolsMacros from build.sbt ... [info] Loading settings for project mdf from build.sbt ... [info] Loading settings for project boom from build.sbt ... [info] Loading settings for project hwacha from build.sbt ... [info] Loading settings for project icenet from build.sbt ... [info] Loading settings for project testchipip from build.sbt ... [info] Loading settings for project hardfloat from build.sbt ... [info] Loading settings for project chisel_testers from build.sbt ... [info] Loading settings for project treadle from build.sbt ... [info] Loading settings for project firrtl_interpreter from build.sbt ... [info] Loading settings for project chisel from build.sbt ... [info] Loading settings for project chipyard from build.sbt ... [error] java.lang.RuntimeException: Invalid build URI (no handler available): file:/home/esoc/1.Workspace_1/constant/0.RISCV/mmio/temp/chipyard/sims/firesim/sim/ [error] at scala.sys.package$.error(package.scala:26) [error] at sbt.internal.Load$.$anonfun$builtinLoader$1(Load.scala:481) [error] at sbt.internal.BuildLoader.$anonfun$apply$3(BuildLoader.scala:240) [error] at scala.Option.getOrElse(Option.scala:121) [error] at sbt.internal.BuildLoader.apply(BuildLoader.scala:240) [error] at sbt.internal.Load$.loadURI$1(Load.scala:546) [error] at sbt.internal.Load$.loadAll(Load.scala:562) [error] at sbt.internal.Load$.loadURI(Load.scala:492) [error] at sbt.internal.Load$.load(Load.scala:471) [error] at sbt.internal.Load$.$anonfun$apply$1(Load.scala:251) [error] at sbt.internal.Load$.timed(Load.scala:1395) [error] at sbt.internal.Load$.apply(Load.scala:251) [error] at sbt.internal.Load$.defaultLoad(Load.scala:69) [error] at sbt.BuiltinCommands$.liftedTree1$1(Main.scala:829) [error] at sbt.BuiltinCommands$.doLoadProject(Main.scala:829) [error] at sbt.BuiltinCommands$.$anonfun$loadProjectImpl$2(Main.scala:800) [error] at sbt.Command$.$anonfun$applyEffect$4(Command.scala:142) [error] at sbt.Command$.$anonfun$applyEffect$2(Command.scala:137) [error] at sbt.Command$.process(Command.scala:181) [error] at sbt.MainLoop$.processCommand(MainLoop.scala:151) [error] at sbt.MainLoop$.$anonfun$next$2(MainLoop.scala:139) [error] at sbt.State$$anon$1.runCmd$1(State.scala:246) [error] at sbt.State$$anon$1.process(State.scala:250) [error] at sbt.MainLoop$.$anonfun$next$1(MainLoop.scala:139) [error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16) [error] at sbt.MainLoop$.next(MainLoop.scala:139) [error] at sbt.MainLoop$.run(MainLoop.scala:132) [error] at sbt.MainLoop$.$anonfun$runWithNewLog$1(MainLoop.scala:110) [error] at sbt.io.Using.apply(Using.scala:22) [error] at sbt.MainLoop$.runWithNewLog(MainLoop.scala:104) [error] at sbt.MainLoop$.runAndClearLast(MainLoop.scala:59) [error] at sbt.MainLoop$.runLoggedLoop(MainLoop.scala:44) [error] at sbt.MainLoop$.runLogged(MainLoop.scala:35) [error] at sbt.StandardMain$.runManaged(Main.scala:138) [error] at sbt.xMain.run(Main.scala:89) [error] at xsbt.boot.Launch$$anonfun$run$1.apply(Launch.scala:109) [error] at xsbt.boot.Launch$.withContextLoader(Launch.scala:128) [error] at xsbt.boot.Launch$.run(Launch.scala:109) [error] at xsbt.boot.Launch$$anonfun$apply$1.apply(Launch.scala:35) [error] at xsbt.boot.Launch$.launch(Launch.scala:117) [error] at xsbt.boot.Launch$.apply(Launch.scala:18) [error] at xsbt.boot.Boot$.runImpl(Boot.scala:41) [error] at xsbt.boot.Boot$.main(Boot.scala:17) [error] at xsbt.boot.Boot.main(Boot.scala) [error] Invalid build URI (no handler available): file:/home/esoc/1.Workspace_1/constant/0.RISCV/mmio/temp/chipyard/sims/firesim/sim/ [error] Use 'last' for the full log. Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? q

Is there anyone who can solve this problem ?

colinschmidt commented 4 years ago

What version of chipyard are you using? What step are you running when you encounter this issue? Did you run the initial setup steps?

ConstantPark commented 4 years ago

I fixed that issue. It was a version issue of Verilator. It would be nice to announce that there is no problem with which version works. More 4.x version makes a problem.

abdullahyildiz commented 4 years ago

I got the same error on CentOS Linux release 7.7.1908 (Core).

$ verilator --version
Verilator 4.034 2020-05-03 rev v4.034

The error occurs when I run make in sims/verilator.

adoerflinger commented 4 years ago

I receive the same error on the same CentOS Linux release 7.7.1908 after a fresh Chipyard installation. Already tried different Verilator versions with the same result, so I don't think it's a Verilator version issue:

Any suggestions, e.g. another "stable" verilator version I could try?

jerryz123 commented 3 years ago

Sorry for late response. This is likely due to bad git version causing early termination of init-submodules-no-riscv-tool.sh. Please upgrade to git version > 1.8.5.

shi27feng commented 3 years ago

I got the same error message even it's been upgraded to git version 1.8.5:

❯ cd sims/verilator
❯ make
Running with RISCV=/home/feng/Workspace/chipyard/riscv-tools-install
cd /home/feng/Workspace/chipyard && java -Xmx8G -Xss8M -XX:MaxPermSize=256M -jar /home/feng/Workspace/chipyard/generators/rocket-chip/sbt-launch.jar -Dsbt.sourcemode=true -Dsbt.workspace=/home/feng/Workspace/chipyard/tools  ";project utilities; runMain utilities.GenerateSimFiles -td /home/feng/Workspace/chipyard/sims/verilator/generated-src/chipyard.TestHarness.RocketConfig -sim verilator"
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
[info] welcome to sbt 1.4.7 (Oracle Corporation Java 15.0.2)
[info] loading global plugins from /home/feng/.sbt/1.0/plugins
[info] loading settings for project chipyard-build from plugins.sbt ...
[info] loading project definition from /home/feng/Workspace/chipyard/project
[info] loading settings for project chipyardRoot from build.sbt ...
[info] loading settings for project hardfloat from build.sbt ...
[info] loading settings for project rocketConfig from build.sbt ...
[info] loading settings for project firrtl_interpreter from build.sbt ...
[info] loading settings for project treadle from build.sbt ...
[info] loading settings for project chisel_testers from build.sbt ...
[info] loading settings for project testchipip from build.sbt ...
[info] loading settings for project icenet from build.sbt ...
[info] loading settings for project hwacha from build.sbt ...
[info] loading settings for project boom from build.sbt ...
[info] loading settings for project cva6 from build.sbt ...
[info] loading settings for project sodor from build.sbt ...
[info] loading settings for project gemmini from build.sbt ...
[info] loading settings for project mdf from build.sbt ...
[info] loading settings for project barstoolsMacros from build.sbt ...
[info] loading settings for project sim-build from plugins.sbt ...
[info] loading project definition from /home/feng/Workspace/chipyard/sims/firesim/sim/project
[info] loading settings for project firesim from build.sbt ...
[info] loading settings for project targetutils from build.sbt ...
[info] loading settings for project midas from build.sbt ...
[info] loading settings for project chisel3-build from plugins.sbt ...
[info] loading project definition from /home/feng/Workspace/chipyard/tools/chisel3/project
[info] loading settings for project chisel from build.sbt ...
[info] loading settings for project firrtl-build from plugins.sbt ...
[info] loading project definition from /home/feng/Workspace/chipyard/tools/firrtl/project
[info] loading settings for project firrtl from build.sbt ...
[info] resolving key references (55367 settings) ...
[info] set current project to chipyardRoot (in build file:/home/feng/Workspace/chipyard/)
[info] set current project to utilities (in build file:/home/feng/Workspace/chipyard/)
[info] compiling 27 Scala sources to /home/feng/Workspace/chipyard/generators/rocket-chip/hardfloat/target/scala-2.12/classes ...
[error] ## Exception when compiling 27 sources to /home/feng/Workspace/chipyard/generators/rocket-chip/hardfloat/target/scala-2.12/classes
[error] java.io.IOError: java.lang.RuntimeException: /packages cannot be represented as URI
[error] java.base/jdk.internal.jrtfs.JrtPath.toUri(JrtPath.java:176)
[error] scala.tools.nsc.classpath.JrtClassPath.asURLs(DirectoryClassPath.scala:213)
[error] scala.tools.nsc.classpath.AggregateClassPath.$anonfun$asURLs$1(AggregateClassPath.scala:64)
[error] scala.collection.TraversableLike.$anonfun$flatMap$1(TraversableLike.scala:244)
[error] scala.collection.Iterator.foreach(Iterator.scala:941)
[error] scala.collection.Iterator.foreach$(Iterator.scala:941)
[error] scala.collection.AbstractIterator.foreach(Iterator.scala:1429)
[error] scala.collection.IterableLike.foreach(IterableLike.scala:74)
[error] scala.collection.IterableLike.foreach$(IterableLike.scala:73)
[error] scala.collection.AbstractIterable.foreach(Iterable.scala:56)
[error] scala.collection.TraversableLike.flatMap(TraversableLike.scala:244)
[error] scala.collection.TraversableLike.flatMap$(TraversableLike.scala:241)
[error] scala.collection.AbstractTraversable.flatMap(Traversable.scala:108)
[error] scala.tools.nsc.classpath.AggregateClassPath.asURLs(AggregateClassPath.scala:64)
[error] scala.tools.nsc.typechecker.Macros.findMacroClassLoader(Macros.scala:78)
[error] scala.tools.nsc.typechecker.Macros.findMacroClassLoader$(Macros.scala:77)
[error] scala.tools.nsc.Global$$anon$4.findMacroClassLoader(Global.scala:477)
[error] scala.reflect.macros.runtime.MacroRuntimes.$anonfun$defaultMacroClassloaderCache$2(MacroRuntimes.scala:68)
[error] scala.reflect.internal.SymbolTable$perRunCaches$$anon$2.apply(SymbolTable.scala:477)
[error] scala.reflect.macros.runtime.MacroRuntimes.defaultMacroClassloader(MacroRuntimes.scala:70)
[error] scala.reflect.macros.runtime.MacroRuntimes.defaultMacroClassloader$(MacroRuntimes.scala:70)
[error] scala.tools.nsc.Global$$anon$4.defaultMacroClassloader(Global.scala:477)
[error] scala.reflect.macros.runtime.MacroRuntimes$MacroRuntimeResolver.resolveRuntime(MacroRuntimes.scala:88)
[error] scala.reflect.macros.runtime.MacroRuntimes.$anonfun$standardMacroRuntime$3(MacroRuntimes.scala:50)
[error] scala.collection.mutable.MapLike.getOrElseUpdate(MapLike.scala:209)
[error] scala.collection.mutable.MapLike.getOrElseUpdate$(MapLike.scala:206)
[error] scala.collection.mutable.AbstractMap.getOrElseUpdate(Map.scala:82)
[error] scala.reflect.macros.runtime.MacroRuntimes.standardMacroRuntime(MacroRuntimes.scala:50)
[error] scala.reflect.macros.runtime.MacroRuntimes.standardMacroRuntime$(MacroRuntimes.scala:43)
[error] scala.tools.nsc.Global$$anon$4.standardMacroRuntime(Global.scala:477)
[error] scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$14.default(AnalyzerPlugins.scala:455)
[error] scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$14.default(AnalyzerPlugins.scala:452)
[error] scala.tools.nsc.typechecker.AnalyzerPlugins.invoke(AnalyzerPlugins.scala:414)
[error] scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroRuntime(AnalyzerPlugins.scala:452)
[error] scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroRuntime$(AnalyzerPlugins.scala:452)
[error] scala.tools.nsc.Global$$anon$4.pluginsMacroRuntime(Global.scala:477)
[error] scala.reflect.macros.runtime.MacroRuntimes.macroRuntime(MacroRuntimes.scala:37)
[error] scala.reflect.macros.runtime.MacroRuntimes.macroRuntime$(MacroRuntimes.scala:37)
[error] scala.tools.nsc.Global$$anon$4.macroRuntime(Global.scala:477)
[error] scala.tools.nsc.typechecker.Macros$MacroExpander.$anonfun$expand$1(Macros.scala:631)
[error] scala.tools.nsc.Global.withInfoLevel(Global.scala:227)
[error] scala.tools.nsc.typechecker.Macros$MacroExpander.expand(Macros.scala:625)
[error] scala.tools.nsc.typechecker.Macros$MacroExpander.apply(Macros.scala:612)
[error] scala.tools.nsc.typechecker.Macros.standardMacroExpand(Macros.scala:787)
[error] scala.tools.nsc.typechecker.Macros.standardMacroExpand$(Macros.scala:785)
[error] scala.tools.nsc.Global$$anon$4.standardMacroExpand(Global.scala:477)
[error] scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$12.default(AnalyzerPlugins.scala:439)
[error] scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$12.default(AnalyzerPlugins.scala:436)
[error] scala.tools.nsc.typechecker.AnalyzerPlugins.invoke(AnalyzerPlugins.scala:414)
[error] scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroExpand(AnalyzerPlugins.scala:436)
[error] scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroExpand$(AnalyzerPlugins.scala:436)
[error] scala.tools.nsc.Global$$anon$4.pluginsMacroExpand(Global.scala:477)
[error] scala.tools.nsc.typechecker.Macros.macroExpand(Macros.scala:776)
[error] scala.tools.nsc.typechecker.Macros.macroExpand$(Macros.scala:769)
[error] scala.tools.nsc.Global$$anon$4.macroExpand(Global.scala:477)
[error] scala.tools.nsc.typechecker.Typers$Typer.vanillaAdapt$1(Typers.scala:1183)
[error] scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1243)
[error] scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5740)
[error] scala.tools.nsc.typechecker.Typers$Typer.typedSelectOrSuperCall$1(Typers.scala:5810)
[error] scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5681)
[error] scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
[error] scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typed1$38(Typers.scala:4855)
[error] scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:713)
[error] scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4857)
[error] scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4885)
[error] scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5680)
[error] scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
[error] scala.tools.nsc.typechecker.Typers$Typer.computeType(Typers.scala:5801)
[error] scala.tools.nsc.typechecker.Namers$Namer.assignTypeToTree(Namers.scala:1090)
[error] scala.tools.nsc.typechecker.Namers$Namer.valDefSig(Namers.scala:1708)
[error] scala.tools.nsc.typechecker.Namers$Namer.memberSig(Namers.scala:1877)
[error] scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1842)
[error] scala.tools.nsc.typechecker.Namers$Namer$ValTypeCompleter.completeImpl(Namers.scala:921)
[error] scala.tools.nsc.typechecker.Namers$LockingTypeCompleter.complete(Namers.scala:2039)
[error] scala.tools.nsc.typechecker.Namers$LockingTypeCompleter.complete$(Namers.scala:2037)
[error] scala.tools.nsc.typechecker.Namers$TypeCompleterBase.complete(Namers.scala:2032)
[error] scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1542)
[error] scala.reflect.internal.Symbols$Symbol.initialize(Symbols.scala:1690)
[error] scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5349)
[error] scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
[error] scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5790)
[error] scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3373)
[error] scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3373)
[error] scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:2030)
[error] scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1843)
[error] scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5646)
[error] scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
[error] scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5790)
[error] scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3373)
[error] scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3373)
[error] scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5356)
[error] scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5649)
[error] scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
[error] scala.tools.nsc.typechecker.Analyzer$typerFactory$TyperPhase.apply(Analyzer.scala:114)
[error] scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:448)
[error] scala.tools.nsc.typechecker.Analyzer$typerFactory$TyperPhase.run(Analyzer.scala:103)
[error] scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1498)
[error] scala.tools.nsc.Global$Run.compileUnits(Global.scala:1482)
[error] scala.tools.nsc.Global$Run.compileSources(Global.scala:1475)
[error] scala.tools.nsc.Global$Run.compileFiles(Global.scala:1580)
[error] xsbt.CachedCompiler0.run(CompilerBridge.scala:163)
[error] xsbt.CachedCompiler0.run(CompilerBridge.scala:134)
[error] xsbt.CompilerBridge.run(CompilerBridge.scala:39)
[error] sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:92)
[error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$7(MixedAnalyzingCompiler.scala:186)
[error] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
[error] sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:241)
[error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:176)
[error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4$adapted(MixedAnalyzingCompiler.scala:157)
[error] sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:239)
[error] sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:157)
[error] sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:204)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:573)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:573)
[error] sbt.internal.inc.Incremental$.$anonfun$apply$5(Incremental.scala:174)
[error] sbt.internal.inc.Incremental$.$anonfun$apply$5$adapted(Incremental.scala:172)
[error] sbt.internal.inc.Incremental$$anon$2.run(Incremental.scala:459)
[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:261)
[error] sbt.internal.inc.Incremental$.$anonfun$incrementalCompile$8(Incremental.scala:414)
[error] sbt.internal.inc.Incremental$.withClassfileManager(Incremental.scala:499)
[error] sbt.internal.inc.Incremental$.incrementalCompile(Incremental.scala:401)
[error] sbt.internal.inc.Incremental$.apply(Incremental.scala:166)
[error] sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:573)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:491)
[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:2177)
[error] sbt.Defaults$.$anonfun$compileIncrementalTask$2(Defaults.scala:2134)
[error] sbt.internal.io.Retry$.apply(Retry.scala:40)
[error] sbt.internal.io.Retry$.apply(Retry.scala:23)
[error] sbt.internal.server.BspCompileTask$.compute(BspCompileTask.scala:31)
[error] sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:2130)
[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:1130)
[error] java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
[error] java.base/java.lang.Thread.run(Thread.java:832)
[error]            
[error] java.io.IOError: java.lang.RuntimeException: /packages cannot be represented as URI
[error]     at java.base/jdk.internal.jrtfs.JrtPath.toUri(JrtPath.java:176)
[error]     at scala.tools.nsc.classpath.JrtClassPath.asURLs(DirectoryClassPath.scala:213)
[error]     at scala.tools.nsc.classpath.AggregateClassPath.$anonfun$asURLs$1(AggregateClassPath.scala:64)
[error]     at scala.collection.TraversableLike.$anonfun$flatMap$1(TraversableLike.scala:244)
[error]     at scala.collection.Iterator.foreach(Iterator.scala:941)
[error]     at scala.collection.Iterator.foreach$(Iterator.scala:941)
[error]     at scala.collection.AbstractIterator.foreach(Iterator.scala:1429)
[error]     at scala.collection.IterableLike.foreach(IterableLike.scala:74)
[error]     at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
[error]     at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
[error]     at scala.collection.TraversableLike.flatMap(TraversableLike.scala:244)
[error]     at scala.collection.TraversableLike.flatMap$(TraversableLike.scala:241)
[error]     at scala.collection.AbstractTraversable.flatMap(Traversable.scala:108)
[error]     at scala.tools.nsc.classpath.AggregateClassPath.asURLs(AggregateClassPath.scala:64)
[error]     at scala.tools.nsc.typechecker.Macros.findMacroClassLoader(Macros.scala:78)
[error]     at scala.tools.nsc.typechecker.Macros.findMacroClassLoader$(Macros.scala:77)
[error]     at scala.tools.nsc.Global$$anon$4.findMacroClassLoader(Global.scala:477)
[error]     at scala.reflect.macros.runtime.MacroRuntimes.$anonfun$defaultMacroClassloaderCache$2(MacroRuntimes.scala:68)
[error]     at scala.reflect.internal.SymbolTable$perRunCaches$$anon$2.apply(SymbolTable.scala:477)
[error]     at scala.reflect.macros.runtime.MacroRuntimes.defaultMacroClassloader(MacroRuntimes.scala:70)
[error]     at scala.reflect.macros.runtime.MacroRuntimes.defaultMacroClassloader$(MacroRuntimes.scala:70)
[error]     at scala.tools.nsc.Global$$anon$4.defaultMacroClassloader(Global.scala:477)
[error]     at scala.reflect.macros.runtime.MacroRuntimes$MacroRuntimeResolver.resolveRuntime(MacroRuntimes.scala:88)
[error]     at scala.reflect.macros.runtime.MacroRuntimes.$anonfun$standardMacroRuntime$3(MacroRuntimes.scala:50)
[error]     at scala.collection.mutable.MapLike.getOrElseUpdate(MapLike.scala:209)
[error]     at scala.collection.mutable.MapLike.getOrElseUpdate$(MapLike.scala:206)
[error]     at scala.collection.mutable.AbstractMap.getOrElseUpdate(Map.scala:82)
[error]     at scala.reflect.macros.runtime.MacroRuntimes.standardMacroRuntime(MacroRuntimes.scala:50)
[error]     at scala.reflect.macros.runtime.MacroRuntimes.standardMacroRuntime$(MacroRuntimes.scala:43)
[error]     at scala.tools.nsc.Global$$anon$4.standardMacroRuntime(Global.scala:477)
[error]     at scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$14.default(AnalyzerPlugins.scala:455)
[error]     at scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$14.default(AnalyzerPlugins.scala:452)
[error]     at scala.tools.nsc.typechecker.AnalyzerPlugins.invoke(AnalyzerPlugins.scala:414)
[error]     at scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroRuntime(AnalyzerPlugins.scala:452)
[error]     at scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroRuntime$(AnalyzerPlugins.scala:452)
[error]     at scala.tools.nsc.Global$$anon$4.pluginsMacroRuntime(Global.scala:477)
[error]     at scala.reflect.macros.runtime.MacroRuntimes.macroRuntime(MacroRuntimes.scala:37)
[error]     at scala.reflect.macros.runtime.MacroRuntimes.macroRuntime$(MacroRuntimes.scala:37)
[error]     at scala.tools.nsc.Global$$anon$4.macroRuntime(Global.scala:477)
[error]     at scala.tools.nsc.typechecker.Macros$MacroExpander.$anonfun$expand$1(Macros.scala:631)
[error]     at scala.tools.nsc.Global.withInfoLevel(Global.scala:227)
[error]     at scala.tools.nsc.typechecker.Macros$MacroExpander.expand(Macros.scala:625)
[error]     at scala.tools.nsc.typechecker.Macros$MacroExpander.apply(Macros.scala:612)
[error]     at scala.tools.nsc.typechecker.Macros.standardMacroExpand(Macros.scala:787)
[error]     at scala.tools.nsc.typechecker.Macros.standardMacroExpand$(Macros.scala:785)
[error]     at scala.tools.nsc.Global$$anon$4.standardMacroExpand(Global.scala:477)
[error]     at scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$12.default(AnalyzerPlugins.scala:439)
[error]     at scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$12.default(AnalyzerPlugins.scala:436)
[error]     at scala.tools.nsc.typechecker.AnalyzerPlugins.invoke(AnalyzerPlugins.scala:414)
[error]     at scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroExpand(AnalyzerPlugins.scala:436)
[error]     at scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroExpand$(AnalyzerPlugins.scala:436)
[error]     at scala.tools.nsc.Global$$anon$4.pluginsMacroExpand(Global.scala:477)
[error]     at scala.tools.nsc.typechecker.Macros.macroExpand(Macros.scala:776)
[error]     at scala.tools.nsc.typechecker.Macros.macroExpand$(Macros.scala:769)
[error]     at scala.tools.nsc.Global$$anon$4.macroExpand(Global.scala:477)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.vanillaAdapt$1(Typers.scala:1183)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1243)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5740)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typedSelectOrSuperCall$1(Typers.scala:5810)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5681)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typed1$38(Typers.scala:4855)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:713)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4857)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4885)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5680)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.computeType(Typers.scala:5801)
[error]     at scala.tools.nsc.typechecker.Namers$Namer.assignTypeToTree(Namers.scala:1090)
[error]     at scala.tools.nsc.typechecker.Namers$Namer.valDefSig(Namers.scala:1708)
[error]     at scala.tools.nsc.typechecker.Namers$Namer.memberSig(Namers.scala:1877)
[error]     at scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1842)
[error]     at scala.tools.nsc.typechecker.Namers$Namer$ValTypeCompleter.completeImpl(Namers.scala:921)
[error]     at scala.tools.nsc.typechecker.Namers$LockingTypeCompleter.complete(Namers.scala:2039)
[error]     at scala.tools.nsc.typechecker.Namers$LockingTypeCompleter.complete$(Namers.scala:2037)
[error]     at scala.tools.nsc.typechecker.Namers$TypeCompleterBase.complete(Namers.scala:2032)
[error]     at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1542)
[error]     at scala.reflect.internal.Symbols$Symbol.initialize(Symbols.scala:1690)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5349)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5790)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3373)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3373)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:2030)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1843)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5646)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5790)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3373)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3373)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5356)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5649)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
[error]     at scala.tools.nsc.typechecker.Analyzer$typerFactory$TyperPhase.apply(Analyzer.scala:114)
[error]     at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:448)
[error]     at scala.tools.nsc.typechecker.Analyzer$typerFactory$TyperPhase.run(Analyzer.scala:103)
[error]     at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1498)
[error]     at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1482)
[error]     at scala.tools.nsc.Global$Run.compileSources(Global.scala:1475)
[error]     at scala.tools.nsc.Global$Run.compileFiles(Global.scala:1580)
[error]     at xsbt.CachedCompiler0.run(CompilerBridge.scala:163)
[error]     at xsbt.CachedCompiler0.run(CompilerBridge.scala:134)
[error]     at xsbt.CompilerBridge.run(CompilerBridge.scala:39)
[error]     at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:92)
[error]     at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$7(MixedAnalyzingCompiler.scala:186)
[error]     at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
[error]     at sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:241)
[error]     at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:176)
[error]     at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4$adapted(MixedAnalyzingCompiler.scala:157
[error]     at sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:239)
[error]     at sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:157)
[error]     at sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:204)
[error]     at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:573)
[error]     at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:573)
[error]     at sbt.internal.inc.Incremental$.$anonfun$apply$5(Incremental.scala:174)
[error]     at sbt.internal.inc.Incremental$.$anonfun$apply$5$adapted(Incremental.scala:172)
[error]     at sbt.internal.inc.Incremental$$anon$2.run(Incremental.scala:459)
[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:261)
[error]     at sbt.internal.inc.Incremental$.$anonfun$incrementalCompile$8(Incremental.scala:414)
[error]     at sbt.internal.inc.Incremental$.withClassfileManager(Incremental.scala:499)
[error]     at sbt.internal.inc.Incremental$.incrementalCompile(Incremental.scala:401)
[error]     at sbt.internal.inc.Incremental$.apply(Incremental.scala:166)
[error]     at sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:573)
[error]     at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:491)
[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:2177)
[error]     at sbt.Defaults$.$anonfun$compileIncrementalTask$2(Defaults.scala:2134)
[error]     at sbt.internal.io.Retry$.apply(Retry.scala:40)
[error]     at sbt.internal.io.Retry$.apply(Retry.scala:23)
[error]     at sbt.internal.server.BspCompileTask$.compute(BspCompileTask.scala:31)
[error]     at sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:2130)
[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:1130)
[error]     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
[error]     at java.base/java.lang.Thread.run(Thread.java:832)
[error] Caused by: java.lang.RuntimeException: /packages cannot be represented as URI
[error]     at java.base/jdk.internal.jrtfs.JrtPath.toUri(JrtPath.java:176)
[error]     at scala.tools.nsc.classpath.JrtClassPath.asURLs(DirectoryClassPath.scala:213)
[error]     at scala.tools.nsc.classpath.AggregateClassPath.$anonfun$asURLs$1(AggregateClassPath.scala:64)
[error]     at scala.collection.TraversableLike.$anonfun$flatMap$1(TraversableLike.scala:244)
[error]     at scala.collection.Iterator.foreach(Iterator.scala:941)
[error]     at scala.collection.Iterator.foreach$(Iterator.scala:941)
[error]     at scala.collection.AbstractIterator.foreach(Iterator.scala:1429)
[error]     at scala.collection.IterableLike.foreach(IterableLike.scala:74)
[error]     at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
[error]     at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
[error]     at scala.collection.TraversableLike.flatMap(TraversableLike.scala:244)
[error]     at scala.collection.TraversableLike.flatMap$(TraversableLike.scala:241)
[error]     at scala.collection.AbstractTraversable.flatMap(Traversable.scala:108)
[error]     at scala.tools.nsc.classpath.AggregateClassPath.asURLs(AggregateClassPath.scala:64)
[error]     at scala.tools.nsc.typechecker.Macros.findMacroClassLoader(Macros.scala:78)
[error]     at scala.tools.nsc.typechecker.Macros.findMacroClassLoader$(Macros.scala:77)
[error]     at scala.tools.nsc.Global$$anon$4.findMacroClassLoader(Global.scala:477)
[error]     at scala.reflect.macros.runtime.MacroRuntimes.$anonfun$defaultMacroClassloaderCache$2(MacroRuntimes.scala:68)
[error]     at scala.reflect.internal.SymbolTable$perRunCaches$$anon$2.apply(SymbolTable.scala:477)
[error]     at scala.reflect.macros.runtime.MacroRuntimes.defaultMacroClassloader(MacroRuntimes.scala:70)
[error]     at scala.reflect.macros.runtime.MacroRuntimes.defaultMacroClassloader$(MacroRuntimes.scala:70)
[error]     at scala.tools.nsc.Global$$anon$4.defaultMacroClassloader(Global.scala:477)
[error]     at scala.reflect.macros.runtime.MacroRuntimes$MacroRuntimeResolver.resolveRuntime(MacroRuntimes.scala:88)
[error]     at scala.reflect.macros.runtime.MacroRuntimes.$anonfun$standardMacroRuntime$3(MacroRuntimes.scala:50)
[error]     at scala.collection.mutable.MapLike.getOrElseUpdate(MapLike.scala:209)
[error]     at scala.collection.mutable.MapLike.getOrElseUpdate$(MapLike.scala:206)
[error]     at scala.collection.mutable.AbstractMap.getOrElseUpdate(Map.scala:82)
[error]     at scala.reflect.macros.runtime.MacroRuntimes.standardMacroRuntime(MacroRuntimes.scala:50)
[error]     at scala.reflect.macros.runtime.MacroRuntimes.standardMacroRuntime$(MacroRuntimes.scala:43)
[error]     at scala.tools.nsc.Global$$anon$4.standardMacroRuntime(Global.scala:477)
[error]     at scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$14.default(AnalyzerPlugins.scala:455)
[error]     at scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$14.default(AnalyzerPlugins.scala:452)
[error]     at scala.tools.nsc.typechecker.AnalyzerPlugins.invoke(AnalyzerPlugins.scala:414)
[error]     at scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroRuntime(AnalyzerPlugins.scala:452)
[error]     at scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroRuntime$(AnalyzerPlugins.scala:452)
[error]     at scala.tools.nsc.Global$$anon$4.pluginsMacroRuntime(Global.scala:477)
[error]     at scala.reflect.macros.runtime.MacroRuntimes.macroRuntime(MacroRuntimes.scala:37)
[error]     at scala.reflect.macros.runtime.MacroRuntimes.macroRuntime$(MacroRuntimes.scala:37)
[error]     at scala.tools.nsc.Global$$anon$4.macroRuntime(Global.scala:477)
[error]     at scala.tools.nsc.typechecker.Macros$MacroExpander.$anonfun$expand$1(Macros.scala:631)
[error]     at scala.tools.nsc.Global.withInfoLevel(Global.scala:227)
[error]     at scala.tools.nsc.typechecker.Macros$MacroExpander.expand(Macros.scala:625)
[error]     at scala.tools.nsc.typechecker.Macros$MacroExpander.apply(Macros.scala:612)
[error]     at scala.tools.nsc.typechecker.Macros.standardMacroExpand(Macros.scala:787)
[error]     at scala.tools.nsc.typechecker.Macros.standardMacroExpand$(Macros.scala:785)
[error]     at scala.tools.nsc.Global$$anon$4.standardMacroExpand(Global.scala:477)
[error]     at scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$12.default(AnalyzerPlugins.scala:439)
[error]     at scala.tools.nsc.typechecker.AnalyzerPlugins$$anon$12.default(AnalyzerPlugins.scala:436)
[error]     at scala.tools.nsc.typechecker.AnalyzerPlugins.invoke(AnalyzerPlugins.scala:414)
[error]     at scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroExpand(AnalyzerPlugins.scala:436)
[error]     at scala.tools.nsc.typechecker.AnalyzerPlugins.pluginsMacroExpand$(AnalyzerPlugins.scala:436)
[error]     at scala.tools.nsc.Global$$anon$4.pluginsMacroExpand(Global.scala:477)
[error]     at scala.tools.nsc.typechecker.Macros.macroExpand(Macros.scala:776)
[error]     at scala.tools.nsc.typechecker.Macros.macroExpand$(Macros.scala:769)
[error]     at scala.tools.nsc.Global$$anon$4.macroExpand(Global.scala:477)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.vanillaAdapt$1(Typers.scala:1183)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1243)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5740)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typedSelectOrSuperCall$1(Typers.scala:5810)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5681)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typed1$38(Typers.scala:4855)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:713)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4857)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4885)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5680)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.computeType(Typers.scala:5801)
[error]     at scala.tools.nsc.typechecker.Namers$Namer.assignTypeToTree(Namers.scala:1090)
[error]     at scala.tools.nsc.typechecker.Namers$Namer.valDefSig(Namers.scala:1708)
[error]     at scala.tools.nsc.typechecker.Namers$Namer.memberSig(Namers.scala:1877)
[error]     at scala.tools.nsc.typechecker.Namers$Namer.typeSig(Namers.scala:1842)
[error]     at scala.tools.nsc.typechecker.Namers$Namer$ValTypeCompleter.completeImpl(Namers.scala:921)
[error]     at scala.tools.nsc.typechecker.Namers$LockingTypeCompleter.complete(Namers.scala:2039)
[error]     at scala.tools.nsc.typechecker.Namers$LockingTypeCompleter.complete$(Namers.scala:2037)
[error]     at scala.tools.nsc.typechecker.Namers$TypeCompleterBase.complete(Namers.scala:2032)
[error]     at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1542)
[error]     at scala.reflect.internal.Symbols$Symbol.initialize(Symbols.scala:1690)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5349)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5790)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3373)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3373)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:2030)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1843)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5646)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typedStat$1(Typers.scala:5790)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.$anonfun$typedStats$10(Typers.scala:3373)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3373)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5356)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5649)
[error]     at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5726)
[error]     at scala.tools.nsc.typechecker.Analyzer$typerFactory$TyperPhase.apply(Analyzer.scala:114)
[error]     at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:448)
[error]     at scala.tools.nsc.typechecker.Analyzer$typerFactory$TyperPhase.run(Analyzer.scala:103)
[error]     at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1498)
[error]     at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1482)
[error]     at scala.tools.nsc.Global$Run.compileSources(Global.scala:1475)
[error]     at scala.tools.nsc.Global$Run.compileFiles(Global.scala:1580)
[error]     at xsbt.CachedCompiler0.run(CompilerBridge.scala:163)
[error]     at xsbt.CachedCompiler0.run(CompilerBridge.scala:134)
[error]     at xsbt.CompilerBridge.run(CompilerBridge.scala:39)
[error]     at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:92)
[error]     at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$7(MixedAnalyzingCompiler.scala:186)
[error]     at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
[error]     at sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:241)
[error]     at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:176)
[error]     at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4$adapted(MixedAnalyzingCompiler.scala:157
[error]     at sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:239)
[error]     at sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:157)
[error]     at sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:204)
[error]     at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:573)
[error]     at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:573)
[error]     at sbt.internal.inc.Incremental$.$anonfun$apply$5(Incremental.scala:174)
[error]     at sbt.internal.inc.Incremental$.$anonfun$apply$5$adapted(Incremental.scala:172)
[error]     at sbt.internal.inc.Incremental$$anon$2.run(Incremental.scala:459)
[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:261)
[error]     at sbt.internal.inc.Incremental$.$anonfun$incrementalCompile$8(Incremental.scala:414)
[error]     at sbt.internal.inc.Incremental$.withClassfileManager(Incremental.scala:499)
[error]     at sbt.internal.inc.Incremental$.incrementalCompile(Incremental.scala:401)
[error]     at sbt.internal.inc.Incremental$.apply(Incremental.scala:166)
[error]     at sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:573)
[error]     at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:491)
[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:2177)
[error]     at sbt.Defaults$.$anonfun$compileIncrementalTask$2(Defaults.scala:2134)
[error]     at sbt.internal.io.Retry$.apply(Retry.scala:40)
[error]     at sbt.internal.io.Retry$.apply(Retry.scala:23)
[error]     at sbt.internal.server.BspCompileTask$.compute(BspCompileTask.scala:31)
[error]     at sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:2130)
[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:1130)
[error]     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
[error]     at java.base/java.lang.Thread.run(Thread.java:832)
[error] (hardfloat / Compile / compileIncremental) java.io.IOError: java.lang.RuntimeException: /packages cannot be represented as URI
[error] Total time: 5 s, completed Feb 12, 2021, 10:23:55 AM
make: *** [/home/feng/Workspace/chipyard/common.mk:86: /home/feng/Workspace/chipyard/sims/verilator/generated-src/chipyard.TestHarness.RocketConfig/sim_files.f] Error 1
tymcauley commented 3 years ago

Not the exact same error, but I've been getting some strange "build URI" errors as well. For one, if I clone a fresh chipyard repo and run init-submodules-no-riscv-tool.sh, I can successfully build the default simulator, (cd sims/verilator && make works). However, if I cd to the repo's root directory and start up sbt, I get this error during startup:

$ sbt
[info] welcome to sbt 1.4.4 (Ubuntu Java 11.0.10)
[info] loading settings for project chipyard-build from plugins.sbt ...
[info] loading project definition from /home/tynan/code/hw/chipyard/project
...
[info] loading settings for project targetutils from build.sbt ...
[info] loading settings for project midas from build.sbt ...
java.lang.RuntimeException: Invalid build URI (no handler available): file:///home/tynan/workspace/chisel3/
... (stacktrace here)
[error] Invalid build URI (no handler available): file:///home/tynan/workspace/chisel3/
[error] Use 'last' for the full log.
[warn] Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? (default: r)

So, /home/tynan is just the path to my home directory (but as you can see, I've checked out the repo to /home/tynan/code/hw/chipyard). Not sure where that path is getting picked up from. I'll try and do some more digging on this...

I'm currently on the master branch (release 1.4), running on an Ubuntu 20.04 machine. Let me know if you'd like me to try anything else.

tymcauley commented 3 years ago

Looks like when located in the repo root, this works:

$ sbt -Dsbt.sourcemode=true -Dsbt.workspace=$(pwd)/tools
...
sbt:chipyardRoot>

but this does not work:

$ sbt -Dsbt.sourcemode=true -Dsbt.workspace=./tools
...
java.lang.RuntimeException: Invalid build URI (no handler available): file:/home/tynan/code/hw/chipyard/sims/firesim/sim/tools/chisel3/
... (stacktrace)
[error] Invalid build URI (no handler available): file:/home/tynan/code/hw/chipyard/sims/firesim/sim/tools/chisel3/
[error] Use 'last' for the full log.
[warn] Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? (default: r)

So, the absolute path is required.

tymcauley commented 3 years ago

Also, adding a .sbtopts file fixes the issue:

$ cat .sbtopts
-Dsbt.sourcemode=true
-Dsbt.workspace=$PWD/tools
$ sbt
...
sbt:chipyardRoot>
tymcauley commented 3 years ago

I also just realized that there's a launch-sbt Make target, so you can run this command to start an SBT shell with the right options set:

make -C sims/verilator launch-sbt