Skip to content

Instantly share code, notes, and snippets.

@pk11
Created August 27, 2012 12:49
Show Gist options
  • Save pk11/3488129 to your computer and use it in GitHub Desktop.
Save pk11/3488129 to your computer and use it in GitHub Desktop.
playbench 2.10.0-M7 java7
[error]
[error] while compiling: /Users/phausel/workspace/playbench/src/main/scala/play/api/libs/concurrent/Promise.scala
[error] during phase: typer
[error] library version: version 2.10.0-M7
[error] compiler version: version 2.10.0-M7
[error] reconstructed args: -classpath /Users/phausel/workspace/playbench/target/scala-2.10/classes:/Users/phausel/.ivy2/cache/com.google.guava/guava/jars/guava-10.0.1.jar:/Users/phausel/.ivy2/cache/joda-time/joda-time/jars/joda-time-2.1.jar:/Users/phausel/.ivy2/cache/org.joda/joda-convert/jars/joda-convert-1.2.jar:/Users/phausel/.ivy2/cache/org.javassist/javassist/jars/javassist-3.16.1-GA.jar:/Users/phausel/.ivy2/cache/org.apache.commons/commons-lang3/jars/commons-lang3-3.1.jar:/Users/phausel/.ivy2/cache/org.apache.ws.commons/ws-commons-util/jars/ws-commons-util-1.0.1.jar:/Users/phausel/.ivy2/cache/junit/junit/jars/junit-3.8.1.jar:/Users/phausel/.ivy2/cache/xml-apis/xml-apis/jars/xml-apis-1.0.b2.jar:/Users/phausel/.ivy2/cache/io.netty/netty/bundles/netty-3.5.0.Final.jar:/Users/phausel/.ivy2/cache/net.sf.ehcache/ehcache-core/jars/ehcache-core-2.5.0.jar:/Users/phausel/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.6.4.jar:/Users/phausel/.ivy2/cache/com.typesafe.config/config/jars/config-0.2.1.jar:/Users/phausel/.ivy2/cache/com.h2database/h2/jars/h2-1.3.158.jar:/Users/phausel/.ivy2/cache/org.slf4j/jul-to-slf4j/jars/jul-to-slf4j-1.6.4.jar:/Users/phausel/.ivy2/cache/org.slf4j/jcl-over-slf4j/jars/jcl-over-slf4j-1.6.4.jar:/Users/phausel/.ivy2/cache/com.ning/async-http-client/jars/async-http-client-1.7.0.jar:/Users/phausel/.ivy2/cache/org.reflections/reflections/jars/reflections-0.9.7.jar:/Users/phausel/.ivy2/cache/javax.servlet/javax.servlet-api/jars/javax.servlet-api-3.0.1.jar:/Users/phausel/.ivy2/cache/javax.transaction/jta/jars/jta-1.1.jar:/Users/phausel/.ivy2/cache/tyrex/tyrex/jars/tyrex-1.0.1.jar:/Users/phausel/.ivy2/cache/oauth.signpost/signpost-core/jars/signpost-core-1.2.1.1.jar:/Users/phausel/.ivy2/cache/commons-codec/commons-codec/jars/commons-codec-1.3.jar:/Users/phausel/.ivy2/cache/oauth.signpost/signpost-commonshttp4/jars/signpost-commonshttp4-1.2.1.1.jar:/Users/phausel/.ivy2/cache/org.apache.httpcomponents/httpcore/jars/httpcore-4.0.1.jar:/Users/phausel/.ivy2/cache/org.apache.httpcomponents/httpclient/jars/httpclient-4.0.1.jar:/Users/phausel/.ivy2/cache/commons-logging/commons-logging/jars/commons-logging-1.1.1.jar:/Users/phausel/.ivy2/cache/com.jolbox/bonecp/bundles/bonecp-0.7.1.RELEASE.jar:/Users/phausel/.ivy2/cache/ch.qos.logback/logback-core/jars/logback-core-1.0.3.jar:/Users/phausel/.ivy2/cache/ch.qos.logback/logback-classic/jars/logback-classic-1.0.3.jar -d /Users/phausel/workspace/playbench/target/scala-2.10/classes -bootclasspath /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/JObjC.jar:/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/classes:/Users/phausel/.sbt/boot/scala-2.10.0-M7/lib/scala-library.jar
[error]
[error] last tree to typer: Ident(scala)
[error] symbol: package scala (flags: final <module> <package> <java> <triedcooking>)
[error] symbol definition: final package scala
[error] tpe: scala.type
[error] symbol owners: package scala -> package <root>
[error] context owners: method timeout -> object Promise -> package concurrent
[error]
[error] == Enclosing template or block ==
[error]
[error] Apply(
[error] new RuntimeException."<init>"
[error] Nil
[error] )
[error]
[error] == Expanded type of tree ==
[error]
[error] SingleType(pre = ThisType(package <root>), package scala)
[error]
[error] uncaught exception during compilation: scala.reflect.internal.Symbols$InvalidCompanions
Companions 'type Promise' and 'object Promise' must be defined in same file:
Found in /Users/phausel/workspace/playbench/src/main/scala/play/api/libs/concurrent/package.scala and /Users/phausel/workspace/playbench/src/main/scala/play/api/libs/concurrent/Promise.scala
at scala.reflect.internal.Symbols$Symbol.isCoDefinedWith(Symbols.scala:1799)
at scala.reflect.internal.Symbols$Symbol$$anonfun$companionClass$1.apply(Symbols.scala:1838)
at scala.reflect.internal.Symbols$Symbol$$anonfun$companionClass$1.apply(Symbols.scala:1838)
at scala.reflect.internal.Symbols$Symbol.filter(Symbols.scala:1541)
at scala.reflect.internal.Symbols$Symbol.suchThat(Symbols.scala:1545)
at scala.reflect.internal.Symbols$Symbol.companionClass(Symbols.scala:1838)
at scala.reflect.internal.Symbols$ModuleClassSymbol.linkedClassOfClass(Symbols.scala:2945)
at scala.tools.nsc.typechecker.Contexts$Context.isSubClassOrCompanion(Contexts.scala:460)
at scala.tools.nsc.typechecker.Contexts$Context.enclosingSubClassContext(Contexts.scala:478)
at scala.tools.nsc.typechecker.Contexts$Context.scala$tools$nsc$typechecker$Contexts$Context$$isProtectedAccessOK$1(Contexts.scala:531)
at scala.tools.nsc.typechecker.Contexts$Context.isAccessible(Contexts.scala:568)
at scala.tools.nsc.typechecker.Infer$Inferencer$$anonfun$5.apply(Infer.scala:304)
at scala.tools.nsc.typechecker.Infer$Inferencer$$anonfun$5.apply(Infer.scala:304)
at scala.collection.TraversableLike$$anonfun$filter$1.apply(TraversableLike.scala:264)
at scala.collection.immutable.List.foreach(List.scala:309)
at scala.collection.TraversableLike$class.filter(TraversableLike.scala:263)
at scala.collection.AbstractTraversable.filter(Traversable.scala:105)
at scala.reflect.internal.Symbols$Symbol.filter(Symbols.scala:1535)
at scala.tools.nsc.typechecker.Infer$Inferencer.checkAccessible(Infer.scala:304)
at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$makeAccessible(Typers.scala:605)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$91.apply(Typers.scala:4569)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$91.apply(Typers.scala:4569)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$silent$2.apply(Typers.scala:739)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$silent$2.apply(Typers.scala:738)
at scala.tools.nsc.typechecker.Typers$Typer.withSavedContext(Typers.scala:521)
at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:738)
at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedSelect$1(Typers.scala:4569)
at scala.tools.nsc.typechecker.Typers$Typer.typedSelectOrSuperCall$1(Typers.scala:4650)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5241)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5410)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$84.apply(Typers.scala:4328)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$84.apply(Typers.scala:4328)
at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:728)
at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4328)
at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4379)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5244)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5410)
at scala.tools.nsc.typechecker.Typers$Typer.typedThrow$1(Typers.scala:5069)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5346)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5410)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment