Skip to content

Instantly share code, notes, and snippets.

@caente
Last active July 21, 2016 00:14
Show Gist options
  • Save caente/d062c1d8d0e670338fd80a2bfdee7f13 to your computer and use it in GitHub Desktop.
Save caente/d062c1d8d0e670338fd80a2bfdee7f13 to your computer and use it in GitHub Desktop.
[info] Compiling 1 Scala source to /Users/caente1/workshop/filter_field/target/scala-2.11/classes...
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.Generic.materialize is not a valid implicit value for shapeless.Generic.Aux[snippet.ATrait,V] because:
[info] type parameters weren't correctly instantiated outside of the implicit tree: inferred type arguments [shapeless.:+:[snippet.A1,shapeless.:+:[snippet.A2,shapeless.CNil]],Nothing] do not conform to method materializeProduct's type parameter bounds [V <: shapeless.HList,R <: shapeless.HList]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.LabelledGeneric.materializeProduct is not a valid implicit value for shapeless.LabelledGeneric.Aux[snippet.ATrait,G] because:
[info] hasMatchingSymbol reported error: could not find implicit value for parameter gen: shapeless.Generic.Aux[snippet.ATrait,V]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.Generic.materialize is not a valid implicit value for shapeless.Generic.Aux[shapeless.:+:[snippet.A1 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A1")],snippet.A1],shapeless.:+:[snippet.A2 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A2")],snippet.A2],shapeless.CNil]],V] because:
[info] hasMatchingSymbol reported error: No Generic instance available for HList or Coproduct
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.LabelledGeneric.materializeCoproduct is not a valid implicit value for shapeless.LabelledGeneric.Aux[shapeless.:+:[snippet.A1 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A1")],snippet.A1],shapeless.:+:[snippet.A2 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A2")],snippet.A2],shapeless.CNil]],G] because:
[info] hasMatchingSymbol reported error: could not find implicit value for parameter gen: shapeless.Generic.Aux[shapeless.:+:[snippet.A1 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A1")],snippet.A1],shapeless.:+:[snippet.A2 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A2")],snippet.A2],shapeless.CNil]],V]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.Generic.materialize is not a valid implicit value for shapeless.Generic.Aux[shapeless.:+:[snippet.A1 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A1")],snippet.A1],shapeless.:+:[snippet.A2 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A2")],snippet.A2],shapeless.CNil]],V] because:
[info] hasMatchingSymbol reported error: No Generic instance available for HList or Coproduct
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.LabelledGeneric.materializeProduct is not a valid implicit value for shapeless.LabelledGeneric.Aux[shapeless.:+:[snippet.A1 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A1")],snippet.A1],shapeless.:+:[snippet.A2 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A2")],snippet.A2],shapeless.CNil]],G] because:
[info] hasMatchingSymbol reported error: could not find implicit value for parameter gen: shapeless.Generic.Aux[shapeless.:+:[snippet.A1 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A1")],snippet.A1],shapeless.:+:[snippet.A2 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A2")],snippet.A2],shapeless.CNil]],V]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: Main.this.FilterField.generic is not a valid implicit value for snippet.Main.FilterField[shapeless.:+:[snippet.A1 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A1")],snippet.A1],shapeless.:+:[snippet.A2 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A2")],snippet.A2],shapeless.CNil]]] because:
[info] hasMatchingSymbol reported error: could not find implicit value for parameter gen: shapeless.LabelledGeneric.Aux[shapeless.:+:[snippet.A1 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A1")],snippet.A1],shapeless.:+:[snippet.A2 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A2")],snippet.A2],shapeless.CNil]],G]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.Generic.materialize is not a valid implicit value for shapeless.Generic.Aux[snippet.A1,V] because:
[info] type parameters weren't correctly instantiated outside of the implicit tree: inferred type arguments [shapeless.::[String,shapeless.::[Int,shapeless.HNil]],Nothing] do not conform to method materializeCoproduct's type parameter bounds [V <: shapeless.Coproduct,R <: shapeless.Coproduct]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.LabelledGeneric.materializeCoproduct is not a valid implicit value for shapeless.LabelledGeneric.Aux[snippet.A1,G] because:
[info] hasMatchingSymbol reported error: could not find implicit value for parameter gen: shapeless.Generic.Aux[snippet.A1,V]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.Generic.materialize is not a valid implicit value for shapeless.Generic.Aux[shapeless.::[String with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("_id")],String],shapeless.::[Int with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("value")],Int],shapeless.HNil]],V] because:
[info] hasMatchingSymbol reported error: No Generic instance available for HList or Coproduct
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.LabelledGeneric.materializeProduct is not a valid implicit value for shapeless.LabelledGeneric.Aux[shapeless.::[String with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("_id")],String],shapeless.::[Int with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("value")],Int],shapeless.HNil]],G] because:
[info] hasMatchingSymbol reported error: could not find implicit value for parameter gen: shapeless.Generic.Aux[shapeless.::[String with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("_id")],String],shapeless.::[Int with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("value")],Int],shapeless.HNil]],V]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.Generic.materialize is not a valid implicit value for shapeless.Generic.Aux[shapeless.::[String with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("_id")],String],shapeless.::[Int with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("value")],Int],shapeless.HNil]],V] because:
[info] hasMatchingSymbol reported error: No Generic instance available for HList or Coproduct
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.LabelledGeneric.materializeCoproduct is not a valid implicit value for shapeless.LabelledGeneric.Aux[shapeless.::[String with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("_id")],String],shapeless.::[Int with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("value")],Int],shapeless.HNil]],G] because:
[info] hasMatchingSymbol reported error: could not find implicit value for parameter gen: shapeless.Generic.Aux[shapeless.::[String with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("_id")],String],shapeless.::[Int with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("value")],Int],shapeless.HNil]],V]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: Main.this.FilterField.generic is not a valid implicit value for snippet.Main.FilterField[shapeless.::[String with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("_id")],String],shapeless.::[Int with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("value")],Int],shapeless.HNil]]] because:
[info] hasMatchingSymbol reported error: could not find implicit value for parameter gen: shapeless.LabelledGeneric.Aux[shapeless.::[String with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("_id")],String],shapeless.::[Int with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("value")],Int],shapeless.HNil]],G]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.DefaultSymbolicLabelling.mkDefaultSymbolicLabelling is not a valid implicit value for shapeless.DefaultSymbolicLabelling.Aux[String,K] because:
[info] hasMatchingSymbol reported error: String is not case class like or the root of a sealed family of types
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.LabelledGeneric.materializeProduct is not a valid implicit value for shapeless.LabelledGeneric.Aux[String,G] because:
[info] hasMatchingSymbol reported error: could not find implicit value for parameter lab: shapeless.DefaultSymbolicLabelling.Aux[String,K]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.DefaultSymbolicLabelling.mkDefaultSymbolicLabelling is not a valid implicit value for shapeless.DefaultSymbolicLabelling.Aux[String,K] because:
[info] hasMatchingSymbol reported error: String is not case class like or the root of a sealed family of types
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.LabelledGeneric.materializeCoproduct is not a valid implicit value for shapeless.LabelledGeneric.Aux[String,G] because:
[info] hasMatchingSymbol reported error: could not find implicit value for parameter lab: shapeless.DefaultSymbolicLabelling.Aux[String,K]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: Main.this.FilterField.generic is not a valid implicit value for snippet.Main.FilterField[String] because:
[info] hasMatchingSymbol reported error: could not find implicit value for parameter gen: shapeless.LabelledGeneric.Aux[String,G]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.Lazy.mkLazy is not a valid implicit value for shapeless.Lazy[snippet.Main.FilterField[String]] because:
[info] hasMatchingSymbol reported error: Unable to derive snippet.Main.FilterField[String]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: Main.this.FilterField.product is not a valid implicit value for snippet.Main.FilterField[shapeless.::[String with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("_id")],String],shapeless.::[Int with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("value")],Int],shapeless.HNil]]] because:
[info] hasMatchingSymbol reported error: could not find Lazy implicit value of type snippet.Main.FilterField[String]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.Lazy.mkLazy is not a valid implicit value for shapeless.Lazy[snippet.Main.FilterField[this.Out]] because:
[info] hasMatchingSymbol reported error: Unable to derive snippet.Main.FilterField[shapeless.::[String with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("_id")],String],shapeless.::[Int with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("value")],Int],shapeless.HNil]]]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: Main.this.FilterField.generic is not a valid implicit value for snippet.Main.FilterField[snippet.A1] because:
[info] hasMatchingSymbol reported error: could not find Lazy implicit value of type snippet.Main.FilterField[G]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.Lazy.mkLazy is not a valid implicit value for shapeless.Lazy[snippet.Main.FilterField[snippet.A1]] because:
[info] hasMatchingSymbol reported error: Unable to derive snippet.Main.FilterField[snippet.A1]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: Main.this.FilterField.coproduct is not a valid implicit value for snippet.Main.FilterField[shapeless.:+:[snippet.A1 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A1")],snippet.A1],shapeless.:+:[snippet.A2 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A2")],snippet.A2],shapeless.CNil]]] because:
[info] hasMatchingSymbol reported error: could not find Lazy implicit value of type snippet.Main.FilterField[snippet.A1]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.Lazy.mkLazy is not a valid implicit value for shapeless.Lazy[snippet.Main.FilterField[this.Out]] because:
[info] hasMatchingSymbol reported error: Unable to derive snippet.Main.FilterField[shapeless.:+:[snippet.A1 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A1")],snippet.A1],shapeless.:+:[snippet.A2 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A2")],snippet.A2],shapeless.CNil]]]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: Main.this.FilterField.generic is not a valid implicit value for snippet.Main.FilterField[snippet.ATrait] because:
[info] hasMatchingSymbol reported error: could not find Lazy implicit value of type snippet.Main.FilterField[G]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.Generic.materialize is not a valid implicit value for shapeless.Generic.Aux[snippet.ATrait,V] because:
[info] type parameters weren't correctly instantiated outside of the implicit tree: inferred type arguments [shapeless.:+:[snippet.A1,shapeless.:+:[snippet.A2,shapeless.CNil]],Nothing] do not conform to method materializeProduct's type parameter bounds [V <: shapeless.HList,R <: shapeless.HList]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.LabelledGeneric.materializeProduct is not a valid implicit value for shapeless.LabelledGeneric.Aux[snippet.ATrait,G] because:
[info] hasMatchingSymbol reported error: could not find implicit value for parameter gen: shapeless.Generic.Aux[snippet.ATrait,V]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.Generic.materialize is not a valid implicit value for shapeless.Generic.Aux[shapeless.:+:[snippet.A1 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A1")],snippet.A1],shapeless.:+:[snippet.A2 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A2")],snippet.A2],shapeless.CNil]],V] because:
[info] hasMatchingSymbol reported error: No Generic instance available for HList or Coproduct
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.LabelledGeneric.materializeCoproduct is not a valid implicit value for shapeless.LabelledGeneric.Aux[shapeless.:+:[snippet.A1 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A1")],snippet.A1],shapeless.:+:[snippet.A2 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A2")],snippet.A2],shapeless.CNil]],G] because:
[info] hasMatchingSymbol reported error: could not find implicit value for parameter gen: shapeless.Generic.Aux[shapeless.:+:[snippet.A1 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A1")],snippet.A1],shapeless.:+:[snippet.A2 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A2")],snippet.A2],shapeless.CNil]],V]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.Generic.materialize is not a valid implicit value for shapeless.Generic.Aux[shapeless.:+:[snippet.A1 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A1")],snippet.A1],shapeless.:+:[snippet.A2 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A2")],snippet.A2],shapeless.CNil]],V] because:
[info] hasMatchingSymbol reported error: No Generic instance available for HList or Coproduct
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.LabelledGeneric.materializeProduct is not a valid implicit value for shapeless.LabelledGeneric.Aux[shapeless.:+:[snippet.A1 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A1")],snippet.A1],shapeless.:+:[snippet.A2 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A2")],snippet.A2],shapeless.CNil]],G] because:
[info] hasMatchingSymbol reported error: could not find implicit value for parameter gen: shapeless.Generic.Aux[shapeless.:+:[snippet.A1 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A1")],snippet.A1],shapeless.:+:[snippet.A2 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A2")],snippet.A2],shapeless.CNil]],V]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: Main.this.FilterField.generic is not a valid implicit value for snippet.Main.FilterField[shapeless.:+:[snippet.A1 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A1")],snippet.A1],shapeless.:+:[snippet.A2 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A2")],snippet.A2],shapeless.CNil]]] because:
[info] hasMatchingSymbol reported error: could not find implicit value for parameter gen: shapeless.LabelledGeneric.Aux[shapeless.:+:[snippet.A1 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A1")],snippet.A1],shapeless.:+:[snippet.A2 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A2")],snippet.A2],shapeless.CNil]],G]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.Generic.materialize is not a valid implicit value for shapeless.Generic.Aux[snippet.A1,V] because:
[info] type parameters weren't correctly instantiated outside of the implicit tree: inferred type arguments [shapeless.::[String,shapeless.::[Int,shapeless.HNil]],Nothing] do not conform to method materializeCoproduct's type parameter bounds [V <: shapeless.Coproduct,R <: shapeless.Coproduct]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.LabelledGeneric.materializeCoproduct is not a valid implicit value for shapeless.LabelledGeneric.Aux[snippet.A1,G] because:
[info] hasMatchingSymbol reported error: could not find implicit value for parameter gen: shapeless.Generic.Aux[snippet.A1,V]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.Generic.materialize is not a valid implicit value for shapeless.Generic.Aux[shapeless.::[String with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("_id")],String],shapeless.::[Int with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("value")],Int],shapeless.HNil]],V] because:
[info] hasMatchingSymbol reported error: No Generic instance available for HList or Coproduct
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.LabelledGeneric.materializeProduct is not a valid implicit value for shapeless.LabelledGeneric.Aux[shapeless.::[String with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("_id")],String],shapeless.::[Int with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("value")],Int],shapeless.HNil]],G] because:
[info] hasMatchingSymbol reported error: could not find implicit value for parameter gen: shapeless.Generic.Aux[shapeless.::[String with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("_id")],String],shapeless.::[Int with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("value")],Int],shapeless.HNil]],V]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.Generic.materialize is not a valid implicit value for shapeless.Generic.Aux[shapeless.::[String with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("_id")],String],shapeless.::[Int with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("value")],Int],shapeless.HNil]],V] because:
[info] hasMatchingSymbol reported error: No Generic instance available for HList or Coproduct
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.LabelledGeneric.materializeCoproduct is not a valid implicit value for shapeless.LabelledGeneric.Aux[shapeless.::[String with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("_id")],String],shapeless.::[Int with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("value")],Int],shapeless.HNil]],G] because:
[info] hasMatchingSymbol reported error: could not find implicit value for parameter gen: shapeless.Generic.Aux[shapeless.::[String with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("_id")],String],shapeless.::[Int with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("value")],Int],shapeless.HNil]],V]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: Main.this.FilterField.generic is not a valid implicit value for snippet.Main.FilterField[shapeless.::[String with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("_id")],String],shapeless.::[Int with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("value")],Int],shapeless.HNil]]] because:
[info] hasMatchingSymbol reported error: could not find implicit value for parameter gen: shapeless.LabelledGeneric.Aux[shapeless.::[String with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("_id")],String],shapeless.::[Int with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("value")],Int],shapeless.HNil]],G]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.DefaultSymbolicLabelling.mkDefaultSymbolicLabelling is not a valid implicit value for shapeless.DefaultSymbolicLabelling.Aux[String,K] because:
[info] hasMatchingSymbol reported error: String is not case class like or the root of a sealed family of types
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.LabelledGeneric.materializeProduct is not a valid implicit value for shapeless.LabelledGeneric.Aux[String,G] because:
[info] hasMatchingSymbol reported error: could not find implicit value for parameter lab: shapeless.DefaultSymbolicLabelling.Aux[String,K]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.DefaultSymbolicLabelling.mkDefaultSymbolicLabelling is not a valid implicit value for shapeless.DefaultSymbolicLabelling.Aux[String,K] because:
[info] hasMatchingSymbol reported error: String is not case class like or the root of a sealed family of types
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.LabelledGeneric.materializeCoproduct is not a valid implicit value for shapeless.LabelledGeneric.Aux[String,G] because:
[info] hasMatchingSymbol reported error: could not find implicit value for parameter lab: shapeless.DefaultSymbolicLabelling.Aux[String,K]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: Main.this.FilterField.generic is not a valid implicit value for snippet.Main.FilterField[String] because:
[info] hasMatchingSymbol reported error: could not find implicit value for parameter gen: shapeless.LabelledGeneric.Aux[String,G]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.Lazy.mkLazy is not a valid implicit value for shapeless.Lazy[snippet.Main.FilterField[String]] because:
[info] hasMatchingSymbol reported error: Unable to derive snippet.Main.FilterField[String]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: Main.this.FilterField.product is not a valid implicit value for snippet.Main.FilterField[shapeless.::[String with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("_id")],String],shapeless.::[Int with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("value")],Int],shapeless.HNil]]] because:
[info] hasMatchingSymbol reported error: could not find Lazy implicit value of type snippet.Main.FilterField[String]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.Lazy.mkLazy is not a valid implicit value for shapeless.Lazy[snippet.Main.FilterField[this.Out]] because:
[info] hasMatchingSymbol reported error: Unable to derive snippet.Main.FilterField[shapeless.::[String with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("_id")],String],shapeless.::[Int with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("value")],Int],shapeless.HNil]]]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: Main.this.FilterField.generic is not a valid implicit value for snippet.Main.FilterField[snippet.A1] because:
[info] hasMatchingSymbol reported error: could not find Lazy implicit value of type snippet.Main.FilterField[G]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.Lazy.mkLazy is not a valid implicit value for shapeless.Lazy[snippet.Main.FilterField[snippet.A1]] because:
[info] hasMatchingSymbol reported error: Unable to derive snippet.Main.FilterField[snippet.A1]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: Main.this.FilterField.coproduct is not a valid implicit value for snippet.Main.FilterField[shapeless.:+:[snippet.A1 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A1")],snippet.A1],shapeless.:+:[snippet.A2 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A2")],snippet.A2],shapeless.CNil]]] because:
[info] hasMatchingSymbol reported error: could not find Lazy implicit value of type snippet.Main.FilterField[snippet.A1]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: shapeless.this.Lazy.mkLazy is not a valid implicit value for shapeless.Lazy[snippet.Main.FilterField[this.Out]] because:
[info] hasMatchingSymbol reported error: Unable to derive snippet.Main.FilterField[shapeless.:+:[snippet.A1 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A1")],snippet.A1],shapeless.:+:[snippet.A2 with shapeless.labelled.KeyTag[Symbol with shapeless.tag.Tagged[String("A2")],snippet.A2],shapeless.CNil]]]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[info] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: Main.this.FilterField.generic is not a valid implicit value for snippet.Main.FilterField[snippet.ATrait] because:
[info] hasMatchingSymbol reported error: could not find Lazy implicit value of type snippet.Main.FilterField[G]
[info] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[info] ^
[error] /Users/caente1/workshop/filter_field/src/main/scala/main.scala:70: could not find implicit value for evidence parameter of type snippet.Main.FilterField[snippet.ATrait]
[error] assert(FilterField[ATrait].filterField( '_id, atrait ) == 1 :: HNil)
[error] ^
[error] one error found
[error] (compile:compileIncremental) Compilation failed
[error] Total time: 0 s, completed Jul 20, 2016 8:13:48 PM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment