[debug] [debug] Initial source changes: [debug] removed:Set() [debug] added: Set(C:\MNWE\src\main\scala\MNWE.scala) [debug] modified: Set() [debug] Removed products: Set() [debug] Modified external sources: Set() [debug] Modified binary dependencies: Set() [debug] Initial directly invalidated sources: Set(C:\MNWE\src\main\scala\MNWE.scala) [debug] [debug] Sources indirectly invalidated by: [debug] product: Set() [debug] binary dep: Set() [debug] external source: Set() [debug] All initially invalidated sources: Set(C:\MNWE\src\main\scala\MNWE.scala) [debug] Recompiling all 1 sources: invalidated sources (1) exceeded 50.0% of all sources [info] Compiling 1 Scala source to C:\MNWE\target\scala-2.10\classes... [debug] Running cached compiler 3ab32772, interfacing (CompilerInterface) with Scala compiler version 2.10.2-RC1 [debug] Calling Scala compiler with arguments (CompilerInterface): [debug] -d [debug] C:\MNWE\target\scala-2.10\classes [debug] -bootclasspath [debug] C:\Program Files\Java\jre7\lib\resources.jar;C:\Program Files\Java\jre7\lib\rt.jar;C:\Program Files\Java\jre7\lib\sunrsasign.jar;C:\Program Files\Java\jre7\lib\jsse.jar;C:\Program Files\Java\jre7\lib\jce.jar;C:\Program Files\Java\jre7\lib\charsets.jar;C:\Program Files\Java\jre7\lib\jfr.jar;C:\Program Files\Java\jre7\classes;C:\Users\RCH\.sbt\boot\scala-2.10.2-RC1\lib\scala-library.jar [debug] -classpath [debug] C:\MNWE\target\scala-2.10\classes [error] C:\MNWE\src\main\scala\MNWE.scala:3: inferred type arguments [Int] do not conform to method crash's type parameter bounds [R <: AnyRef] [error] crash(42) [error] ^ [error] C:\MNWE\src\main\scala\MNWE.scala:3: type mismatch; [error] found : Int(42) [error] required: R [error] crash(42) [error] ^ [error] C:\MNWE\src\main\scala\MNWE.scala:3: could not find implicit value for parameter ev: R [error] crash(42) [error] ^ [error] uncaught exception during compilation: java.lang.AssertionError java.lang.AssertionError: assertion failed: while compiling: C:\MNWE\src\main\scala\MNWE.scala during phase: typer library version: version 2.10.2-RC1 compiler version: version 2.10.2-RC1 reconstructed args: -classpath C:\MNWE\target\scala-2.10\classes -d C:\MNWE\target\scala-2.10\classes -bootclasspath C:\Program Files\Java\jre7\lib\resources.jar;C:\Program Files\Java\jre7\lib\rt.jar;C:\Program Files\Java\jre7\lib\sunrsasign.jar;C:\Program Files\Java\jre7\lib\jsse.jar;C:\Program Files\Java\jre7\lib\jce.jar;C:\Program Files\Java\jre7\lib\charsets.jar;C:\Program Files\Java\jre7\lib\jfr.jar;C:\Program Files\Java\jre7\classes;C:\Users\RCH\.sbt\boot\scala-2.10.2-RC1\lib\scala-library.jar last tree to typer: Literal(Constant(42)) symbol: null symbol definition: null tpe: symbol owners: context owners: value -> object MNWE -> package == Enclosing template or block == Template( // val : in object MNWE "App" // parents ValDef( private "_" ) // 3 statements DefDef( // def (): MNWE.type in object MNWE "" [] List(Nil) // tree.tpe=MNWE.type Block( // tree.tpe=Unit Apply( // def (): Object in class Object, tree.tpe=Object MNWE.super."" // def (): Object in class Object, tree.tpe=()Object Nil ) () ) ) DefDef( // def crash[R <: AnyRef](f: R)(implicit ev: R): Any in object MNWE "crash" TypeDef( // R <: AnyRef "R" [] TypeBoundsTree( "_root_"."scala"."Nothing" // final abstract class Nothing extends Any in package scala, tree.tpe=Nothing "AnyRef" ) ) // 2 parameter lists ValDef( // f: R "f" "R" // R <: AnyRef, tree.tpe=R ) ValDef( // implicit ev: R implicit "ev" "R" // R <: AnyRef, tree.tpe=R ) "Any" // tree.tpe=Any "$qmark$qmark$qmark" ) Apply( "crash" 42 ) ) == Expanded type of tree == MNWE.this.crash[R](42) at scala.tools.nsc.typechecker.Typers$Typer.tryNamesDefaults$1(Typers.scala:3273) at scala.tools.nsc.typechecker.Typers$Typer.doTypedApply(Typers.scala:3309) at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4589) at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4621) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5526) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5604) at scala.tools.nsc.typechecker.Typers$Typer.adaptToImplicitMethod$1(Typers.scala:870) at scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1126) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5622) at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2926) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3030) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3030) at scala.collection.immutable.List.loop$1(List.scala:170) at scala.collection.immutable.List.mapConserve(List.scala:186) at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3030) at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1919) at scala.tools.nsc.typechecker.Typers$Typer.typedModuleDef(Typers.scala:1800) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5546) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5604) at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2926) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3030) at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3030) at scala.collection.immutable.List.loop$1(List.scala:170) at scala.collection.immutable.List.mapConserve(List.scala:186) at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3030) at scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5263) at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5549) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5604) at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5666) at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.apply(Analyzer.scala:99) at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:464) at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3$$anonfun$run$1.apply(Analyzer.scala:91) at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3$$anonfun$run$1.apply(Analyzer.scala:91) at scala.collection.Iterator$class.foreach(Iterator.scala:727) at scala.collection.AbstractIterator.foreach(Iterator.scala:1157) at scala.tools.nsc.typechecker.Analyzer$typerFactory$$anon$3.run(Analyzer.scala:91) 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 xsbt.CachedCompiler0.run(CompilerInterface.scala:90) at xsbt.CachedCompiler0.run(CompilerInterface.scala:72) at xsbt.CompilerInterface.run(CompilerInterface.scala:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:73) at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:35) at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:29) at sbt.compiler.AggressiveCompile$$anonfun$4$$anonfun$compileScala$1$1.apply$mcV$sp(AggressiveCompile.scala:71) at sbt.compiler.AggressiveCompile$$anonfun$4$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:71) at sbt.compiler.AggressiveCompile$$anonfun$4$$anonfun$compileScala$1$1.apply(AggressiveCompile.scala:71) at sbt.compiler.AggressiveCompile.sbt$compiler$AggressiveCompile$$timed(AggressiveCompile.scala:101) at sbt.compiler.AggressiveCompile$$anonfun$4.compileScala$1(AggressiveCompile.scala:70) at sbt.compiler.AggressiveCompile$$anonfun$4.apply(AggressiveCompile.scala:88) at sbt.compiler.AggressiveCompile$$anonfun$4.apply(AggressiveCompile.scala:60) at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:24) at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:22) at sbt.inc.Incremental$.cycle(Incremental.scala:52) at sbt.inc.Incremental$.compile(Incremental.scala:29) at sbt.inc.IncrementalCompile$.apply(Compile.scala:20) at sbt.compiler.AggressiveCompile.compile2(AggressiveCompile.scala:96) at sbt.compiler.AggressiveCompile.compile1(AggressiveCompile.scala:44) at sbt.compiler.AggressiveCompile.apply(AggressiveCompile.scala:31) at sbt.Compiler$.apply(Compiler.scala:79) at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:574) at sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:574) at sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:578) at sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:578) at scala.Function1$$anonfun$compose$1.apply(Function1.scala:49) at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311) at sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311) at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:41) at sbt.std.Transform$$anon$5.work(System.scala:71) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232) at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18) at sbt.Execute.work(Execute.scala:238) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232) at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160) at sbt.CompletionService$$anon$2.call(CompletionService.scala:30) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) [error] (compile:compile) java.lang.AssertionError: assertion failed: [error] while compiling: C:\MNWE\src\main\scala\MNWE.scala [error] during phase: typer [error] library version: version 2.10.2-RC1 [error] compiler version: version 2.10.2-RC1 [error] reconstructed args: -classpath C:\MNWE\target\scala-2.10\classes -d C:\MNWE\target\scala-2.10\classes -bootclasspath C:\Program Files\Java\jre7\lib\resources.jar;C:\Program Files\Java\jre7\lib\rt.jar;C:\Program Files\Java\jre7\lib\sunrsasign.jar;C:\Program Files\Java\jre7\lib\jsse.jar;C:\Program Files\Java\jre7\lib\jce.jar;C:\Program Files\Java\jre7\lib\charsets.jar;C:\Program Files\Java\jre7\lib\jfr.jar;C:\Program Files\Java\jre7\classes;C:\Users\RCH\.sbt\boot\scala-2.10.2-RC1\lib\scala-library.jar [error] [error] last tree to typer: Literal(Constant(42)) [error] symbol: null [error] symbol definition: null [error] tpe: [error] symbol owners: [error] context owners: value -> object MNWE -> package [error] [error] == Enclosing template or block == [error] [error] Template( // val : in object MNWE [error] "App" // parents [error] ValDef( [error] private [error] "_" [error] [error] [error] ) [error] // 3 statements [error] DefDef( // def (): MNWE.type in object MNWE [error] [error] "" [error] [] [error] List(Nil) [error] // tree.tpe=MNWE.type [error] Block( // tree.tpe=Unit [error] Apply( // def (): Object in class Object, tree.tpe=Object [error] MNWE.super."" // def (): Object in class Object, tree.tpe=()Object [error] Nil [error] ) [error] () [error] ) [error] ) [error] DefDef( // def crash[R <: AnyRef](f: R)(implicit ev: R): Any in object MNWE [error] [error] "crash" [error] TypeDef( // R <: AnyRef [error] [error] "R" [error] [] [error] TypeBoundsTree( [error] "_root_"."scala"."Nothing" // final abstract class Nothing extends Any in package scala, tree.tpe=Nothing [error] "AnyRef" [error] ) [error] ) [error] // 2 parameter lists [error] ValDef( // f: R [error] [error] "f" [error] "R" // R <: AnyRef, tree.tpe=R [error] [error] ) [error] ValDef( // implicit ev: R [error] implicit [error] "ev" [error] "R" // R <: AnyRef, tree.tpe=R [error] [error] ) [error] "Any" // tree.tpe=Any [error] "$qmark$qmark$qmark" [error] ) [error] Apply( [error] "crash" [error] 42 [error] ) [error] ) [error] [error] == Expanded type of tree == [error] [error] [error] [error] MNWE.this.crash[R](42)