Skip to content

avoid deprecated getFirst function #822

avoid deprecated getFirst function

avoid deprecated getFirst function #822

Triggered via pull request October 29, 2023 22:22
Status Failure
Total duration 13m 11s
Artifacts 6

validate-and-test.yml

on: pull_request
Matrix: Compile and test
Fit to window
Zoom out
Zoom in

Annotations

60 errors and 60 warnings
Compile and test (2.13, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L768
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.13, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L781
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.13, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L792
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.13, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L804
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.13, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/server/HttpServerSpec.scala#L1496
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.13, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/server/HttpServerSpec.scala#L1508
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.13, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/server/HttpServerSpec.scala#L1518
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.13, 8): http-tests/src/test/scala/org/apache/pekko/http/scaladsl/server/directives/MiscDirectivesSpec.scala#L159
Request was rejected with rejection MalformedRequestContentRejection(EntityStreamSizeException: incoming entity size (800) exceeded size limit (500 bytes)! This may have been a parser limit (set via `pekko.http.[server|client].parsing.max-content-length`), a decoder limit (set via `pekko.http.routing.decode-max-size`), or a custom limit set with `withSizeLimit`.,EntityStreamSizeException: incoming entity size (800) exceeded size limit (500 bytes)! This may have been a parser limit (set via `pekko.http.[server|client].parsing.max-content-length`), a decoder limit (set via `pekko.http.routing.decode-max-size`), or a custom limit set with `withSizeLimit`.)
Compile and test (2.12, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L768
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.12, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L781
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.12, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L792
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.12, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L804
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.12, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/server/HttpServerSpec.scala#L1496
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.12, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/server/HttpServerSpec.scala#L1508
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.12, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/server/HttpServerSpec.scala#L1518
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.12, 8): http-tests/src/test/scala/org/apache/pekko/http/scaladsl/server/directives/MiscDirectivesSpec.scala#L159
Request was rejected with rejection MalformedRequestContentRejection(EntityStreamSizeException: incoming entity size (800) exceeded size limit (500 bytes)! This may have been a parser limit (set via `pekko.http.[server|client].parsing.max-content-length`), a decoder limit (set via `pekko.http.routing.decode-max-size`), or a custom limit set with `withSizeLimit`.,EntityStreamSizeException: incoming entity size (800) exceeded size limit (500 bytes)! This may have been a parser limit (set via `pekko.http.[server|client].parsing.max-content-length`), a decoder limit (set via `pekko.http.routing.decode-max-size`), or a custom limit set with `withSizeLimit`.)
Compile and test (2.12, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L768
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.12, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L781
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.12, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L792
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.12, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L804
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.12, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/server/HttpServerSpec.scala#L1496
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.12, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/server/HttpServerSpec.scala#L1508
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.12, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/server/HttpServerSpec.scala#L1518
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.12, 11): http-tests/src/test/scala/org/apache/pekko/http/scaladsl/server/directives/MiscDirectivesSpec.scala#L159
Request was rejected with rejection MalformedRequestContentRejection(EntityStreamSizeException: incoming entity size (800) exceeded size limit (500 bytes)! This may have been a parser limit (set via `pekko.http.[server|client].parsing.max-content-length`), a decoder limit (set via `pekko.http.routing.decode-max-size`), or a custom limit set with `withSizeLimit`.,EntityStreamSizeException: incoming entity size (800) exceeded size limit (500 bytes)! This may have been a parser limit (set via `pekko.http.[server|client].parsing.max-content-length`), a decoder limit (set via `pekko.http.routing.decode-max-size`), or a custom limit set with `withSizeLimit`.)
Compile and test (2.13, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L768
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.13, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L781
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.13, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L792
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.13, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L804
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.13, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/server/HttpServerSpec.scala#L1496
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.13, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/server/HttpServerSpec.scala#L1508
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.13, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/server/HttpServerSpec.scala#L1518
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (2.13, 11): http-tests/src/test/scala/org/apache/pekko/http/scaladsl/server/directives/MiscDirectivesSpec.scala#L159
Request was rejected with rejection MalformedRequestContentRejection(EntityStreamSizeException: incoming entity size (800) exceeded size limit (500 bytes)! This may have been a parser limit (set via `pekko.http.[server|client].parsing.max-content-length`), a decoder limit (set via `pekko.http.routing.decode-max-size`), or a custom limit set with `withSizeLimit`.,EntityStreamSizeException: incoming entity size (800) exceeded size limit (500 bytes)! This may have been a parser limit (set via `pekko.http.[server|client].parsing.max-content-length`), a decoder limit (set via `pekko.http.routing.decode-max-size`), or a custom limit set with `withSizeLimit`.)
Compile and test (3.3, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L768
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (3.3, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L781
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (3.3, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L792
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (3.3, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L803
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (3.3, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/server/HttpServerSpec.scala#L1496
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (3.3, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/server/HttpServerSpec.scala#L1508
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (3.3, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/server/HttpServerSpec.scala#L1518
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (3.3, 11): http-tests/src/test/scala/org/apache/pekko/http/scaladsl/server/directives/MiscDirectivesSpec.scala#L148
Request was rejected with rejection MalformedRequestContentRejection(EntityStreamSizeException: incoming entity size (800) exceeded size limit (500 bytes)! This may have been a parser limit (set via `pekko.http.[server|client].parsing.max-content-length`), a decoder limit (set via `pekko.http.routing.decode-max-size`), or a custom limit set with `withSizeLimit`.,EntityStreamSizeException: incoming entity size (800) exceeded size limit (500 bytes)! This may have been a parser limit (set via `pekko.http.[server|client].parsing.max-content-length`), a decoder limit (set via `pekko.http.routing.decode-max-size`), or a custom limit set with `withSizeLimit`.)
Compile and test (3.3, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L768
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (3.3, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L781
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (3.3, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L792
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (3.3, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/LowLevelOutgoingConnectionSpec.scala#L803
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (3.3, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/server/HttpServerSpec.scala#L1496
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (3.3, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/server/HttpServerSpec.scala#L1508
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (3.3, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/server/HttpServerSpec.scala#L1518
Trying to await result of failed Future, see the cause for the original problem.
Compile and test (3.3, 8): http-tests/src/test/scala/org/apache/pekko/http/scaladsl/server/directives/MiscDirectivesSpec.scala#L148
Request was rejected with rejection MalformedRequestContentRejection(EntityStreamSizeException: incoming entity size (800) exceeded size limit (500 bytes)! This may have been a parser limit (set via `pekko.http.[server|client].parsing.max-content-length`), a decoder limit (set via `pekko.http.routing.decode-max-size`), or a custom limit set with `withSizeLimit`.,EntityStreamSizeException: incoming entity size (800) exceeded size limit (500 bytes)! This may have been a parser limit (set via `pekko.http.[server|client].parsing.max-content-length`), a decoder limit (set via `pekko.http.routing.decode-max-size`), or a custom limit set with `withSizeLimit`.)
Compile and test (2.13, 8): http-core/src/main/scala/org/apache/pekko/http/scaladsl/Http.scala#L192
@nowarn annotation does not suppress any warnings
Compile and test (2.13, 8): http-core/src/main/scala/org/apache/pekko/http/scaladsl/Http.scala#L241
@nowarn annotation does not suppress any warnings
Compile and test (2.13, 8): http-core/src/main/scala/org/apache/pekko/http/scaladsl/Http.scala#L323
@nowarn annotation does not suppress any warnings
Compile and test (2.13, 8): http-core/src/main/scala/org/apache/pekko/http/scaladsl/Http.scala#L352
@nowarn annotation does not suppress any warnings
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.12, 8): http-core/src/test/scala/org/apache/pekko/http/scaladsl/ClientTransportWithCustomResolverSpec.scala#L89
Adaptation of argument list by inserting () is deprecated: this is unlikely to be what you want.
Compile and test (2.12, 8): http-core/src/test/scala/org/apache/pekko/http/scaladsl/settings/ConnectionPoolSettingsSpec.scala#L165
local method expectError in value <local ConnectionPoolSettingsSpec> is never used
Compile and test (2.12, 8): http2-tests/src/test/scala/org/apache/pekko/http/impl/engine/http2/RequestParsingSpec.scala#L69
This catches all Throwables. If this is really intended, use `case ex : Throwable` to clear this warning.
Compile and test (2.12, 8): http-tests/src/test/scala/org/apache/pekko/http/scaladsl/RouteJavaScalaDslConversionSpec.scala#L37
local val scalaRoute in value <local RouteJavaScalaDslConversionSpec> is never used
Compile and test (2.12, 8): http-tests/src/test/scala/org/apache/pekko/http/scaladsl/RouteJavaScalaDslConversionSpec.scala#L50
local val javaRoute in value <local RouteJavaScalaDslConversionSpec> is never used
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 (2.12, 11): http-core/src/test/scala/org/apache/pekko/http/scaladsl/ClientTransportWithCustomResolverSpec.scala#L89
Adaptation of argument list by inserting () is deprecated: this is unlikely to be what you want.
Compile and test (2.12, 11): http-core/src/test/scala/org/apache/pekko/http/scaladsl/settings/ConnectionPoolSettingsSpec.scala#L165
local method expectError in value <local ConnectionPoolSettingsSpec> is never used
Compile and test (2.12, 11): http2-tests/src/test/scala/org/apache/pekko/http/impl/engine/http2/RequestParsingSpec.scala#L69
This catches all Throwables. If this is really intended, use `case ex : Throwable` to clear this warning.
Compile and test (2.12, 11): http-tests/src/test/scala/org/apache/pekko/http/scaladsl/RouteJavaScalaDslConversionSpec.scala#L37
local val scalaRoute in value <local RouteJavaScalaDslConversionSpec> is never used
Compile and test (2.12, 11): http-tests/src/test/scala/org/apache/pekko/http/scaladsl/RouteJavaScalaDslConversionSpec.scala#L50
local val javaRoute in value <local RouteJavaScalaDslConversionSpec> is never used
Compile and test (2.13, 11): http-core/src/main/scala/org/apache/pekko/http/scaladsl/Http.scala#L192
@nowarn annotation does not suppress any warnings
Compile and test (2.13, 11): http-core/src/main/scala/org/apache/pekko/http/scaladsl/Http.scala#L241
@nowarn annotation does not suppress any warnings
Compile and test (2.13, 11): http-core/src/main/scala/org/apache/pekko/http/scaladsl/Http.scala#L323
@nowarn annotation does not suppress any warnings
Compile and test (2.13, 11): http-core/src/main/scala/org/apache/pekko/http/scaladsl/Http.scala#L352
@nowarn annotation does not suppress any warnings
Compile and test (3.3, 11): http-core/target/scala-3.3.1/src_managed/HttpMessage.scala#L369
pattern's type org.apache.pekko.http.scaladsl.model.headers.Cookie is more specialized than the right hand side expression's type org.apache.pekko.http.scaladsl.model.HttpHeader
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
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/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/target/scala-3.3.1/src_managed/HttpMessage.scala#L369
pattern's type org.apache.pekko.http.scaladsl.model.headers.Cookie is more specialized than the right hand side expression's type org.apache.pekko.http.scaladsl.model.HttpHeader
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 (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/javadsl/Http.scala#L478
Unreachable case except for null (if this is intentional, consider writing case null => instead).

Artifacts

Produced during runtime
Name Size
test-results-11-2.12 Expired
2.35 MB
test-results-11-2.13 Expired
2.35 MB
test-results-11-3.3 Expired
2.36 MB
test-results-8-2.12 Expired
2.46 MB
test-results-8-2.13 Expired
2.46 MB
test-results-8-3.3 Expired
2.47 MB