Skip to content

Instantly share code, notes, and snippets.

@clhodapp
Created July 30, 2013 10:57
Show Gist options
  • Save clhodapp/6112000 to your computer and use it in GitHub Desktop.
Save clhodapp/6112000 to your computer and use it in GitHub Desktop.
Log from issue 186
[info] Loading project definition from /Users/clhodapp/gsoc/git/slick/project
[info] Set current project to root (in build file:/Users/clhodapp/gsoc/git/slick/)
[info] Test run started
[info] Test scala.slick.test.memory.DistributedQueryingTest.test1 started
[info] Test run finished: 0 failed, 0 ignored, 1 total, 2.836s
[info] Test run started
[Using test database jdbc:h2:mem:test1]
[info] Test scala.slick.test.jdbc.StatementParametersTest.testExplicit[0] started
[Using test database jdbc:h2:mem:test1]
[info] Test scala.slick.test.jdbc.StatementParametersTest.testImplicit[0] started
[info] Test run finished: 0 failed, 0 ignored, 2 total, 0.0070s
[info] Test run started
[Using test database jdbc:h2:mem:test1]
[info] Test scala.slick.test.jdbc.MetaTest.test[0] started
[Using test database jdbc:sqlite::memory:]
[info] Test scala.slick.test.jdbc.MetaTest.test[1] started
[Using test database jdbc:derby:memory:test1;create=true]
[info] Test scala.slick.test.jdbc.MetaTest.test[2] started
[Using test database jdbc:hsqldb:mem:test1;user=SA;password=;shutdown=true]
[info] Test scala.slick.test.jdbc.MetaTest.test[3] started
[info] Test run finished: 0 failed, 0 ignored, 4 total, 2.642s
[info] Test run started
[info] Test scala.slick.test.lifted.SchemaSupportTest.testSchemaSupport started
[info] Test run finished: 0 failed, 0 ignored, 1 total, 0.053s
[info] Test run started
[Using test database jdbc:h2:mem:test1]
[info] Test scala.slick.test.jdbc.EmbeddingTest.testRaw[0] started
[info] Test run finished: 0 failed, 0 ignored, 1 total, 0.016s
[info] Test run started
[Using test database jdbc:h2:mem:test1]
[info] Test scala.slick.test.direct.QueryableTest.test[0] started
[Using test database jdbc:h2:mem:test1]
[info] Test scala.slick.test.direct.QueryableTest.sortingTest[0] started
[info] Test run finished: 0 failed, 0 ignored, 2 total, 6.388s
[info] Test run started
[info] Test com.typesafe.slick.testkit.tests.ReducedTest.testQuery[h2mem] started
*** (s.slick.compiler.RewritePaths) Storing def for s2 from Pure Bind
*** (s.slick.compiler.RewritePaths) Storing flattened struct as Path s3
*** (s.slick.compiler.RewritePaths) Storing def for s3
*** (s.slick.compiler.RewritePaths) Storing def for s4 from Pure Bind
*** (s.slick.compiler.RewritePaths) Storing def for s5 from Pure Bind
*** (s.slick.compiler.RewritePaths) Storing flattened struct as Path s6
*** (s.slick.compiler.RewritePaths) Storing def for s6 from Pure Bind
*** (s.slick.compiler.RewritePaths) Expansions removed, ProductNodes rewritten to StructNodes
Bind
from s4: GroupBy
from s3: Bind
from s2: Table A : Coll[{id: Int/INTEGER, name: String/VARCHAR}]
select: Pure
value: StructNode
s7: Path s2.id : Int/INTEGER
s8: Path s2.name : String/VARCHAR
by: Path s3._1
select: Pure
value: ProductNode
1: Apply Function min : Option[String/VARCHAR]
0: Bind
from s6: Bind
from s5: Path s4._2 : Coll[NominalType(@(H2Driver._.A))({id: Int/INTEGER, name: String/VARCHAR})]
select: Pure
value: StructNode
s9: Ref s5 : NominalType(@(H2Driver._.A))({id: Int/INTEGER, name: String/VARCHAR})
select: Pure
value: ProductNode
1: Path s6._2
*** (s.slick.compiler.RewritePaths) Trying to replace Path s3._1
*** (s.slick.compiler.RewritePaths) found non-Join/GroupBy for s3 (from s3): Some(Bind)
*** (s.slick.compiler.RewritePaths) found flattened: (ProductNode,List(_1),List())
*** (s.slick.compiler.RewritePaths) Trying to replace Path s4._2
*** (s.slick.compiler.RewritePaths) found GroupBy for s4 (from s4)
*** (s.slick.compiler.RewritePaths) found non-Join/GroupBy for s3 (from s3): Some(Bind)
*** (s.slick.compiler.RewritePaths) found flattened: (ProductNode,List(),List(_2))
*** (s.slick.compiler.RewritePaths) Trying to replace Path s5
*** (s.slick.compiler.RewritePaths) found path for s5 (from s5): Path s4._2, remaining: List()
*** (s.slick.compiler.RewritePaths) found GroupBy for s4 (from s4)
*** (s.slick.compiler.RewritePaths) found non-Join/GroupBy for s3 (from s3): Some(Bind)
*** (s.slick.compiler.RewritePaths) pointing to Some((ProductNode,List(),List(_2)))
*** (s.slick.compiler.RewritePaths) found flattened: (ProductNode,List(),List())
*** (s.slick.compiler.RewritePaths) Trying to replace Path s6._2
*** (s.slick.compiler.RewritePaths) found non-Join/GroupBy for s6 (from s6): Some(Bind)
*** (s.slick.compiler.RewritePaths) found flattened: (Ref s9,List(_2),List())
[error] Test com.typesafe.slick.testkit.tests.ReducedTest.testQuery[h2mem] failed: scala.slick.SlickException: Illegal Path _2 into TableExpansion structure Ref s9
[error] at scala.slick.compiler.RewritePaths.findFieldSymbol(RewritePaths.scala:144)
[error] at scala.slick.compiler.RewritePaths.scala$slick$compiler$RewritePaths$$replaceRefs$1(RewritePaths.scala:123)
[error] at scala.slick.compiler.RewritePaths$$anonfun$scala$slick$compiler$RewritePaths$$replaceRefs$1$3.apply(RewritePaths.scala:130)
[error] at scala.slick.compiler.RewritePaths$$anonfun$scala$slick$compiler$RewritePaths$$replaceRefs$1$3.apply(RewritePaths.scala:130)
[error] at scala.slick.ast.Util$$anonfun$mapOrNone$1.apply(Util.scala:25)
[error] at scala.slick.ast.Util$$anonfun$mapOrNone$1.apply(Util.scala:24)
[error] at scala.collection.Iterator$class.foreach(Iterator.scala:727)
[error] at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
[error] at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
[error] at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
[error] at scala.slick.ast.Util$.mapOrNone(Util.scala:24)
[error] at scala.slick.ast.Node$class.nodeMapChildren(Node.scala:47)
[error] at scala.slick.ast.ProductNode$$anon$3.nodeMapChildren(Node.scala:179)
[error] at scala.slick.compiler.RewritePaths.scala$slick$compiler$RewritePaths$$replaceRefs$1(RewritePaths.scala:130)
[error] at scala.slick.compiler.RewritePaths$$anonfun$scala$slick$compiler$RewritePaths$$replaceRefs$1$3.apply(RewritePaths.scala:130)
[error] at scala.slick.compiler.RewritePaths$$anonfun$scala$slick$compiler$RewritePaths$$replaceRefs$1$3.apply(RewritePaths.scala:130)
[error] at scala.slick.ast.Util$$anonfun$mapOrNone$1.apply(Util.scala:25)
[error] at scala.slick.ast.Util$$anonfun$mapOrNone$1.apply(Util.scala:24)
[error] at scala.collection.immutable.List.foreach(List.scala:318)
[error] at scala.slick.ast.Util$.mapOrNone(Util.scala:24)
[error] at scala.slick.ast.Node$class.nodeMapChildren(Node.scala:47)
[error] at scala.slick.ast.Pure.nodeMapChildren(Node.scala:256)
[error] at scala.slick.compiler.RewritePaths.scala$slick$compiler$RewritePaths$$replaceRefs$1(RewritePaths.scala:130)
[error] at scala.slick.compiler.RewritePaths$$anonfun$scala$slick$compiler$RewritePaths$$replaceRefs$1$3.apply(RewritePaths.scala:130)
[error] at scala.slick.compiler.RewritePaths$$anonfun$scala$slick$compiler$RewritePaths$$replaceRefs$1$3.apply(RewritePaths.scala:130)
[error] at scala.slick.ast.Util$$anonfun$mapOrNone$1.apply(Util.scala:25)
[error] at scala.slick.ast.Util$$anonfun$mapOrNone$1.apply(Util.scala:24)
[error] at scala.collection.immutable.List.foreach(List.scala:318)
[error] at scala.slick.ast.Util$.mapOrNone(Util.scala:24)
[error] at scala.slick.ast.Node$class.nodeMapChildren(Node.scala:47)
[error] at scala.slick.ast.Bind.nodeMapChildren(Node.scala:435)
[error] at scala.slick.compiler.RewritePaths.scala$slick$compiler$RewritePaths$$replaceRefs$1(RewritePaths.scala:130)
[error] at scala.slick.compiler.RewritePaths$$anonfun$scala$slick$compiler$RewritePaths$$replaceRefs$1$3.apply(RewritePaths.scala:130)
[error] at scala.slick.compiler.RewritePaths$$anonfun$scala$slick$compiler$RewritePaths$$replaceRefs$1$3.apply(RewritePaths.scala:130)
[error] at scala.slick.ast.Util$$anonfun$mapOrNone$1.apply(Util.scala:25)
[error] at scala.slick.ast.Util$$anonfun$mapOrNone$1.apply(Util.scala:24)
[error] at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
[error] at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)
[error] at scala.slick.ast.Util$.mapOrNone(Util.scala:24)
[error] at scala.slick.ast.Node$class.nodeMapChildren(Node.scala:47)
[error] at scala.slick.ast.Apply.nodeMapChildren(Node.scala:503)
[error] at scala.slick.compiler.RewritePaths.scala$slick$compiler$RewritePaths$$replaceRefs$1(RewritePaths.scala:130)
[error] at scala.slick.compiler.RewritePaths$$anonfun$scala$slick$compiler$RewritePaths$$replaceRefs$1$3.apply(RewritePaths.scala:130)
[error] at scala.slick.compiler.RewritePaths$$anonfun$scala$slick$compiler$RewritePaths$$replaceRefs$1$3.apply(RewritePaths.scala:130)
[error] at scala.slick.ast.Util$$anonfun$mapOrNone$1.apply(Util.scala:25)
[error] at scala.slick.ast.Util$$anonfun$mapOrNone$1.apply(Util.scala:24)
[error] at scala.collection.Iterator$class.foreach(Iterator.scala:727)
[error] at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
[error] at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
[error] at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
[error] at scala.slick.ast.Util$.mapOrNone(Util.scala:24)
[error] at scala.slick.ast.Node$class.nodeMapChildren(Node.scala:47)
[error] at scala.slick.ast.ProductNode$$anon$3.nodeMapChildren(Node.scala:179)
[error] at scala.slick.compiler.RewritePaths.scala$slick$compiler$RewritePaths$$replaceRefs$1(RewritePaths.scala:130)
[error] at scala.slick.compiler.RewritePaths$$anonfun$scala$slick$compiler$RewritePaths$$replaceRefs$1$3.apply(RewritePaths.scala:130)
[error] at scala.slick.compiler.RewritePaths$$anonfun$scala$slick$compiler$RewritePaths$$replaceRefs$1$3.apply(RewritePaths.scala:130)
[error] at scala.slick.ast.Util$$anonfun$mapOrNone$1.apply(Util.scala:25)
[error] at scala.slick.ast.Util$$anonfun$mapOrNone$1.apply(Util.scala:24)
[error] at scala.collection.immutable.List.foreach(List.scala:318)
[error] at scala.slick.ast.Util$.mapOrNone(Util.scala:24)
[error] at scala.slick.ast.Node$class.nodeMapChildren(Node.scala:47)
[error] at scala.slick.ast.Pure.nodeMapChildren(Node.scala:256)
[error] at scala.slick.compiler.RewritePaths.scala$slick$compiler$RewritePaths$$replaceRefs$1(RewritePaths.scala:130)
[error] at scala.slick.compiler.RewritePaths$$anonfun$scala$slick$compiler$RewritePaths$$replaceRefs$1$3.apply(RewritePaths.scala:130)
[error] at scala.slick.compiler.RewritePaths$$anonfun$scala$slick$compiler$RewritePaths$$replaceRefs$1$3.apply(RewritePaths.scala:130)
[error] at scala.slick.ast.Util$$anonfun$mapOrNone$1.apply(Util.scala:25)
[error] at scala.slick.ast.Util$$anonfun$mapOrNone$1.apply(Util.scala:24)
[error] at scala.collection.immutable.List.foreach(List.scala:318)
[error] at scala.slick.ast.Util$.mapOrNone(Util.scala:24)
[error] at scala.slick.ast.Node$class.nodeMapChildren(Node.scala:47)
[error] at scala.slick.ast.Bind.nodeMapChildren(Node.scala:435)
[error] at scala.slick.compiler.RewritePaths.scala$slick$compiler$RewritePaths$$replaceRefs$1(RewritePaths.scala:130)
[error] at scala.slick.compiler.RewritePaths.applyServerSide(RewritePaths.scala:135)
[error] at scala.slick.compiler.RewritePaths$$anonfun$apply$1$$anonfun$apply$2.apply(RewritePaths.scala:17)
[error] at scala.slick.compiler.RewritePaths$$anonfun$apply$1$$anonfun$apply$2.apply(RewritePaths.scala:17)
[error] at scala.slick.ast.ClientSideOp$.mapServerSide(ClientSideOp.scala:19)
[error] at scala.slick.ast.ClientSideOp$$anonfun$mapServerSide$1.apply(ClientSideOp.scala:18)
[error] at scala.slick.ast.ClientSideOp$$anonfun$mapServerSide$1.apply(ClientSideOp.scala:18)
[error] at scala.slick.ast.ResultSetMapping$$anonfun$1.apply(ClientSideOp.scala:65)
[error] at scala.slick.ast.ResultSetMapping$$anonfun$1.apply(ClientSideOp.scala:64)
[error] at scala.Function2$$anonfun$tupled$1.apply(Function2.scala:54)
[error] at scala.Function2$$anonfun$tupled$1.apply(Function2.scala:53)
[error] at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
[error] at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
[error] at scala.collection.Iterator$class.foreach(Iterator.scala:727)
[error] at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
[error] at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
[error] at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
[error] at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
[error] at scala.collection.AbstractTraversable.map(Traversable.scala:105)
[error] at scala.slick.ast.DefNode$class.nodeMapScopedChildren(Symbol.scala:69)
[error] at scala.slick.ast.ResultSetMapping.nodeMapScopedChildren(ClientSideOp.scala:42)
[error] at scala.slick.ast.ResultSetMapping.nodeMapServerSide(ClientSideOp.scala:64)
[error] at scala.slick.ast.ResultSetMapping.nodeMapServerSide(ClientSideOp.scala:42)
[error] at scala.slick.ast.ClientSideOp$.mapServerSide(ClientSideOp.scala:18)
[error] at scala.slick.compiler.RewritePaths$$anonfun$apply$1.apply(RewritePaths.scala:17)
[error] at scala.slick.compiler.RewritePaths$$anonfun$apply$1.apply(RewritePaths.scala:16)
[error] at scala.slick.compiler.CompilerState.map(QueryCompiler.scala:143)
[error] at scala.slick.compiler.RewritePaths.apply(RewritePaths.scala:16)
[error] at scala.slick.compiler.QueryCompiler$$anonfun$runPhase$1.apply(QueryCompiler.scala:55)
[error] at scala.slick.compiler.QueryCompiler$$anonfun$runPhase$1.apply(QueryCompiler.scala:54)
[error] at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
[error] at scala.slick.ast.SymbolNamer.use(Symbol.scala:114)
[error] at scala.slick.compiler.QueryCompiler.runPhase(QueryCompiler.scala:54)
[error] at scala.slick.compiler.QueryCompiler$$anonfun$run$2.apply(QueryCompiler.scala:46)
[error] at scala.slick.compiler.QueryCompiler$$anonfun$run$2.apply(QueryCompiler.scala:46)
[error] at scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:144)
[error] at scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:144)
[error] at scala.collection.Iterator$class.foreach(Iterator.scala:727)
[error] at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
[error] at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
[error] at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
[error] at scala.collection.TraversableOnce$class.foldLeft(TraversableOnce.scala:144)
[error] at scala.collection.AbstractTraversable.foldLeft(Traversable.scala:105)
[error] at scala.slick.compiler.QueryCompiler.run(QueryCompiler.scala:46)
[error] at scala.slick.compiler.QueryCompiler.run(QueryCompiler.scala:41)
[error] at scala.slick.profile.BasicProfile$Implicits$class.queryToQueryExecutor(BasicProfile.scala:57)
[error] at scala.slick.driver.JdbcProfile$$anon$1.queryToQueryExecutor(JdbcProfile.scala:21)
[error] at com.typesafe.slick.testkit.tests.ReducedTest.testQuery(Reduced.scala:35)
[error] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[error] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[error] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[error] at java.lang.reflect.Method.invoke(Method.java:597)
[error] at com.typesafe.slick.testkit.util.Testkit$$anonfun$runChildren$2.apply(Testkit.scala:85)
[error] at com.typesafe.slick.testkit.util.Testkit$$anonfun$runChildren$2.apply(Testkit.scala:76)
[error] at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:772)
[error] at scala.collection.Iterator$class.foreach(Iterator.scala:727)
[error] at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
[error] at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
[error] at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
[error] at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:771)
[error] at com.typesafe.slick.testkit.util.Testkit.runChildren(Testkit.scala:76)
[error] at com.typesafe.slick.testkit.util.SimpleParentRunner.run(SimpleParentRunner.scala:56)
[error] ...
[info] Test run finished: 1 failed, 0 ignored, 1 total, 0.028s
[error] Failed: : Total 12, Failed 1, Errors 0, Passed 11, Skipped 0
[error] Failed tests:
[error] scala.slick.test.driver.H2MemTest
[error] (testkit/test:test) sbt.TestsFailedException: Tests unsuccessful
[error] Total time: 13 s, completed Jul 30, 2013 5:50:11 AM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment