$ ./t warning: At the end of the day, could not inline @inline-marked method ->$extension error: while compiling: .../Summary.scala during phase: jvm library version: version 2.10.4 compiler version: version 2.10.4 reconstructed args: -Ywarn-nullary-unit -Xverify -feature -language:higherKinds -language:postfixOps -Ywarn-inaccessible -Yinline -Yclosure-elim -bootclasspath /Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/lib/jce.jar: .... last tree to typer: Literal(Constant(String)) symbol: null symbol definition: null tpe: Class(classOf[java.lang.String]) symbol owners: context owners: anonymous class anonfun$printSummaries$1 -> package summary == Enclosing template or block == Template( // val : , tree.tpe=com.cphy.tesla.summary.anonfun$printSummaries$1 "scala.runtime.AbstractFunction1$mcVI$sp", "scala.Serializable" // parents ValDef( private "_" ) // 5 statements DefDef( // final def apply(bin: Int): Unit final "apply" [] // 1 parameter list ValDef( // bin: Int "bin" // tree.tpe=Int ) // tree.tpe=Unit Apply( // def apply$mcVI$sp(bin: Int): Unit, tree.tpe=Unit Summary$$anonfun$printSummaries$1.this."apply$mcVI$sp" // def apply$mcVI$sp(bin: Int): Unit, tree.tpe=(bin: Int)Unit "bin" // bin: Int, tree.tpe=Int ) ) DefDef( // def apply$mcVI$sp(bin: Int): Unit "apply$mcVI$sp" [] // 1 parameter list ValDef( // bin: Int "bin" // tree.tpe=Int ) // tree.tpe=Unit Block( // tree.tpe=Unit // 6 statements ValDef( // val hostRddName: String "hostRddName" // tree.tpe=String Apply( // def format(args: Seq): String in trait StringLike, tree.tpe=String new collection.immutable.StringOps(scala.this.Predef.augmentString("runningHostsBinSrcsByHostCount%d"))."format" // def format(args: Seq): String in trait StringLike, tree.tpe=(args: Seq)String Apply( // implicit def genericWrapArray(xs: Object): collection.mutable.WrappedArray in class LowPriorityImplicits, tree.tpe=collection.mutable.WrappedArray scala.this."Predef"."genericWrapArray" // implicit def genericWrapArray(xs: Object): collection.mutable.WrappedArray in class LowPriorityImplicits, tree.tpe=(xs: Object)collection.mutable.WrappedArray ArrayValue( // tree.tpe=Array[Object] // tree.tpe=Object List( Apply( // def box(x: Int): Integer in object Int, tree.tpe=Object "scala"."Int"."box" // def box(x: Int): Integer in object Int, tree.tpe=(x: Int)Integer "bin" // bin: Int, tree.tpe=Int ) ) ) ) ) ) ValDef( // val hostRdd: org.apache.spark.rdd.RDD "hostRdd" // tree.tpe=org.apache.spark.rdd.RDD Apply( // final def $asInstanceOf[T0 >: ? <: ?](): T0 in class Object, tree.tpe=org.apache.spark.rdd.RDD TypeApply( // final def $asInstanceOf[T0 >: ? <: ?](): T0 in class Object, tree.tpe=()org.apache.spark.rdd.RDD Summary$$anonfun$printSummaries$1.this.rdds$2.apply(hostRddName)."$asInstanceOf" // final def $asInstanceOf[T0 >: ? <: ?](): T0 in class Object, tree.tpe=[T0 >: ? <: ?]()T0 // tree.tpe=org.apache.spark.rdd.RDD ) Nil ) ) ValDef( // val hostCount: Long "hostCount" // tree.tpe=Long Apply( // def count(): Long in class RDD, tree.tpe=Long "hostRdd"."count" // def count(): Long in class RDD, tree.tpe=()Long Nil ) ) ValDef( // val vmRddName: String "vmRddName" // tree.tpe=String Apply( // def format(args: Seq): String in trait StringLike, tree.tpe=String new collection.immutable.StringOps(scala.this.Predef.augmentString("runningVMsBinSrcsByHostCount%d"))."format" // def format(args: Seq): String in trait StringLike, tree.tpe=(args: Seq)String Apply( // implicit def genericWrapArray(xs: Object): collection.mutable.WrappedArray in class LowPriorityImplicits, tree.tpe=collection.mutable.WrappedArray scala.this."Predef"."genericWrapArray" // implicit def genericWrapArray(xs: Object): collection.mutable.WrappedArray in class LowPriorityImplicits, tree.tpe=(xs: Object)collection.mutable.WrappedArray ArrayValue( // tree.tpe=Array[Object] // tree.tpe=Object List( Apply( // def box(x: Int): Integer in object Int, tree.tpe=Object "scala"."Int"."box" // def box(x: Int): Integer in object Int, tree.tpe=(x: Int)Integer "bin" // bin: Int, tree.tpe=Int ) ) ) ) ) ) ValDef( // val vmRdd: org.apache.spark.rdd.RDD "vmRdd" // tree.tpe=org.apache.spark.rdd.RDD Apply( // final def $asInstanceOf[T0 >: ? <: ?](): T0 in class Object, tree.tpe=org.apache.spark.rdd.RDD TypeApply( // final def $asInstanceOf[T0 >: ? <: ?](): T0 in class Object, tree.tpe=()org.apache.spark.rdd.RDD Summary$$anonfun$printSummaries$1.this.rdds$2.apply(vmRddName)."$asInstanceOf" // final def $asInstanceOf[T0 >: ? <: ?](): T0 in class Object, tree.tpe=[T0 >: ? <: ?]()T0 // tree.tpe=org.apache.spark.rdd.RDD ) Nil ) ) ValDef( // val vmCount: Long "vmCount" // tree.tpe=Long Apply( // def count(): Long in class RDD, tree.tpe=Long "vmRdd"."count" // def count(): Long in class RDD, tree.tpe=()Long Nil ) ) Apply( // def println(x: Object): Unit in object Predef, tree.tpe=Unit scala.this."Predef"."println" // def println(x: Object): Unit in object Predef, tree.tpe=(x: Object)Unit Apply( // def format(args: Seq): String in trait StringLike, tree.tpe=String new collection.immutable.StringOps(scala.this.Predef.augmentString("%d,%d,%d"))."format" // def format(args: Seq): String in trait StringLike, tree.tpe=(args: Seq)String Apply( // implicit def genericWrapArray(xs: Object): collection.mutable.WrappedArray in class LowPriorityImplicits, tree.tpe=collection.mutable.WrappedArray scala.this."Predef"."genericWrapArray" // implicit def genericWrapArray(xs: Object): collection.mutable.WrappedArray in class LowPriorityImplicits, tree.tpe=(xs: Object)collection.mutable.WrappedArray ArrayValue( // tree.tpe=Array[Object] // tree.tpe=Object List( Apply( // def box(x: Int): Integer in object Int, tree.tpe=Object "scala"."Int"."box" // def box(x: Int): Integer in object Int, tree.tpe=(x: Int)Integer "bin" // bin: Int, tree.tpe=Int ) Apply( // def box(x: Long): Long in object Long, tree.tpe=Object "scala"."Long"."box" // def box(x: Long): Long in object Long, tree.tpe=(x: Long)Long "hostCount" // val hostCount: Long, tree.tpe=Long ) Apply( // def box(x: Long): Long in object Long, tree.tpe=Object "scala"."Long"."box" // def box(x: Long): Long in object Long, tree.tpe=(x: Long)Long "vmCount" // val vmCount: Long, tree.tpe=Long ) ) ) ) ) ) ) ) DefDef( // final def apply(v1: Object): Object final "apply" [] // 1 parameter list ValDef( // v1: Object "v1" // tree.tpe=Object ) // tree.tpe=Object Block( // tree.tpe=runtime.BoxedUnit Apply( // final def apply(bin: Int): Unit, tree.tpe=Unit Summary$$anonfun$printSummaries$1.this."apply" // final def apply(bin: Int): Unit, tree.tpe=(bin: Int)Unit Apply( // def unbox(x: Object): Int in object Int, tree.tpe=Int "scala"."Int"."unbox" // def unbox(x: Object): Int in object Int, tree.tpe=(x: Object)Int "v1" // v1: Object, tree.tpe=Object ) ) "scala"."runtime"."BoxedUnit"."UNIT" // final val UNIT: runtime.BoxedUnit in object BoxedUnit, tree.tpe=runtime.BoxedUnit ) ) ValDef( // val rdds$2: collection.mutable.HashMap private "rdds$2" // tree.tpe=collection.mutable.HashMap ) DefDef( // def (rdds$2: collection.mutable.HashMap): com.cphy.tesla.summary.anonfun$printSummaries$1 "" [] // 1 parameter list ValDef( // rdds$2: collection.mutable.HashMap "rdds$2" // tree.tpe=collection.mutable.HashMap ) // tree.tpe=com.cphy.tesla.summary.anonfun$printSummaries$1 Block( // tree.tpe=Unit // 2 statements Assign( // tree.tpe=Unit Summary$$anonfun$printSummaries$1.this."rdds$2" // val rdds$2: collection.mutable.HashMap, tree.tpe=collection.mutable.HashMap "rdds$2" // rdds$2: collection.mutable.HashMap, tree.tpe=collection.mutable.HashMap ) Apply( // def (): scala.runtime.AbstractFunction1$mcVI$sp in class AbstractFunction1$mcVI$sp, tree.tpe=scala.runtime.AbstractFunction1$mcVI$sp Summary$$anonfun$printSummaries$1.super."" // def (): scala.runtime.AbstractFunction1$mcVI$sp in class AbstractFunction1$mcVI$sp, tree.tpe=()scala.runtime.AbstractFunction1$mcVI$sp Nil ) () ) ) ) == Expanded type of tree == ConstantType(value = Constant(String)) uncaught exception during compilation: java.lang.AssertionError error: java.lang.AssertionError: assertion failed: List(object package$Cluster, object package$Cluster) at scala.reflect.internal.Symbols$Symbol.suchThat(Symbols.scala:1678) at scala.reflect.internal.Symbols$ClassSymbol.companionModule0(Symbols.scala:2988) at scala.reflect.internal.Symbols$ClassSymbol.companionModule(Symbols.scala:2991) at scala.tools.nsc.backend.jvm.GenASM$JPlainBuilder.genClass(GenASM.scala:1371) at scala.tools.nsc.backend.jvm.GenASM$AsmPhase.run(GenASM.scala:120) at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1583) at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1557) at scala.tools.nsc.Global$Run.compileSources(Global.scala:1553) at scala.tools.nsc.Global$Run.compile(Global.scala:1662) at scala.tools.nsc.Driver.doCompile(Driver.scala:33) at scala.tools.nsc.Main$.doCompile(Main.scala:79) at scala.tools.nsc.Driver.process(Driver.scala:54) at scala.tools.nsc.Driver.main(Driver.scala:67) at scala.tools.nsc.Main.main(Main.scala) Exception in thread "main" java.lang.AssertionError: assertion failed: List(object package$Cluster, object package$Cluster) at scala.reflect.internal.Symbols$Symbol.suchThat(Symbols.scala:1678) at scala.reflect.internal.Symbols$ClassSymbol.companionModule0(Symbols.scala:2988) at scala.reflect.internal.Symbols$ClassSymbol.companionModule(Symbols.scala:2991) at scala.tools.nsc.backend.jvm.GenASM$JPlainBuilder.genClass(GenASM.scala:1371) at scala.tools.nsc.backend.jvm.GenASM$AsmPhase.run(GenASM.scala:120) at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1583) at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1557) at scala.tools.nsc.Global$Run.compileSources(Global.scala:1553) at scala.tools.nsc.Global$Run.compile(Global.scala:1662) at scala.tools.nsc.Driver.doCompile(Driver.scala:33) at scala.tools.nsc.Main$.doCompile(Main.scala:79) at scala.tools.nsc.Driver.process(Driver.scala:54) at scala.tools.nsc.Driver.main(Driver.scala:67) at scala.tools.nsc.Main.main(Main.scala)