Skip to content

Compilation fails due to assertion in scala.quoted.runtime.impl.QuotesImpl$reflect$Symbol$.newVal #17432

Closed
@WojciechMazur

Description

@WojciechMazur

Compiler version

3.3.1-RC1-bin-20230504-0e00420-NIGHTLY

Found in Open Community build in following projects:

Projects with last successful builds using Scala �[1m3.3.1-RC1-bin-20230427-f128063-NIGHTLY�[0m [16]:

Project Version Build URL Notes
carlos-verdes/zio-arangodb 0.2.2 Open CB logs
lambdaworks/zio-elasticsearch 0.1.0 Open CB logs
vigoo/desert 0.3.3 Open CB logs
yakivy/jam 0.3.0 Open CB logs
zio/zio-openai 0.2.0 -> 0.2.1 Open CB logs

Output

Error:  -- Error: /build/repo/arangodb-http/src/main/scala/io/funkode/arangodb/http/SchemaCodecs.scala:21:46 
Error:  21 |  given Schema[ArangoError] = DeriveSchema.gen[ArangoError]
Error:     |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error:     |Exception occurred while executing macro expansion.
Error:     |java.lang.AssertionError: assertion failed: privateWithin must be a type symbol or `Symbol.noSymbol`
Error:     |	at scala.runtime.Scala3RunTime$.assertFailed(Scala3RunTime.scala:8)
Error:     |	at scala.quoted.runtime.impl.QuotesImpl$reflect$Symbol$.newVal(QuotesImpl.scala:2547)
Error:     |	at scala.quoted.runtime.impl.QuotesImpl$reflect$Symbol$.newVal(QuotesImpl.scala:2546)
Error:     |	at zio.schema.DeriveSchema.deriveCaseClass(DeriveSchema.scala:153)
Error:     |	at zio.schema.DeriveSchema.deriveSchema(DeriveSchema.scala:94)
Error:     |	at zio.schema.DeriveSchema$.deriveSchema(DeriveSchema.scala:18)
Error:     |	at zio.schema.DeriveSchema$.inline$deriveSchema(DeriveSchema.scala:17)
Error:     |```

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions