Closed HC153Yuanyuan closed 2 years ago
I am trying to compile SpinalTemplateSbt using SBT way on standalone server, but failed when i try "sbt run". the log as following,
[zyy@zyy-pc SpinalTemplateSbt]$ sbt run [info] welcome to sbt 1.6.0 (Red Hat, Inc. Java 1.8.0_322) [info] loading settings for project spinaltemplatesbt-build from plugins.sbt ... [info] loading project definition from /home/zyy/prj/SpinalTemplateSbt/project [info] loading settings for project mylib from build.sbt ... [info] set current project to SpinalTemplateSbt (in build file:/home/zyy/prj/SpinalTemplateSbt/) [info] compiling 3 Scala sources to /home/zyy/prj/SpinalTemplateSbt/target/scala-2.12/classes ... [info] Attempting to fetch org.scala-sbt:compiler-bridge_2.12:1.6.0. [info] Updating [info] Resolved dependencies [error] ## Exception when compiling 3 sources to /home/zyy/prj/SpinalTemplateSbt/target/scala-2.12/classes [error] sbt.internal.inc.InvalidComponent: The compiler bridge sources CoursierModuleDescriptor(ModuleDescriptorConfiguration(false, None, org.scala-sbt.temp:temp-module-98ec89c315ed408f615fff2c4774286d17323b01:1.6.0:compile, ModuleInfo(temp-module-98ec89c315ed408f615fff2c4774286d17323b01, , None, None, Vector(), , None, None, Vector()), Vector(org.scala-sbt:compiler-bridge_2.12:1.6.0:compile), Vector(), Vector(), , Vector(compile, runtime, test, provided, optional), Some(compile), ConflictManager(latest-revision, *, *)),CoursierConfiguration(Some(sbt.internal.util.ManagedLogger@73afdee), Vector(Raw(ProjectResolver(inter-project, mapped: )), public: https://repo1.maven.org/maven2/, FileRepository(local, Patterns(ivyPatterns=Vector(/home/zyy/.ivy2/local/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)([branch]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), artifactPatterns=Vector(/home/zyy/.ivy2/local/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)([branch]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), isMavenCompatible=false, descriptorOptional=false, skipConsistencyCheck=false), FileConfiguration(true, None)), URLRepository(sbt-plugin-releases, Patterns(ivyPatterns=Vector(https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)([branch]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), artifactPatterns=Vector(https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)([branch]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), isMavenCompatible=false, descriptorOptional=false, skipConsistencyCheck=false), false), URLRepository(typesafe-alt-ivy-releases, Patterns(ivyPatterns=Vector(https://repo.typesafe.com/typesafe/ivy-releases/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)([branch]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), artifactPatterns=Vector(https://repo.typesafe.com/typesafe/ivy-releases/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)([branch]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), isMavenCompatible=false, descriptorOptional=false, skipConsistencyCheck=false), false), sbt-maven-releases: https://repo.scala-sbt.org/scalasbt/maven-releases/, sbt-maven-snapshots: https://repo.scala-sbt.org/scalasbt/maven-snapshots/, URLRepository(typesafe-ivy-releases, Patterns(ivyPatterns=Vector(https://repo.typesafe.com/typesafe/ivy-releases/[organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext]), artifactPatterns=Vector(https://repo.typesafe.com/typesafe/ivy-releases/[organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext]), isMavenCompatible=false, descriptorOptional=false, skipConsistencyCheck=false), false), URLRepository(sbt-ivy-snapshots, Patterns(ivyPatterns=Vector(https://repo.scala-sbt.org/scalasbt/ivy-snapshots/[organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext]), artifactPatterns=Vector(https://repo.scala-sbt.org/scalasbt/ivy-snapshots/[organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext]), isMavenCompatible=false, descriptorOptional=false, skipConsistencyCheck=false), false)), 6, 100, Some(org.scala-lang), Some(2.12.15), Vector(/home/zyy/.sbt/boot/scala-2.12.15/lib/scala-xml_2.12.jar, /home/zyy/.sbt/boot/scala-2.12.15/lib/scala-reflect.jar, /home/zyy/.sbt/boot/scala-2.12.15/lib/scala-compiler.jar, /home/zyy/.sbt/boot/scala-2.12.15/lib/scala-library.jar, /home/zyy/.sbt/boot/scala-2.12.15/lib/jline.jar), Vector(), Vector(), Vector(), true, false, Vector(), Vector(), Some(org.scala-lang), Some(2.12.16), Vector(), Vector(), None, Some(/home/zyy/.cache/coursier/v1), Some(/home/zyy/.ivy2), None, None, Vector(), Vector(), Vector((ModuleMatchers(Set(), Set(), true),Relaxed)), true, 0, Some(24 hours), Vector(Some(SHA-1), None), Vector(LocalUpdateChanging, LocalOnly, Update), false, false, false, Vector())) could not be retrieved [error] [error] Note: Unresolved dependencies path: [error] sbt.internal.inc.ZincLMHelper$.update(ZincComponentCompiler.scala:308) [error] sbt.internal.inc.ZincComponentCompiler.$anonfun$compileAndInstall$3(ZincComponentCompiler.scala:264) [error] sbt.internal.inc.ZincComponentCompiler.$anonfun$compileAndInstall$3$adapted(ZincComponentCompiler.scala:257) [error] sbt.io.IO$.withTemporaryDirectory(IO.scala:490) [error] sbt.io.IO$.withTemporaryDirectory(IO.scala:500) [error] sbt.internal.inc.ZincComponentCompiler.$anonfun$compileAndInstall$2(ZincComponentCompiler.scala:257) [error] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) [error] sbt.internal.util.BufferedLogger.bufferQuietly(BufferedLogger.scala:159) [error] sbt.internal.inc.ZincComponentCompiler.$anonfun$compileAndInstall$1(ZincComponentCompiler.scala:257) [error] sbt.internal.inc.ZincComponentCompiler.$anonfun$compileAndInstall$1$adapted(ZincComponentCompiler.scala:254) [error] sbt.io.IO$.withTemporaryDirectory(IO.scala:490) [error] sbt.io.IO$.withTemporaryDirectory(IO.scala:500) [error] sbt.internal.inc.ZincComponentCompiler.compileAndInstall(ZincComponentCompiler.scala:254) [error] sbt.internal.inc.ZincComponentCompiler.$anonfun$compiledBridgeJar$1(ZincComponentCompiler.scala:222) [error] sbt.internal.inc.IfMissing$Define.run(IfMissing.scala:19) [error] sbt.internal.inc.ZincComponentManager.createAndCache$1(ZincComponentManager.scala:51) [error] sbt.internal.inc.ZincComponentManager.$anonfun$files$3(ZincComponentManager.scala:62) [error] sbt.internal.inc.ZincComponentManager.getOrElse$1(ZincComponentManager.scala:43) [error] sbt.internal.inc.ZincComponentManager.$anonfun$files$2(ZincComponentManager.scala:62) [error] sbt.internal.inc.ZincComponentManager$$anon$1.call(ZincComponentManager.scala:91) [error] xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:95) [error] xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:80) [error] xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:99) [error] xsbt.boot.Using$.withResource(Using.scala:10) [error] xsbt.boot.Using$.apply(Using.scala:9) [error] xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:60) [error] xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:50) [error] xsbt.boot.Locks$.apply0(Locks.scala:31) [error] xsbt.boot.Locks$.apply(Locks.scala:28) [error] sbt.internal.inc.ZincComponentManager.lock(ZincComponentManager.scala:91) [error] sbt.internal.inc.ZincComponentManager.$anonfun$lockSecondaryCache$1(ZincComponentManager.scala:88) [error] scala.Option.map(Option.scala:230) [error] sbt.internal.inc.ZincComponentManager.lockSecondaryCache(ZincComponentManager.scala:88) [error] sbt.internal.inc.ZincComponentManager.fromSecondary$1(ZincComponentManager.scala:60) [error] sbt.internal.inc.ZincComponentManager.$anonfun$files$6(ZincComponentManager.scala:66) [error] sbt.internal.inc.ZincComponentManager.getOrElse$1(ZincComponentManager.scala:43) [error] sbt.internal.inc.ZincComponentManager.$anonfun$files$5(ZincComponentManager.scala:66) [error] sbt.internal.inc.ZincComponentManager$$anon$1.call(ZincComponentManager.scala:91) [error] xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:95) [error] xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:80) [error] xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:99) [error] xsbt.boot.Using$.withResource(Using.scala:10) [error] xsbt.boot.Using$.apply(Using.scala:9) [error] xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:60) [error] xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:50) [error] xsbt.boot.Locks$.apply0(Locks.scala:31) [error] xsbt.boot.Locks$.apply(Locks.scala:28) [error] sbt.internal.inc.ZincComponentManager.lock(ZincComponentManager.scala:91) [error] sbt.internal.inc.ZincComponentManager.lockLocalCache(ZincComponentManager.scala:84) [error] sbt.internal.inc.ZincComponentManager.files(ZincComponentManager.scala:66) [error] sbt.internal.inc.ZincComponentManager.file(ZincComponentManager.scala:72) [error] sbt.internal.inc.ZincComponentCompiler.compiledBridgeJar(ZincComponentCompiler.scala:222) [error] sbt.internal.inc.ZincComponentCompiler$ZincCompilerBridgeProvider.compiledBridge(ZincComponentCompiler.scala:63) [error] sbt.internal.inc.ZincComponentCompiler$ZincCompilerBridgeProvider.fetchCompiledBridge(ZincComponentCompiler.scala:70) [error] sbt.internal.inc.AnalyzingCompiler.getDualLoader(AnalyzingCompiler.scala:354) [error] sbt.internal.inc.AnalyzingCompiler.getCompilerLoader(AnalyzingCompiler.scala:343) [error] sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:87) [error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$7(MixedAnalyzingCompiler.scala:192) [error] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) [error] sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:247) [error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:182) [error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4$adapted(MixedAnalyzingCompiler.scala:163) [error] sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:239) [error] sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:163) [error] sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:210) [error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:528) [error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:528) [error] sbt.internal.inc.Incremental$.$anonfun$apply$5(Incremental.scala:177) [error] sbt.internal.inc.Incremental$.$anonfun$apply$5$adapted(Incremental.scala:175) [error] sbt.internal.inc.Incremental$$anon$2.run(Incremental.scala:461) [error] sbt.internal.inc.IncrementalCommon$CycleState.next(IncrementalCommon.scala:116) [error] sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:56) [error] sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:52) [error] sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:263) [error] sbt.internal.inc.Incremental$.$anonfun$incrementalCompile$8(Incremental.scala:416) [error] sbt.internal.inc.Incremental$.withClassfileManager(Incremental.scala:503) [error] sbt.internal.inc.Incremental$.incrementalCompile(Incremental.scala:403) [error] sbt.internal.inc.Incremental$.apply(Incremental.scala:169) [error] sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:528) [error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:482) [error] sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:332) [error] sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:420) [error] sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:137) [error] sbt.Defaults$.compileIncrementalTaskImpl(Defaults.scala:2366) [error] sbt.Defaults$.$anonfun$compileIncrementalTask$2(Defaults.scala:2316) [error] sbt.internal.server.BspCompileTask$.$anonfun$compute$1(BspCompileTask.scala:30) [error] sbt.internal.io.Retry$.apply(Retry.scala:46) [error] sbt.internal.io.Retry$.apply(Retry.scala:28) [error] sbt.internal.io.Retry$.apply(Retry.scala:23) [error] sbt.internal.server.BspCompileTask$.compute(BspCompileTask.scala:30) [error] sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:2314) [error] scala.Function1.$anonfun$compose$1(Function1.scala:49) [error] sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) [error] sbt.std.Transform$$anon$4.work(Transform.scala:68) [error] sbt.Execute.$anonfun$submit$2(Execute.scala:282) [error] sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:23) [error] sbt.Execute.work(Execute.scala:291) [error] sbt.Execute.$anonfun$submit$1(Execute.scala:282) [error] sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265) [error] sbt.CompletionService$$anon$2.call(CompletionService.scala:64) [error] java.util.concurrent.FutureTask.run(FutureTask.java:266) [error] java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [error] java.util.concurrent.FutureTask.run(FutureTask.java:266) [error] java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [error] java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [error] java.lang.Thread.run(Thread.java:750) [error] [error] sbt.internal.inc.InvalidComponent: The compiler bridge sources CoursierModuleDescriptor(ModuleDescriptorConfiguration(false, None, org.scala-sbt.temp:temp-module-98ec89c315ed408f615fff2c4774286d17323b01:1.6.0:compile, ModuleInfo(temp-module-98ec89c315ed408f615fff2c4774286d17323b01, , None, None, Vector(), , None, None, Vector()), Vector(org.scala-sbt:compiler-bridge_2.12:1.6.0:compile), Vector(), Vector(), , Vector(compile, runtime, test, provided, optional), Some(compile), ConflictManager(latest-revision, *, *)),CoursierConfiguration(Some(sbt.internal.util.ManagedLogger@73afdee), Vector(Raw(ProjectResolver(inter-project, mapped: )), public: https://repo1.maven.org/maven2/, FileRepository(local, Patterns(ivyPatterns=Vector(/home/zyy/.ivy2/local/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)([branch]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), artifactPatterns=Vector(/home/zyy/.ivy2/local/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)([branch]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), isMavenCompatible=false, descriptorOptional=false, skipConsistencyCheck=false), FileConfiguration(true, None)), URLRepository(sbt-plugin-releases, Patterns(ivyPatterns=Vector(https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)([branch]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), artifactPatterns=Vector(https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)([branch]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), isMavenCompatible=false, descriptorOptional=false, skipConsistencyCheck=false), false), URLRepository(typesafe-alt-ivy-releases, Patterns(ivyPatterns=Vector(https://repo.typesafe.com/typesafe/ivy-releases/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)([branch]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), artifactPatterns=Vector(https://repo.typesafe.com/typesafe/ivy-releases/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)([branch]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), isMavenCompatible=false, descriptorOptional=false, skipConsistencyCheck=false), false), sbt-maven-releases: https://repo.scala-sbt.org/scalasbt/maven-releases/, sbt-maven-snapshots: https://repo.scala-sbt.org/scalasbt/maven-snapshots/, URLRepository(typesafe-ivy-releases, Patterns(ivyPatterns=Vector(https://repo.typesafe.com/typesafe/ivy-releases/[organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext]), artifactPatterns=Vector(https://repo.typesafe.com/typesafe/ivy-releases/[organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext]), isMavenCompatible=false, descriptorOptional=false, skipConsistencyCheck=false), false), URLRepository(sbt-ivy-snapshots, Patterns(ivyPatterns=Vector(https://repo.scala-sbt.org/scalasbt/ivy-snapshots/[organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext]), artifactPatterns=Vector(https://repo.scala-sbt.org/scalasbt/ivy-snapshots/[organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext]), isMavenCompatible=false, descriptorOptional=false, skipConsistencyCheck=false), false)), 6, 100, Some(org.scala-lang), Some(2.12.15), Vector(/home/zyy/.sbt/boot/scala-2.12.15/lib/scala-xml_2.12.jar, /home/zyy/.sbt/boot/scala-2.12.15/lib/scala-reflect.jar, /home/zyy/.sbt/boot/scala-2.12.15/lib/scala-compiler.jar, /home/zyy/.sbt/boot/scala-2.12.15/lib/scala-library.jar, /home/zyy/.sbt/boot/scala-2.12.15/lib/jline.jar), Vector(), Vector(), Vector(), true, false, Vector(), Vector(), Some(org.scala-lang), Some(2.12.16), Vector(), Vector(), None, Some(/home/zyy/.cache/coursier/v1), Some(/home/zyy/.ivy2), None, None, Vector(), Vector(), Vector((ModuleMatchers(Set(), Set(), true),Relaxed)), true, 0, Some(24 hours), Vector(Some(SHA-1), None), Vector(LocalUpdateChanging, LocalOnly, Update), false, false, false, Vector())) could not be retrieved [error] [error] Note: Unresolved dependencies path: [error] at sbt.internal.inc.ZincLMHelper$.update(ZincComponentCompiler.scala:308) [error] at sbt.internal.inc.ZincComponentCompiler.$anonfun$compileAndInstall$3(ZincComponentCompiler.scala:264) [error] at sbt.internal.inc.ZincComponentCompiler.$anonfun$compileAndInstall$3$adapted(ZincComponentCompiler.scala:257) [error] at sbt.io.IO$.withTemporaryDirectory(IO.scala:490) [error] at sbt.io.IO$.withTemporaryDirectory(IO.scala:500) [error] at sbt.internal.inc.ZincComponentCompiler.$anonfun$compileAndInstall$2(ZincComponentCompiler.scala:257) [error] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) [error] at sbt.internal.util.BufferedLogger.bufferQuietly(BufferedLogger.scala:159) [error] at sbt.internal.inc.ZincComponentCompiler.$anonfun$compileAndInstall$1(ZincComponentCompiler.scala:257) [error] at sbt.internal.inc.ZincComponentCompiler.$anonfun$compileAndInstall$1$adapted(ZincComponentCompiler.scala:254) [error] at sbt.io.IO$.withTemporaryDirectory(IO.scala:490) [error] at sbt.io.IO$.withTemporaryDirectory(IO.scala:500) [error] at sbt.internal.inc.ZincComponentCompiler.compileAndInstall(ZincComponentCompiler.scala:254) [error] at sbt.internal.inc.ZincComponentCompiler.$anonfun$compiledBridgeJar$1(ZincComponentCompiler.scala:222) [error] at sbt.internal.inc.IfMissing$Define.run(IfMissing.scala:19) [error] at sbt.internal.inc.ZincComponentManager.createAndCache$1(ZincComponentManager.scala:51) [error] at sbt.internal.inc.ZincComponentManager.$anonfun$files$3(ZincComponentManager.scala:62) [error] at sbt.internal.inc.ZincComponentManager.getOrElse$1(ZincComponentManager.scala:43) [error] at sbt.internal.inc.ZincComponentManager.$anonfun$files$2(ZincComponentManager.scala:62) [error] at sbt.internal.inc.ZincComponentManager$$anon$1.call(ZincComponentManager.scala:91) [error] at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:95) [error] at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:80) [error] at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:99) [error] at xsbt.boot.Using$.withResource(Using.scala:10) [error] at xsbt.boot.Using$.apply(Using.scala:9) [error] at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:60) [error] at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:50) [error] at xsbt.boot.Locks$.apply0(Locks.scala:31) [error] at xsbt.boot.Locks$.apply(Locks.scala:28) [error] at sbt.internal.inc.ZincComponentManager.lock(ZincComponentManager.scala:91) [error] at sbt.internal.inc.ZincComponentManager.$anonfun$lockSecondaryCache$1(ZincComponentManager.scala:88) [error] at scala.Option.map(Option.scala:230) [error] at sbt.internal.inc.ZincComponentManager.lockSecondaryCache(ZincComponentManager.scala:88) [error] at sbt.internal.inc.ZincComponentManager.fromSecondary$1(ZincComponentManager.scala:60) [error] at sbt.internal.inc.ZincComponentManager.$anonfun$files$6(ZincComponentManager.scala:66) [error] at sbt.internal.inc.ZincComponentManager.getOrElse$1(ZincComponentManager.scala:43) [error] at sbt.internal.inc.ZincComponentManager.$anonfun$files$5(ZincComponentManager.scala:66) [error] at sbt.internal.inc.ZincComponentManager$$anon$1.call(ZincComponentManager.scala:91) [error] at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:95) [error] at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:80) [error] at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:99) [error] at xsbt.boot.Using$.withResource(Using.scala:10) [error] at xsbt.boot.Using$.apply(Using.scala:9) [error] at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:60) [error] at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:50) [error] at xsbt.boot.Locks$.apply0(Locks.scala:31) [error] at xsbt.boot.Locks$.apply(Locks.scala:28) [error] at sbt.internal.inc.ZincComponentManager.lock(ZincComponentManager.scala:91) [error] at sbt.internal.inc.ZincComponentManager.lockLocalCache(ZincComponentManager.scala:84) [error] at sbt.internal.inc.ZincComponentManager.files(ZincComponentManager.scala:66) [error] at sbt.internal.inc.ZincComponentManager.file(ZincComponentManager.scala:72) [error] at sbt.internal.inc.ZincComponentCompiler.compiledBridgeJar(ZincComponentCompiler.scala:222) [error] at sbt.internal.inc.ZincComponentCompiler$ZincCompilerBridgeProvider.compiledBridge(ZincComponentCompiler.scala:63) [error] at sbt.internal.inc.ZincComponentCompiler$ZincCompilerBridgeProvider.fetchCompiledBridge(ZincComponentCompiler.scala:70) [error] at sbt.internal.inc.AnalyzingCompiler.getDualLoader(AnalyzingCompiler.scala:354) [error] at sbt.internal.inc.AnalyzingCompiler.getCompilerLoader(AnalyzingCompiler.scala:343) [error] at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:87) [error] at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$7(MixedAnalyzingCompiler.scala:192) [error] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) [error] at sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:247) [error] at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:182) [error] at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4$adapted(MixedAnalyzingCompiler.scala:163) [error] at sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:239) [error] at sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:163) [error] at sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:210) [error] at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:528) [error] at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:528) [error] at sbt.internal.inc.Incremental$.$anonfun$apply$5(Incremental.scala:177) [error] at sbt.internal.inc.Incremental$.$anonfun$apply$5$adapted(Incremental.scala:175) [error] at sbt.internal.inc.Incremental$$anon$2.run(Incremental.scala:461) [error] at sbt.internal.inc.IncrementalCommon$CycleState.next(IncrementalCommon.scala:116) [error] at sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:56) [error] at sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:52) [error] at sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:263) [error] at sbt.internal.inc.Incremental$.$anonfun$incrementalCompile$8(Incremental.scala:416) [error] at sbt.internal.inc.Incremental$.withClassfileManager(Incremental.scala:503) [error] at sbt.internal.inc.Incremental$.incrementalCompile(Incremental.scala:403) [error] at sbt.internal.inc.Incremental$.apply(Incremental.scala:169) [error] at sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:528) [error] at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:482) [error] at sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:332) [error] at sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:420) [error] at sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:137) [error] at sbt.Defaults$.compileIncrementalTaskImpl(Defaults.scala:2366) [error] at sbt.Defaults$.$anonfun$compileIncrementalTask$2(Defaults.scala:2316) [error] at sbt.internal.server.BspCompileTask$.$anonfun$compute$1(BspCompileTask.scala:30) [error] at sbt.internal.io.Retry$.apply(Retry.scala:46) [error] at sbt.internal.io.Retry$.apply(Retry.scala:28) [error] at sbt.internal.io.Retry$.apply(Retry.scala:23) [error] at sbt.internal.server.BspCompileTask$.compute(BspCompileTask.scala:30) [error] at sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:2314) [error] at scala.Function1.$anonfun$compose$1(Function1.scala:49) [error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62) [error] at sbt.std.Transform$$anon$4.work(Transform.scala:68) [error] at sbt.Execute.$anonfun$submit$2(Execute.scala:282) [error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:23) [error] at sbt.Execute.work(Execute.scala:291) [error] at sbt.Execute.$anonfun$submit$1(Execute.scala:282) [error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265) [error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:64) [error] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [error] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [error] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [error] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [error] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [error] at java.lang.Thread.run(Thread.java:750) [error] (Compile / compileIncremental) sbt.internal.inc.InvalidComponent: The compiler bridge sources CoursierModuleDescriptor(ModuleDescriptorConfiguration(false, None, org.scala-sbt.temp:temp-module-98ec89c315ed408f615fff2c4774286d17323b01:1.6.0:compile, ModuleInfo(temp-module-98ec89c315ed408f615fff2c4774286d17323b01, , None, None, Vector(), , None, None, Vector()), Vector(org.scala-sbt:compiler-bridge_2.12:1.6.0:compile), Vector(), Vector(), , Vector(compile, runtime, test, provided, optional), Some(compile), ConflictManager(latest-revision, *, *)),CoursierConfiguration(Some(sbt.internal.util.ManagedLogger@73afdee), Vector(Raw(ProjectResolver(inter-project, mapped: )), public: https://repo1.maven.org/maven2/, FileRepository(local, Patterns(ivyPatterns=Vector(/home/zyy/.ivy2/local/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)([branch]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), artifactPatterns=Vector(/home/zyy/.ivy2/local/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)([branch]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), isMavenCompatible=false, descriptorOptional=false, skipConsistencyCheck=false), FileConfiguration(true, None)), URLRepository(sbt-plugin-releases, Patterns(ivyPatterns=Vector(https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)([branch]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), artifactPatterns=Vector(https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)([branch]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), isMavenCompatible=false, descriptorOptional=false, skipConsistencyCheck=false), false), URLRepository(typesafe-alt-ivy-releases, Patterns(ivyPatterns=Vector(https://repo.typesafe.com/typesafe/ivy-releases/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)([branch]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), artifactPatterns=Vector(https://repo.typesafe.com/typesafe/ivy-releases/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)([branch]/)[revision]/[type]s/[artifact](-[classifier]).[ext]), isMavenCompatible=false, descriptorOptional=false, skipConsistencyCheck=false), false), sbt-maven-releases: https://repo.scala-sbt.org/scalasbt/maven-releases/, sbt-maven-snapshots: https://repo.scala-sbt.org/scalasbt/maven-snapshots/, URLRepository(typesafe-ivy-releases, Patterns(ivyPatterns=Vector(https://repo.typesafe.com/typesafe/ivy-releases/[organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext]), artifactPatterns=Vector(https://repo.typesafe.com/typesafe/ivy-releases/[organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext]), isMavenCompatible=false, descriptorOptional=false, skipConsistencyCheck=false), false), URLRepository(sbt-ivy-snapshots, Patterns(ivyPatterns=Vector(https://repo.scala-sbt.org/scalasbt/ivy-snapshots/[organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext]), artifactPatterns=Vector(https://repo.scala-sbt.org/scalasbt/ivy-snapshots/[organization]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext]), isMavenCompatible=false, descriptorOptional=false, skipConsistencyCheck=false), false)), 6, 100, Some(org.scala-lang), Some(2.12.15), Vector(/home/zyy/.sbt/boot/scala-2.12.15/lib/scala-xml_2.12.jar, /home/zyy/.sbt/boot/scala-2.12.15/lib/scala-reflect.jar, /home/zyy/.sbt/boot/scala-2.12.15/lib/scala-compiler.jar, /home/zyy/.sbt/boot/scala-2.12.15/lib/scala-library.jar, /home/zyy/.sbt/boot/scala-2.12.15/lib/jline.jar), Vector(), Vector(), Vector(), true, false, Vector(), Vector(), Some(org.scala-lang), Some(2.12.16), Vector(), Vector(), None, Some(/home/zyy/.cache/coursier/v1), Some(/home/zyy/.ivy2), None, None, Vector(), Vector(), Vector((ModuleMatchers(Set(), Set(), true),Relaxed)), true, 0, Some(24 hours), Vector(Some(SHA-1), None), Vector(LocalUpdateChanging, LocalOnly, Update), false, false, false, Vector())) could not be retrieved. [error] [error] Note: Unresolved dependencies path: [error] Total time: 1 s, completed 2022-8-16 7:57:48
Hi,
By standalone server, you mean without internet connection ?
If yes, did you tried https://github.com/SpinalHDL/SpinalNomad ?
fixed it after copying compiler-bridge_2.12-1.6.0.jar to the server
I am trying to compile SpinalTemplateSbt using SBT way on standalone server, but failed when i try "sbt run". the log as following,