You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to reproduce error sbt new ScalaConsultants/zio-quickstart.g8 sbt run
Errors
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by sbt.TrapExit$ (file:/Users/mac/.sbt/boot/scala-2.12.14/org.scala-sbt/sbt/1.5.5/run_2.12-1.5.5.jar)
WARNING: Please consider reporting this to the maintainers of sbt.TrapExit$
WARNING: System::setSecurityManager will be removed in a future release
[info] welcome to sbt 1.5.5 (Oracle Corporation Java 17.0.1)
[info] loading global plugins from /Users/mac/.sbt/1.0/plugins
[info] loading settings for project scape-account-api-build from plugins.sbt ...
[info] loading project definition from /Users/mac/Documents/Code/scala/projectz/scape-account-api/project
[info] loading settings for project root from build.sbt ...
[info] set current project to scape-account-api (in build file:/Users/mac/Documents/Code/scala/projectz/scape-account-api/)
[warn] there's a key that's not used by any other settings/tasks:
[warn]
[warn] * ThisBuild / name
[warn] +- /Users/mac/Documents/Code/scala/projectz/scape-account-api/build.sbt:17
[warn]
[warn] note: a setting might still be used by a command; to exclude a key from this lintUnused check
[warn] either append it to Global / excludeLintKeys or call .withRank(KeyRanks.Invisible) on the key
[warn] sbt 0.13 shell syntax is deprecated; use slash syntax instead: Docker / publishLocal
[info] Wrote /Users/mac/Documents/Code/scala/projectz/scape-account-api/target/scala-3.1.0/scape-account-api_3-0.0.1.pom
[info] compiling 13 Scala sources to /Users/mac/Documents/Code/scala/projectz/scape-account-api/target/scala-3.1.0/classes ...
[error] -- Error: /Users/mac/Documents/Code/scala/projectz/scape-account-api/src/main/scala/com/schoolscape/api/graphql/GraphqlApi.scala:58:5
[error] 58 | ) @@
[error] | ^
[error] |Cannot find a Schema for type zio.ZIO[zio.Has[com.schoolscape.service.ItemService],
[error] | com.schoolscape.domain.DomainError
[error] |, List[com.schoolscape.domain.Item]].
[error] |
[error] |Caliban derives a Schema automatically for basic Scala types, case classes and sealed traits, but
[error] |you need to manually provide an implicit Schema for other types that could be nested in zio.ZIO[zio.Has[com.schoolscape.service.ItemService],
[error] | com.schoolscape.domain.DomainError
[error] |, List[com.schoolscape.domain.Item]].
[error] |If you use a custom type as an argument, you also need to provide an implicit ArgBuilder for that type.
[error] |See https://ghostdogpr.github.io/caliban/docs/schema.html for more information.
[error] |.
[error] |I found:
[error] |
[error] | com.schoolscape.api.graphql.GraphqlApi.gen[Any,
[error] |
[error] | zio.ZIO[zio.Has[com.schoolscape.service.ItemService],
[error] | com.schoolscape.domain.DomainError
[error] | , List[com.schoolscape.domain.Item]]
[error] |
[error] | ]
[error] |
[error] |But given instance gen in trait SchemaDerivation does not match type caliban.schema.Schema[Any,
[error] | zio.ZIO[zio.Has[com.schoolscape.service.ItemService],
[error] | com.schoolscape.domain.DomainError
[error] | , List[com.schoolscape.domain.Item]]
[error] |].
[error] | This location contains code that was inlined from SchemaDerivation.scala:39
[error] | This location contains code that was inlined from SchemaDerivation.scala:125
[error] | This location contains code that was inlined from SchemaDerivation.scala:248
WARNING: Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] -- Error: /Users/mac/Documents/Code/scala/projectz/scape-account-api/src/main/scala/com/schoolscape/repo/ItemRepositoryLive.scala:34:12
[error] 34 | items.insert(.description -> lift(description))
[error] | ^^^^^
[error] |Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:34
[error] | This location contains code that was inlined from GetQuill.scala:3
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:23
WARNING: Could not unift-serialize the 'class io.getquill.ast.Insert' Insert(
Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))),
List(Assignment(Id("x3"), Property(Id("x3"), "description"), ScalarTag("ccdc187f-694f-40c4-86fc-faad00814a74")))
). Performing a regular unlift instead.
WARNING: Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] -- Error: /Users/mac/Documents/Code/scala/projectz/scape-account-api/src/main/scala/com/schoolscape/repo/ItemRepositoryLive.scala:39:12
[error] 39 | items.filter(.description == lift(description)).map(.id)
[error] | ^^^^^
[error] |Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:39
[error] | This location contains code that was inlined from GetQuill.scala:3
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:23
WARNING: Could not unift-serialize the 'class io.getquill.ast.Map' Map(
Filter(
Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))),
Id("x4"),
BinaryOperation(Property(Id("x4"), "description"), ==, ScalarTag("afa9ac29-3809-4f83-8db7-4f9c2e17788e"))
),
Id("x5"),
Property(Id("x5"), "id")
). Performing a regular unlift instead.
WARNING: Could not serialize the 'class io.getquill.ast.Map' Map(
Filter(
Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))),
Id("x4"),
BinaryOperation(Property(Id("x4"), "description"), ==, ScalarTag("afa9ac29-3809-4f83-8db7-4f9c2e17788e"))
),
Id("x5"),
Property(Id("x5"), "id")
).
WARNING: Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] -- Error: /Users/mac/Documents/Code/scala/projectz/scape-account-api/src/main/scala/com/schoolscape/repo/ItemRepositoryLive.scala:49:17
[error] 49 | .run(quote(items.filter(i => i.id == lift(id)).delete))
[error] | ^^^^^
[error] |Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:49
[error] | This location contains code that was inlined from GetQuill.scala:3
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:23
WARNING: Could not unift-serialize the 'class io.getquill.ast.CaseClass' CaseClass(List(("value", ScalarTag("052ce1c5-dea4-4760-bf07-3b765e2d790f")))). Performing a regular unlift instead.
[error] -- Error: /Users/mac/Documents/Code/scala/projectz/scape-account-api/src/main/scala/com/schoolscape/repo/ItemRepositoryLive.scala:49:47
[error] 49 | .run(quote(items.filter(i => i.id == lift(id)).delete))
[error] | ^^^^^^^^
[error] |Could not unift-serialize the 'class io.getquill.ast.CaseClass' CaseClass(List(("value", ScalarTag("052ce1c5-dea4-4760-bf07-3b765e2d790f")))). Performing a regular unlift instead.
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:49
WARNING: Could not unift-serialize the 'class io.getquill.ast.Delete' Delete(
Filter(
Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))),
Id("i"),
BinaryOperation(Property(Id("i"), "id"), ==, CaseClass(List(("value", ScalarTag("052ce1c5-dea4-4760-bf07-3b765e2d790f")))))
)
). Performing a regular unlift instead.
WARNING: Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] -- Error: /Users/mac/Documents/Code/scala/projectz/scape-account-api/src/main/scala/com/schoolscape/repo/ItemRepositoryLive.scala:57:8
[error] 57 | items
[error] | ^^^^^
[error] |Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:57
[error] | This location contains code that was inlined from GetQuill.scala:3
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:23
WARNING: Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
WARNING: Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] -- Error: /Users/mac/Documents/Code/scala/projectz/scape-account-api/src/main/scala/com/schoolscape/repo/ItemRepositoryLive.scala:65:8
[error] 65 | items.filter(.id == lift(id))
[error] | ^^^^^
[error] |Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:65
[error] | This location contains code that was inlined from GetQuill.scala:3
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:23
WARNING: Could not unift-serialize the 'class io.getquill.ast.CaseClass' CaseClass(List(("value", ScalarTag("71f92fec-31eb-40ef-b161-44f2e11c23c1")))). Performing a regular unlift instead.
[error] -- Error: /Users/mac/Documents/Code/scala/projectz/scape-account-api/src/main/scala/com/schoolscape/repo/ItemRepositoryLive.scala:65:33
[error] 65 | items.filter(_.id == lift(id))
[error] | ^^^^^^^^
[error] |Could not unift-serialize the 'class io.getquill.ast.CaseClass' CaseClass(List(("value", ScalarTag("71f92fec-31eb-40ef-b161-44f2e11c23c1")))). Performing a regular unlift instead.
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:65
WARNING: Could not unift-serialize the 'class io.getquill.ast.Filter' Filter(
Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))),
Id("x7"),
BinaryOperation(Property(Id("x7"), "id"), ==, CaseClass(List(("value", ScalarTag("71f92fec-31eb-40ef-b161-44f2e11c23c1")))))
). Performing a regular unlift instead.
WARNING: Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] -- Error: /Users/mac/Documents/Code/scala/projectz/scape-account-api/src/main/scala/com/schoolscape/repo/ItemRepositoryLive.scala:74:8
[error] 74 | items
[error] | ^^^^^
[error] |Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:74
[error] | This location contains code that was inlined from GetQuill.scala:3
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:23
WARNING: Could not unift-serialize the 'class io.getquill.ast.CaseClass' CaseClass(List(("value", ScalarTag("833666a8-f24f-4dc2-848f-2d9cd927b5f5")))). Performing a regular unlift instead.
[error] -- Error: /Users/mac/Documents/Code/scala/projectz/scape-account-api/src/main/scala/com/schoolscape/repo/ItemRepositoryLive.scala:75:35
[error] 75 | .filter(i => i.id == lift(itemId))
[error] | ^^^^^^^^^^^^
[error] |Could not unift-serialize the 'class io.getquill.ast.CaseClass' CaseClass(List(("value", ScalarTag("833666a8-f24f-4dc2-848f-2d9cd927b5f5")))). Performing a regular unlift instead.
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:75
WARNING: Could not unift-serialize the 'class io.getquill.ast.Update' Update(
Filter(
Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))),
Id("i"),
BinaryOperation(Property(Id("i"), "id"), ==, CaseClass(List(("value", ScalarTag("833666a8-f24f-4dc2-848f-2d9cd927b5f5")))))
),
List(Assignment(Id("x9"), Property(Id("x9"), "description"), ScalarTag("6821c380-1e40-4aa8-9045-f27697db92e8")))
). Performing a regular unlift instead.
WARNING: Could not serialize the 'class io.getquill.ast.Update' Update(
Filter(
Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))),
Id("i"),
BinaryOperation(Property(Id("i"), "id"), ==, CaseClass(List(("value", ScalarTag("833666a8-f24f-4dc2-848f-2d9cd927b5f5")))))
),
List(Assignment(Id("x9"), Property(Id("x9"), "description"), ScalarTag("6821c380-1e40-4aa8-9045-f27697db92e8")))
).
[error] 10 errors found
[error] 10 errors found
[error] (Compile / compileIncremental) Compilation failed
[error] Total time: 28 s, completed Feb 19, 2022, 11:27:44 AM
The text was updated successfully, but these errors were encountered:
How to reproduce error
sbt new ScalaConsultants/zio-quickstart.g8
sbt run
Errors
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by sbt.TrapExit$ (file:/Users/mac/.sbt/boot/scala-2.12.14/org.scala-sbt/sbt/1.5.5/run_2.12-1.5.5.jar)
WARNING: Please consider reporting this to the maintainers of sbt.TrapExit$
WARNING: System::setSecurityManager will be removed in a future release
[info] welcome to sbt 1.5.5 (Oracle Corporation Java 17.0.1)
[info] loading global plugins from /Users/mac/.sbt/1.0/plugins
[info] loading settings for project scape-account-api-build from plugins.sbt ...
[info] loading project definition from /Users/mac/Documents/Code/scala/projectz/scape-account-api/project
[info] loading settings for project root from build.sbt ...
[info] set current project to scape-account-api (in build file:/Users/mac/Documents/Code/scala/projectz/scape-account-api/)
[warn] there's a key that's not used by any other settings/tasks:
[warn]
[warn] * ThisBuild / name
[warn] +- /Users/mac/Documents/Code/scala/projectz/scape-account-api/build.sbt:17
[warn]
[warn] note: a setting might still be used by a command; to exclude a key from this
lintUnused
check[warn] either append it to
Global / excludeLintKeys
or call .withRank(KeyRanks.Invisible) on the key[warn] sbt 0.13 shell syntax is deprecated; use slash syntax instead: Docker / publishLocal
[info] Wrote /Users/mac/Documents/Code/scala/projectz/scape-account-api/target/scala-3.1.0/scape-account-api_3-0.0.1.pom
[info] compiling 13 Scala sources to /Users/mac/Documents/Code/scala/projectz/scape-account-api/target/scala-3.1.0/classes ...
[error] -- Error: /Users/mac/Documents/Code/scala/projectz/scape-account-api/src/main/scala/com/schoolscape/api/graphql/GraphqlApi.scala:58:5
[error] 58 | ) @@
[error] | ^
[error] |Cannot find a Schema for type zio.ZIO[zio.Has[com.schoolscape.service.ItemService],
[error] | com.schoolscape.domain.DomainError
[error] |, List[com.schoolscape.domain.Item]].
[error] |
[error] |Caliban derives a Schema automatically for basic Scala types, case classes and sealed traits, but
[error] |you need to manually provide an implicit Schema for other types that could be nested in zio.ZIO[zio.Has[com.schoolscape.service.ItemService],
[error] | com.schoolscape.domain.DomainError
[error] |, List[com.schoolscape.domain.Item]].
[error] |If you use a custom type as an argument, you also need to provide an implicit ArgBuilder for that type.
[error] |See https://ghostdogpr.github.io/caliban/docs/schema.html for more information.
[error] |.
[error] |I found:
[error] |
[error] | com.schoolscape.api.graphql.GraphqlApi.gen[Any,
[error] |
[error] | zio.ZIO[zio.Has[com.schoolscape.service.ItemService],
[error] | com.schoolscape.domain.DomainError
[error] | , List[com.schoolscape.domain.Item]]
[error] |
[error] | ]
[error] |
[error] |But given instance gen in trait SchemaDerivation does not match type caliban.schema.Schema[Any,
[error] | zio.ZIO[zio.Has[com.schoolscape.service.ItemService],
[error] | com.schoolscape.domain.DomainError
[error] | , List[com.schoolscape.domain.Item]]
[error] |].
[error] | This location contains code that was inlined from SchemaDerivation.scala:39
[error] | This location contains code that was inlined from SchemaDerivation.scala:125
[error] | This location contains code that was inlined from SchemaDerivation.scala:248
WARNING: Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] -- Error: /Users/mac/Documents/Code/scala/projectz/scape-account-api/src/main/scala/com/schoolscape/repo/ItemRepositoryLive.scala:34:12
[error] 34 | items.insert(.description -> lift(description))
[error] | ^^^^^
[error] |Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:34
[error] | This location contains code that was inlined from GetQuill.scala:3
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:23
WARNING: Could not unift-serialize the 'class io.getquill.ast.Insert' Insert(
Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))),
List(Assignment(Id("x3"), Property(Id("x3"), "description"), ScalarTag("ccdc187f-694f-40c4-86fc-faad00814a74")))
). Performing a regular unlift instead.
WARNING: Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] -- Error: /Users/mac/Documents/Code/scala/projectz/scape-account-api/src/main/scala/com/schoolscape/repo/ItemRepositoryLive.scala:39:12
[error] 39 | items.filter(.description == lift(description)).map(.id)
[error] | ^^^^^
[error] |Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:39
[error] | This location contains code that was inlined from GetQuill.scala:3
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:23
WARNING: Could not unift-serialize the 'class io.getquill.ast.Map' Map(
Filter(
Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))),
Id("x4"),
BinaryOperation(Property(Id("x4"), "description"), ==, ScalarTag("afa9ac29-3809-4f83-8db7-4f9c2e17788e"))
),
Id("x5"),
Property(Id("x5"), "id")
). Performing a regular unlift instead.
WARNING: Could not serialize the 'class io.getquill.ast.Map' Map(
Filter(
Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))),
Id("x4"),
BinaryOperation(Property(Id("x4"), "description"), ==, ScalarTag("afa9ac29-3809-4f83-8db7-4f9c2e17788e"))
),
Id("x5"),
Property(Id("x5"), "id")
).
WARNING: Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] -- Error: /Users/mac/Documents/Code/scala/projectz/scape-account-api/src/main/scala/com/schoolscape/repo/ItemRepositoryLive.scala:49:17
[error] 49 | .run(quote(items.filter(i => i.id == lift(id)).delete))
[error] | ^^^^^
[error] |Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:49
[error] | This location contains code that was inlined from GetQuill.scala:3
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:23
WARNING: Could not unift-serialize the 'class io.getquill.ast.CaseClass' CaseClass(List(("value", ScalarTag("052ce1c5-dea4-4760-bf07-3b765e2d790f")))). Performing a regular unlift instead.
[error] -- Error: /Users/mac/Documents/Code/scala/projectz/scape-account-api/src/main/scala/com/schoolscape/repo/ItemRepositoryLive.scala:49:47
[error] 49 | .run(quote(items.filter(i => i.id == lift(id)).delete))
[error] | ^^^^^^^^
[error] |Could not unift-serialize the 'class io.getquill.ast.CaseClass' CaseClass(List(("value", ScalarTag("052ce1c5-dea4-4760-bf07-3b765e2d790f")))). Performing a regular unlift instead.
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:49
WARNING: Could not unift-serialize the 'class io.getquill.ast.Delete' Delete(
Filter(
Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))),
Id("i"),
BinaryOperation(Property(Id("i"), "id"), ==, CaseClass(List(("value", ScalarTag("052ce1c5-dea4-4760-bf07-3b765e2d790f")))))
)
). Performing a regular unlift instead.
WARNING: Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] -- Error: /Users/mac/Documents/Code/scala/projectz/scape-account-api/src/main/scala/com/schoolscape/repo/ItemRepositoryLive.scala:57:8
[error] 57 | items
[error] | ^^^^^
[error] |Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:57
[error] | This location contains code that was inlined from GetQuill.scala:3
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:23
WARNING: Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
WARNING: Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] -- Error: /Users/mac/Documents/Code/scala/projectz/scape-account-api/src/main/scala/com/schoolscape/repo/ItemRepositoryLive.scala:65:8
[error] 65 | items.filter(.id == lift(id))
[error] | ^^^^^
[error] |Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:65
[error] | This location contains code that was inlined from GetQuill.scala:3
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:23
WARNING: Could not unift-serialize the 'class io.getquill.ast.CaseClass' CaseClass(List(("value", ScalarTag("71f92fec-31eb-40ef-b161-44f2e11c23c1")))). Performing a regular unlift instead.
[error] -- Error: /Users/mac/Documents/Code/scala/projectz/scape-account-api/src/main/scala/com/schoolscape/repo/ItemRepositoryLive.scala:65:33
[error] 65 | items.filter(_.id == lift(id))
[error] | ^^^^^^^^
[error] |Could not unift-serialize the 'class io.getquill.ast.CaseClass' CaseClass(List(("value", ScalarTag("71f92fec-31eb-40ef-b161-44f2e11c23c1")))). Performing a regular unlift instead.
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:65
WARNING: Could not unift-serialize the 'class io.getquill.ast.Filter' Filter(
Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))),
Id("x7"),
BinaryOperation(Property(Id("x7"), "id"), ==, CaseClass(List(("value", ScalarTag("71f92fec-31eb-40ef-b161-44f2e11c23c1")))))
). Performing a regular unlift instead.
WARNING: Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] -- Error: /Users/mac/Documents/Code/scala/projectz/scape-account-api/src/main/scala/com/schoolscape/repo/ItemRepositoryLive.scala:74:8
[error] 74 | items
[error] | ^^^^^
[error] |Could not unift-serialize the 'class io.getquill.ast.Entity' Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))). Performing a regular unlift instead.
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:74
[error] | This location contains code that was inlined from GetQuill.scala:3
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:23
WARNING: Could not unift-serialize the 'class io.getquill.ast.CaseClass' CaseClass(List(("value", ScalarTag("833666a8-f24f-4dc2-848f-2d9cd927b5f5")))). Performing a regular unlift instead.
[error] -- Error: /Users/mac/Documents/Code/scala/projectz/scape-account-api/src/main/scala/com/schoolscape/repo/ItemRepositoryLive.scala:75:35
[error] 75 | .filter(i => i.id == lift(itemId))
[error] | ^^^^^^^^^^^^
[error] |Could not unift-serialize the 'class io.getquill.ast.CaseClass' CaseClass(List(("value", ScalarTag("833666a8-f24f-4dc2-848f-2d9cd927b5f5")))). Performing a regular unlift instead.
[error] | This location contains code that was inlined from ItemRepositoryLive.scala:75
WARNING: Could not unift-serialize the 'class io.getquill.ast.Update' Update(
Filter(
Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))),
Id("i"),
BinaryOperation(Property(Id("i"), "id"), ==, CaseClass(List(("value", ScalarTag("833666a8-f24f-4dc2-848f-2d9cd927b5f5")))))
),
List(Assignment(Id("x9"), Property(Id("x9"), "description"), ScalarTag("6821c380-1e40-4aa8-9045-f27697db92e8")))
). Performing a regular unlift instead.
WARNING: Could not serialize the 'class io.getquill.ast.Update' Update(
Filter(
Entity("items", List(PropertyAlias(List("id", "value"), "id"), PropertyAlias(List("description"), "description"))),
Id("i"),
BinaryOperation(Property(Id("i"), "id"), ==, CaseClass(List(("value", ScalarTag("833666a8-f24f-4dc2-848f-2d9cd927b5f5")))))
),
List(Assignment(Id("x9"), Property(Id("x9"), "description"), ScalarTag("6821c380-1e40-4aa8-9045-f27697db92e8")))
).
[error] 10 errors found
[error] 10 errors found
[error] (Compile / compileIncremental) Compilation failed
[error] Total time: 28 s, completed Feb 19, 2022, 11:27:44 AM
The text was updated successfully, but these errors were encountered: