com-lihaoyi / sourcecode Goto Github PK
View Code? Open in Web Editor NEWScala library providing "source" metadata to your program, similar to Python's __name__, C++'s __LINE__ or Ruby's __FILE__.
License: Other
Scala library providing "source" metadata to your program, similar to Python's __name__, C++'s __LINE__ or Ruby's __FILE__.
License: Other
I'm trying to capture the literal floating-point number that a person used in a data structure:
scala> trait Capture { def text: String }
defined trait Capture
scala> implicit class DoubleCapture(source: sourcecode.Text[Double]) extends Capture { def text = source.source }
defined class DoubleCapture
^
scala> val x: Capture = 5.0
<console>:49: error: type mismatch;
found : Double(5.0)
required: Capture
val x: Capture = 5.0
If DoubleCapture
takes a Double
, this works fine. But I don't want the Double
itself, what I really want is the string representation from the code itself. I was hoping I could use sourcecode.Text
to do this, but it doesn't seem to work.
Is there a way to get the source code of the lambda function passed to another function?
I get the expected result with basic types
def myBasicFunc(param: Int): String = {
sourcecode.Args().head.head.toString
}
myBasicFunc(4) // Text(4,param)
But when I try to use the same approach with lambda functions I only get the generic function1 value
def myLambdaFunc(param: Int => Int): String = {
sourcecode.Args().head.head.toString
}
myLambdaFunc(x => x*2) // Text(<function1>,param)
Is this the expected behavior? Am I missing something?
The readme file is great but when I'm working in my IDE I can't tell what things do without open my browser to github.
haoyi-haoyi@ sourcecode.Text(Seq(1).map(_+1))
Main.scala:259: exception during macro expansion:
java.lang.UnsupportedOperationException: Position.point on NoPosition
at scala.reflect.internal.util.Position.fail(Position.scala:17)
at scala.reflect.internal.util.UndefinedPosition.point(Position.scala:95)
at scala.reflect.internal.util.UndefinedPosition.point(Position.scala:90)
at scala.reflect.internal.util.DeprecatedPosition$class.startOrPoint(Position.scala:247)
at scala.reflect.internal.util.Position.startOrPoint(Position.scala:12)
at sourcecode.Impls$$anonfun$1.applyOrElse(SourceContext.scala:118)
at sourcecode.Impls$$anonfun$1.applyOrElse(SourceContext.scala:118)
at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:36)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1657)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1654)
at scala.reflect.internal.Trees$$anonfun$traverseMemberDef$1$1.apply$mcV$sp(Trees.scala:1209)
at scala.reflect.api.Trees$Traverser.atOwner(Trees.scala:2507)
at scala.reflect.internal.Trees$class.traverseMemberDef$1(Trees.scala:1203)
at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1328)
at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1658)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1654)
at scala.reflect.api.Trees$Traverser.traverseTrees(Trees.scala:2484)
at scala.reflect.api.Trees$Traverser.traverseParams(Trees.scala:2492)
at scala.reflect.internal.Trees$$anonfun$itraverse$1.apply$mcV$sp(Trees.scala:1329)
at scala.reflect.api.Trees$Traverser.atOwner(Trees.scala:2507)
at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1329)
at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1658)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1654)
at scala.reflect.api.Trees$Traverser.traverseTrees(Trees.scala:2484)
at scala.reflect.internal.Trees$class.traverseComponents$1(Trees.scala:1284)
at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1330)
at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1658)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1654)
at scala.reflect.internal.Trees$class.traverseComponents$1(Trees.scala:1283)
at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1330)
at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1658)
at scala.reflect.internal.Trees$TreeContextApiImpl.collect(Trees.scala:118)
at sourcecode.Impls$.text(SourceContext.scala:118)
sourcecode.Text(Seq(1).map(_+1))
^
Compilation Failed
haoyi-haoyi@
In my pet project, vite complains about source map errors. I believe one of the culprits to be this sourcecode library.
Here's a sample .js.map file.
{
"version": 3,
"file": "frontend.Clients$.js",
"mappings": "blah blah",
"sources": ["https://raw.githubusercontent.com/raquo/Airstream/c769f6591e7f6f1377154d484ce8657b752aa179/src/main/scala/com/raquo/airstream/core/BaseObservable.scala", "file:///C:/temp/ilsclaims/frontend/src/utils.scala", "https://raw.githubusercontent.com/raquo/Airstream/c769f6591e7f6f1377154d484ce8657b752aa179/src/main/scala/com/raquo/airstream/state/Var.scala", "file:///home/runner/work/sourcecode/sourcecode/sourcecode/src/sourcecode/SourceContext.scala"],
"names": ["internal-b28b7af69320201d1cf206ebf28373980add1451", "eventClient", "internal-9fb50eb6088e86acde75de71513c77ec947f608e", "exposedEventClient", "notificationClient", "claimReportClient", "ilsopWrapperClient"],
"lineCount": 59
}
I think the important part, is the file:///home/runner/work/sourcecode/sourcecode/sourcecode/src/sourcecode/SourceContext.scala line, which obviously doesn't exist, in my local environment. Compared to the laminar source above, which references back to github.
I lurk discord, where this was discussed at some length;
https://discord.com/channels/632150470000902164/635668814956068864/1060561961810677760
Typelevel have a solution here,
https://github.com/typelevel/sbt-typelevel/blob/4da726ca021ea2c6459e8286d9ec49ab7c79a883/github/src/main/scala/org/typelevel/sbt/TypelevelScalaJSGitHubPlugin.scala#L35
And laminar / airstream must have one, as that appears to be working above.
I believe there to be a compiler flag, which could potentially point this back to this repository, for example. I will openly admit, that my understanding of this, is superficial however ...
@ plot(Zipper(descendancy(2).sample.get))
Main.scala:144: exception during macro expansion:
java.lang.UnsupportedOperationException: Position.point on NoPosition
at scala.reflect.internal.util.Position.fail(Position.scala:17)
at scala.reflect.internal.util.UndefinedPosition.point(Position.scala:95)
at scala.reflect.internal.util.UndefinedPosition.point(Position.scala:90)
at scala.reflect.internal.util.DeprecatedPosition$class.startOrPoint(Position.scala:247)
at scala.reflect.internal.util.Position.startOrPoint(Position.scala:12)
at sourcecode.Impls$$anonfun$1.applyOrElse(SourceContext.scala:118)
at sourcecode.Impls$$anonfun$1.applyOrElse(SourceContext.scala:118)
at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:36)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1657)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1654)
at scala.reflect.internal.Trees$$anonfun$traverseMemberDef$1$1.apply$mcV$sp(Trees.scala:1209)
at scala.reflect.api.Trees$Traverser.atOwner(Trees.scala:2507)
at scala.reflect.internal.Trees$class.traverseMemberDef$1(Trees.scala:1203)
at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1328)
at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1658)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1654)
at scala.reflect.api.Trees$Traverser.traverseTrees(Trees.scala:2484)
at scala.reflect.api.Trees$Traverser.traverseParams(Trees.scala:2492)
at scala.reflect.api.Trees$Traverser.traverseParamss(Trees.scala:2493)
at scala.reflect.internal.Trees$$anonfun$traverseMemberDef$1$1.apply$mcV$sp(Trees.scala:1213)
at scala.reflect.api.Trees$Traverser.atOwner(Trees.scala:2507)
at scala.reflect.internal.Trees$class.traverseMemberDef$1(Trees.scala:1203)
at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1328)
at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1658)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1654)
at scala.reflect.api.Trees$Traverser$$anonfun$traverseStats$1$$anonfun$apply$1.apply$mcV$sp(Trees.scala:2498)
at scala.reflect.api.Trees$Traverser.atOwner(Trees.scala:2507)
at scala.reflect.api.Trees$Traverser.traverseStats(Trees.scala:2497)
at scala.reflect.internal.Trees$class.traverseComponents$1(Trees.scala:1232)
at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1330)
at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1658)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1654)
at scala.reflect.internal.Trees$$anonfun$traverseMemberDef$1$1.apply$mcV$sp(Trees.scala:1207)
at scala.reflect.api.Trees$Traverser.atOwner(Trees.scala:2507)
at scala.reflect.internal.Trees$class.traverseMemberDef$1(Trees.scala:1203)
at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1328)
at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1658)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1654)
at scala.reflect.api.Trees$Traverser.traverseTrees(Trees.scala:2484)
at scala.reflect.internal.Trees$class.traverseComponents$1(Trees.scala:1234)
at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1330)
at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1658)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1654)
at scala.reflect.api.Trees$Traverser.traverseTrees(Trees.scala:2484)
at scala.reflect.internal.Trees$class.traverseComponents$1(Trees.scala:1284)
at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1330)
at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1658)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1654)
at scala.reflect.api.Trees$Traverser.traverseTrees(Trees.scala:2484)
at scala.reflect.internal.Trees$class.traverseComponents$1(Trees.scala:1284)
at scala.reflect.internal.Trees$class.itraverse(Trees.scala:1330)
at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
at scala.reflect.internal.SymbolTable.itraverse(SymbolTable.scala:16)
at scala.reflect.api.Trees$Traverser.traverse(Trees.scala:2475)
at scala.reflect.internal.Trees$CollectTreeTraverser.traverse(Trees.scala:1658)
at scala.reflect.internal.Trees$TreeContextApiImpl.collect(Trees.scala:118)
at sourcecode.Impls$.text(SourceContext.scala:118)
plot(Zipper(descendancy(2).sample.get))
^
Compilation Failed
I will publish that code soon, so it will be possible to try it.
@ def x[A](text: sourcecode.Text[A]) = text.source
defined function x
@ x(3 + 4)
res10: String = "+ 4"
@ x(3 * 4)
res11: String = "*"
Would it be possible to calculate a hash of the whole source file, which would then uniquely identify the version of the file being used at run-time (for example in an error log/report).
Given this method:
def printArgs(a: Int, b: Long, c: String): Unit = {
val args = implicitly[sourcecode.Args]
println(args)
}
When I call printArgs(1, 2, "3")
, the following lines are printed to the console:
Scala 2.13.5
Args(List(List(Text(1,a), Text(2,b), Text(3,c))))
Scala 3.0.0-RC3
Args(List(List(Text(None,a), Text(None,b), Text(None,c))))
I vaguely remember reading somewhere that this is a shortcoming of Scala 3's metaprogramming. Is this correct?
Sometimes you just want a source code hint, in which case the current line would be nice, nothing as heavyweight as Text
Scastie: https://scastie.scala-lang.org/carueda/NIAVkP82Rd2RVusUXRZMGQ/13
In short, applying:
def keyword(implicit name: sourcecode.Name): String = name.value
to back ticked macro
:
val `macro` = keyword
results in capturing something else, apparently the name of the enclosing environment, but not the val's name itself.
Other Scala keywords seem to be captured just fine.
Haoyi: To incentivize contribution, I'm putting a 200USD bounty on resolving this ticket. This is payable via bank transfer, and at my discretion in case of ambiguity. The acceptance criteria is a PR fixing this issue and updates to our test infrastructure to validate the fix
Welcome to the Ammonite Repl 1.0.1
(Scala 2.12.3 Java 1.8.0_131)
If you like Ammonite, please support our development at www.patreon.com/lihaoyi
@ import $ivy.`com.lihaoyi::sourcecode:0.1.4`
import $ivy.$
@ def loop = {
for (i <- 0 until 1) {
println(implicitly[sourcecode.FullName])
}
}
defined function loop
@ loop
FullName(ammonite.$sess.cmd1.$anonfun)
The loop
function should be present in FullName
. Unfortunately it is not.
All its subclasses have a name
property:
sealed trait Chunk
object Chunk{
case class Pkg(name: String) extends Chunk
case class Obj(name: String) extends Chunk
case class Cls(name: String) extends Chunk
case class Trt(name: String) extends Chunk
case class Val(name: String) extends Chunk
case class Var(name: String) extends Chunk
case class Lzy(name: String) extends Chunk
case class Def(name: String) extends Chunk
}
It would be nice to be able to access .name
on Chunk
without needing to pattern match on all 8 alternatives
I have a library that is like yours, but geared more toward debugging.
I received this issue...
JohnReedLOL/scala-trace-debug#2
My implementation has three flaws.
One, if I want to print the expression, it is de-sugared. This is nice if you want to put all the parenthesis back, but it would be nice to have something that shows the raw source.
Two is related to performance. I need two different versions of the case where the length of the stack trace is one. One case uses Thread.currentThread.getStackTrace. Another version uses this experimental method v.tree.pos.source.content .
Three is that if the Debug object ends up providing only macros, it might be possible to provide a master compiler option switch to turn them all off or make them just return an empty string.
In addition, there is this...
My macros are only available as static methods. This solution appears to allow the replacement of the implicit methods with macros so that they can also be turned off with a master command line option.
Do you have a license? If you would like to make your source code completely free to copy unrestricted, there is CC0 (creative commons zero)
John
Thank You
sealed abstract class Category(implicit catName: sourcecode.Enclosing){
catName.value // ammonite.terminal.Ansi.Color $anon#<init>
}
val Color = new Category{}
Although in some cases you want the $anon
and <init>
, often you don't
scala> def log[T](x: sourcecode.Text[T]) = println(s"[${x.source}]: ${x.value}")
log: [T](x: sourcecode.Text[T])Unit
scala> log(("omg" -> "omg").toString)
["omg" -> "omg"]: (omg,omg)
scala> // should have printed [("omg" -> "omg").toString]: (omg,omg)
As far as I can tell, Scalac sets the pos
of the overall tree provided to the macro to the pos
of the ->
. There thus just isn't any pos
anywhere at all which starts at the first (
, which is what we'd want.
OTOH, we can tell when we're falling short, since the last pos
within the tree should be within the range we parse. We may have to do a hacky parse-search to try and find a place where the parse encompasses all pos
s in the captured AST
In particular, what is the magic incantation to pull sourcecode
into scope that makes the README.md examples work?
It looks like a release was made a few days ago for 3.0.0-M3 but it would appear that there was no release made for Scala.js on 3.0.0-M3?
Apparently, on Windows, the FileName.value
gets the full path like: C:\....\MyClass.scala
instead of just the file name.
Hi,
when trying to use sourcecode
in an mdoc snippet, NullPointerException
is thrown.
Mdoc input:
```scala mdoc
implicitly[sourcecode.File]
```
Error:
java.lang.NullPointerException: Cannot invoke "java.nio.file.Path.toAbsolutePath()" because the return value of "scala.quoted.Quotes$reflectModule$SourceFileMethods.jpath(Object)" is null
at sourcecode.Macros$.fileImpl(Macros.scala:150)
Would it be possible to return something like File("<none>")
instead?
Consider the following:
abstract class Foo(implicit n : sourcecode.Name) {
def getName = n.value
}
val wrapper : Foo = {
println(new Foo{}.getName)
new Foo{}
}
println(wrapper.getName)
What will be printed is
wrapper
wrapper
However, it is not correct to name the first Foo
instance inside wrapper
, as wrapper
, because it is not what is returned. I think it is better if the following is printed:
$anon
wrapper
Current link does not work. This (http://www.lihaoyi.com/PPrint/) might be better?
The following fails
scala> abstract class Foo(implicit val name: sourcecode.Name)
defined class Foo
scala> val x = new Foo {}
x: Foo = $anon$1@b6bdc65
scala> x.name
res0: sourcecode.Name = Name($anon)
Here is a pull request with a unit test #18
So I want to use uPickle in my Android project but when building my app I get this proguard warning :
Warning: class [sourcecode/Impls$$typecreator6$1 (haoyi-mbp's conflicted copy 2016-03-07).class] unexpectedly contains class [sourcecode.Impls$$typecreator6$1]
sourcecode is apparently a dependency for upickle since sbt pulled it when I added the dependency for upickle.
haoyi-mbp's conflicted copy 2016-03-07
looks suspiciously like a dropbox duplicate filename, so I hope it should be as easy to fix as just removing the conflicting file from the source tree.
Edit: building the jars from source and adding them manually fixed the issue.
class MyBuilder {
val builder = new StringBuilder
def add[T](txt: sourcecode.Text[T]): MyBuilder = {
builder append txt.source
this
}
def +[T](txt: sourcecode.Text[T]): MyBuilder = {
builder append txt.source
this
}
}
val hello = 3
val world = "hi!"
new MyBuilder().add(hello).add(world).builder.toString() // equals to "helloworld"
(new MyBuilder() + hello + world).builder.toString() // equals to "hello + worldworld"
I hope that .add(hello).add(world)
and + hello + world
make the same result.
I'm trying to use sourcecode.Args in the following example (in the method eval
).
trait Cached[F[_], A] {
def value: F[A]
}
object Cached {
def apply[F[_], A](f: => F[A]): Cached[F, A] = new Cached[F, A] {
override def value: F[A] = f
}
implicit def instance[F[_] : Monad]: Functor[Cached[F, ?]] with Applicative[Cached[F, ?]] with Monad[Cached[F, ?]] =
new Functor[Cached[F, ?]] with Applicative[Cached[F, ?]] with Monad[Cached[F, ?]] {
def eval[A](fa: => Cached[F, A])(implicit name: sourcecode.Name, args: sourcecode.Args): F[A] = {
println("loading stuff from the database...")
println(name)
fa.value
}
override def point[A](a: => A): Cached[F, A] =
Cached(a.point[F])
override def map[A, B](fa: Cached[F, A])(f: A => B): Cached[F, B] =
Cached(eval(fa) map f)
override def bind[A, B](fa: Cached[F, A])(f: A => Cached[F, B]): Cached[F, B] = {
Cached(eval(fa) >>= (a => f(a).value))
}
override def ap[A, B](fa: => Cached[F, A])(f: => Cached[F, A => B]): Cached[F, B] =
Cached(fa.value <*> f.value)
}
}
When trying to compile this, I get the following exception:
[error]
[error] symbol value fa#55120 does not exist in com.conversantmedia.fspark.Cached$$anon$1.map, which contains locals value f#55093,value fa#55092.
[error] Method code: override def map(fa: Cached[F, A], f: _root_.scala.Function1[A, B]): Cached[F, B] = Cached.apply({
[error] ((new <$anon: Function0#2119>($anon.this, fa, f, fa, f)): Function0#2119)
[error] })
[error] while compiling: /Users/aaleali/w/fspark/src/main/scala/com/conversantmedia/fspark/Cached.scala
[error] during phase: icode
[error] library version: version 2.11.12
[error] compiler version: version 2.11.12
[error] reconstructed args: -language:dynamics -language:postfixOps -language:reflectiveCalls -language:implicitConversions -language:higherKinds -language:existentials -language:experimental.macros -Ypartial-unification -uniqid -Xlog-implicits -Xplugin:/Users/aaleali/.ivy2/cache/org.scalamacros/paradise_2.11.12/jars/paradise_2.11.12-2.1.0.jar -Xplugin:/Users/aaleali/.ivy2/cache/org.spire-math/kind-projector_2.11/jars/kind-projector_2.11-0.9.8.jar -bootclasspath /Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/classes:/Users/aaleali/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.11.12.jar -classpath /Users/aaleali/w/fspark/target/scala-2.11/classes:/Users/aaleali/.ivy2/cache/org.scalaz/scalaz-core_2.11/bundles/scalaz-core_2.11-7.2.27.jar:/Users/aaleali/.ivy2/cache/org.scalatest/scalatest_2.11/bundles/scalatest_2.11-3.0.5.jar:/Users/aaleali/.ivy2/cache/org.scalactic/scalactic_2.11/bundles/scalactic_2.11-3.0.5.jar:/Users/aaleali/.ivy2/cache/org.scala-lang/scala-reflect/jars/scala-reflect-2.11.12.jar:/Users/aaleali/.ivy2/cache/org.scala-lang.modules/scala-xml_2.11/bundles/scala-xml_2.11-1.0.6.jar:/Users/aaleali/.ivy2/cache/com.github.mpilquist/simulacrum_2.11/jars/simulacrum_2.11-0.15.0.jar:/Users/aaleali/.ivy2/cache/org.typelevel/macro-compat_2.11/jars/macro-compat_2.11-1.1.1.jar:/Users/aaleali/.ivy2/cache/com.lihaoyi/sourcecode_2.11/bundles/sourcecode_2.11-0.1.4.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-core_2.11/jars/spark-core_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.avro/avro/jars/avro-1.7.6-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.codehaus.jackson/jackson-mapper-asl/jars/jackson-mapper-asl-1.8.8.jar:/Users/aaleali/.ivy2/cache/org.apache.commons/commons-compress/jars/commons-compress-1.4.1.jar:/Users/aaleali/.ivy2/cache/org.tukaani/xz/jars/xz-1.0.jar:/Users/aaleali/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.7.5.jar:/Users/aaleali/.ivy2/cache/org.apache.avro/avro-mapred/jars/avro-mapred-1.7.6-cdh5.12.0-hadoop2.jar:/Users/aaleali/.ivy2/cache/org.apache.avro/avro-ipc/jars/avro-ipc-1.7.6-cdh5.12.0-tests.jar:/Users/aaleali/.ivy2/cache/org.apache.avro/avro-ipc/jars/avro-ipc-1.7.6-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/commons-collections/commons-collections/jars/commons-collections-3.2.2.jar:/Users/aaleali/.ivy2/cache/com.twitter/chill_2.11/jars/chill_2.11-0.8.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/chill-java/jars/chill-java-0.8.0.jar:/Users/aaleali/.ivy2/cache/com.esotericsoftware/kryo-shaded/bundles/kryo-shaded-3.0.3.jar:/Users/aaleali/.ivy2/cache/com.esotericsoftware/minlog/bundles/minlog-1.3.0.jar:/Users/aaleali/.ivy2/cache/org.objenesis/objenesis/jars/objenesis-2.1.jar:/Users/aaleali/.ivy2/cache/org.apache.xbean/xbean-asm5-shaded/bundles/xbean-asm5-shaded-4.4.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-client/jars/hadoop-client-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-common/jars/hadoop-common-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-annotations/jars/hadoop-annotations-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.google.code.findbugs/jsr305/jars/jsr305-1.3.9.jar:/Users/aaleali/.ivy2/cache/commons-cli/commons-cli/jars/commons-cli-1.2.jar:/Users/aaleali/.ivy2/cache/org.apache.commons/commons-math3/jars/commons-math3-3.4.1.jar:/Users/aaleali/.ivy2/cache/xmlenc/xmlenc/jars/xmlenc-0.52.jar:/Users/aaleali/.ivy2/cache/commons-httpclient/commons-httpclient/jars/commons-httpclient-3.1.jar:/Users/aaleali/.ivy2/cache/commons-io/commons-io/jars/commons-io-2.4.jar:/Users/aaleali/.ivy2/cache/commons-net/commons-net/jars/commons-net-2.2.jar:/Users/aaleali/.ivy2/cache/log4j/log4j/bundles/log4j-1.2.17.jar:/Users/aaleali/.ivy2/cache/commons-lang/commons-lang/jars/commons-lang-2.6.jar:/Users/aaleali/.ivy2/cache/commons-configuration/commons-configuration/jars/commons-configuration-1.6.jar:/Users/aaleali/.ivy2/cache/commons-digester/commons-digester/jars/commons-digester-1.8.jar:/Users/aaleali/.ivy2/cache/commons-beanutils/commons-beanutils/jars/commons-beanutils-1.7.0.jar:/Users/aaleali/.ivy2/cache/commons-beanutils/commons-beanutils-core/jars/commons-beanutils-core-1.8.0.jar:/Users/aaleali/.ivy2/cache/com.google.protobuf/protobuf-java/bundles/protobuf-java-2.5.0.jar:/Users/aaleali/.ivy2/cache/com.google.code.gson/gson/jars/gson-2.2.4.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-auth/jars/hadoop-auth-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.directory.server/apacheds-kerberos-codec/bundles/apacheds-kerberos-codec-2.0.0-M15.jar:/Users/aaleali/.ivy2/cache/org.apache.directory.server/apacheds-i18n/bundles/apacheds-i18n-2.0.0-M15.jar:/Users/aaleali/.ivy2/cache/org.apache.directory.api/api-asn1-api/bundles/api-asn1-api-1.0.0-M20.jar:/Users/aaleali/.ivy2/cache/org.apache.directory.api/api-util/bundles/api-util-1.0.0-M20.jar:/Users/aaleali/.ivy2/cache/org.apache.curator/curator-framework/bundles/curator-framework-2.7.1.jar:/Users/aaleali/.ivy2/cache/org.apache.curator/curator-client/bundles/curator-client-2.7.1.jar:/Users/aaleali/.ivy2/cache/org.apache.zookeeper/zookeeper/jars/zookeeper-3.4.6.jar:/Users/aaleali/.ivy2/cache/jline/jline/jars/jline-0.9.94.jar:/Users/aaleali/.ivy2/cache/io.netty/netty/bundles/netty-3.9.9.Final.jar:/Users/aaleali/.ivy2/cache/org.apache.curator/curator-recipes/bundles/curator-recipes-2.7.1.jar:/Users/aaleali/.ivy2/cache/org.apache.htrace/htrace-core4/jars/htrace-core4-4.0.1-incubating.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-hdfs/jars/hadoop-hdfs-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.mortbay.jetty/jetty-util/jars/jetty-util-6.1.26.cloudera.4.jar:/Users/aaleali/.ivy2/cache/org.codehaus.jackson/jackson-core-asl/jars/jackson-core-asl-1.9.13.jar:/Users/aaleali/.ivy2/cache/io.netty/netty-all/jars/netty-all-4.0.43.Final.jar:/Users/aaleali/.ivy2/cache/xerces/xercesImpl/jars/xercesImpl-2.9.1.jar:/Users/aaleali/.ivy2/cache/xml-apis/xml-apis/jars/xml-apis-1.3.04.jar:/Users/aaleali/.ivy2/cache/org.fusesource.leveldbjni/leveldbjni-all/bundles/leveldbjni-all-1.8.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-mapreduce-client-app/jars/hadoop-mapreduce-client-app-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-mapreduce-client-common/jars/hadoop-mapreduce-client-common-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-common/jars/hadoop-yarn-common-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-api/jars/hadoop-yarn-api-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/javax.xml.bind/jaxb-api/jars/jaxb-api-2.2.2.jar:/Users/aaleali/.ivy2/cache/javax.xml.stream/stax-api/jars/stax-api-1.0-2.jar:/Users/aaleali/.ivy2/cache/javax.activation/activation/jars/activation-1.1.jar:/Users/aaleali/.ivy2/cache/org.codehaus.jackson/jackson-jaxrs/jars/jackson-jaxrs-1.8.8.jar:/Users/aaleali/.ivy2/cache/org.codehaus.jackson/jackson-xc/jars/jackson-xc-1.8.8.jar:/Users/aaleali/.ivy2/cache/com.google.inject/guice/jars/guice-3.0.jar:/Users/aaleali/.ivy2/cache/javax.inject/javax.inject/jars/javax.inject-1.jar:/Users/aaleali/.ivy2/cache/aopalliance/aopalliance/jars/aopalliance-1.0.jar:/Users/aaleali/.ivy2/cache/org.sonatype.sisu.inject/cglib/jars/cglib-2.2.1-v20090111.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-client/jars/hadoop-yarn-client-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-mapreduce-client-core/jars/hadoop-mapreduce-client-core-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.slf4j/slf4j-log4j12/jars/slf4j-log4j12-1.7.5.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-server-common/jars/hadoop-yarn-server-common-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-mapreduce-client-shuffle/jars/hadoop-mapreduce-client-shuffle-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-mapreduce-client-jobclient/jars/hadoop-mapreduce-client-jobclient-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-aws/jars/hadoop-aws-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.amazonaws/aws-java-sdk-bundle/jars/aws-java-sdk-bundle-1.11.134.jar:/Users/aaleali/.ivy2/cache/com.fasterxml.jackson.core/jackson-core/jars/jackson-core-2.2.3.jar:/Users/aaleali/.ivy2/cache/com.fasterxml.jackson.core/jackson-databind/bundles/jackson-databind-2.6.5.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-launcher_2.11/jars/spark-launcher_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-tags_2.11/jars/spark-tags_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.spark-project.spark/unused/jars/unused-1.0.0.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-network-common_2.11/jars/spark-network-common_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.commons/commons-lang3/jars/commons-lang3-3.5.jar:/Users/aaleali/.ivy2/cache/com.fasterxml.jackson.core/jackson-annotations/bundles/jackson-annotations-2.6.5.jar:/Users/aaleali/.ivy2/cache/org.apache.commons/commons-crypto/jars/commons-crypto-1.0.0.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-network-shuffle_2.11/jars/spark-network-shuffle_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/io.dropwizard.metrics/metrics-core/bundles/metrics-core-3.1.2.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-unsafe_2.11/jars/spark-unsafe_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/net.java.dev.jets3t/jets3t/jars/jets3t-0.9.0.jar:/Users/aaleali/.ivy2/cache/com.jamesmurty.utils/java-xmlbuilder/jars/java-xmlbuilder-0.4.jar:/Users/aaleali/.ivy2/cache/javax.servlet/javax.servlet-api/jars/javax.servlet-api-3.1.0.jar:/Users/aaleali/.ivy2/cache/org.slf4j/jul-to-slf4j/jars/jul-to-slf4j-1.7.5.jar:/Users/aaleali/.ivy2/cache/org.slf4j/jcl-over-slf4j/jars/jcl-over-slf4j-1.7.5.jar:/Users/aaleali/.ivy2/cache/com.ning/compress-lzf/bundles/compress-lzf-1.0.3.jar:/Users/aaleali/.ivy2/cache/net.jpountz.lz4/lz4/jars/lz4-1.3.0.jar:/Users/aaleali/.ivy2/cache/org.roaringbitmap/RoaringBitmap/bundles/RoaringBitmap-0.5.11.jar:/Users/aaleali/.ivy2/cache/org.json4s/json4s-jackson_2.11/jars/json4s-jackson_2.11-3.2.11.jar:/Users/aaleali/.ivy2/cache/org.json4s/json4s-core_2.11/jars/json4s-core_2.11-3.2.11.jar:/Users/aaleali/.ivy2/cache/org.json4s/json4s-ast_2.11/jars/json4s-ast_2.11-3.2.11.jar:/Users/aaleali/.ivy2/cache/com.thoughtworks.paranamer/paranamer/jars/paranamer-2.6.jar:/Users/aaleali/.ivy2/cache/org.scala-lang/scalap/jars/scalap-2.11.12.jar:/Users/aaleali/.ivy2/cache/org.scala-lang/scala-compiler/jars/scala-compiler-2.11.12.jar:/Users/aaleali/.ivy2/cache/org.scala-lang.modules/scala-parser-combinators_2.11/bundles/scala-parser-combinators_2.11-1.0.4.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.core/jersey-client/jars/jersey-client-2.22.2.jar:/Users/aaleali/.ivy2/cache/javax.ws.rs/javax.ws.rs-api/jars/javax.ws.rs-api-2.0.1.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.core/jersey-common/jars/jersey-common-2.22.2.jar:/Users/aaleali/.ivy2/cache/javax.annotation/javax.annotation-api/jars/javax.annotation-api-1.2.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.bundles.repackaged/jersey-guava/bundles/jersey-guava-2.22.2.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2/hk2-api/jars/hk2-api-2.4.0-b34.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2/hk2-utils/jars/hk2-utils-2.4.0-b34.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2.external/aopalliance-repackaged/jars/aopalliance-repackaged-2.4.0-b34.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2.external/javax.inject/jars/javax.inject-2.4.0-b34.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2/hk2-locator/jars/hk2-locator-2.4.0-b34.jar:/Users/aaleali/.ivy2/cache/org.javassist/javassist/bundles/javassist-3.18.1-GA.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2/osgi-resource-locator/jars/osgi-resource-locator-1.0.1.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.core/jersey-server/jars/jersey-server-2.22.2.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.media/jersey-media-jaxb/jars/jersey-media-jaxb-2.22.2.jar:/Users/aaleali/.ivy2/cache/javax.validation/validation-api/jars/validation-api-1.1.0.Final.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.containers/jersey-container-servlet/jars/jersey-container-servlet-2.22.2.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.containers/jersey-container-servlet-core/jars/jersey-container-servlet-core-2.22.2.jar:/Users/aaleali/.ivy2/cache/com.clearspring.analytics/stream/jars/stream-2.7.0.jar:/Users/aaleali/.ivy2/cache/io.dropwizard.metrics/metrics-jvm/bundles/metrics-jvm-3.1.2.jar:/Users/aaleali/.ivy2/cache/io.dropwizard.metrics/metrics-json/bundles/metrics-json-3.1.2.jar:/Users/aaleali/.ivy2/cache/io.dropwizard.metrics/metrics-graphite/bundles/metrics-graphite-3.1.2.jar:/Users/aaleali/.ivy2/cache/com.fasterxml.jackson.module/jackson-module-scala_2.11/bundles/jackson-module-scala_2.11-2.6.5.jar:/Users/aaleali/.ivy2/cache/com.fasterxml.jackson.module/jackson-module-paranamer/bundles/jackson-module-paranamer-2.6.5.jar:/Users/aaleali/.ivy2/cache/org.apache.ivy/ivy/jars/ivy-2.4.0.jar:/Users/aaleali/.ivy2/cache/oro/oro/jars/oro-2.0.8.jar:/Users/aaleali/.ivy2/cache/net.razorvine/pyrolite/jars/pyrolite-4.13.jar:/Users/aaleali/.ivy2/cache/net.sf.py4j/py4j/jars/py4j-0.10.4.jar:/Users/aaleali/.ivy2/cache/org.mortbay.jetty/jetty/jars/jetty-6.1.26.cloudera.4.jar:/Users/aaleali/.ivy2/cache/tomcat/jasper-compiler/jars/jasper-compiler-5.5.23.jar:/Users/aaleali/.ivy2/cache/tomcat/jasper-runtime/jars/jasper-runtime-5.5.23.jar:/Users/aaleali/.ivy2/cache/commons-el/commons-el/jars/commons-el-1.0.jar:/Users/aaleali/.ivy2/cache/javax.servlet.jsp/jsp-api/jars/jsp-api-2.1.jar:/Users/aaleali/.ivy2/cache/org.codehaus.jettison/jettison/bundles/jettison-1.1.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-sql_2.11/jars/spark-sql_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/com.univocity/univocity-parsers/jars/univocity-parsers-2.2.1.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-sketch_2.11/jars/spark-sketch_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-catalyst_2.11/jars/spark-catalyst_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.codehaus.janino/janino/jars/janino-3.0.0.jar:/Users/aaleali/.ivy2/cache/org.codehaus.janino/commons-compiler/jars/commons-compiler-3.0.0.jar:/Users/aaleali/.ivy2/cache/org.antlr/antlr4-runtime/jars/antlr4-runtime-4.5.3.jar:/Users/aaleali/.ivy2/cache/commons-codec/commons-codec/jars/commons-codec-1.10.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-column/jars/parquet-column-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-common/jars/parquet-common-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-encoding/jars/parquet-encoding-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-hadoop/jars/parquet-hadoop-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-format/jars/parquet-format-2.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-jackson/jars/parquet-jackson-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.xerial.snappy/snappy-java/bundles/snappy-java-1.0.5.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-avro/jars/parquet-avro-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/it.unimi.dsi/fastutil/jars/fastutil-6.3.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-hive_2.11/jars/spark-hive_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-hive-exec_2.11/jars/spark-hive-exec_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.hive/hive-serde/jars/hive-serde-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hive/hive-shims/jars/hive-shims-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hive.shims/hive-shims-common/jars/hive-shims-common-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/commons-logging/commons-logging/jars/commons-logging-1.1.3.jar:/Users/aaleali/.ivy2/cache/log4j/apache-log4j-extras/bundles/apache-log4j-extras-1.2.17.jar:/Users/aaleali/.ivy2/cache/com.google.guava/guava/bundles/guava-14.0.1.jar:/Users/aaleali/.ivy2/cache/org.apache.thrift/libthrift/jars/libthrift-0.9.3.jar:/Users/aaleali/.ivy2/cache/org.apache.httpcomponents/httpclient/jars/httpclient-4.5.2.jar:/Users/aaleali/.ivy2/cache/org.apache.httpcomponents/httpcore/jars/httpcore-4.4.4.jar:/Users/aaleali/.ivy2/cache/net.sf.opencsv/opencsv/jars/opencsv-2.3.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-hadoop-bundle/jars/parquet-hadoop-bundle-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.googlecode.javaewah/JavaEWAH/jars/JavaEWAH-0.3.2.jar:/Users/aaleali/.ivy2/cache/javolution/javolution/bundles/javolution-5.5.1.jar:/Users/aaleali/.ivy2/cache/org.antlr/ST4/jars/ST4-4.0.4.jar:/Users/aaleali/.ivy2/cache/org.antlr/stringtemplate/jars/stringtemplate-3.2.1.jar:/Users/aaleali/.ivy2/cache/antlr/antlr/jars/antlr-2.7.7.jar:/Users/aaleali/.ivy2/cache/org.cloudera.logredactor/logredactor/jars/logredactor-1.0.3.jar:/Users/aaleali/.ivy2/cache/org.iq80.snappy/snappy/jars/snappy-0.2.jar:/Users/aaleali/.ivy2/cache/org.json/json/jars/json-20090211.jar:/Users/aaleali/.ivy2/cache/stax/stax-api/jars/stax-api-1.0.1.jar:/Users/aaleali/.ivy2/cache/org.apache.hive/hive-metastore/jars/hive-metastore-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.jolbox/bonecp/bundles/bonecp-0.8.0.RELEASE.jar:/Users/aaleali/.ivy2/cache/org.apache.derby/derby/jars/derby-10.11.1.1.jar:/Users/aaleali/.ivy2/cache/org.datanucleus/datanucleus-api-jdo/jars/datanucleus-api-jdo-3.2.6.jar:/Users/aaleali/.ivy2/cache/org.datanucleus/datanucleus-core/jars/datanucleus-core-3.2.10.jar:/Users/aaleali/.ivy2/cache/org.datanucleus/datanucleus-rdbms/jars/datanucleus-rdbms-3.2.9.jar:/Users/aaleali/.ivy2/cache/commons-pool/commons-pool/jars/commons-pool-1.5.4.jar:/Users/aaleali/.ivy2/cache/commons-dbcp/commons-dbcp/jars/commons-dbcp-1.4.jar:/Users/aaleali/.ivy2/cache/javax.jdo/jdo-api/jars/jdo-api-3.0.1.jar:/Users/aaleali/.ivy2/cache/javax.transaction/jta/jars/jta-1.1.jar:/Users/aaleali/.ivy2/cache/org.antlr/antlr-runtime/jars/antlr-runtime-3.4.jar:/Users/aaleali/.ivy2/cache/org.apache.calcite/calcite-avatica/jars/calcite-avatica-1.2.0-incubating.jar:/Users/aaleali/.ivy2/cache/org.apache.calcite/calcite-core/jars/calcite-core-1.2.0-incubating.jar:/Users/aaleali/.ivy2/cache/org.apache.calcite/calcite-linq4j/jars/calcite-linq4j-1.2.0-incubating.jar:/Users/aaleali/.ivy2/cache/net.hydromatic/eigenbase-properties/bundles/eigenbase-properties-1.1.5.jar:/Users/aaleali/.ivy2/cache/joda-time/joda-time/jars/joda-time-2.9.3.jar:/Users/aaleali/.ivy2/cache/org.jodd/jodd-core/jars/jodd-core-3.5.2.jar:/Users/aaleali/.ivy2/cache/org.apache.thrift/libfb303/jars/libfb303-0.9.3.jar:/Users/aaleali/.ivy2/cache/org.apache.hive.shims/hive-shims-0.23/jars/hive-shims-0.23-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-server-resourcemanager/jars/hadoop-yarn-server-resourcemanager-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.google.inject.extensions/guice-servlet/jars/guice-servlet-3.0.jar:/Users/aaleali/.ivy2/cache/com.sun.jersey/jersey-json/bundles/jersey-json-1.9.jar:/Users/aaleali/.ivy2/cache/com.sun.xml.bind/jaxb-impl/jars/jaxb-impl-2.2.3-1.jar:/Users/aaleali/.ivy2/cache/com.sun.jersey.contribs/jersey-guice/jars/jersey-guice-1.9.jar:/Users/aaleali/.ivy2/cache/com.sun.jersey/jersey-core/bundles/jersey-core-1.9.jar:/Users/aaleali/.ivy2/cache/com.sun.jersey/jersey-client/bundles/jersey-client-1.9.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-server-applicationhistoryservice/jars/hadoop-yarn-server-applicationhistoryservice-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-server-web-proxy/jars/hadoop-yarn-server-web-proxy-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hive.shims/hive-shims-scheduler/jars/hive-shims-scheduler-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.mockito/mockito-all/jars/mockito-all-1.9.5.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-core/jars/hadoop-core-2.6.0-mr1-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/hsqldb/hsqldb/jars/hsqldb-1.8.0.10.jar:/Users/aaleali/.ivy2/cache/org.eclipse.jdt/core/jars/core-3.1.1.jar
[error]
[error] last tree to typer: Ident(evidence$1$1)
[error] tree position: line 17 of /Users/aaleali/w/fspark/src/main/scala/com/conversantmedia/fspark/Cached.scala
[error] tree tpe: scalaz#27.Monad#21292
[error] symbol: value evidence$1$1#114236
[error] symbol definition: evidence$1$1#114236: scalaz#27.Monad#21292 (a TermSymbol)
[error] symbol package: com.conversantmedia.fspark
[error] symbol owners: value evidence$1$1#114236 -> constructor Cached$$anon$1#54385 -> <$anon: scalaz#27.Functor#19108 with scalaz#27.Applicative#21094 with scalaz#27.Monad#21292>
[error] call site: <$anon: Function0#2119> in package fspark#8337 in package fspark#8336
[error]
[error] == Source file context for tree position ==
[error]
[error] 14
[error] 15 implicit def instance[F[_] : Monad]: Functor[Cached[F, ?]] with Applicative[Cached[F, ?]] with Monad[Cached[F, ?]] =
[error] 16 new Functor[Cached[F, ?]] with Applicative[Cached[F, ?]] with Monad[Cached[F, ?]] {
[error] 17 def eval[A](fa: => Cached[F, A])(implicit name: sourcecode.Name, args: sourcecode.Args): F[A] = {
[error] 18 println("loading stuff from the database...")
[error] 19 println(name)
[error] 20 fa.value
[error] ## Exception when compiling 4 sources to /Users/aaleali/w/fspark/target/scala-2.11/classes
[error]
[error] symbol value fa#55120 does not exist in com.conversantmedia.fspark.Cached$$anon$1.map, which contains locals value f#55093,value fa#55092.
[error] Method code: override def map(fa: Cached[F, A], f: _root_.scala.Function1[A, B]): Cached[F, B] = Cached.apply({
[error] ((new <$anon: Function0#2119>($anon.this, fa, f, fa, f)): Function0#2119)
[error] })
[error] while compiling: /Users/aaleali/w/fspark/src/main/scala/com/conversantmedia/fspark/Cached.scala
[error] during phase: icode
[error] library version: version 2.11.12
[error] compiler version: version 2.11.12
[error] reconstructed args: -language:dynamics -language:postfixOps -language:reflectiveCalls -language:implicitConversions -language:higherKinds -language:existentials -language:experimental.macros -Ypartial-unification -uniqid -Xlog-implicits -Xplugin:/Users/aaleali/.ivy2/cache/org.scalamacros/paradise_2.11.12/jars/paradise_2.11.12-2.1.0.jar -Xplugin:/Users/aaleali/.ivy2/cache/org.spire-math/kind-projector_2.11/jars/kind-projector_2.11-0.9.8.jar -bootclasspath /Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/classes:/Users/aaleali/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.11.12.jar -classpath /Users/aaleali/w/fspark/target/scala-2.11/classes:/Users/aaleali/.ivy2/cache/org.scalaz/scalaz-core_2.11/bundles/scalaz-core_2.11-7.2.27.jar:/Users/aaleali/.ivy2/cache/org.scalatest/scalatest_2.11/bundles/scalatest_2.11-3.0.5.jar:/Users/aaleali/.ivy2/cache/org.scalactic/scalactic_2.11/bundles/scalactic_2.11-3.0.5.jar:/Users/aaleali/.ivy2/cache/org.scala-lang/scala-reflect/jars/scala-reflect-2.11.12.jar:/Users/aaleali/.ivy2/cache/org.scala-lang.modules/scala-xml_2.11/bundles/scala-xml_2.11-1.0.6.jar:/Users/aaleali/.ivy2/cache/com.github.mpilquist/simulacrum_2.11/jars/simulacrum_2.11-0.15.0.jar:/Users/aaleali/.ivy2/cache/org.typelevel/macro-compat_2.11/jars/macro-compat_2.11-1.1.1.jar:/Users/aaleali/.ivy2/cache/com.lihaoyi/sourcecode_2.11/bundles/sourcecode_2.11-0.1.4.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-core_2.11/jars/spark-core_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.avro/avro/jars/avro-1.7.6-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.codehaus.jackson/jackson-mapper-asl/jars/jackson-mapper-asl-1.8.8.jar:/Users/aaleali/.ivy2/cache/org.apache.commons/commons-compress/jars/commons-compress-1.4.1.jar:/Users/aaleali/.ivy2/cache/org.tukaani/xz/jars/xz-1.0.jar:/Users/aaleali/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.7.5.jar:/Users/aaleali/.ivy2/cache/org.apache.avro/avro-mapred/jars/avro-mapred-1.7.6-cdh5.12.0-hadoop2.jar:/Users/aaleali/.ivy2/cache/org.apache.avro/avro-ipc/jars/avro-ipc-1.7.6-cdh5.12.0-tests.jar:/Users/aaleali/.ivy2/cache/org.apache.avro/avro-ipc/jars/avro-ipc-1.7.6-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/commons-collections/commons-collections/jars/commons-collections-3.2.2.jar:/Users/aaleali/.ivy2/cache/com.twitter/chill_2.11/jars/chill_2.11-0.8.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/chill-java/jars/chill-java-0.8.0.jar:/Users/aaleali/.ivy2/cache/com.esotericsoftware/kryo-shaded/bundles/kryo-shaded-3.0.3.jar:/Users/aaleali/.ivy2/cache/com.esotericsoftware/minlog/bundles/minlog-1.3.0.jar:/Users/aaleali/.ivy2/cache/org.objenesis/objenesis/jars/objenesis-2.1.jar:/Users/aaleali/.ivy2/cache/org.apache.xbean/xbean-asm5-shaded/bundles/xbean-asm5-shaded-4.4.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-client/jars/hadoop-client-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-common/jars/hadoop-common-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-annotations/jars/hadoop-annotations-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.google.code.findbugs/jsr305/jars/jsr305-1.3.9.jar:/Users/aaleali/.ivy2/cache/commons-cli/commons-cli/jars/commons-cli-1.2.jar:/Users/aaleali/.ivy2/cache/org.apache.commons/commons-math3/jars/commons-math3-3.4.1.jar:/Users/aaleali/.ivy2/cache/xmlenc/xmlenc/jars/xmlenc-0.52.jar:/Users/aaleali/.ivy2/cache/commons-httpclient/commons-httpclient/jars/commons-httpclient-3.1.jar:/Users/aaleali/.ivy2/cache/commons-io/commons-io/jars/commons-io-2.4.jar:/Users/aaleali/.ivy2/cache/commons-net/commons-net/jars/commons-net-2.2.jar:/Users/aaleali/.ivy2/cache/log4j/log4j/bundles/log4j-1.2.17.jar:/Users/aaleali/.ivy2/cache/commons-lang/commons-lang/jars/commons-lang-2.6.jar:/Users/aaleali/.ivy2/cache/commons-configuration/commons-configuration/jars/commons-configuration-1.6.jar:/Users/aaleali/.ivy2/cache/commons-digester/commons-digester/jars/commons-digester-1.8.jar:/Users/aaleali/.ivy2/cache/commons-beanutils/commons-beanutils/jars/commons-beanutils-1.7.0.jar:/Users/aaleali/.ivy2/cache/commons-beanutils/commons-beanutils-core/jars/commons-beanutils-core-1.8.0.jar:/Users/aaleali/.ivy2/cache/com.google.protobuf/protobuf-java/bundles/protobuf-java-2.5.0.jar:/Users/aaleali/.ivy2/cache/com.google.code.gson/gson/jars/gson-2.2.4.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-auth/jars/hadoop-auth-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.directory.server/apacheds-kerberos-codec/bundles/apacheds-kerberos-codec-2.0.0-M15.jar:/Users/aaleali/.ivy2/cache/org.apache.directory.server/apacheds-i18n/bundles/apacheds-i18n-2.0.0-M15.jar:/Users/aaleali/.ivy2/cache/org.apache.directory.api/api-asn1-api/bundles/api-asn1-api-1.0.0-M20.jar:/Users/aaleali/.ivy2/cache/org.apache.directory.api/api-util/bundles/api-util-1.0.0-M20.jar:/Users/aaleali/.ivy2/cache/org.apache.curator/curator-framework/bundles/curator-framework-2.7.1.jar:/Users/aaleali/.ivy2/cache/org.apache.curator/curator-client/bundles/curator-client-2.7.1.jar:/Users/aaleali/.ivy2/cache/org.apache.zookeeper/zookeeper/jars/zookeeper-3.4.6.jar:/Users/aaleali/.ivy2/cache/jline/jline/jars/jline-0.9.94.jar:/Users/aaleali/.ivy2/cache/io.netty/netty/bundles/netty-3.9.9.Final.jar:/Users/aaleali/.ivy2/cache/org.apache.curator/curator-recipes/bundles/curator-recipes-2.7.1.jar:/Users/aaleali/.ivy2/cache/org.apache.htrace/htrace-core4/jars/htrace-core4-4.0.1-incubating.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-hdfs/jars/hadoop-hdfs-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.mortbay.jetty/jetty-util/jars/jetty-util-6.1.26.cloudera.4.jar:/Users/aaleali/.ivy2/cache/org.codehaus.jackson/jackson-core-asl/jars/jackson-core-asl-1.9.13.jar:/Users/aaleali/.ivy2/cache/io.netty/netty-all/jars/netty-all-4.0.43.Final.jar:/Users/aaleali/.ivy2/cache/xerces/xercesImpl/jars/xercesImpl-2.9.1.jar:/Users/aaleali/.ivy2/cache/xml-apis/xml-apis/jars/xml-apis-1.3.04.jar:/Users/aaleali/.ivy2/cache/org.fusesource.leveldbjni/leveldbjni-all/bundles/leveldbjni-all-1.8.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-mapreduce-client-app/jars/hadoop-mapreduce-client-app-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-mapreduce-client-common/jars/hadoop-mapreduce-client-common-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-common/jars/hadoop-yarn-common-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-api/jars/hadoop-yarn-api-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/javax.xml.bind/jaxb-api/jars/jaxb-api-2.2.2.jar:/Users/aaleali/.ivy2/cache/javax.xml.stream/stax-api/jars/stax-api-1.0-2.jar:/Users/aaleali/.ivy2/cache/javax.activation/activation/jars/activation-1.1.jar:/Users/aaleali/.ivy2/cache/org.codehaus.jackson/jackson-jaxrs/jars/jackson-jaxrs-1.8.8.jar:/Users/aaleali/.ivy2/cache/org.codehaus.jackson/jackson-xc/jars/jackson-xc-1.8.8.jar:/Users/aaleali/.ivy2/cache/com.google.inject/guice/jars/guice-3.0.jar:/Users/aaleali/.ivy2/cache/javax.inject/javax.inject/jars/javax.inject-1.jar:/Users/aaleali/.ivy2/cache/aopalliance/aopalliance/jars/aopalliance-1.0.jar:/Users/aaleali/.ivy2/cache/org.sonatype.sisu.inject/cglib/jars/cglib-2.2.1-v20090111.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-client/jars/hadoop-yarn-client-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-mapreduce-client-core/jars/hadoop-mapreduce-client-core-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.slf4j/slf4j-log4j12/jars/slf4j-log4j12-1.7.5.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-server-common/jars/hadoop-yarn-server-common-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-mapreduce-client-shuffle/jars/hadoop-mapreduce-client-shuffle-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-mapreduce-client-jobclient/jars/hadoop-mapreduce-client-jobclient-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-aws/jars/hadoop-aws-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.amazonaws/aws-java-sdk-bundle/jars/aws-java-sdk-bundle-1.11.134.jar:/Users/aaleali/.ivy2/cache/com.fasterxml.jackson.core/jackson-core/jars/jackson-core-2.2.3.jar:/Users/aaleali/.ivy2/cache/com.fasterxml.jackson.core/jackson-databind/bundles/jackson-databind-2.6.5.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-launcher_2.11/jars/spark-launcher_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-tags_2.11/jars/spark-tags_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.spark-project.spark/unused/jars/unused-1.0.0.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-network-common_2.11/jars/spark-network-common_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.commons/commons-lang3/jars/commons-lang3-3.5.jar:/Users/aaleali/.ivy2/cache/com.fasterxml.jackson.core/jackson-annotations/bundles/jackson-annotations-2.6.5.jar:/Users/aaleali/.ivy2/cache/org.apache.commons/commons-crypto/jars/commons-crypto-1.0.0.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-network-shuffle_2.11/jars/spark-network-shuffle_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/io.dropwizard.metrics/metrics-core/bundles/metrics-core-3.1.2.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-unsafe_2.11/jars/spark-unsafe_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/net.java.dev.jets3t/jets3t/jars/jets3t-0.9.0.jar:/Users/aaleali/.ivy2/cache/com.jamesmurty.utils/java-xmlbuilder/jars/java-xmlbuilder-0.4.jar:/Users/aaleali/.ivy2/cache/javax.servlet/javax.servlet-api/jars/javax.servlet-api-3.1.0.jar:/Users/aaleali/.ivy2/cache/org.slf4j/jul-to-slf4j/jars/jul-to-slf4j-1.7.5.jar:/Users/aaleali/.ivy2/cache/org.slf4j/jcl-over-slf4j/jars/jcl-over-slf4j-1.7.5.jar:/Users/aaleali/.ivy2/cache/com.ning/compress-lzf/bundles/compress-lzf-1.0.3.jar:/Users/aaleali/.ivy2/cache/net.jpountz.lz4/lz4/jars/lz4-1.3.0.jar:/Users/aaleali/.ivy2/cache/org.roaringbitmap/RoaringBitmap/bundles/RoaringBitmap-0.5.11.jar:/Users/aaleali/.ivy2/cache/org.json4s/json4s-jackson_2.11/jars/json4s-jackson_2.11-3.2.11.jar:/Users/aaleali/.ivy2/cache/org.json4s/json4s-core_2.11/jars/json4s-core_2.11-3.2.11.jar:/Users/aaleali/.ivy2/cache/org.json4s/json4s-ast_2.11/jars/json4s-ast_2.11-3.2.11.jar:/Users/aaleali/.ivy2/cache/com.thoughtworks.paranamer/paranamer/jars/paranamer-2.6.jar:/Users/aaleali/.ivy2/cache/org.scala-lang/scalap/jars/scalap-2.11.12.jar:/Users/aaleali/.ivy2/cache/org.scala-lang/scala-compiler/jars/scala-compiler-2.11.12.jar:/Users/aaleali/.ivy2/cache/org.scala-lang.modules/scala-parser-combinators_2.11/bundles/scala-parser-combinators_2.11-1.0.4.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.core/jersey-client/jars/jersey-client-2.22.2.jar:/Users/aaleali/.ivy2/cache/javax.ws.rs/javax.ws.rs-api/jars/javax.ws.rs-api-2.0.1.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.core/jersey-common/jars/jersey-common-2.22.2.jar:/Users/aaleali/.ivy2/cache/javax.annotation/javax.annotation-api/jars/javax.annotation-api-1.2.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.bundles.repackaged/jersey-guava/bundles/jersey-guava-2.22.2.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2/hk2-api/jars/hk2-api-2.4.0-b34.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2/hk2-utils/jars/hk2-utils-2.4.0-b34.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2.external/aopalliance-repackaged/jars/aopalliance-repackaged-2.4.0-b34.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2.external/javax.inject/jars/javax.inject-2.4.0-b34.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2/hk2-locator/jars/hk2-locator-2.4.0-b34.jar:/Users/aaleali/.ivy2/cache/org.javassist/javassist/bundles/javassist-3.18.1-GA.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2/osgi-resource-locator/jars/osgi-resource-locator-1.0.1.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.core/jersey-server/jars/jersey-server-2.22.2.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.media/jersey-media-jaxb/jars/jersey-media-jaxb-2.22.2.jar:/Users/aaleali/.ivy2/cache/javax.validation/validation-api/jars/validation-api-1.1.0.Final.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.containers/jersey-container-servlet/jars/jersey-container-servlet-2.22.2.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.containers/jersey-container-servlet-core/jars/jersey-container-servlet-core-2.22.2.jar:/Users/aaleali/.ivy2/cache/com.clearspring.analytics/stream/jars/stream-2.7.0.jar:/Users/aaleali/.ivy2/cache/io.dropwizard.metrics/metrics-jvm/bundles/metrics-jvm-3.1.2.jar:/Users/aaleali/.ivy2/cache/io.dropwizard.metrics/metrics-json/bundles/metrics-json-3.1.2.jar:/Users/aaleali/.ivy2/cache/io.dropwizard.metrics/metrics-graphite/bundles/metrics-graphite-3.1.2.jar:/Users/aaleali/.ivy2/cache/com.fasterxml.jackson.module/jackson-module-scala_2.11/bundles/jackson-module-scala_2.11-2.6.5.jar:/Users/aaleali/.ivy2/cache/com.fasterxml.jackson.module/jackson-module-paranamer/bundles/jackson-module-paranamer-2.6.5.jar:/Users/aaleali/.ivy2/cache/org.apache.ivy/ivy/jars/ivy-2.4.0.jar:/Users/aaleali/.ivy2/cache/oro/oro/jars/oro-2.0.8.jar:/Users/aaleali/.ivy2/cache/net.razorvine/pyrolite/jars/pyrolite-4.13.jar:/Users/aaleali/.ivy2/cache/net.sf.py4j/py4j/jars/py4j-0.10.4.jar:/Users/aaleali/.ivy2/cache/org.mortbay.jetty/jetty/jars/jetty-6.1.26.cloudera.4.jar:/Users/aaleali/.ivy2/cache/tomcat/jasper-compiler/jars/jasper-compiler-5.5.23.jar:/Users/aaleali/.ivy2/cache/tomcat/jasper-runtime/jars/jasper-runtime-5.5.23.jar:/Users/aaleali/.ivy2/cache/commons-el/commons-el/jars/commons-el-1.0.jar:/Users/aaleali/.ivy2/cache/javax.servlet.jsp/jsp-api/jars/jsp-api-2.1.jar:/Users/aaleali/.ivy2/cache/org.codehaus.jettison/jettison/bundles/jettison-1.1.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-sql_2.11/jars/spark-sql_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/com.univocity/univocity-parsers/jars/univocity-parsers-2.2.1.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-sketch_2.11/jars/spark-sketch_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-catalyst_2.11/jars/spark-catalyst_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.codehaus.janino/janino/jars/janino-3.0.0.jar:/Users/aaleali/.ivy2/cache/org.codehaus.janino/commons-compiler/jars/commons-compiler-3.0.0.jar:/Users/aaleali/.ivy2/cache/org.antlr/antlr4-runtime/jars/antlr4-runtime-4.5.3.jar:/Users/aaleali/.ivy2/cache/commons-codec/commons-codec/jars/commons-codec-1.10.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-column/jars/parquet-column-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-common/jars/parquet-common-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-encoding/jars/parquet-encoding-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-hadoop/jars/parquet-hadoop-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-format/jars/parquet-format-2.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-jackson/jars/parquet-jackson-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.xerial.snappy/snappy-java/bundles/snappy-java-1.0.5.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-avro/jars/parquet-avro-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/it.unimi.dsi/fastutil/jars/fastutil-6.3.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-hive_2.11/jars/spark-hive_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-hive-exec_2.11/jars/spark-hive-exec_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.hive/hive-serde/jars/hive-serde-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hive/hive-shims/jars/hive-shims-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hive.shims/hive-shims-common/jars/hive-shims-common-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/commons-logging/commons-logging/jars/commons-logging-1.1.3.jar:/Users/aaleali/.ivy2/cache/log4j/apache-log4j-extras/bundles/apache-log4j-extras-1.2.17.jar:/Users/aaleali/.ivy2/cache/com.google.guava/guava/bundles/guava-14.0.1.jar:/Users/aaleali/.ivy2/cache/org.apache.thrift/libthrift/jars/libthrift-0.9.3.jar:/Users/aaleali/.ivy2/cache/org.apache.httpcomponents/httpclient/jars/httpclient-4.5.2.jar:/Users/aaleali/.ivy2/cache/org.apache.httpcomponents/httpcore/jars/httpcore-4.4.4.jar:/Users/aaleali/.ivy2/cache/net.sf.opencsv/opencsv/jars/opencsv-2.3.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-hadoop-bundle/jars/parquet-hadoop-bundle-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.googlecode.javaewah/JavaEWAH/jars/JavaEWAH-0.3.2.jar:/Users/aaleali/.ivy2/cache/javolution/javolution/bundles/javolution-5.5.1.jar:/Users/aaleali/.ivy2/cache/org.antlr/ST4/jars/ST4-4.0.4.jar:/Users/aaleali/.ivy2/cache/org.antlr/stringtemplate/jars/stringtemplate-3.2.1.jar:/Users/aaleali/.ivy2/cache/antlr/antlr/jars/antlr-2.7.7.jar:/Users/aaleali/.ivy2/cache/org.cloudera.logredactor/logredactor/jars/logredactor-1.0.3.jar:/Users/aaleali/.ivy2/cache/org.iq80.snappy/snappy/jars/snappy-0.2.jar:/Users/aaleali/.ivy2/cache/org.json/json/jars/json-20090211.jar:/Users/aaleali/.ivy2/cache/stax/stax-api/jars/stax-api-1.0.1.jar:/Users/aaleali/.ivy2/cache/org.apache.hive/hive-metastore/jars/hive-metastore-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.jolbox/bonecp/bundles/bonecp-0.8.0.RELEASE.jar:/Users/aaleali/.ivy2/cache/org.apache.derby/derby/jars/derby-10.11.1.1.jar:/Users/aaleali/.ivy2/cache/org.datanucleus/datanucleus-api-jdo/jars/datanucleus-api-jdo-3.2.6.jar:/Users/aaleali/.ivy2/cache/org.datanucleus/datanucleus-core/jars/datanucleus-core-3.2.10.jar:/Users/aaleali/.ivy2/cache/org.datanucleus/datanucleus-rdbms/jars/datanucleus-rdbms-3.2.9.jar:/Users/aaleali/.ivy2/cache/commons-pool/commons-pool/jars/commons-pool-1.5.4.jar:/Users/aaleali/.ivy2/cache/commons-dbcp/commons-dbcp/jars/commons-dbcp-1.4.jar:/Users/aaleali/.ivy2/cache/javax.jdo/jdo-api/jars/jdo-api-3.0.1.jar:/Users/aaleali/.ivy2/cache/javax.transaction/jta/jars/jta-1.1.jar:/Users/aaleali/.ivy2/cache/org.antlr/antlr-runtime/jars/antlr-runtime-3.4.jar:/Users/aaleali/.ivy2/cache/org.apache.calcite/calcite-avatica/jars/calcite-avatica-1.2.0-incubating.jar:/Users/aaleali/.ivy2/cache/org.apache.calcite/calcite-core/jars/calcite-core-1.2.0-incubating.jar:/Users/aaleali/.ivy2/cache/org.apache.calcite/calcite-linq4j/jars/calcite-linq4j-1.2.0-incubating.jar:/Users/aaleali/.ivy2/cache/net.hydromatic/eigenbase-properties/bundles/eigenbase-properties-1.1.5.jar:/Users/aaleali/.ivy2/cache/joda-time/joda-time/jars/joda-time-2.9.3.jar:/Users/aaleali/.ivy2/cache/org.jodd/jodd-core/jars/jodd-core-3.5.2.jar:/Users/aaleali/.ivy2/cache/org.apache.thrift/libfb303/jars/libfb303-0.9.3.jar:/Users/aaleali/.ivy2/cache/org.apache.hive.shims/hive-shims-0.23/jars/hive-shims-0.23-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-server-resourcemanager/jars/hadoop-yarn-server-resourcemanager-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.google.inject.extensions/guice-servlet/jars/guice-servlet-3.0.jar:/Users/aaleali/.ivy2/cache/com.sun.jersey/jersey-json/bundles/jersey-json-1.9.jar:/Users/aaleali/.ivy2/cache/com.sun.xml.bind/jaxb-impl/jars/jaxb-impl-2.2.3-1.jar:/Users/aaleali/.ivy2/cache/com.sun.jersey.contribs/jersey-guice/jars/jersey-guice-1.9.jar:/Users/aaleali/.ivy2/cache/com.sun.jersey/jersey-core/bundles/jersey-core-1.9.jar:/Users/aaleali/.ivy2/cache/com.sun.jersey/jersey-client/bundles/jersey-client-1.9.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-server-applicationhistoryservice/jars/hadoop-yarn-server-applicationhistoryservice-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-server-web-proxy/jars/hadoop-yarn-server-web-proxy-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hive.shims/hive-shims-scheduler/jars/hive-shims-scheduler-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.mockito/mockito-all/jars/mockito-all-1.9.5.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-core/jars/hadoop-core-2.6.0-mr1-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/hsqldb/hsqldb/jars/hsqldb-1.8.0.10.jar:/Users/aaleali/.ivy2/cache/org.eclipse.jdt/core/jars/core-3.1.1.jar
[error]
[error] last tree to typer: Ident(evidence$1$1)
[error] tree position: line 17 of /Users/aaleali/w/fspark/src/main/scala/com/conversantmedia/fspark/Cached.scala
[error] tree tpe: scalaz#27.Monad#21292
[error] symbol: value evidence$1$1#114236
[error] symbol definition: evidence$1$1#114236: scalaz#27.Monad#21292 (a TermSymbol)
[error] symbol package: com.conversantmedia.fspark
[error] symbol owners: value evidence$1$1#114236 -> constructor Cached$$anon$1#54385 -> <$anon: scalaz#27.Functor#19108 with scalaz#27.Applicative#21094 with scalaz#27.Monad#21292>
[error] call site: <$anon: Function0#2119> in package fspark#8337 in package fspark#8336
[error]
[error] == Source file context for tree position ==
[error]
[error] 14
[error] 15 implicit def instance[F[_] : Monad]: Functor[Cached[F, ?]] with Applicative[Cached[F, ?]] with Monad[Cached[F, ?]] =
[error] 16 new Functor[Cached[F, ?]] with Applicative[Cached[F, ?]] with Monad[Cached[F, ?]] {
[error] 17 def eval[A](fa: => Cached[F, A])(implicit name: sourcecode.Name, args: sourcecode.Args): F[A] = {
[error] 18 println("loading stuff from the database...")
[error] 19 println(name)
[error] 20 fa.value
[error] scala.reflect.internal.Reporting$class.abort(Reporting.scala:59)
[error] scala.reflect.internal.SymbolTable.abort(SymbolTable.scala:16)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase.genLoadIdent$1(GenICode.scala:890)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genLoad(GenICode.scala:898)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$genLoadArguments$1.apply(GenICode.scala:1140)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$genLoadArguments$1.apply(GenICode.scala:1138)
[error] scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124)
[error] scala.collection.immutable.List.foldLeft(List.scala:84)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase.genLoadArguments(GenICode.scala:1138)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase.genLoadApply3$1(GenICode.scala:697)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genLoad(GenICode.scala:707)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genLoad(GenICode.scala:931)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genLoad(GenICode.scala:923)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$genLoadArguments$1.apply(GenICode.scala:1140)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$genLoadArguments$1.apply(GenICode.scala:1138)
[error] scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124)
[error] scala.collection.immutable.List.foldLeft(List.scala:84)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase.genLoadArguments(GenICode.scala:1138)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase.genLoadApply6$1(GenICode.scala:778)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genLoad(GenICode.scala:809)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:123)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:71)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:148)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:98)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:71)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:89)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:67)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase.apply(GenICode.scala:63)
[error] scala.tools.nsc.Global$GlobalPhase$$anonfun$applyPhase$1.apply$mcV$sp(Global.scala:467)
[error] scala.tools.nsc.Global$GlobalPhase.withCurrentUnit(Global.scala:458)
[error] scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:467)
[error] scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:425)
[error] scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:425)
[error] scala.collection.Iterator$class.foreach(Iterator.scala:891)
[error] scala.collection.AbstractIterator.foreach(Iterator.scala:1334)
[error] scala.tools.nsc.Global$GlobalPhase.run(Global.scala:425)
[error] scala.tools.nsc.backend.icode.GenICode$ICodePhase.run(GenICode.scala:55)
[error] scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1528)
[error] scala.tools.nsc.Global$Run.compileUnits(Global.scala:1513)
[error] scala.tools.nsc.Global$Run.compileSources(Global.scala:1508)
[error] scala.tools.nsc.Global$Run.compile(Global.scala:1609)
[error] xsbt.CachedCompiler0.run(CompilerInterface.scala:130)
[error] xsbt.CachedCompiler0.run(CompilerInterface.scala:105)
[error] xsbt.CompilerInterface.run(CompilerInterface.scala:31)
[error] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[error] sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[error] sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[error] java.lang.reflect.Method.invoke(Method.java:498)
[error] sbt.internal.inc.AnalyzingCompiler.call(AnalyzingCompiler.scala:237)
[error] sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:111)
[error] sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:90)
[error] sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$3(MixedAnalyzingCompiler.scala:82)
[error] scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
[error] sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:133)
[error] sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:73)
[error] sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:116)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:307)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:307)
[error] sbt.internal.inc.Incremental$.doCompile(Incremental.scala:106)
[error] sbt.internal.inc.Incremental$.$anonfun$compile$4(Incremental.scala:87)
[error] sbt.internal.inc.IncrementalCommon.recompileClasses(IncrementalCommon.scala:116)
[error] sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:63)
[error] sbt.internal.inc.Incremental$.$anonfun$compile$3(Incremental.scala:89)
[error] sbt.internal.inc.Incremental$.manageClassfiles(Incremental.scala:134)
[error] sbt.internal.inc.Incremental$.compile(Incremental.scala:80)
[error] sbt.internal.inc.IncrementalCompile$.apply(Compile.scala:67)
[error] sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:311)
[error] sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:269)
[error] sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:159)
[error] sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:238)
[error] sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:69)
[error] sbt.Defaults$.compileIncrementalTaskImpl(Defaults.scala:1549)
[error] sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:1523)
[error] scala.Function1.$anonfun$compose$1(Function1.scala:44)
[error] sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:40)
[error] sbt.std.Transform$$anon$4.work(System.scala:67)
[error] sbt.Execute.$anonfun$submit$2(Execute.scala:269)
[error] sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error] sbt.Execute.work(Execute.scala:278)
[error] sbt.Execute.$anonfun$submit$1(Execute.scala:269)
[error] sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178)
[error] sbt.CompletionService$$anon$2.call(CompletionService.scala:37)
[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:748)
[error]
[error] scala.reflect.internal.FatalError:
[error] symbol value fa#55120 does not exist in com.conversantmedia.fspark.Cached$$anon$1.map, which contains locals value f#55093,value fa#55092.
[error] Method code: override def map(fa: Cached[F, A], f: _root_.scala.Function1[A, B]): Cached[F, B] = Cached.apply({
[error] ((new <$anon: Function0#2119>($anon.this, fa, f, fa, f)): Function0#2119)
[error] })
[error] while compiling: /Users/aaleali/w/fspark/src/main/scala/com/conversantmedia/fspark/Cached.scala
[error] during phase: icode
[error] library version: version 2.11.12
[error] compiler version: version 2.11.12
[error] reconstructed args: -language:dynamics -language:postfixOps -language:reflectiveCalls -language:implicitConversions -language:higherKinds -language:existentials -language:experimental.macros -Ypartial-unification -uniqid -Xlog-implicits -Xplugin:/Users/aaleali/.ivy2/cache/org.scalamacros/paradise_2.11.12/jars/paradise_2.11.12-2.1.0.jar -Xplugin:/Users/aaleali/.ivy2/cache/org.spire-math/kind-projector_2.11/jars/kind-projector_2.11-0.9.8.jar -bootclasspath /Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/classes:/Users/aaleali/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.11.12.jar -classpath /Users/aaleali/w/fspark/target/scala-2.11/classes:/Users/aaleali/.ivy2/cache/org.scalaz/scalaz-core_2.11/bundles/scalaz-core_2.11-7.2.27.jar:/Users/aaleali/.ivy2/cache/org.scalatest/scalatest_2.11/bundles/scalatest_2.11-3.0.5.jar:/Users/aaleali/.ivy2/cache/org.scalactic/scalactic_2.11/bundles/scalactic_2.11-3.0.5.jar:/Users/aaleali/.ivy2/cache/org.scala-lang/scala-reflect/jars/scala-reflect-2.11.12.jar:/Users/aaleali/.ivy2/cache/org.scala-lang.modules/scala-xml_2.11/bundles/scala-xml_2.11-1.0.6.jar:/Users/aaleali/.ivy2/cache/com.github.mpilquist/simulacrum_2.11/jars/simulacrum_2.11-0.15.0.jar:/Users/aaleali/.ivy2/cache/org.typelevel/macro-compat_2.11/jars/macro-compat_2.11-1.1.1.jar:/Users/aaleali/.ivy2/cache/com.lihaoyi/sourcecode_2.11/bundles/sourcecode_2.11-0.1.4.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-core_2.11/jars/spark-core_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.avro/avro/jars/avro-1.7.6-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.codehaus.jackson/jackson-mapper-asl/jars/jackson-mapper-asl-1.8.8.jar:/Users/aaleali/.ivy2/cache/org.apache.commons/commons-compress/jars/commons-compress-1.4.1.jar:/Users/aaleali/.ivy2/cache/org.tukaani/xz/jars/xz-1.0.jar:/Users/aaleali/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.7.5.jar:/Users/aaleali/.ivy2/cache/org.apache.avro/avro-mapred/jars/avro-mapred-1.7.6-cdh5.12.0-hadoop2.jar:/Users/aaleali/.ivy2/cache/org.apache.avro/avro-ipc/jars/avro-ipc-1.7.6-cdh5.12.0-tests.jar:/Users/aaleali/.ivy2/cache/org.apache.avro/avro-ipc/jars/avro-ipc-1.7.6-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/commons-collections/commons-collections/jars/commons-collections-3.2.2.jar:/Users/aaleali/.ivy2/cache/com.twitter/chill_2.11/jars/chill_2.11-0.8.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/chill-java/jars/chill-java-0.8.0.jar:/Users/aaleali/.ivy2/cache/com.esotericsoftware/kryo-shaded/bundles/kryo-shaded-3.0.3.jar:/Users/aaleali/.ivy2/cache/com.esotericsoftware/minlog/bundles/minlog-1.3.0.jar:/Users/aaleali/.ivy2/cache/org.objenesis/objenesis/jars/objenesis-2.1.jar:/Users/aaleali/.ivy2/cache/org.apache.xbean/xbean-asm5-shaded/bundles/xbean-asm5-shaded-4.4.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-client/jars/hadoop-client-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-common/jars/hadoop-common-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-annotations/jars/hadoop-annotations-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.google.code.findbugs/jsr305/jars/jsr305-1.3.9.jar:/Users/aaleali/.ivy2/cache/commons-cli/commons-cli/jars/commons-cli-1.2.jar:/Users/aaleali/.ivy2/cache/org.apache.commons/commons-math3/jars/commons-math3-3.4.1.jar:/Users/aaleali/.ivy2/cache/xmlenc/xmlenc/jars/xmlenc-0.52.jar:/Users/aaleali/.ivy2/cache/commons-httpclient/commons-httpclient/jars/commons-httpclient-3.1.jar:/Users/aaleali/.ivy2/cache/commons-io/commons-io/jars/commons-io-2.4.jar:/Users/aaleali/.ivy2/cache/commons-net/commons-net/jars/commons-net-2.2.jar:/Users/aaleali/.ivy2/cache/log4j/log4j/bundles/log4j-1.2.17.jar:/Users/aaleali/.ivy2/cache/commons-lang/commons-lang/jars/commons-lang-2.6.jar:/Users/aaleali/.ivy2/cache/commons-configuration/commons-configuration/jars/commons-configuration-1.6.jar:/Users/aaleali/.ivy2/cache/commons-digester/commons-digester/jars/commons-digester-1.8.jar:/Users/aaleali/.ivy2/cache/commons-beanutils/commons-beanutils/jars/commons-beanutils-1.7.0.jar:/Users/aaleali/.ivy2/cache/commons-beanutils/commons-beanutils-core/jars/commons-beanutils-core-1.8.0.jar:/Users/aaleali/.ivy2/cache/com.google.protobuf/protobuf-java/bundles/protobuf-java-2.5.0.jar:/Users/aaleali/.ivy2/cache/com.google.code.gson/gson/jars/gson-2.2.4.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-auth/jars/hadoop-auth-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.directory.server/apacheds-kerberos-codec/bundles/apacheds-kerberos-codec-2.0.0-M15.jar:/Users/aaleali/.ivy2/cache/org.apache.directory.server/apacheds-i18n/bundles/apacheds-i18n-2.0.0-M15.jar:/Users/aaleali/.ivy2/cache/org.apache.directory.api/api-asn1-api/bundles/api-asn1-api-1.0.0-M20.jar:/Users/aaleali/.ivy2/cache/org.apache.directory.api/api-util/bundles/api-util-1.0.0-M20.jar:/Users/aaleali/.ivy2/cache/org.apache.curator/curator-framework/bundles/curator-framework-2.7.1.jar:/Users/aaleali/.ivy2/cache/org.apache.curator/curator-client/bundles/curator-client-2.7.1.jar:/Users/aaleali/.ivy2/cache/org.apache.zookeeper/zookeeper/jars/zookeeper-3.4.6.jar:/Users/aaleali/.ivy2/cache/jline/jline/jars/jline-0.9.94.jar:/Users/aaleali/.ivy2/cache/io.netty/netty/bundles/netty-3.9.9.Final.jar:/Users/aaleali/.ivy2/cache/org.apache.curator/curator-recipes/bundles/curator-recipes-2.7.1.jar:/Users/aaleali/.ivy2/cache/org.apache.htrace/htrace-core4/jars/htrace-core4-4.0.1-incubating.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-hdfs/jars/hadoop-hdfs-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.mortbay.jetty/jetty-util/jars/jetty-util-6.1.26.cloudera.4.jar:/Users/aaleali/.ivy2/cache/org.codehaus.jackson/jackson-core-asl/jars/jackson-core-asl-1.9.13.jar:/Users/aaleali/.ivy2/cache/io.netty/netty-all/jars/netty-all-4.0.43.Final.jar:/Users/aaleali/.ivy2/cache/xerces/xercesImpl/jars/xercesImpl-2.9.1.jar:/Users/aaleali/.ivy2/cache/xml-apis/xml-apis/jars/xml-apis-1.3.04.jar:/Users/aaleali/.ivy2/cache/org.fusesource.leveldbjni/leveldbjni-all/bundles/leveldbjni-all-1.8.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-mapreduce-client-app/jars/hadoop-mapreduce-client-app-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-mapreduce-client-common/jars/hadoop-mapreduce-client-common-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-common/jars/hadoop-yarn-common-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-api/jars/hadoop-yarn-api-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/javax.xml.bind/jaxb-api/jars/jaxb-api-2.2.2.jar:/Users/aaleali/.ivy2/cache/javax.xml.stream/stax-api/jars/stax-api-1.0-2.jar:/Users/aaleali/.ivy2/cache/javax.activation/activation/jars/activation-1.1.jar:/Users/aaleali/.ivy2/cache/org.codehaus.jackson/jackson-jaxrs/jars/jackson-jaxrs-1.8.8.jar:/Users/aaleali/.ivy2/cache/org.codehaus.jackson/jackson-xc/jars/jackson-xc-1.8.8.jar:/Users/aaleali/.ivy2/cache/com.google.inject/guice/jars/guice-3.0.jar:/Users/aaleali/.ivy2/cache/javax.inject/javax.inject/jars/javax.inject-1.jar:/Users/aaleali/.ivy2/cache/aopalliance/aopalliance/jars/aopalliance-1.0.jar:/Users/aaleali/.ivy2/cache/org.sonatype.sisu.inject/cglib/jars/cglib-2.2.1-v20090111.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-client/jars/hadoop-yarn-client-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-mapreduce-client-core/jars/hadoop-mapreduce-client-core-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.slf4j/slf4j-log4j12/jars/slf4j-log4j12-1.7.5.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-server-common/jars/hadoop-yarn-server-common-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-mapreduce-client-shuffle/jars/hadoop-mapreduce-client-shuffle-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-mapreduce-client-jobclient/jars/hadoop-mapreduce-client-jobclient-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-aws/jars/hadoop-aws-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.amazonaws/aws-java-sdk-bundle/jars/aws-java-sdk-bundle-1.11.134.jar:/Users/aaleali/.ivy2/cache/com.fasterxml.jackson.core/jackson-core/jars/jackson-core-2.2.3.jar:/Users/aaleali/.ivy2/cache/com.fasterxml.jackson.core/jackson-databind/bundles/jackson-databind-2.6.5.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-launcher_2.11/jars/spark-launcher_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-tags_2.11/jars/spark-tags_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.spark-project.spark/unused/jars/unused-1.0.0.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-network-common_2.11/jars/spark-network-common_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.commons/commons-lang3/jars/commons-lang3-3.5.jar:/Users/aaleali/.ivy2/cache/com.fasterxml.jackson.core/jackson-annotations/bundles/jackson-annotations-2.6.5.jar:/Users/aaleali/.ivy2/cache/org.apache.commons/commons-crypto/jars/commons-crypto-1.0.0.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-network-shuffle_2.11/jars/spark-network-shuffle_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/io.dropwizard.metrics/metrics-core/bundles/metrics-core-3.1.2.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-unsafe_2.11/jars/spark-unsafe_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/net.java.dev.jets3t/jets3t/jars/jets3t-0.9.0.jar:/Users/aaleali/.ivy2/cache/com.jamesmurty.utils/java-xmlbuilder/jars/java-xmlbuilder-0.4.jar:/Users/aaleali/.ivy2/cache/javax.servlet/javax.servlet-api/jars/javax.servlet-api-3.1.0.jar:/Users/aaleali/.ivy2/cache/org.slf4j/jul-to-slf4j/jars/jul-to-slf4j-1.7.5.jar:/Users/aaleali/.ivy2/cache/org.slf4j/jcl-over-slf4j/jars/jcl-over-slf4j-1.7.5.jar:/Users/aaleali/.ivy2/cache/com.ning/compress-lzf/bundles/compress-lzf-1.0.3.jar:/Users/aaleali/.ivy2/cache/net.jpountz.lz4/lz4/jars/lz4-1.3.0.jar:/Users/aaleali/.ivy2/cache/org.roaringbitmap/RoaringBitmap/bundles/RoaringBitmap-0.5.11.jar:/Users/aaleali/.ivy2/cache/org.json4s/json4s-jackson_2.11/jars/json4s-jackson_2.11-3.2.11.jar:/Users/aaleali/.ivy2/cache/org.json4s/json4s-core_2.11/jars/json4s-core_2.11-3.2.11.jar:/Users/aaleali/.ivy2/cache/org.json4s/json4s-ast_2.11/jars/json4s-ast_2.11-3.2.11.jar:/Users/aaleali/.ivy2/cache/com.thoughtworks.paranamer/paranamer/jars/paranamer-2.6.jar:/Users/aaleali/.ivy2/cache/org.scala-lang/scalap/jars/scalap-2.11.12.jar:/Users/aaleali/.ivy2/cache/org.scala-lang/scala-compiler/jars/scala-compiler-2.11.12.jar:/Users/aaleali/.ivy2/cache/org.scala-lang.modules/scala-parser-combinators_2.11/bundles/scala-parser-combinators_2.11-1.0.4.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.core/jersey-client/jars/jersey-client-2.22.2.jar:/Users/aaleali/.ivy2/cache/javax.ws.rs/javax.ws.rs-api/jars/javax.ws.rs-api-2.0.1.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.core/jersey-common/jars/jersey-common-2.22.2.jar:/Users/aaleali/.ivy2/cache/javax.annotation/javax.annotation-api/jars/javax.annotation-api-1.2.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.bundles.repackaged/jersey-guava/bundles/jersey-guava-2.22.2.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2/hk2-api/jars/hk2-api-2.4.0-b34.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2/hk2-utils/jars/hk2-utils-2.4.0-b34.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2.external/aopalliance-repackaged/jars/aopalliance-repackaged-2.4.0-b34.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2.external/javax.inject/jars/javax.inject-2.4.0-b34.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2/hk2-locator/jars/hk2-locator-2.4.0-b34.jar:/Users/aaleali/.ivy2/cache/org.javassist/javassist/bundles/javassist-3.18.1-GA.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2/osgi-resource-locator/jars/osgi-resource-locator-1.0.1.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.core/jersey-server/jars/jersey-server-2.22.2.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.media/jersey-media-jaxb/jars/jersey-media-jaxb-2.22.2.jar:/Users/aaleali/.ivy2/cache/javax.validation/validation-api/jars/validation-api-1.1.0.Final.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.containers/jersey-container-servlet/jars/jersey-container-servlet-2.22.2.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.containers/jersey-container-servlet-core/jars/jersey-container-servlet-core-2.22.2.jar:/Users/aaleali/.ivy2/cache/com.clearspring.analytics/stream/jars/stream-2.7.0.jar:/Users/aaleali/.ivy2/cache/io.dropwizard.metrics/metrics-jvm/bundles/metrics-jvm-3.1.2.jar:/Users/aaleali/.ivy2/cache/io.dropwizard.metrics/metrics-json/bundles/metrics-json-3.1.2.jar:/Users/aaleali/.ivy2/cache/io.dropwizard.metrics/metrics-graphite/bundles/metrics-graphite-3.1.2.jar:/Users/aaleali/.ivy2/cache/com.fasterxml.jackson.module/jackson-module-scala_2.11/bundles/jackson-module-scala_2.11-2.6.5.jar:/Users/aaleali/.ivy2/cache/com.fasterxml.jackson.module/jackson-module-paranamer/bundles/jackson-module-paranamer-2.6.5.jar:/Users/aaleali/.ivy2/cache/org.apache.ivy/ivy/jars/ivy-2.4.0.jar:/Users/aaleali/.ivy2/cache/oro/oro/jars/oro-2.0.8.jar:/Users/aaleali/.ivy2/cache/net.razorvine/pyrolite/jars/pyrolite-4.13.jar:/Users/aaleali/.ivy2/cache/net.sf.py4j/py4j/jars/py4j-0.10.4.jar:/Users/aaleali/.ivy2/cache/org.mortbay.jetty/jetty/jars/jetty-6.1.26.cloudera.4.jar:/Users/aaleali/.ivy2/cache/tomcat/jasper-compiler/jars/jasper-compiler-5.5.23.jar:/Users/aaleali/.ivy2/cache/tomcat/jasper-runtime/jars/jasper-runtime-5.5.23.jar:/Users/aaleali/.ivy2/cache/commons-el/commons-el/jars/commons-el-1.0.jar:/Users/aaleali/.ivy2/cache/javax.servlet.jsp/jsp-api/jars/jsp-api-2.1.jar:/Users/aaleali/.ivy2/cache/org.codehaus.jettison/jettison/bundles/jettison-1.1.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-sql_2.11/jars/spark-sql_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/com.univocity/univocity-parsers/jars/univocity-parsers-2.2.1.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-sketch_2.11/jars/spark-sketch_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-catalyst_2.11/jars/spark-catalyst_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.codehaus.janino/janino/jars/janino-3.0.0.jar:/Users/aaleali/.ivy2/cache/org.codehaus.janino/commons-compiler/jars/commons-compiler-3.0.0.jar:/Users/aaleali/.ivy2/cache/org.antlr/antlr4-runtime/jars/antlr4-runtime-4.5.3.jar:/Users/aaleali/.ivy2/cache/commons-codec/commons-codec/jars/commons-codec-1.10.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-column/jars/parquet-column-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-common/jars/parquet-common-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-encoding/jars/parquet-encoding-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-hadoop/jars/parquet-hadoop-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-format/jars/parquet-format-2.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-jackson/jars/parquet-jackson-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.xerial.snappy/snappy-java/bundles/snappy-java-1.0.5.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-avro/jars/parquet-avro-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/it.unimi.dsi/fastutil/jars/fastutil-6.3.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-hive_2.11/jars/spark-hive_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-hive-exec_2.11/jars/spark-hive-exec_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.hive/hive-serde/jars/hive-serde-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hive/hive-shims/jars/hive-shims-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hive.shims/hive-shims-common/jars/hive-shims-common-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/commons-logging/commons-logging/jars/commons-logging-1.1.3.jar:/Users/aaleali/.ivy2/cache/log4j/apache-log4j-extras/bundles/apache-log4j-extras-1.2.17.jar:/Users/aaleali/.ivy2/cache/com.google.guava/guava/bundles/guava-14.0.1.jar:/Users/aaleali/.ivy2/cache/org.apache.thrift/libthrift/jars/libthrift-0.9.3.jar:/Users/aaleali/.ivy2/cache/org.apache.httpcomponents/httpclient/jars/httpclient-4.5.2.jar:/Users/aaleali/.ivy2/cache/org.apache.httpcomponents/httpcore/jars/httpcore-4.4.4.jar:/Users/aaleali/.ivy2/cache/net.sf.opencsv/opencsv/jars/opencsv-2.3.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-hadoop-bundle/jars/parquet-hadoop-bundle-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.googlecode.javaewah/JavaEWAH/jars/JavaEWAH-0.3.2.jar:/Users/aaleali/.ivy2/cache/javolution/javolution/bundles/javolution-5.5.1.jar:/Users/aaleali/.ivy2/cache/org.antlr/ST4/jars/ST4-4.0.4.jar:/Users/aaleali/.ivy2/cache/org.antlr/stringtemplate/jars/stringtemplate-3.2.1.jar:/Users/aaleali/.ivy2/cache/antlr/antlr/jars/antlr-2.7.7.jar:/Users/aaleali/.ivy2/cache/org.cloudera.logredactor/logredactor/jars/logredactor-1.0.3.jar:/Users/aaleali/.ivy2/cache/org.iq80.snappy/snappy/jars/snappy-0.2.jar:/Users/aaleali/.ivy2/cache/org.json/json/jars/json-20090211.jar:/Users/aaleali/.ivy2/cache/stax/stax-api/jars/stax-api-1.0.1.jar:/Users/aaleali/.ivy2/cache/org.apache.hive/hive-metastore/jars/hive-metastore-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.jolbox/bonecp/bundles/bonecp-0.8.0.RELEASE.jar:/Users/aaleali/.ivy2/cache/org.apache.derby/derby/jars/derby-10.11.1.1.jar:/Users/aaleali/.ivy2/cache/org.datanucleus/datanucleus-api-jdo/jars/datanucleus-api-jdo-3.2.6.jar:/Users/aaleali/.ivy2/cache/org.datanucleus/datanucleus-core/jars/datanucleus-core-3.2.10.jar:/Users/aaleali/.ivy2/cache/org.datanucleus/datanucleus-rdbms/jars/datanucleus-rdbms-3.2.9.jar:/Users/aaleali/.ivy2/cache/commons-pool/commons-pool/jars/commons-pool-1.5.4.jar:/Users/aaleali/.ivy2/cache/commons-dbcp/commons-dbcp/jars/commons-dbcp-1.4.jar:/Users/aaleali/.ivy2/cache/javax.jdo/jdo-api/jars/jdo-api-3.0.1.jar:/Users/aaleali/.ivy2/cache/javax.transaction/jta/jars/jta-1.1.jar:/Users/aaleali/.ivy2/cache/org.antlr/antlr-runtime/jars/antlr-runtime-3.4.jar:/Users/aaleali/.ivy2/cache/org.apache.calcite/calcite-avatica/jars/calcite-avatica-1.2.0-incubating.jar:/Users/aaleali/.ivy2/cache/org.apache.calcite/calcite-core/jars/calcite-core-1.2.0-incubating.jar:/Users/aaleali/.ivy2/cache/org.apache.calcite/calcite-linq4j/jars/calcite-linq4j-1.2.0-incubating.jar:/Users/aaleali/.ivy2/cache/net.hydromatic/eigenbase-properties/bundles/eigenbase-properties-1.1.5.jar:/Users/aaleali/.ivy2/cache/joda-time/joda-time/jars/joda-time-2.9.3.jar:/Users/aaleali/.ivy2/cache/org.jodd/jodd-core/jars/jodd-core-3.5.2.jar:/Users/aaleali/.ivy2/cache/org.apache.thrift/libfb303/jars/libfb303-0.9.3.jar:/Users/aaleali/.ivy2/cache/org.apache.hive.shims/hive-shims-0.23/jars/hive-shims-0.23-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-server-resourcemanager/jars/hadoop-yarn-server-resourcemanager-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.google.inject.extensions/guice-servlet/jars/guice-servlet-3.0.jar:/Users/aaleali/.ivy2/cache/com.sun.jersey/jersey-json/bundles/jersey-json-1.9.jar:/Users/aaleali/.ivy2/cache/com.sun.xml.bind/jaxb-impl/jars/jaxb-impl-2.2.3-1.jar:/Users/aaleali/.ivy2/cache/com.sun.jersey.contribs/jersey-guice/jars/jersey-guice-1.9.jar:/Users/aaleali/.ivy2/cache/com.sun.jersey/jersey-core/bundles/jersey-core-1.9.jar:/Users/aaleali/.ivy2/cache/com.sun.jersey/jersey-client/bundles/jersey-client-1.9.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-server-applicationhistoryservice/jars/hadoop-yarn-server-applicationhistoryservice-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-server-web-proxy/jars/hadoop-yarn-server-web-proxy-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hive.shims/hive-shims-scheduler/jars/hive-shims-scheduler-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.mockito/mockito-all/jars/mockito-all-1.9.5.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-core/jars/hadoop-core-2.6.0-mr1-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/hsqldb/hsqldb/jars/hsqldb-1.8.0.10.jar:/Users/aaleali/.ivy2/cache/org.eclipse.jdt/core/jars/core-3.1.1.jar
[error]
[error] last tree to typer: Ident(evidence$1$1)
[error] tree position: line 17 of /Users/aaleali/w/fspark/src/main/scala/com/conversantmedia/fspark/Cached.scala
[error] tree tpe: scalaz#27.Monad#21292
[error] symbol: value evidence$1$1#114236
[error] symbol definition: evidence$1$1#114236: scalaz#27.Monad#21292 (a TermSymbol)
[error] symbol package: com.conversantmedia.fspark
[error] symbol owners: value evidence$1$1#114236 -> constructor Cached$$anon$1#54385 -> <$anon: scalaz#27.Functor#19108 with scalaz#27.Applicative#21094 with scalaz#27.Monad#21292>
[error] call site: <$anon: Function0#2119> in package fspark#8337 in package fspark#8336
[error]
[error] == Source file context for tree position ==
[error]
[error] 14
[error] 15 implicit def instance[F[_] : Monad]: Functor[Cached[F, ?]] with Applicative[Cached[F, ?]] with Monad[Cached[F, ?]] =
[error] 16 new Functor[Cached[F, ?]] with Applicative[Cached[F, ?]] with Monad[Cached[F, ?]] {
[error] 17 def eval[A](fa: => Cached[F, A])(implicit name: sourcecode.Name, args: sourcecode.Args): F[A] = {
[error] 18 println("loading stuff from the database...")
[error] 19 println(name)
[error] 20 fa.value
[error] at scala.reflect.internal.Reporting$class.abort(Reporting.scala:59)
[error] at scala.reflect.internal.SymbolTable.abort(SymbolTable.scala:16)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase.genLoadIdent$1(GenICode.scala:890)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genLoad(GenICode.scala:898)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$genLoadArguments$1.apply(GenICode.scala:1140)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$genLoadArguments$1.apply(GenICode.scala:1138)
[error] at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124)
[error] at scala.collection.immutable.List.foldLeft(List.scala:84)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase.genLoadArguments(GenICode.scala:1138)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase.genLoadApply3$1(GenICode.scala:697)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genLoad(GenICode.scala:707)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genLoad(GenICode.scala:931)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genLoad(GenICode.scala:923)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$genLoadArguments$1.apply(GenICode.scala:1140)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase$$anonfun$genLoadArguments$1.apply(GenICode.scala:1138)
[error] at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124)
[error] at scala.collection.immutable.List.foldLeft(List.scala:84)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase.genLoadArguments(GenICode.scala:1138)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase.genLoadApply6$1(GenICode.scala:778)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase.scala$tools$nsc$backend$icode$GenICode$ICodePhase$$genLoad(GenICode.scala:809)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:123)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:71)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:148)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:98)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:71)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:89)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase.gen(GenICode.scala:67)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase.apply(GenICode.scala:63)
[error] at scala.tools.nsc.Global$GlobalPhase$$anonfun$applyPhase$1.apply$mcV$sp(Global.scala:467)
[error] at scala.tools.nsc.Global$GlobalPhase.withCurrentUnit(Global.scala:458)
[error] at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:467)
[error] at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:425)
[error] at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:425)
[error] at scala.collection.Iterator$class.foreach(Iterator.scala:891)
[error] at scala.collection.AbstractIterator.foreach(Iterator.scala:1334)
[error] at scala.tools.nsc.Global$GlobalPhase.run(Global.scala:425)
[error] at scala.tools.nsc.backend.icode.GenICode$ICodePhase.run(GenICode.scala:55)
[error] at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1528)
[error] at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1513)
[error] at scala.tools.nsc.Global$Run.compileSources(Global.scala:1508)
[error] at scala.tools.nsc.Global$Run.compile(Global.scala:1609)
[error] at xsbt.CachedCompiler0.run(CompilerInterface.scala:130)
[error] at xsbt.CachedCompiler0.run(CompilerInterface.scala:105)
[error] at xsbt.CompilerInterface.run(CompilerInterface.scala:31)
[error] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[error] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[error] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[error] at java.lang.reflect.Method.invoke(Method.java:498)
[error] at sbt.internal.inc.AnalyzingCompiler.call(AnalyzingCompiler.scala:237)
[error] at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:111)
[error] at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:90)
[error] at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$3(MixedAnalyzingCompiler.scala:82)
[error] at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
[error] at sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:133)
[error] at sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:73)
[error] at sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:116)
[error] at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:307)
[error] at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:307)
[error] at sbt.internal.inc.Incremental$.doCompile(Incremental.scala:106)
[error] at sbt.internal.inc.Incremental$.$anonfun$compile$4(Incremental.scala:87)
[error] at sbt.internal.inc.IncrementalCommon.recompileClasses(IncrementalCommon.scala:116)
[error] at sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:63)
[error] at sbt.internal.inc.Incremental$.$anonfun$compile$3(Incremental.scala:89)
[error] at sbt.internal.inc.Incremental$.manageClassfiles(Incremental.scala:134)
[error] at sbt.internal.inc.Incremental$.compile(Incremental.scala:80)
[error] at sbt.internal.inc.IncrementalCompile$.apply(Compile.scala:67)
[error] at sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:311)
[error] at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:269)
[error] at sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:159)
[error] at sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:238)
[error] at sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:69)
[error] at sbt.Defaults$.compileIncrementalTaskImpl(Defaults.scala:1549)
[error] at sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:1523)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:44)
[error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:40)
[error] at sbt.std.Transform$$anon$4.work(System.scala:67)
[error] at sbt.Execute.$anonfun$submit$2(Execute.scala:269)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error] at sbt.Execute.work(Execute.scala:278)
[error] at sbt.Execute.$anonfun$submit$1(Execute.scala:269)
[error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178)
[error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:37)
[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:748)
[error] (Compile / compileIncremental) scala.reflect.internal.FatalError:
[error] symbol value fa#55120 does not exist in com.conversantmedia.fspark.Cached$$anon$1.map, which contains locals value f#55093,value fa#55092.
[error] Method code: override def map(fa: Cached[F, A], f: _root_.scala.Function1[A, B]): Cached[F, B] = Cached.apply({
[error] ((new <$anon: Function0#2119>($anon.this, fa, f, fa, f)): Function0#2119)
[error] })
[error] while compiling: /Users/aaleali/w/fspark/src/main/scala/com/conversantmedia/fspark/Cached.scala
[error] during phase: icode
[error] library version: version 2.11.12
[error] compiler version: version 2.11.12
[error] reconstructed args: -language:dynamics -language:postfixOps -language:reflectiveCalls -language:implicitConversions -language:higherKinds -language:existentials -language:experimental.macros -Ypartial-unification -uniqid -Xlog-implicits -Xplugin:/Users/aaleali/.ivy2/cache/org.scalamacros/paradise_2.11.12/jars/paradise_2.11.12-2.1.0.jar -Xplugin:/Users/aaleali/.ivy2/cache/org.spire-math/kind-projector_2.11/jars/kind-projector_2.11-0.9.8.jar -bootclasspath /Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/jre/classes:/Users/aaleali/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.11.12.jar -classpath /Users/aaleali/w/fspark/target/scala-2.11/classes:/Users/aaleali/.ivy2/cache/org.scalaz/scalaz-core_2.11/bundles/scalaz-core_2.11-7.2.27.jar:/Users/aaleali/.ivy2/cache/org.scalatest/scalatest_2.11/bundles/scalatest_2.11-3.0.5.jar:/Users/aaleali/.ivy2/cache/org.scalactic/scalactic_2.11/bundles/scalactic_2.11-3.0.5.jar:/Users/aaleali/.ivy2/cache/org.scala-lang/scala-reflect/jars/scala-reflect-2.11.12.jar:/Users/aaleali/.ivy2/cache/org.scala-lang.modules/scala-xml_2.11/bundles/scala-xml_2.11-1.0.6.jar:/Users/aaleali/.ivy2/cache/com.github.mpilquist/simulacrum_2.11/jars/simulacrum_2.11-0.15.0.jar:/Users/aaleali/.ivy2/cache/org.typelevel/macro-compat_2.11/jars/macro-compat_2.11-1.1.1.jar:/Users/aaleali/.ivy2/cache/com.lihaoyi/sourcecode_2.11/bundles/sourcecode_2.11-0.1.4.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-core_2.11/jars/spark-core_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.avro/avro/jars/avro-1.7.6-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.codehaus.jackson/jackson-mapper-asl/jars/jackson-mapper-asl-1.8.8.jar:/Users/aaleali/.ivy2/cache/org.apache.commons/commons-compress/jars/commons-compress-1.4.1.jar:/Users/aaleali/.ivy2/cache/org.tukaani/xz/jars/xz-1.0.jar:/Users/aaleali/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.7.5.jar:/Users/aaleali/.ivy2/cache/org.apache.avro/avro-mapred/jars/avro-mapred-1.7.6-cdh5.12.0-hadoop2.jar:/Users/aaleali/.ivy2/cache/org.apache.avro/avro-ipc/jars/avro-ipc-1.7.6-cdh5.12.0-tests.jar:/Users/aaleali/.ivy2/cache/org.apache.avro/avro-ipc/jars/avro-ipc-1.7.6-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/commons-collections/commons-collections/jars/commons-collections-3.2.2.jar:/Users/aaleali/.ivy2/cache/com.twitter/chill_2.11/jars/chill_2.11-0.8.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/chill-java/jars/chill-java-0.8.0.jar:/Users/aaleali/.ivy2/cache/com.esotericsoftware/kryo-shaded/bundles/kryo-shaded-3.0.3.jar:/Users/aaleali/.ivy2/cache/com.esotericsoftware/minlog/bundles/minlog-1.3.0.jar:/Users/aaleali/.ivy2/cache/org.objenesis/objenesis/jars/objenesis-2.1.jar:/Users/aaleali/.ivy2/cache/org.apache.xbean/xbean-asm5-shaded/bundles/xbean-asm5-shaded-4.4.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-client/jars/hadoop-client-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-common/jars/hadoop-common-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-annotations/jars/hadoop-annotations-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.google.code.findbugs/jsr305/jars/jsr305-1.3.9.jar:/Users/aaleali/.ivy2/cache/commons-cli/commons-cli/jars/commons-cli-1.2.jar:/Users/aaleali/.ivy2/cache/org.apache.commons/commons-math3/jars/commons-math3-3.4.1.jar:/Users/aaleali/.ivy2/cache/xmlenc/xmlenc/jars/xmlenc-0.52.jar:/Users/aaleali/.ivy2/cache/commons-httpclient/commons-httpclient/jars/commons-httpclient-3.1.jar:/Users/aaleali/.ivy2/cache/commons-io/commons-io/jars/commons-io-2.4.jar:/Users/aaleali/.ivy2/cache/commons-net/commons-net/jars/commons-net-2.2.jar:/Users/aaleali/.ivy2/cache/log4j/log4j/bundles/log4j-1.2.17.jar:/Users/aaleali/.ivy2/cache/commons-lang/commons-lang/jars/commons-lang-2.6.jar:/Users/aaleali/.ivy2/cache/commons-configuration/commons-configuration/jars/commons-configuration-1.6.jar:/Users/aaleali/.ivy2/cache/commons-digester/commons-digester/jars/commons-digester-1.8.jar:/Users/aaleali/.ivy2/cache/commons-beanutils/commons-beanutils/jars/commons-beanutils-1.7.0.jar:/Users/aaleali/.ivy2/cache/commons-beanutils/commons-beanutils-core/jars/commons-beanutils-core-1.8.0.jar:/Users/aaleali/.ivy2/cache/com.google.protobuf/protobuf-java/bundles/protobuf-java-2.5.0.jar:/Users/aaleali/.ivy2/cache/com.google.code.gson/gson/jars/gson-2.2.4.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-auth/jars/hadoop-auth-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.directory.server/apacheds-kerberos-codec/bundles/apacheds-kerberos-codec-2.0.0-M15.jar:/Users/aaleali/.ivy2/cache/org.apache.directory.server/apacheds-i18n/bundles/apacheds-i18n-2.0.0-M15.jar:/Users/aaleali/.ivy2/cache/org.apache.directory.api/api-asn1-api/bundles/api-asn1-api-1.0.0-M20.jar:/Users/aaleali/.ivy2/cache/org.apache.directory.api/api-util/bundles/api-util-1.0.0-M20.jar:/Users/aaleali/.ivy2/cache/org.apache.curator/curator-framework/bundles/curator-framework-2.7.1.jar:/Users/aaleali/.ivy2/cache/org.apache.curator/curator-client/bundles/curator-client-2.7.1.jar:/Users/aaleali/.ivy2/cache/org.apache.zookeeper/zookeeper/jars/zookeeper-3.4.6.jar:/Users/aaleali/.ivy2/cache/jline/jline/jars/jline-0.9.94.jar:/Users/aaleali/.ivy2/cache/io.netty/netty/bundles/netty-3.9.9.Final.jar:/Users/aaleali/.ivy2/cache/org.apache.curator/curator-recipes/bundles/curator-recipes-2.7.1.jar:/Users/aaleali/.ivy2/cache/org.apache.htrace/htrace-core4/jars/htrace-core4-4.0.1-incubating.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-hdfs/jars/hadoop-hdfs-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.mortbay.jetty/jetty-util/jars/jetty-util-6.1.26.cloudera.4.jar:/Users/aaleali/.ivy2/cache/org.codehaus.jackson/jackson-core-asl/jars/jackson-core-asl-1.9.13.jar:/Users/aaleali/.ivy2/cache/io.netty/netty-all/jars/netty-all-4.0.43.Final.jar:/Users/aaleali/.ivy2/cache/xerces/xercesImpl/jars/xercesImpl-2.9.1.jar:/Users/aaleali/.ivy2/cache/xml-apis/xml-apis/jars/xml-apis-1.3.04.jar:/Users/aaleali/.ivy2/cache/org.fusesource.leveldbjni/leveldbjni-all/bundles/leveldbjni-all-1.8.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-mapreduce-client-app/jars/hadoop-mapreduce-client-app-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-mapreduce-client-common/jars/hadoop-mapreduce-client-common-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-common/jars/hadoop-yarn-common-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-api/jars/hadoop-yarn-api-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/javax.xml.bind/jaxb-api/jars/jaxb-api-2.2.2.jar:/Users/aaleali/.ivy2/cache/javax.xml.stream/stax-api/jars/stax-api-1.0-2.jar:/Users/aaleali/.ivy2/cache/javax.activation/activation/jars/activation-1.1.jar:/Users/aaleali/.ivy2/cache/org.codehaus.jackson/jackson-jaxrs/jars/jackson-jaxrs-1.8.8.jar:/Users/aaleali/.ivy2/cache/org.codehaus.jackson/jackson-xc/jars/jackson-xc-1.8.8.jar:/Users/aaleali/.ivy2/cache/com.google.inject/guice/jars/guice-3.0.jar:/Users/aaleali/.ivy2/cache/javax.inject/javax.inject/jars/javax.inject-1.jar:/Users/aaleali/.ivy2/cache/aopalliance/aopalliance/jars/aopalliance-1.0.jar:/Users/aaleali/.ivy2/cache/org.sonatype.sisu.inject/cglib/jars/cglib-2.2.1-v20090111.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-client/jars/hadoop-yarn-client-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-mapreduce-client-core/jars/hadoop-mapreduce-client-core-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.slf4j/slf4j-log4j12/jars/slf4j-log4j12-1.7.5.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-server-common/jars/hadoop-yarn-server-common-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-mapreduce-client-shuffle/jars/hadoop-mapreduce-client-shuffle-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-mapreduce-client-jobclient/jars/hadoop-mapreduce-client-jobclient-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-aws/jars/hadoop-aws-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.amazonaws/aws-java-sdk-bundle/jars/aws-java-sdk-bundle-1.11.134.jar:/Users/aaleali/.ivy2/cache/com.fasterxml.jackson.core/jackson-core/jars/jackson-core-2.2.3.jar:/Users/aaleali/.ivy2/cache/com.fasterxml.jackson.core/jackson-databind/bundles/jackson-databind-2.6.5.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-launcher_2.11/jars/spark-launcher_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-tags_2.11/jars/spark-tags_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.spark-project.spark/unused/jars/unused-1.0.0.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-network-common_2.11/jars/spark-network-common_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.commons/commons-lang3/jars/commons-lang3-3.5.jar:/Users/aaleali/.ivy2/cache/com.fasterxml.jackson.core/jackson-annotations/bundles/jackson-annotations-2.6.5.jar:/Users/aaleali/.ivy2/cache/org.apache.commons/commons-crypto/jars/commons-crypto-1.0.0.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-network-shuffle_2.11/jars/spark-network-shuffle_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/io.dropwizard.metrics/metrics-core/bundles/metrics-core-3.1.2.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-unsafe_2.11/jars/spark-unsafe_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/net.java.dev.jets3t/jets3t/jars/jets3t-0.9.0.jar:/Users/aaleali/.ivy2/cache/com.jamesmurty.utils/java-xmlbuilder/jars/java-xmlbuilder-0.4.jar:/Users/aaleali/.ivy2/cache/javax.servlet/javax.servlet-api/jars/javax.servlet-api-3.1.0.jar:/Users/aaleali/.ivy2/cache/org.slf4j/jul-to-slf4j/jars/jul-to-slf4j-1.7.5.jar:/Users/aaleali/.ivy2/cache/org.slf4j/jcl-over-slf4j/jars/jcl-over-slf4j-1.7.5.jar:/Users/aaleali/.ivy2/cache/com.ning/compress-lzf/bundles/compress-lzf-1.0.3.jar:/Users/aaleali/.ivy2/cache/net.jpountz.lz4/lz4/jars/lz4-1.3.0.jar:/Users/aaleali/.ivy2/cache/org.roaringbitmap/RoaringBitmap/bundles/RoaringBitmap-0.5.11.jar:/Users/aaleali/.ivy2/cache/org.json4s/json4s-jackson_2.11/jars/json4s-jackson_2.11-3.2.11.jar:/Users/aaleali/.ivy2/cache/org.json4s/json4s-core_2.11/jars/json4s-core_2.11-3.2.11.jar:/Users/aaleali/.ivy2/cache/org.json4s/json4s-ast_2.11/jars/json4s-ast_2.11-3.2.11.jar:/Users/aaleali/.ivy2/cache/com.thoughtworks.paranamer/paranamer/jars/paranamer-2.6.jar:/Users/aaleali/.ivy2/cache/org.scala-lang/scalap/jars/scalap-2.11.12.jar:/Users/aaleali/.ivy2/cache/org.scala-lang/scala-compiler/jars/scala-compiler-2.11.12.jar:/Users/aaleali/.ivy2/cache/org.scala-lang.modules/scala-parser-combinators_2.11/bundles/scala-parser-combinators_2.11-1.0.4.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.core/jersey-client/jars/jersey-client-2.22.2.jar:/Users/aaleali/.ivy2/cache/javax.ws.rs/javax.ws.rs-api/jars/javax.ws.rs-api-2.0.1.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.core/jersey-common/jars/jersey-common-2.22.2.jar:/Users/aaleali/.ivy2/cache/javax.annotation/javax.annotation-api/jars/javax.annotation-api-1.2.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.bundles.repackaged/jersey-guava/bundles/jersey-guava-2.22.2.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2/hk2-api/jars/hk2-api-2.4.0-b34.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2/hk2-utils/jars/hk2-utils-2.4.0-b34.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2.external/aopalliance-repackaged/jars/aopalliance-repackaged-2.4.0-b34.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2.external/javax.inject/jars/javax.inject-2.4.0-b34.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2/hk2-locator/jars/hk2-locator-2.4.0-b34.jar:/Users/aaleali/.ivy2/cache/org.javassist/javassist/bundles/javassist-3.18.1-GA.jar:/Users/aaleali/.ivy2/cache/org.glassfish.hk2/osgi-resource-locator/jars/osgi-resource-locator-1.0.1.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.core/jersey-server/jars/jersey-server-2.22.2.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.media/jersey-media-jaxb/jars/jersey-media-jaxb-2.22.2.jar:/Users/aaleali/.ivy2/cache/javax.validation/validation-api/jars/validation-api-1.1.0.Final.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.containers/jersey-container-servlet/jars/jersey-container-servlet-2.22.2.jar:/Users/aaleali/.ivy2/cache/org.glassfish.jersey.containers/jersey-container-servlet-core/jars/jersey-container-servlet-core-2.22.2.jar:/Users/aaleali/.ivy2/cache/com.clearspring.analytics/stream/jars/stream-2.7.0.jar:/Users/aaleali/.ivy2/cache/io.dropwizard.metrics/metrics-jvm/bundles/metrics-jvm-3.1.2.jar:/Users/aaleali/.ivy2/cache/io.dropwizard.metrics/metrics-json/bundles/metrics-json-3.1.2.jar:/Users/aaleali/.ivy2/cache/io.dropwizard.metrics/metrics-graphite/bundles/metrics-graphite-3.1.2.jar:/Users/aaleali/.ivy2/cache/com.fasterxml.jackson.module/jackson-module-scala_2.11/bundles/jackson-module-scala_2.11-2.6.5.jar:/Users/aaleali/.ivy2/cache/com.fasterxml.jackson.module/jackson-module-paranamer/bundles/jackson-module-paranamer-2.6.5.jar:/Users/aaleali/.ivy2/cache/org.apache.ivy/ivy/jars/ivy-2.4.0.jar:/Users/aaleali/.ivy2/cache/oro/oro/jars/oro-2.0.8.jar:/Users/aaleali/.ivy2/cache/net.razorvine/pyrolite/jars/pyrolite-4.13.jar:/Users/aaleali/.ivy2/cache/net.sf.py4j/py4j/jars/py4j-0.10.4.jar:/Users/aaleali/.ivy2/cache/org.mortbay.jetty/jetty/jars/jetty-6.1.26.cloudera.4.jar:/Users/aaleali/.ivy2/cache/tomcat/jasper-compiler/jars/jasper-compiler-5.5.23.jar:/Users/aaleali/.ivy2/cache/tomcat/jasper-runtime/jars/jasper-runtime-5.5.23.jar:/Users/aaleali/.ivy2/cache/commons-el/commons-el/jars/commons-el-1.0.jar:/Users/aaleali/.ivy2/cache/javax.servlet.jsp/jsp-api/jars/jsp-api-2.1.jar:/Users/aaleali/.ivy2/cache/org.codehaus.jettison/jettison/bundles/jettison-1.1.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-sql_2.11/jars/spark-sql_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/com.univocity/univocity-parsers/jars/univocity-parsers-2.2.1.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-sketch_2.11/jars/spark-sketch_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-catalyst_2.11/jars/spark-catalyst_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.codehaus.janino/janino/jars/janino-3.0.0.jar:/Users/aaleali/.ivy2/cache/org.codehaus.janino/commons-compiler/jars/commons-compiler-3.0.0.jar:/Users/aaleali/.ivy2/cache/org.antlr/antlr4-runtime/jars/antlr4-runtime-4.5.3.jar:/Users/aaleali/.ivy2/cache/commons-codec/commons-codec/jars/commons-codec-1.10.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-column/jars/parquet-column-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-common/jars/parquet-common-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-encoding/jars/parquet-encoding-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-hadoop/jars/parquet-hadoop-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-format/jars/parquet-format-2.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-jackson/jars/parquet-jackson-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.xerial.snappy/snappy-java/bundles/snappy-java-1.0.5.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-avro/jars/parquet-avro-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/it.unimi.dsi/fastutil/jars/fastutil-6.3.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-hive_2.11/jars/spark-hive_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.spark/spark-hive-exec_2.11/jars/spark-hive-exec_2.11-2.2.0.cloudera2.jar:/Users/aaleali/.ivy2/cache/org.apache.hive/hive-serde/jars/hive-serde-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hive/hive-shims/jars/hive-shims-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hive.shims/hive-shims-common/jars/hive-shims-common-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/commons-logging/commons-logging/jars/commons-logging-1.1.3.jar:/Users/aaleali/.ivy2/cache/log4j/apache-log4j-extras/bundles/apache-log4j-extras-1.2.17.jar:/Users/aaleali/.ivy2/cache/com.google.guava/guava/bundles/guava-14.0.1.jar:/Users/aaleali/.ivy2/cache/org.apache.thrift/libthrift/jars/libthrift-0.9.3.jar:/Users/aaleali/.ivy2/cache/org.apache.httpcomponents/httpclient/jars/httpclient-4.5.2.jar:/Users/aaleali/.ivy2/cache/org.apache.httpcomponents/httpcore/jars/httpcore-4.4.4.jar:/Users/aaleali/.ivy2/cache/net.sf.opencsv/opencsv/jars/opencsv-2.3.jar:/Users/aaleali/.ivy2/cache/com.twitter/parquet-hadoop-bundle/jars/parquet-hadoop-bundle-1.5.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.googlecode.javaewah/JavaEWAH/jars/JavaEWAH-0.3.2.jar:/Users/aaleali/.ivy2/cache/javolution/javolution/bundles/javolution-5.5.1.jar:/Users/aaleali/.ivy2/cache/org.antlr/ST4/jars/ST4-4.0.4.jar:/Users/aaleali/.ivy2/cache/org.antlr/stringtemplate/jars/stringtemplate-3.2.1.jar:/Users/aaleali/.ivy2/cache/antlr/antlr/jars/antlr-2.7.7.jar:/Users/aaleali/.ivy2/cache/org.cloudera.logredactor/logredactor/jars/logredactor-1.0.3.jar:/Users/aaleali/.ivy2/cache/org.iq80.snappy/snappy/jars/snappy-0.2.jar:/Users/aaleali/.ivy2/cache/org.json/json/jars/json-20090211.jar:/Users/aaleali/.ivy2/cache/stax/stax-api/jars/stax-api-1.0.1.jar:/Users/aaleali/.ivy2/cache/org.apache.hive/hive-metastore/jars/hive-metastore-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.jolbox/bonecp/bundles/bonecp-0.8.0.RELEASE.jar:/Users/aaleali/.ivy2/cache/org.apache.derby/derby/jars/derby-10.11.1.1.jar:/Users/aaleali/.ivy2/cache/org.datanucleus/datanucleus-api-jdo/jars/datanucleus-api-jdo-3.2.6.jar:/Users/aaleali/.ivy2/cache/org.datanucleus/datanucleus-core/jars/datanucleus-core-3.2.10.jar:/Users/aaleali/.ivy2/cache/org.datanucleus/datanucleus-rdbms/jars/datanucleus-rdbms-3.2.9.jar:/Users/aaleali/.ivy2/cache/commons-pool/commons-pool/jars/commons-pool-1.5.4.jar:/Users/aaleali/.ivy2/cache/commons-dbcp/commons-dbcp/jars/commons-dbcp-1.4.jar:/Users/aaleali/.ivy2/cache/javax.jdo/jdo-api/jars/jdo-api-3.0.1.jar:/Users/aaleali/.ivy2/cache/javax.transaction/jta/jars/jta-1.1.jar:/Users/aaleali/.ivy2/cache/org.antlr/antlr-runtime/jars/antlr-runtime-3.4.jar:/Users/aaleali/.ivy2/cache/org.apache.calcite/calcite-avatica/jars/calcite-avatica-1.2.0-incubating.jar:/Users/aaleali/.ivy2/cache/org.apache.calcite/calcite-core/jars/calcite-core-1.2.0-incubating.jar:/Users/aaleali/.ivy2/cache/org.apache.calcite/calcite-linq4j/jars/calcite-linq4j-1.2.0-incubating.jar:/Users/aaleali/.ivy2/cache/net.hydromatic/eigenbase-properties/bundles/eigenbase-properties-1.1.5.jar:/Users/aaleali/.ivy2/cache/joda-time/joda-time/jars/joda-time-2.9.3.jar:/Users/aaleali/.ivy2/cache/org.jodd/jodd-core/jars/jodd-core-3.5.2.jar:/Users/aaleali/.ivy2/cache/org.apache.thrift/libfb303/jars/libfb303-0.9.3.jar:/Users/aaleali/.ivy2/cache/org.apache.hive.shims/hive-shims-0.23/jars/hive-shims-0.23-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-server-resourcemanager/jars/hadoop-yarn-server-resourcemanager-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/com.google.inject.extensions/guice-servlet/jars/guice-servlet-3.0.jar:/Users/aaleali/.ivy2/cache/com.sun.jersey/jersey-json/bundles/jersey-json-1.9.jar:/Users/aaleali/.ivy2/cache/com.sun.xml.bind/jaxb-impl/jars/jaxb-impl-2.2.3-1.jar:/Users/aaleali/.ivy2/cache/com.sun.jersey.contribs/jersey-guice/jars/jersey-guice-1.9.jar:/Users/aaleali/.ivy2/cache/com.sun.jersey/jersey-core/bundles/jersey-core-1.9.jar:/Users/aaleali/.ivy2/cache/com.sun.jersey/jersey-client/bundles/jersey-client-1.9.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-server-applicationhistoryservice/jars/hadoop-yarn-server-applicationhistoryservice-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-yarn-server-web-proxy/jars/hadoop-yarn-server-web-proxy-2.6.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.apache.hive.shims/hive-shims-scheduler/jars/hive-shims-scheduler-1.1.0-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/org.mockito/mockito-all/jars/mockito-all-1.9.5.jar:/Users/aaleali/.ivy2/cache/org.apache.hadoop/hadoop-core/jars/hadoop-core-2.6.0-mr1-cdh5.12.0.jar:/Users/aaleali/.ivy2/cache/hsqldb/hsqldb/jars/hsqldb-1.8.0.10.jar:/Users/aaleali/.ivy2/cache/org.eclipse.jdt/core/jars/core-3.1.1.jar
[error]
[error] last tree to typer: Ident(evidence$1$1)
[error] tree position: line 17 of /Users/aaleali/w/fspark/src/main/scala/com/conversantmedia/fspark/Cached.scala
[error] tree tpe: scalaz#27.Monad#21292
[error] symbol: value evidence$1$1#114236
[error] symbol definition: evidence$1$1#114236: scalaz#27.Monad#21292 (a TermSymbol)
[error] symbol package: com.conversantmedia.fspark
[error] symbol owners: value evidence$1$1#114236 -> constructor Cached$$anon$1#54385 -> <$anon: scalaz#27.Functor#19108 with scalaz#27.Applicative#21094 with scalaz#27.Monad#21292>
[error] call site: <$anon: Function0#2119> in package fspark#8337 in package fspark#8336
[error]
[error] == Source file context for tree position ==
[error]
[error] 14
[error] 15 implicit def instance[F[_] : Monad]: Functor[Cached[F, ?]] with Applicative[Cached[F, ?]] with Monad[Cached[F, ?]] =
[error] 16 new Functor[Cached[F, ?]] with Applicative[Cached[F, ?]] with Monad[Cached[F, ?]] {
[error] 17 def eval[A](fa: => Cached[F, A])(implicit name: sourcecode.Name, args: sourcecode.Args): F[A] = {
[error] 18 println("loading stuff from the database...")
[error] 19 println(name)
[error] 20 fa.value
[error] Total time: 2 s, completed Feb 7, 2019 9:36:44 AM
Is this a bug, or am I doing something wrong?
hi @lihaoyi, i used the soucecode, it's wonderful, solved most of my problems, But I have another special need
val x = myobj.func()
i want get myobj
AST then do some on myobj
something like this:
val x = {
myobj.dofunc1
myobj.dofunc2
myobj.dofunc3
}
do you have any suggestion how to implement that in somethingImpl
def func()(implicit x: sourcecode.Something)
def somethingImpl(c: Context) = {
import c.universe._
dose there any method get q"myobj" from AST of "val x = myobj.func()" by Context
q"""{
$myobj.dofunc1
$myobj.dofunc2
$myobj.dofunc3
"""
}
On Scala 3, running in the SBT REPL, I'm able to reproduce this issue:
Exception occurred while executing macro expansion.
java.lang.NullPointerException: Cannot invoke "java.nio.file.Path.getFileName()" because the return value of "scala.quoted.Quotes$reflectModule$SourceFileMethods.jpath(Object)" is null
at sourcecode.Macros$.fileNameImpl(Macros.scala:155)
See outr/scribe#397 for reference
Would be nice if the information in the README about what each implicit does were in the source code so I could read it within my IDE
If we put it in the sourcecode.Name
companion object, that would save us from needing to wrap everything in an annoying sourcecode.Name(...)
constructor every time we wanted to override something manually
In addition to line number #43 - it's also useful to track the column (available using c.enclosingPosition.column
)
And in general, it might make sense to allow sourcecode.Position(fileName: String, line: Int, column: Int)
.
scala> def testing[A](a: => sourcecode.Text[A]): String = a.source
scala> import concurrent.ExecutionContext.Implicits._
scala> scala> testing( concurrent.Future(println("don't execute")) )
don't execute
res2: String = concurrent.Future(println("don't execute"))
I would not have expected the "don't execute" to appear.
It seems that the parameter itself is kept byname, it's just that calculating the sourcecode.Text
itself appears to eagerly evaluate the .value
, even if it is not used.
scala> def testing[A](a: => sourcecode.Text[A]): String = "hello"
scala> testing( concurrent.Future(println("don't execute")) )
res3: String = hello
My usecase is creating performance monitors around Future
and I need to be careful not to invoke the work before starting the timer (lol, as if Future
gives us control about when to start it anyway).
The actual solution is a) not to use Future
b) not to pretend we can time them this way. But some decisions are beyond our control.
For running tests, I see sourcecodeJVM/test:run and sourcecodeJS/test:run in .yml file, but how do you run all tests?
Thank you for creating this amazing project. I love this much.
My usual use case of sourcecode.Text[T]
is to eliminate key names. Typical example looks like this:
case class MyValue(internal: String)
def setValue(key: String, value: MyValue): Unit = println(s"assign $value to $key")
val color = MyValue("blue")
setValue("color", color) // boring and error prone key assignment
With sourcecode
, it can be rewritten as:
def setValue(keyValue: sourcecode.Text[MyValue]): Unit =
println(s"assign ${keyValue.value} to ${keyValue.source}")
setValue(color) // cool!
I defined implicit conversion to MyValue
. sourcecode.Text
doesn't accept implicitly conversioned value:
implicit def int2MyValue(num: Int): MyValue = if (num == 1) MyValue("one") else MyValue("many")
val count = 3
setValue("count", count) // implicitly applies int2MyValue(Int)
setValue(count) // oops! not possible.
Closest alternative is explicitly call sourcecode macro function, but it is not looked plausible.
setValue(sourcecode.Text(count)) // works, but is this worth to do?
Took some digging to figure out how to run tests. Still not quite sure I understand how test:run
is able to work without a test framework.
Is there any way to capture the name of argument currently being assigned?
I tried this but it was not.
case class Foo(bar: String)
def provider(implicit name: sourcecode.Name): String = name.value
Foo(bar = provider) // expected Foo(bar = "bar")
for{
name1 <- getName()
name2 <- getName2(name1)
}
Where names functions asks for implicit sourcecode.Name.
Is that possible to have the name of name1 and name2 variable instead of $anonfun ? or maybe the name of called function getName()
and getName2()
?
I get a bunch of evicted warnings when using source code in my sbt projects. What is the versioning scheme?
Is it possible to get it added to the pom file to work nicely with dependency resolution?
For example:
<properties>
<info.versionScheme>early-semver</info.versionScheme>
</properties>
If the string values returned will be singleton values (<: String with Singleton
), then it's possible to perform more string operations at compile-time (using singleton-ops), and possibly even enforce naming conventions. E.g.:
def foo(implicit n: sourcecode.Name.Aux[N], check: RequireMsg[Substring[N, 3]=="Fun", "Name must start with Fun"] : Unit = {}
val Fun1 = foo //OK
val fun2 = foo //Error: "Name must start with Fun"
Currently, we're able to get enclosing method args with sourcecode.Args
. Also, in some cases we can get enclosing method name:
def printMethodName()(implicit name: Name) =
println(name.value)
def myMethod() =
printMethodName() // prints "myMethod"
But if there is a local val declared, then implicitly[Name]
returns the val's name:
def myMethod() =
val breakPrinting = printMethodName() // prints "breakPrinting"
It would be convenient to have something like this:
def printMethodName()(implicit method: Method) =
println(method.value)
def myMethod() =
printMethodName() // prints "myMethod"
def myMethod() =
val breakPrinting = printMethodName() // prints "myMethod"
scala 2.12.4
sourcecode
object DemoApp2 {
def trace(implicit args: sourcecode.Args): Unit = {
println(s"args = ${args}")
}
def run[A](a: A): Unit = {
trace
println("====== " + a)
}
def main(args: Array[String]): Unit = {
run(1)
}
}
causes the following compiler crash
java.util.NoSuchElementException: key not found: value a
at scala.collection.MapLike.default(MapLike.scala:232)
at scala.collection.MapLike.default$(MapLike.scala:231)
at scala.collection.AbstractMap.default(Map.scala:59)
at scala.collection.mutable.HashMap.apply(HashMap.scala:65)
at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder$locals$.load(BCodeSkelBuilder.scala:391)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:356)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.$anonfun$genLoadArguments$1(BCodeBodyBuilder.scala:937)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoadArguments(BCodeBodyBuilder.scala:937)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genApply(BCodeBodyBuilder.scala:622)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:298)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genArrayValue(BCodeBodyBuilder.scala:742)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:379)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:251)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoadQualifier(BCodeBodyBuilder.scala:902)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genTypeApply$1(BCodeBodyBuilder.scala:527)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genApply(BCodeBodyBuilder.scala:558)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:298)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.$anonfun$genLoadArguments$1(BCodeBodyBuilder.scala:937)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoadArguments(BCodeBodyBuilder.scala:937)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genApply(BCodeBodyBuilder.scala:667)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:298)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.$anonfun$genLoadArguments$1(BCodeBodyBuilder.scala:937)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoadArguments(BCodeBodyBuilder.scala:937)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genApply(BCodeBodyBuilder.scala:667)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:298)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:251)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoadQualifier(BCodeBodyBuilder.scala:902)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genTypeApply$1(BCodeBodyBuilder.scala:527)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genApply(BCodeBodyBuilder.scala:558)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:298)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genArrayValue(BCodeBodyBuilder.scala:742)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:379)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:251)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoadQualifier(BCodeBodyBuilder.scala:902)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genTypeApply$1(BCodeBodyBuilder.scala:527)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genApply(BCodeBodyBuilder.scala:558)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:298)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.$anonfun$genLoadArguments$1(BCodeBodyBuilder.scala:937)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoadArguments(BCodeBodyBuilder.scala:937)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genApply(BCodeBodyBuilder.scala:667)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:298)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.$anonfun$genLoadArguments$1(BCodeBodyBuilder.scala:937)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoadArguments(BCodeBodyBuilder.scala:937)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genApply(BCodeBodyBuilder.scala:667)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:298)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.$anonfun$genLoadArguments$1(BCodeBodyBuilder.scala:937)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoadArguments(BCodeBodyBuilder.scala:937)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genApply(BCodeBodyBuilder.scala:667)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:298)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:251)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoadQualifier(BCodeBodyBuilder.scala:902)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genTypeApply$1(BCodeBodyBuilder.scala:527)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genApply(BCodeBodyBuilder.scala:558)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:298)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:372)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.$anonfun$genLoadArguments$1(BCodeBodyBuilder.scala:937)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoadArguments(BCodeBodyBuilder.scala:937)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genApply(BCodeBodyBuilder.scala:667)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:298)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genStat(BCodeBodyBuilder.scala:82)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.$anonfun$genBlock$1(BCodeBodyBuilder.scala:814)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genBlock(BCodeBodyBuilder.scala:814)
at scala.tools.nsc.backend.jvm.BCodeBodyBuilder$PlainBodyBuilder.genLoad(BCodeBodyBuilder.scala:368)
at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.emitNormalMethodBody$1(BCodeSkelBuilder.scala:603)
at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.genDefDef(BCodeSkelBuilder.scala:635)
at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.gen(BCodeSkelBuilder.scala:509)
at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.$anonfun$gen$7(BCodeSkelBuilder.scala:511)
at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.gen(BCodeSkelBuilder.scala:511)
at scala.tools.nsc.backend.jvm.BCodeSkelBuilder$PlainSkelBuilder.genPlainClass(BCodeSkelBuilder.scala:113)
at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase$Worker1.visit(GenBCode.scala:190)
at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase$Worker1.$anonfun$run$1(GenBCode.scala:139)
at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase$Worker1.run(GenBCode.scala:139)
at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase.buildAndSendToDisk(GenBCode.scala:381)
at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase.run(GenBCode.scala:350)
at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1431)
at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1416)
at scala.tools.nsc.Global$Run.compileSources(Global.scala:1412)
at scala.tools.nsc.Global$Run.compile(Global.scala:1515)
at xsbt.CachedCompiler0.run(CompilerInterface.scala:131)
at xsbt.CachedCompiler0.run(CompilerInterface.scala:106)
at xsbt.CompilerInterface.run(CompilerInterface.scala:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sbt.internal.inc.AnalyzingCompiler.call(AnalyzingCompiler.scala:237)
at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:111)
at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:90)
at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$3(MixedAnalyzingCompiler.scala:81)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
at sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:132)
at sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:72)
at sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:115)
at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:305)
at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:305)
at sbt.internal.inc.Incremental$.doCompile(Incremental.scala:101)
at sbt.internal.inc.Incremental$.$anonfun$compile$4(Incremental.scala:82)
at sbt.internal.inc.IncrementalCommon.recompileClasses(IncrementalCommon.scala:117)
at sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:64)
at sbt.internal.inc.Incremental$.$anonfun$compile$3(Incremental.scala:84)
at sbt.internal.inc.Incremental$.manageClassfiles(Incremental.scala:129)
at sbt.internal.inc.Incremental$.compile(Incremental.scala:75)
at sbt.internal.inc.IncrementalCompile$.apply(Compile.scala:70)
at sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:309)
at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:267)
at sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:158)
at sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:237)
at sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:68)
at sbt.Defaults$.compileIncrementalTaskImpl(Defaults.scala:1403)
at sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:1385)
at scala.Function1.$anonfun$compose$1(Function1.scala:44)
at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:42)
at sbt.std.Transform$$anon$4.work(System.scala:64)
at sbt.Execute.$anonfun$submit$2(Execute.scala:257)
at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
at sbt.Execute.work(Execute.scala:266)
at sbt.Execute.$anonfun$submit$1(Execute.scala:257)
at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:167)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:32)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Removing the type parms and say using Any as the type it compiles and runs.
It would be really great to be able to set an envvar to the project directory root, so that the sourcecode.File
gave back relative paths.
Scalactic uses SCALACTIC_FILL_FILE_PATHNAMES=yes
to opt in to full paths, but I don't know how they use relative paths. I guess maybe they just use the filename.
Use cases:
object Foo{
def log()(implicit caller: sourcecode.Caller[Any]) = {
println(caller.value)
}
}
object Bar{
Foo.log() // Bar
}
class IKnowWhatImDoing
object Foo{
def runDangerous()(implicit caller: sourcecode.Caller[IKnowWhatImDoing]) = {
println(caller.value)
}
}
object Bar {
Foo.runDangerous() // compile error
}
object Bar2 extends IKnowWhatImDoing{
Foo.runDangerous() // ok, prints Bar2
}
object Foo{
def getResource(path: String)(implicit caller: sourcecode.Caller[_]) = {
caller.value.getClass.getClassLoader.getResourceAsStream(path)
}
}
object Bar{
Foo.getResource("/thing/file.txt") // loads resource from `Bar`s classloader, always
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.