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
It is not possible to create a Docker image with sbt-native-packager in a Scala 3.3.0 project that uses TypesafeConfigProvider from zio-config4.0.0-RC16.
It is possible to compile and run the project, but when running sbt docker:publishLocal a following error is displayed:
[error] -- Error: typesafe/shared/src/main/scala/zio/config/typesafe/TypesafeConfigProvider.scala:13:0
[error] undefined: new com.github.ghik.silencer.silent # -1: TermRef(TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class ghik)),object silencer),silent),<init>) at readTasty
[error] one error found
[error] (Compile / doc) DottyDoc Compilation Failed
This is due to the fact that TypesafeConfigProvider uses com.github.ghik.silencer.silent annotation provided by the silencer plugin that is not compatible with Scala 3.3.0.
The text was updated successfully, but these errors were encountered:
sbt publishLocal
[info] Wrote /Work/zio-nebula/core/target/scala-3.3.1/zio-nebula_3-0.0.5+16-cbacc39d-SNAPSHOT.pom
[info] Main Scala API documentation to /Work/zio-nebula/core/target/scala-3.3.1/api...
[error] -- Error: typesafe/shared/src/main/scala/zio/config/typesafe/TypesafeConfigProvider.scala:13:0
[error] undefined: new com.github.ghik.silencer.silent # -1: TermRef(TypeRef(TermRef(ThisType(TypeRef(NoPrefix,module class ghik)),object silencer),silent),<init>) at readTasty
[error] one error found
It is not possible to create a Docker image with
sbt-native-packager
in a Scala 3.3.0 project that usesTypesafeConfigProvider
fromzio-config
4.0.0-RC16
.Minimal repo to reproduce the issue: https://github.com/straszydlo/zio-config-docker-bug
It is possible to compile and run the project, but when running
sbt docker:publishLocal
a following error is displayed:This is due to the fact that
TypesafeConfigProvider
usescom.github.ghik.silencer.silent
annotation provided by thesilencer
plugin that is not compatible with Scala 3.3.0.The text was updated successfully, but these errors were encountered: