Skip to content

Instantly share code, notes, and snippets.

@xuwei-k
Created January 14, 2012 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xuwei-k/1612253 to your computer and use it in GitHub Desktop.
Save xuwei-k/1612253 to your computer and use it in GitHub Desktop.
sbt 0.11.2 and Scala2.10-SNAPSHOT
resolvers += ScalaToolsSnapshots
scalaVersion := "2.10.0-SNAPSHOT"
Getting Scala 2.10.0-SNAPSHOT ...
downloading http://scala-tools.org/repo-snapshots/org/scala-lang/scala-compiler/2.10.0-SNAPSHOT/scala-compiler-2.10.0-20120114.031623-248.jar ...
[SUCCESSFUL ] org.scala-lang#scala-compiler;2.10.0-SNAPSHOT!scala-compiler.jar (431435ms)
downloading http://scala-tools.org/repo-snapshots/org/scala-lang/scala-library/2.10.0-SNAPSHOT/scala-library-2.10.0-20120114.031623-248.jar ...
[SUCCESSFUL ] org.scala-lang#scala-library;2.10.0-SNAPSHOT!scala-library.jar (233204ms)
downloading http://scala-tools.org/repo-snapshots/org/scala-lang/jline/2.10.0-SNAPSHOT/jline-2.10.0-20120114.031623-248.jar ...
[SUCCESSFUL ] org.scala-lang#jline;2.10.0-SNAPSHOT!jline.jar (6078ms)
:: retrieving :: org.scala-tools.sbt#boot-scala
confs: [default]
4 artifacts copied, 0 already retrieved (19838kB/71ms)
[info] Updating {file:/Users/kenji/scala2.10-sandbox/}default-c78314...
[info] Resolving org.scala-lang#scala-library;2.10.0-SNAPSHOT ...
[info] Done updating.
[info] 'compiler-interface' not yet compiled for Scala 2.10.0.rdev-4173-2012-01-14-gd7981e7. Compiling...
/var/folders/jf/660hwzlx59qcpb89npfk33fh0000gn/T/sbt_63ddfec9/API.scala:263: error: type mismatch;
found : API.this.global.tpnme.NameType
(which expands to) API.this.global.TypeName
required: String
sym.isLocalClass || sym.isAnonymousClass || sym.fullName.endsWith(LocalChild)
^
one error found
[error] (run-main) Error compiling sbt component 'compiler-interface'
Error compiling sbt component 'compiler-interface'
at sbt.compiler.ComponentCompiler$$anonfun$sbt$compiler$ComponentCompiler$$compileSources$1$$anonfun$apply$1.apply(ComponentCompiler.scala:73)
at sbt.compiler.ComponentCompiler$$anonfun$sbt$compiler$ComponentCompiler$$compileSources$1$$anonfun$apply$1.apply(ComponentCompiler.scala:64)
at sbt.IO$.withTemporaryDirectory(IO.scala:222)
at sbt.compiler.ComponentCompiler$$anonfun$sbt$compiler$ComponentCompiler$$compileSources$1.apply(ComponentCompiler.scala:64)
at sbt.compiler.ComponentCompiler$$anonfun$sbt$compiler$ComponentCompiler$$compileSources$1.apply(ComponentCompiler.scala:61)
at sbt.IO$.withTemporaryDirectory(IO.scala:222)
at sbt.compiler.ComponentCompiler.sbt$compiler$ComponentCompiler$$compileSources(ComponentCompiler.scala:61)
at sbt.compiler.ComponentCompiler$$anonfun$compileAndInstall$1.apply(ComponentCompiler.scala:50)
at sbt.compiler.ComponentCompiler$$anonfun$compileAndInstall$1.apply(ComponentCompiler.scala:48)
at sbt.IO$.withTemporaryDirectory(IO.scala:222)
at sbt.compiler.ComponentCompiler.compileAndInstall(ComponentCompiler.scala:48)
at sbt.compiler.ComponentCompiler$$anonfun$getLocallyCompiled$1.apply$mcV$sp(ComponentCompiler.scala:37)
at sbt.IfMissing$Define.apply(ComponentManager.scala:77)
at sbt.ComponentManager.createAndCache$1(ComponentManager.scala:39)
at sbt.ComponentManager$$anonfun$fromGlobal$1$1.apply(ComponentManager.scala:27)
at sbt.ComponentManager$$anonfun$fromGlobal$1$1.apply(ComponentManager.scala:26)
at sbt.ComponentManager$$anon$1.call(ComponentManager.scala:50)
at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:75)
at xsbt.boot.Locks$GlobalLock.withChannelRetries$1(Locks.scala:58)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:79)
at xsbt.boot.Using$.withResource(Using.scala:11)
at xsbt.boot.Using$.apply(Using.scala:10)
at xsbt.boot.Locks$GlobalLock.liftedTree1$1(Locks.scala:51)
at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:51)
at xsbt.boot.Locks$.apply0(Locks.scala:30)
at xsbt.boot.Locks$.apply(Locks.scala:27)
at sbt.ComponentManager.lock(ComponentManager.scala:50)
at sbt.ComponentManager.lockGlobalCache(ComponentManager.scala:49)
at sbt.ComponentManager.fromGlobal$1(ComponentManager.scala:25)
at sbt.ComponentManager$$anonfun$files$1$$anonfun$apply$2.apply(ComponentManager.scala:44)
at sbt.ComponentManager$$anonfun$files$1$$anonfun$apply$2.apply(ComponentManager.scala:44)
at sbt.ComponentManager.getOrElse$1(ComponentManager.scala:32)
at sbt.ComponentManager$$anonfun$files$1.apply(ComponentManager.scala:44)
at sbt.ComponentManager$$anonfun$files$1.apply(ComponentManager.scala:44)
at sbt.ComponentManager$$anon$1.call(ComponentManager.scala:50)
at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:75)
at xsbt.boot.Locks$GlobalLock.withChannelRetries$1(Locks.scala:58)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:79)
at xsbt.boot.Using$.withResource(Using.scala:11)
at xsbt.boot.Using$.apply(Using.scala:10)
at xsbt.boot.Locks$GlobalLock.liftedTree1$1(Locks.scala:51)
at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:51)
at xsbt.boot.Locks$.apply0(Locks.scala:30)
at xsbt.boot.Locks$.apply(Locks.scala:27)
at sbt.ComponentManager.lock(ComponentManager.scala:50)
at sbt.ComponentManager.lockLocalCache(ComponentManager.scala:47)
at sbt.ComponentManager.files(ComponentManager.scala:44)
at sbt.ComponentManager.file(ComponentManager.scala:53)
at sbt.compiler.ComponentCompiler.getLocallyCompiled(ComponentCompiler.scala:37)
at sbt.compiler.ComponentCompiler.apply(ComponentCompiler.scala:27)
at sbt.compiler.AnalyzingCompiler.getInterfaceJar(AnalyzingCompiler.scala:73)
at sbt.compiler.AnalyzingCompiler.loader(AnalyzingCompiler.scala:62)
at sbt.compiler.AnalyzingCompiler.getInterfaceClass(AnalyzingCompiler.scala:67)
at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:54)
at sbt.compiler.AnalyzingCompiler.console(AnalyzingCompiler.scala:48)
at sbt.Console.console0$1(Console.scala:23)
at sbt.Console$$anonfun$apply$2$$anonfun$apply$1.apply$mcV$sp(Console.scala:24)
at sbt.TrapExit$.executeMain$1(TrapExit.scala:33)
at sbt.TrapExit$$anon$1.run(TrapExit.scala:42)
java.lang.RuntimeException: Nonzero exit code: 1
at scala.sys.package$.error(package.scala:27)
at sbt.Defaults$$anonfun$consoleTask$1$$anonfun$apply$23.apply(Defaults.scala:475)
at sbt.Defaults$$anonfun$consoleTask$1$$anonfun$apply$23.apply(Defaults.scala:475)
at scala.Option.foreach(Option.scala:197)
at sbt.Defaults$$anonfun$consoleTask$1.apply(Defaults.scala:475)
at sbt.Defaults$$anonfun$consoleTask$1.apply(Defaults.scala:474)
at sbt.Scoped$$anonfun$hf6$1.apply(Structure.scala:477)
at sbt.Scoped$$anonfun$hf6$1.apply(Structure.scala:477)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:41)
at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$11.apply(Structure.scala:295)
at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$11.apply(Structure.scala:295)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
at sbt.std.Transform$$anon$5.work(System.scala:67)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:221)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:221)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:227)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:221)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:221)
at sbt.CompletionService$$anon$1$$anon$2.call(CompletionService.scala:26)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment