pjfanning opened a new issue, #496:
URL: https://github.com/apache/pekko-grpc/issues/496
Build is configured to fail if we have compiler warnings. We need to add
`nowarn` annotations.
```
[error]
/home/runner/work/pekko-grpc/pekko-grpc/runtime/src/main/scala/org/apache/pekko/grpc/javadsl/GrpcExceptionHandler.scala:39:22:
trait Function in package japi is deprecated (since 1.2.0): Will be removed in
favor of pekko.japi.function.Function in Pekko 2.0.0
[error] def defaultMapper: jFunction[ActorSystem, jFunction[Throwable,
Trailers]] =
[error] ^
[error]
/home/runner/work/pekko-grpc/pekko-grpc/runtime/src/main/scala/org/apache/pekko/grpc/javadsl/GrpcExceptionHandler.scala:40:9:
trait Function in package japi is deprecated (since 1.2.0): Will be removed in
favor of pekko.japi.function.Function in Pekko 2.0.0
[error] new jFunction[ActorSystem, jFunction[Throwable, Trailers]] {
[error] ^
[error]
/home/runner/work/pekko-grpc/pekko-grpc/runtime/src/main/scala/org/apache/pekko/grpc/javadsl/GrpcExceptionHandler.scala:41:48:
trait Function in package japi is deprecated (since 1.2.0): Will be removed in
favor of pekko.japi.function.Function in Pekko 2.0.0
[error] override def apply(system: ActorSystem): jFunction[Throwable,
Trailers] =
[error] ^
[error]
/home/runner/work/pekko-grpc/pekko-grpc/runtime/src/main/scala/org/apache/pekko/grpc/javadsl/GrpcExceptionHandler.scala:49:45:
trait Function in package japi is deprecated (since 1.2.0): Will be removed in
favor of pekko.japi.function.Function in Pekko 2.0.0
[error] private def default(system: ActorSystem): jFunction[Throwable,
Trailers] =
[error] ^
[error]
/home/runner/work/pekko-grpc/pekko-grpc/runtime/src/main/scala/org/apache/pekko/grpc/javadsl/GrpcExceptionHandler.scala:50:9:
trait Function in package japi is deprecated (since 1.2.0): Will be removed in
favor of pekko.japi.function.Function in Pekko 2.0.0
[error] new jFunction[Throwable, Trailers] {
[error] ^
[error]
/home/runner/work/pekko-grpc/pekko-grpc/runtime/src/main/scala/org/apache/pekko/grpc/javadsl/GrpcExceptionHandler.scala:78:15:
trait Function in package japi is deprecated (since 1.2.0): Will be removed in
favor of pekko.japi.function.Function in Pekko 2.0.0
[error] mapper: jFunction[ActorSystem, jFunction[Throwable, Trailers]],
[error] ^
[error]
/home/runner/work/pekko-grpc/pekko-grpc/runtime/src/main/scala/org/apache/pekko/grpc/javadsl/GrpcMarshalling.scala:86:17:
trait Function in package japi is deprecated (since 1.2.0): Will be removed in
favor of pekko.japi.function.Function in Pekko 2.0.0
[error] eHandler: JFunction[ActorSystem, JFunction[Throwable,
Trailers]] = GrpcExceptionHandler.defaultMapper)
[error] ^
[error]
/home/runner/work/pekko-grpc/pekko-grpc/runtime/src/main/scala/org/apache/pekko/grpc/javadsl/GrpcMarshalling.scala:95:17:
trait Function in package japi is deprecated (since 1.2.0): Will be removed in
favor of pekko.japi.function.Function in Pekko 2.0.0
[error] eHandler: JFunction[ActorSystem, JFunction[Throwable,
Trailers]] = GrpcExceptionHandler.defaultMapper)
[error] ^
[error] 8 errors found
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]