Skip to content

avoid deprecated method used in test code (#742) #1703

avoid deprecated method used in test code (#742)

avoid deprecated method used in test code (#742) #1703

Triggered via push September 3, 2025 18:44
Status Cancelled
Total duration 5m 53s
Artifacts
Matrix: Compile and test
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 60 warnings
Compile and test (3.3, 8)
The operation was canceled.
Compile and test (3.3, 8)
Canceling since a higher priority waiting request for ci-refs/heads/main exists
Compile and test (2.12, 8)
The operation was canceled.
Compile and test (2.12, 8)
Canceling since a higher priority waiting request for ci-refs/heads/main exists
Compile and test (2.13, 8)
The operation was canceled.
Compile and test (2.13, 11)
The operation was canceled.
Compile and test (2.13, 8)
Canceling since a higher priority waiting request for ci-refs/heads/main exists
Compile and test (2.13, 11)
Canceling since a higher priority waiting request for ci-refs/heads/main exists
Compile and test (2.12, 11)
The operation was canceled.
Compile and test (2.12, 11)
Canceling since a higher priority waiting request for ci-refs/heads/main exists
Compile and test (3.3, 11)
The operation was canceled.
Compile and test (3.3, 11)
Canceling since a higher priority waiting request for ci-refs/heads/main exists
Validate and test
Canceling since a higher priority waiting request for ci-refs/heads/main exists
Compile and test (3.3, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/HostConnectionPoolSpec.scala#L134
pattern binding uses refutable extractor `org.apache.pekko.http.scaladsl.model.HttpRequest`
Compile and test (3.3, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/HostConnectionPoolSpec.scala#L113
pattern binding uses refutable extractor `org.apache.pekko.http.scaladsl.model.HttpRequest`
Compile and test (3.3, 8): http-core/src/main/scala/org/apache/pekko/http/impl/util/Rendering.scala#L155
the type test for scala.collection.LinearSeq[T] cannot be checked at runtime because its type arguments can't be determined from scala.collection.immutable.Iterable[T]
Compile and test (3.3, 8): http-core/src/main/scala/org/apache/pekko/http/javadsl/Http.scala#L478
Unreachable case except for null (if this is intentional, consider writing case null => instead).
Compile and test (3.3, 8): http-core/src/main/scala/org/apache/pekko/http/impl/engine/http2/framing/Http2FrameParsing.scala#L160
Unreachable case except for null (if this is intentional, consider writing case null => instead).
Compile and test (3.3, 8): http-core/src/main/scala/org/apache/pekko/http/impl/util/package.scala#L61
Suspicious top-level unqualified call to synchronized
Compile and test (2.12, 8): http-core/src/main/scala/org/apache/pekko/http/scaladsl/ConnectionContext.scala#L133
class PekkoSSLConfig in package pekko is deprecated (since Akka 2.6.0): Use Tcp and TLS with SSLEngine parameters instead. Setup the SSLEngine with needed parameters.
Compile and test (2.12, 8): http-core/src/main/scala/org/apache/pekko/http/scaladsl/ConnectionContext.scala#L95
class PekkoSSLConfig in package pekko is deprecated (since Akka 2.6.0): Use Tcp and TLS with SSLEngine parameters instead. Setup the SSLEngine with needed parameters.
Compile and test (2.12, 8): http-core/src/main/scala/org/apache/pekko/http/impl/util/StreamUtils.scala#L356
method getError in class IOResult is deprecated (since Akka 2.6.0): status is always set to Success(Done)
Compile and test (2.12, 8): http-core/src/main/scala/org/apache/pekko/http/impl/util/StreamUtils.scala#L355
method wasSuccessful in class IOResult is deprecated (since Akka 2.6.0): status is always set to Success(Done)
Compile and test (2.12, 8): http-core/src/main/scala/org/apache/pekko/http/impl/engine/ws/UpgradeToWebSocketLowLevel.scala#L31
trait UpgradeToWebSocket in package ws is deprecated (since Akka HTTP 10.2.0): This low-level API has been replaced by an attribute.
Compile and test (2.12, 8): http-core/src/main/scala/org/apache/pekko/http/impl/engine/server/HttpServerBluePrint.scala#L724
method settings in class Materializer is deprecated (since Akka 2.6.0): Use attributes to access settings from stages
Compile and test (2.12, 8): http-core/src/main/scala/org/apache/pekko/http/impl/engine/server/HttpServerBluePrint.scala#L724
value timeout in class StreamSubscriptionTimeoutSettings is deprecated (since Akka 2.6.0): Use attribute 'ActorAttributes.StreamSubscriptionTimeout' to read the concrete setting value
Compile and test (2.12, 8): http-core/src/main/scala/org/apache/pekko/http/impl/engine/rendering/DateHeaderRendering.scala#L82
The value matched by Idle is bound to s, which may be used under the
Compile and test (2.13, 8): http-core/src/main/scala/org/apache/pekko/http/impl/util/StageLoggingWithOverride.scala#L47
class ActorMaterializer in package stream is deprecated (since Akka 2.6.0): The Materializer now has all methods the ActorMaterializer used to have
Compile and test (2.13, 8): http-core/src/main/scala/org/apache/pekko/http/impl/engine/ws/WebSocketClientBlueprint.scala#L120
Name protocol is already introduced in an enclosing scope as value protocol at line 117. Did you intend to match it using backquoted `protocol`?
Compile and test (2.13, 8): http-core/src/main/scala/org/apache/pekko/http/impl/engine/ws/UpgradeToWebSocketLowLevel.scala#L31
trait UpgradeToWebSocket in package ws is deprecated (since Akka HTTP 10.2.0): This low-level API has been replaced by an attribute.
Compile and test (2.13, 11): http-core/src/main/scala/org/apache/pekko/http/impl/util/StageLoggingWithOverride.scala#L47
class ActorMaterializer in package stream is deprecated (since Akka 2.6.0): The Materializer now has all methods the ActorMaterializer used to have
Compile and test (2.13, 8): http-core/src/main/scala/org/apache/pekko/http/impl/engine/server/ServerTerminator.scala#L130
Name ex is already introduced in an enclosing scope as value ex at line 114. Did you intend to match it using backquoted `ex`?
Compile and test (2.13, 11): http-core/src/main/scala/org/apache/pekko/http/impl/engine/ws/WebSocketClientBlueprint.scala#L120
Name protocol is already introduced in an enclosing scope as value protocol at line 117. Did you intend to match it using backquoted `protocol`?
Compile and test (2.13, 8): http-core/src/main/scala/org/apache/pekko/http/impl/engine/server/HttpServerBluePrint.scala#L724
method settings in class Materializer is deprecated (since Akka 2.6.0): Use attributes to access settings from stages
Compile and test (2.13, 11): http-core/src/main/scala/org/apache/pekko/http/impl/engine/ws/UpgradeToWebSocketLowLevel.scala#L31
trait UpgradeToWebSocket in package ws is deprecated (since Akka HTTP 10.2.0): This low-level API has been replaced by an attribute.
Compile and test (2.13, 8): http-core/src/main/scala/org/apache/pekko/http/impl/engine/server/HttpServerBluePrint.scala#L724
value timeout in class StreamSubscriptionTimeoutSettings is deprecated (since Akka 2.6.0): Use attribute 'ActorAttributes.StreamSubscriptionTimeout' to read the concrete setting value
Compile and test (2.13, 11): http-core/src/main/scala/org/apache/pekko/http/impl/engine/server/ServerTerminator.scala#L130
Name ex is already introduced in an enclosing scope as value ex at line 114. Did you intend to match it using backquoted `ex`?
Compile and test (2.13, 11): http-core/src/main/scala/org/apache/pekko/http/impl/engine/server/HttpServerBluePrint.scala#L724
method settings in class Materializer is deprecated (since Akka 2.6.0): Use attributes to access settings from stages
Compile and test (2.13, 11): http-core/src/main/scala/org/apache/pekko/http/impl/engine/server/HttpServerBluePrint.scala#L724
value timeout in class StreamSubscriptionTimeoutSettings is deprecated (since Akka 2.6.0): Use attribute 'ActorAttributes.StreamSubscriptionTimeout' to read the concrete setting value
Compile and test (2.12, 11): http-core/src/main/scala/org/apache/pekko/http/scaladsl/ConnectionContext.scala#L133
class PekkoSSLConfig in package pekko is deprecated (since Akka 2.6.0): Use Tcp and TLS with SSLEngine parameters instead. Setup the SSLEngine with needed parameters.
Compile and test (2.12, 11): http-core/src/main/scala/org/apache/pekko/http/scaladsl/ConnectionContext.scala#L95
class PekkoSSLConfig in package pekko is deprecated (since Akka 2.6.0): Use Tcp and TLS with SSLEngine parameters instead. Setup the SSLEngine with needed parameters.
Compile and test (2.12, 11): http-core/src/main/scala/org/apache/pekko/http/impl/util/StreamUtils.scala#L356
method getError in class IOResult is deprecated (since Akka 2.6.0): status is always set to Success(Done)
Compile and test (2.12, 11): http-core/src/main/scala/org/apache/pekko/http/impl/util/StreamUtils.scala#L355
method wasSuccessful in class IOResult is deprecated (since Akka 2.6.0): status is always set to Success(Done)
Compile and test (2.12, 11): http-core/src/main/scala/org/apache/pekko/http/impl/engine/ws/UpgradeToWebSocketLowLevel.scala#L31
trait UpgradeToWebSocket in package ws is deprecated (since Akka HTTP 10.2.0): This low-level API has been replaced by an attribute.
Compile and test (2.12, 11): http-core/src/main/scala/org/apache/pekko/http/impl/engine/server/HttpServerBluePrint.scala#L724
method settings in class Materializer is deprecated (since Akka 2.6.0): Use attributes to access settings from stages
Compile and test (2.12, 11): http-core/src/main/scala/org/apache/pekko/http/impl/engine/server/HttpServerBluePrint.scala#L724
value timeout in class StreamSubscriptionTimeoutSettings is deprecated (since Akka 2.6.0): Use attribute 'ActorAttributes.StreamSubscriptionTimeout' to read the concrete setting value
Compile and test (2.12, 11): http-core/src/main/scala/org/apache/pekko/http/impl/engine/rendering/DateHeaderRendering.scala#L82
The value matched by Idle is bound to s, which may be used under the
Compile and test (3.3, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/HostConnectionPoolSpec.scala#L134
pattern binding uses refutable extractor `org.apache.pekko.http.scaladsl.model.HttpRequest`
Compile and test (3.3, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/HostConnectionPoolSpec.scala#L113
pattern binding uses refutable extractor `org.apache.pekko.http.scaladsl.model.HttpRequest`
Compile and test (3.3, 11): http-core/src/main/scala/org/apache/pekko/http/impl/util/Rendering.scala#L155
the type test for scala.collection.LinearSeq[T] cannot be checked at runtime because its type arguments can't be determined from scala.collection.immutable.Iterable[T]
Compile and test (3.3, 11): http-core/src/main/scala/org/apache/pekko/http/javadsl/Http.scala#L478
Unreachable case except for null (if this is intentional, consider writing case null => instead).
Compile and test (3.3, 11): http-core/src/main/scala/org/apache/pekko/http/impl/engine/http2/framing/Http2FrameParsing.scala#L160
Unreachable case except for null (if this is intentional, consider writing case null => instead).
Compile and test (3.3, 11): http-core/src/main/scala/org/apache/pekko/http/impl/util/package.scala#L61
Suspicious top-level unqualified call to synchronized