mdedetrich commented on PR #1195:
URL: https://github.com/apache/incubator-pekko/pull/1195#issuecomment-2005842448
> > Build is broken
>
> Not sure what is broken, I am able to compile locally.
The build for Pekko core is a bit complicated as we use different JDK's to
produce different outputs. In this case its generating docs with JKD11 using
JDK 9 specific classes that is causing the failure, specifically running `sbt
";+TestJdk9 / compile ; +compile:doc"` using JDK 11.
Doing so produces the following error
```
[error]
/home/runner/work/incubator-pekko/incubator-pekko/actor-typed-tests/src/test/scala/org/apache/pekko/actor/typed/eventstream/EventStreamDocSpec.scala:45:27:
overloaded method value info with alternatives:
[error] (x$1: org.slf4j.Marker,x$2: String,x$3: Object*)Unit <and>
[error] (x$1: org.slf4j.Marker,x$2: String,x$3: Any,x$4: Any)Unit <and>
[error] (x$1: String,x$2: Object*)Unit
[error] cannot be applied to (String, String, String, Any)
[error] context.log.info("Dead letter received from sender
({}) to recipient ({}) with message: {}",
[error] ^
[error]
/home/runner/work/incubator-pekko/incubator-pekko/actor-typed-tests/src/test/scala/org/apache/pekko/actor/typed/eventstream/EventStreamDocSpec.scala:69:31:
overloaded method value info with alternatives:
[error] (x$1: org.slf4j.Marker,x$2: String,x$3: Object*)Unit <and>
[error] (x$1: org.slf4j.Marker,x$2: String,x$3: Any,x$4: Any)Unit <and>
[error] (x$1: String,x$2: Object*)Unit
[error] cannot be applied to (String, String, String, Any)
[error] context.log.info("DeadLetter received from sender
({}) to recipient ({}) with message: {}",
[error] ^
[error]
/home/runner/work/incubator-pekko/incubator-pekko/actor-typed-tests/src/test/scala/org/apache/pekko/actor/typed/eventstream/EventStreamDocSpec.scala:73:31:
overloaded method value info with alternatives:
[error] (x$1: org.slf4j.Marker,x$2: String,x$3: Object*)Unit <and>
[error] (x$1: String,x$2: Object*)Unit
[error] cannot be applied to (String, String, String, String, Any)
[error] context.log.info("Dropped: sender ({}) to
recipient ({}) with message: {}, reason: {}",
[error] ^
[error]
/home/runner/work/incubator-pekko/incubator-pekko/actor-typed-tests/src/test/scala/org/apache/pekko/actor/typed/eventstream/EventStreamDocSpec.scala:82:31:
overloaded method value info with alternatives:
[error] (x$1: org.slf4j.Marker,x$2: String,x$3: Object*)Unit <and>
[error] (x$1: org.slf4j.Marker,x$2: String,x$3: Any,x$4: Any)Unit <and>
[error] (x$1: String,x$2: Object*)Unit
[error] cannot be applied to (String, String, String, Any)
[error] context.log.info("UnhandledMessage received from
sender ({}) to recipient ({}) with message: {}",
[error] ^
[error] four errors found
```
So its an issue with unresolved resolution of overloaded `log.info`
--
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]