Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve Sonarlint S4276 - Functional Interfaces should be as specialised as possible #25521

Conversation

JackPGreen
Copy link
Contributor

@JackPGreen JackPGreen commented Sep 24, 2023

Replace functional interfaces (e.g. Function<String, String>) with specialised declaration (e.g. UnaryOperator<String>)

https://rules.sonarsource.com/java/RSPEC-4276/

@JackPGreen JackPGreen added Team: Core Type: Cleanup Source: Internal PR or issue was opened by an employee labels Sep 24, 2023
@JackPGreen JackPGreen added this to the 5.4 Backlog milestone Sep 24, 2023
@JackPGreen JackPGreen self-assigned this Sep 24, 2023
@hz-devops-test
Copy link

The job Hazelcast-pr-builder of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast/src/main/java/com/hazelcast/client/impl/NoOpClientEngine.java:37:8: Unused import - java.util.function.Consumer. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:28:8: Unused import - java.util.function.Consumer. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast/src/main/java/com/hazelcast/internal/metrics/impl/MetricsConfigHelper.java:33:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:40:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:44:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast/src/main/java/com/hazelcast/kubernetes/KubernetesApiEndpointResolver.java:30:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:43:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast: An error has occurred in CheProcess leaked file descriptors. See https://www.jenkins.io/redirect/troubleshooting/process-leaked-file-descriptors for more informationckstyle report generation. Failed during checkstyle execution: There are 7 errors reported by Checkstyle 9.3 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-EE-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
--------------------------
---------SUMMARY----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/jet/impl/execution/init/ExecutionPlanBuilder.java:[304,13] cannot find symbol
--------------------------
---------ERRORS-----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/jet/impl/execution/init/ExecutionPlanBuilder.java:[304,13] cannot find symbol
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:[34,20] cannot find symbol
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project hazelcast: Compilation failure: Compilation failure: 
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/jet/impl/execution/init/ExecutionPlanBuilder.java:[304,13] cannot find symbol
--------------------------
[ERROR]   symbol:   class ToIntFunction
--------------------------
[ERROR]   location: class com.hazelcast.jet.impl.execution.init.ExecutionPlanBuilder
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:[34,20] cannot find symbol
--------------------------
[ERROR]   symbol: class LongConsumer
--------------------------
[ERROR] -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/client/impl/NoOpClientEngine.java:37:8: Unused import - java.util.function.Consumer. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:28:8: Unused import - java.util.function.Consumer. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:44:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:40:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/metrics/impl/MetricsConfigHelper.java:33:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/kubernetes/KubernetesApiEndpointResolver.java:30:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:43:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There are 7 errors reported by Checkstyle 9.3 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-EE-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
--------------------------
---------SUMMARY----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[772,20] method getPrimitiveArrayAsNullableArray in class com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord cannot be applied to given types;
--------------------------
---------ERRORS-----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[772,20] method getPrimitiveArrayAsNullableArray in class com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord cannot be applied to given types;
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[774,20] no suitable method found for getArrayOfVariableSize(com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.Function,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader)
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/cache/impl/CacheEventHandler.java:[59,89] incompatible types: java.util.function.Predicate cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/cache/impl/CacheEventHandler.java:[61,57] incompatible types: java.util.function.Predicate cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/eviction/ClearExpiredRecordsTask.java:[99,40] incompatible types: java.util.function.BiFunction cannot be converted to java.util.function.BiPredicate
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/jet/impl/execution/init/ExecutionPlanBuilder.java:[310,34] cannot find symbol
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:[85,89] incompatible types: com.hazelcast.map.impl.nearcache.MapNearCacheManager.InvalidationAcceptorFilter cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:[87,57] incompatible types: com.hazelcast.map.impl.nearcache.MapNearCacheManager.InvalidationAcceptorFilter cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[406,43] incompatible types: java.lang.Integer cannot be converted to T[]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[424,63] incompatible types: bad return type in method reference
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[430,60] incompatible types: bad return type in method reference
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[436,60] incompatible types: bad return type in method reference
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[442,65] incompatible types: bad return type in method reference
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[448,79] incompatible types: bad return type in method reference
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/client/impl/ClientEngineImpl.java:[530,41] incompatible types: java.util.function.LongConsumer cannot be converted to java.util.function.Consumer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:[33,8] com.hazelcast.client.impl.protocol.task.AddBackupListenerMessageTask is not abstract and does not override abstract method accept(long) in java.util.function.LongConsumer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:[62,5] method does not override or implement a method from a supertype
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[538,43] incompatible types: bad return type in method reference
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[544,43] incompatible types: bad return type in method reference
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[580,46] incompatible types: java.lang.Integer cannot be converted to T[]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[916,31] incompatible types: cannot infer type-variable(s) T
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project hazelcast: Compilation failure: Compilation failure: 
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[772,20] method getPrimitiveArrayAsNullableArray in class com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord cannot be applied to given types;
--------------------------
[ERROR]   required: com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.IntFunction,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader
--------------------------
[ERROR]   found: com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.Function,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader
--------------------------
[ERROR]   reason: cannot infer type-variable(s) T
--------------------------
[ERROR]     (argument mismatch; java.util.function.Function cannot be converted to java.util.function.IntFunction)
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[774,20] no suitable method found for getArrayOfVariableSize(com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.Function,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader)
--------------------------
[ERROR]     method com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.getArrayOfVariableSize(com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.IntFunction,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader) is not applicable
--------------------------
[ERROR]       (cannot infer type-variable(s) T
--------------------------
[ERROR]         (argument mismatch; java.util.function.Function cannot be converted to java.util.function.IntFunction))
--------------------------
[ERROR]     method com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.getArrayOfVariableSize(java.lang.String,com.hazelcast.nio.serialization.FieldKind,java.util.function.IntFunction,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader) is not applicable
--------------------------
[ERROR]       (cannot infer type-variable(s) T
--------------------------
[ERROR]         (actual and formal argument lists differ in length))
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/cache/impl/CacheEventHandler.java:[59,89] incompatible types: java.util.function.Predicate cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/cache/impl/CacheEventHandler.java:[61,57] incompatible types: java.util.function.Predicate cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/eviction/ClearExpiredRecordsTask.java:[99,40] incompatible types: java.util.function.BiFunction cannot be converted to java.util.function.BiPredicate
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/jet/impl/execution/init/ExecutionPlanBuilder.java:[310,34] cannot find symbol
--------------------------
[ERROR]   symbol:   method apply(com.hazelcast.jet.core.Edge)
--------------------------
[ERROR]   location: variable oppositeVtxId of type java.util.function.ToIntFunction
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:[85,89] incompatible types: com.hazelcast.map.impl.nearcache.MapNearCacheManager.InvalidationAcceptorFilter cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:[87,57] incompatible types: com.hazelcast.map.impl.nearcache.MapNearCacheManager.InvalidationAcceptorFilter cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[406,43] incompatible types: java.lang.Integer cannot be converted to T[]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[424,63] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.math.BigDecimal[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[430,60] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.time.LocalTime[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[436,60] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.time.LocalDate[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[442,65] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.time.LocalDateTime[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[448,79] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.time.OffsetDateTime[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/client/impl/ClientEngineImpl.java:[530,41] incompatible types: java.util.function.LongConsumer cannot be converted to java.util.function.Consumer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:[33,8] com.hazelcast.client.impl.protocol.task.AddBackupListenerMessageTask is not abstract and does not override abstract method accept(long) in java.util.function.LongConsumer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:[62,5] method does not override or implement a method from a supertype
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[538,43] incompatible types: bad return type in method reference
--------------------------
[ERROR]     com.hazelcast.nio.serialization.genericrecord.GenericRecord[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[544,43] incompatible types: bad return type in method reference
--------------------------
[ERROR]     com.hazelcast.internal.serialization.impl.InternalGenericRecord[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[580,46] incompatible types: java.lang.Integer cannot be converted to T[]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[916,31] incompatible types: cannot infer type-variable(s) T
--------------------------
[ERROR]     (argument mismatch; bad return type in lambda expression
--------------------------
[ERROR]       T[] cannot be converted to java.lang.Integer)
--------------------------
[ERROR] -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-builder of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast/src/main/java/com/hazelcast/client/impl/NoOpClientEngine.java:37:8: Unused import - java.util.function.Consumer. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:28:8: Unused import - java.util.function.Consumer. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast/src/main/java/com/hazelcast/internal/metrics/impl/MetricsConfigHelper.java:33:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:40:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:44:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast/src/main/java/com/hazelcast/kubernetes/KubernetesApiEndpointResolver.java:30:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:43:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There are 7 errors reported by Checkstyle 9.3 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/client/impl/NoOpClientEngine.java:37:8: Unused import - java.util.function.Consumer. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:28:8: Unused import - java.util.function.Consumer. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/metrics/impl/MetricsConfigHelper.java:33:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:40:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:44:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/kubernetes/KubernetesApiEndpointResolver.java:30:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:43:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There are 7 errors reported by Checkstyle 9.3 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-EE-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
--------------------------
---------SUMMARY----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[772,20] method getPrimitiveArrayAsNullableArray in class com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord cannot be applied to given types;
--------------------------
---------ERRORS-----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[772,20] method getPrimitiveArrayAsNullableArray in class com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord cannot be applied to given types;
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[774,20] no suitable method found for getArrayOfVariableSize(com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.Function,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader)
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/cache/impl/CacheEventHandler.java:[59,89] incompatible types: java.util.function.Predicate cannot be converted to java.util.function.Function
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/cache/impl/CacheEventHandler.java:[61,57] incompatible types: java.util.function.Predicate cannot be converted to java.util.function.Function
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/eviction/ClearExpiredRecordsTask.java:[99,40] incompatible types: java.util.function.BiFunction cannot be converted to java.util.function.BiPredicate
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/jet/impl/execution/init/ExecutionPlanBuilder.java:[310,34] cannot find symbol
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:[85,89] incompatible types: com.hazelcast.map.impl.nearcache.MapNearCacheManager.InvalidationAcceptorFilter cannot be converted to java.util.function.Function
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:[87,57] incompatible types: com.hazelcast.map.impl.nearcache.MapNearCacheManager.InvalidationAcceptorFilter cannot be converted to java.util.function.Function
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:[33,8] com.hazelcast.client.impl.protocol.task.AddBackupListenerMessageTask is not abstract and does not override abstract method accept(long) in java.util.function.LongConsumer
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:[62,5] method does not override or implement a method from a supertype
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/client/impl/ClientEngineImpl.java:[530,41] incompatible types: java.util.function.LongConsumer cannot be converted to java.util.function.Consumer
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[406,43] incompatible types: java.lang.Integer cannot be converted to T[]
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[424,63] incompatible types: bad return type in method reference
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[430,60] incompatible types: bad return type in method reference
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[436,60] incompatible types: bad return type in method reference
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[442,65] incompatible types: bad return type in method reference
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[448,79] incompatible types: bad return type in method reference
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[538,43] incompatible types: bad return type in method reference
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[544,43] incompatible types: bad return type in method reference
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[580,46] incompatible types: java.lang.Integer cannot be converted to T[]
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[916,31] incompatible types: cannot infer type-variable(s) T
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project hazelcast: Compilation failure: Compilation failure: 
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[772,20] method getPrimitiveArrayAsNullableArray in class com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord cannot be applied to given types;
--------------------------
[ERROR]   required: com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.IntFunction,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader
--------------------------
[ERROR]   found: com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.Function,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader
--------------------------
[ERROR]   reason: cannot infer type-variable(s) T
--------------------------
[ERROR]     (argument mismatch; java.util.function.Function cannot be converted to java.util.function.IntFunction)
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[774,20] no suitable method found for getArrayOfVariableSize(com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.Function,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader)
--------------------------
[ERROR]     method com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.getArrayOfVariableSize(com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.IntFunction,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader) is not applicable
--------------------------
[ERROR]       (cannot infer type-variable(s) T
--------------------------
[ERROR]         (argument mismatch; java.util.function.Function cannot be converted to java.util.function.IntFunction))
--------------------------
[ERROR]     method com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.getArrayOfVariableSize(java.lang.String,com.hazelcast.nio.serialization.FieldKind,java.util.function.IntFunction,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader) is not applicable
--------------------------
[ERROR]       (cannot infer type-variable(s) T
--------------------------
[ERROR]         (actual and formal argument lists differ in length))
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/cache/impl/CacheEventHandler.java:[59,89] incompatible types: java.util.function.Predicate cannot be converted to java.util.function.Function
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/cache/impl/CacheEventHandler.java:[61,57] incompatible types: java.util.function.Predicate cannot be converted to java.util.function.Function
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/eviction/ClearExpiredRecordsTask.java:[99,40] incompatible types: java.util.function.BiFunction cannot be converted to java.util.function.BiPredicate
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/jet/impl/execution/init/ExecutionPlanBuilder.java:[310,34] cannot find symbol
--------------------------
[ERROR]   symbol:   method apply(com.hazelcast.jet.core.Edge)
--------------------------
[ERROR]   location: variable oppositeVtxId of type java.util.function.ToIntFunction
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:[85,89] incompatible types: com.hazelcast.map.impl.nearcache.MapNearCacheManager.InvalidationAcceptorFilter cannot be converted to java.util.function.Function
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:[87,57] incompatible types: com.hazelcast.map.impl.nearcache.MapNearCacheManager.InvalidationAcceptorFilter cannot be converted to java.util.function.Function
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:[33,8] com.hazelcast.client.impl.protocol.task.AddBackupListenerMessageTask is not abstract and does not override abstract method accept(long) in java.util.function.LongConsumer
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:[62,5] method does not override or implement a method from a supertype
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/client/impl/ClientEngineImpl.java:[530,41] incompatible types: java.util.function.LongConsumer cannot be converted to java.util.function.Consumer
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[406,43] incompatible types: java.lang.Integer cannot be converted to T[]
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[424,63] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.math.BigDecimal[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[430,60] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.time.LocalTime[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[436,60] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.time.LocalDate[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[442,65] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.time.LocalDateTime[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[448,79] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.time.OffsetDateTime[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[538,43] incompatible types: bad return type in method reference
--------------------------
[ERROR]     com.hazelcast.nio.serialization.genericrecord.GenericRecord[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[544,43] incompatible types: bad return type in method reference
--------------------------
[ERROR]     com.hazelcast.internal.serialization.impl.InternalGenericRecord[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[580,46] incompatible types: java.lang.Integer cannot be converted to T[]
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[916,31] incompatible types: cannot infer type-variable(s) T
--------------------------
[ERROR]     (argument mismatch; bad return type in lambda expression
--------------------------
[ERROR]       T[] cannot be converted to java.lang.Integer)
--------------------------
[ERROR] -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-builder of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_3/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:28:8: Unused import - java.util.function.Consumer. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_3/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:44:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_3/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:40:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_3/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:43:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There are 4 errors reported by Checkstyle 9.3 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_3/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler_2/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:43:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler_2/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:40:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler_2/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:44:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler_2/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:28:8: Unused import - java.util.function.Consumer. [UnusedImports]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There are 4 errors reported by Checkstyle 9.3 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler_2/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-builder of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
--------------------------
---------SUMMARY----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[772,20] method getPrimitiveArrayAsNullableArray in class com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord cannot be applied to given types;
--------------------------
---------ERRORS-----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[772,20] method getPrimitiveArrayAsNullableArray in class com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord cannot be applied to given types;
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[774,20] no suitable method found for getArrayOfVariableSize(com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.Function,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader)
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/jet/impl/execution/init/ExecutionPlanBuilder.java:[310,34] cannot find symbol
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/eviction/ClearExpiredRecordsTask.java:[99,40] incompatible types: java.util.function.BiFunction cannot be converted to java.util.function.BiPredicate
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:[84,89] incompatible types: com.hazelcast.map.impl.nearcache.MapNearCacheManager.InvalidationAcceptorFilter cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:[86,57] incompatible types: com.hazelcast.map.impl.nearcache.MapNearCacheManager.InvalidationAcceptorFilter cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/cache/impl/CacheEventHandler.java:[59,89] incompatible types: java.util.function.Predicate cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/cache/impl/CacheEventHandler.java:[61,57] incompatible types: java.util.function.Predicate cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/client/impl/ClientEngineImpl.java:[530,41] incompatible types: java.util.function.LongConsumer cannot be converted to java.util.function.Consumer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[405,43] incompatible types: java.lang.Integer cannot be converted to T[]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[423,63] incompatible types: bad return type in method reference
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[429,60] incompatible types: bad return type in method reference
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[435,60] incompatible types: bad return type in method reference
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[441,65] incompatible types: bad return type in method reference
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[447,79] incompatible types: bad return type in method reference
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[537,43] incompatible types: bad return type in method reference
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[543,43] incompatible types: bad return type in method reference
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[579,46] incompatible types: java.lang.Integer cannot be converted to T[]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[915,31] incompatible types: cannot infer type-variable(s) T
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:[32,8] com.hazelcast.client.impl.protocol.task.AddBackupListenerMessageTask is not abstract and does not override abstract method accept(long) in java.util.function.LongConsumer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:[61,5] method does not override or implement a method from a supertype
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project hazelcast: Compilation failure: Compilation failure: 
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[772,20] method getPrimitiveArrayAsNullableArray in class com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord cannot be applied to given types;
--------------------------
[ERROR]   required: com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.IntFunction,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader
--------------------------
[ERROR]   found: com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.Function,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader
--------------------------
[ERROR]   reason: cannot infer type-variable(s) T
--------------------------
[ERROR]     (argument mismatch; java.util.function.Function cannot be converted to java.util.function.IntFunction)
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[774,20] no suitable method found for getArrayOfVariableSize(com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.Function,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader)
--------------------------
[ERROR]     method com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.getArrayOfVariableSize(com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.IntFunction,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader) is not applicable
--------------------------
[ERROR]       (cannot infer type-variable(s) T
--------------------------
[ERROR]         (argument mismatch; java.util.function.Function cannot be converted to java.util.function.IntFunction))
--------------------------
[ERROR]     method com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.getArrayOfVariableSize(java.lang.String,com.hazelcast.nio.serialization.FieldKind,java.util.function.IntFunction,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader) is not applicable
--------------------------
[ERROR]       (cannot infer type-variable(s) T
--------------------------
[ERROR]         (actual and formal argument lists differ in length))
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/jet/impl/execution/init/ExecutionPlanBuilder.java:[310,34] cannot find symbol
--------------------------
[ERROR]   symbol:   method apply(com.hazelcast.jet.core.Edge)
--------------------------
[ERROR]   location: variable oppositeVtxId of type java.util.function.ToIntFunction
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/eviction/ClearExpiredRecordsTask.java:[99,40] incompatible types: java.util.function.BiFunction cannot be converted to java.util.function.BiPredicate
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:[84,89] incompatible types: com.hazelcast.map.impl.nearcache.MapNearCacheManager.InvalidationAcceptorFilter cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:[86,57] incompatible types: com.hazelcast.map.impl.nearcache.MapNearCacheManager.InvalidationAcceptorFilter cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/cache/impl/CacheEventHandler.java:[59,89] incompatible types: java.util.function.Predicate cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/cache/impl/CacheEventHandler.java:[61,57] incompatible types: java.util.function.Predicate cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/client/impl/ClientEngineImpl.java:[530,41] incompatible types: java.util.function.LongConsumer cannot be converted to java.util.function.Consumer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[405,43] incompatible types: java.lang.Integer cannot be converted to T[]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[423,63] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.math.BigDecimal[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[429,60] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.time.LocalTime[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[435,60] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.time.LocalDate[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[441,65] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.time.LocalDateTime[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[447,79] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.time.OffsetDateTime[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[537,43] incompatible types: bad return type in method reference
--------------------------
[ERROR]     com.hazelcast.nio.serialization.genericrecord.GenericRecord[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[543,43] incompatible types: bad return type in method reference
--------------------------
[ERROR]     com.hazelcast.internal.serialization.impl.InternalGenericRecord[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[579,46] incompatible types: java.lang.Integer cannot be converted to T[]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[915,31] incompatible types: cannot infer type-variable(s) T
--------------------------
[ERROR]     (argument mismatch; bad return type in lambda expression
--------------------------
[ERROR]       T[] cannot be converted to java.lang.Integer)
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:[32,8] com.hazelcast.client.impl.protocol.task.AddBackupListenerMessageTask is not abstract and does not override abstract method accept(long) in java.util.function.LongConsumer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:[61,5] method does not override or implement a method from a supertype
--------------------------
[ERROR] -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-EE-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
--------------------------
---------SUMMARY----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[772,20] method getPrimitiveArrayAsNullableArray in class com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord cannot be applied to given types;
--------------------------
---------ERRORS-----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[772,20] method getPrimitiveArrayAsNullableArray in class com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord cannot be applied to given types;
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[774,20] no suitable method found for getArrayOfVariableSize(com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.Function,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader)
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/cache/impl/CacheEventHandler.java:[59,89] incompatible types: java.util.function.Predicate cannot be converted to java.util.function.Function
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/cache/impl/CacheEventHandler.java:[61,57] incompatible types: java.util.function.Predicate cannot be converted to java.util.function.Function
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/eviction/ClearExpiredRecordsTask.java:[99,40] incompatible types: java.util.function.BiFunction cannot be converted to java.util.function.BiPredicate
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/jet/impl/execution/init/ExecutionPlanBuilder.java:[310,34] cannot find symbol
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:[84,89] incompatible types: com.hazelcast.map.impl.nearcache.MapNearCacheManager.InvalidationAcceptorFilter cannot be converted to java.util.function.Function
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:[86,57] incompatible types: com.hazelcast.map.impl.nearcache.MapNearCacheManager.InvalidationAcceptorFilter cannot be converted to java.util.function.Function
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[405,43] incompatible types: java.lang.Integer cannot be converted to T[]
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[423,63] incompatible types: bad return type in method reference
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[429,60] incompatible types: bad return type in method reference
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[435,60] incompatible types: bad return type in method reference
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[441,65] incompatible types: bad return type in method reference
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[447,79] incompatible types: bad return type in method reference
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/client/impl/ClientEngineImpl.java:[530,41] incompatible types: java.util.function.LongConsumer cannot be converted to java.util.function.Consumer
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[537,43] incompatible types: bad return type in method reference
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[543,43] incompatible types: bad return type in method reference
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[579,46] incompatible types: java.lang.Integer cannot be converted to T[]
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[915,31] incompatible types: cannot infer type-variable(s) T
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:[32,8] com.hazelcast.client.impl.protocol.task.AddBackupListenerMessageTask is not abstract and does not override abstract method accept(long) in java.util.function.LongConsumer
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:[61,5] method does not override or implement a method from a supertype
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project hazelcast: Compilation failure: Compilation failure: 
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[772,20] method getPrimitiveArrayAsNullableArray in class com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord cannot be applied to given types;
--------------------------
[ERROR]   required: com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.IntFunction,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader
--------------------------
[ERROR]   found: com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.Function,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader
--------------------------
[ERROR]   reason: cannot infer type-variable(s) T
--------------------------
[ERROR]     (argument mismatch; java.util.function.Function cannot be converted to java.util.function.IntFunction)
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[774,20] no suitable method found for getArrayOfVariableSize(com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.Function,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader)
--------------------------
[ERROR]     method com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.getArrayOfVariableSize(com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.IntFunction,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader) is not applicable
--------------------------
[ERROR]       (cannot infer type-variable(s) T
--------------------------
[ERROR]         (argument mismatch; java.util.function.Function cannot be converted to java.util.function.IntFunction))
--------------------------
[ERROR]     method com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.getArrayOfVariableSize(java.lang.String,com.hazelcast.nio.serialization.FieldKind,java.util.function.IntFunction,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader) is not applicable
--------------------------
[ERROR]       (cannot infer type-variable(s) T
--------------------------
[ERROR]         (actual and formal argument lists differ in length))
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/cache/impl/CacheEventHandler.java:[59,89] incompatible types: java.util.function.Predicate cannot be converted to java.util.function.Function
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/cache/impl/CacheEventHandler.java:[61,57] incompatible types: java.util.function.Predicate cannot be converted to java.util.function.Function
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/eviction/ClearExpiredRecordsTask.java:[99,40] incompatible types: java.util.function.BiFunction cannot be converted to java.util.function.BiPredicate
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/jet/impl/execution/init/ExecutionPlanBuilder.java:[310,34] cannot find symbol
--------------------------
[ERROR]   symbol:   method apply(com.hazelcast.jet.core.Edge)
--------------------------
[ERROR]   location: variable oppositeVtxId of type java.util.function.ToIntFunction
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:[84,89] incompatible types: com.hazelcast.map.impl.nearcache.MapNearCacheManager.InvalidationAcceptorFilter cannot be converted to java.util.function.Function
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:[86,57] incompatible types: com.hazelcast.map.impl.nearcache.MapNearCacheManager.InvalidationAcceptorFilter cannot be converted to java.util.function.Function
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[405,43] incompatible types: java.lang.Integer cannot be converted to T[]
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[423,63] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.math.BigDecimal[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[429,60] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.time.LocalTime[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[435,60] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.time.LocalDate[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[441,65] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.time.LocalDateTime[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[447,79] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.time.OffsetDateTime[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/client/impl/ClientEngineImpl.java:[530,41] incompatible types: java.util.function.LongConsumer cannot be converted to java.util.function.Consumer
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[537,43] incompatible types: bad return type in method reference
--------------------------
[ERROR]     com.hazelcast.nio.serialization.genericrecord.GenericRecord[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[543,43] incompatible types: bad return type in method reference
--------------------------
[ERROR]     com.hazelcast.internal.serialization.impl.InternalGenericRecord[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[579,46] incompatible types: java.lang.Integer cannot be converted to T[]
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[915,31] incompatible types: cannot infer type-variable(s) T
--------------------------
[ERROR]     (argument mismatch; bad return type in lambda expression
--------------------------
[ERROR]       T[] cannot be converted to java.lang.Integer)
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:[32,8] com.hazelcast.client.impl.protocol.task.AddBackupListenerMessageTask is not abstract and does not override abstract method accept(long) in java.util.function.LongConsumer
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:[61,5] method does not override or implement a method from a supertype
--------------------------
[ERROR] -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
--------------------------
---------SUMMARY----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[772,20] method getPrimitiveArrayAsNullableArray in class com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord cannot be applied to given types;
--------------------------
---------ERRORS-----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[772,20] method getPrimitiveArrayAsNullableArray in class com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord cannot be applied to given types;
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[774,20] no suitable method found for getArrayOfVariableSize(com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.Function,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader)
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/cache/impl/CacheEventHandler.java:[59,89] incompatible types: java.util.function.Predicate cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/cache/impl/CacheEventHandler.java:[61,57] incompatible types: java.util.function.Predicate cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/eviction/ClearExpiredRecordsTask.java:[99,40] incompatible types: java.util.function.BiFunction cannot be converted to java.util.function.BiPredicate
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/jet/impl/execution/init/ExecutionPlanBuilder.java:[310,34] cannot find symbol
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:[84,89] incompatible types: com.hazelcast.map.impl.nearcache.MapNearCacheManager.InvalidationAcceptorFilter cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:[86,57] incompatible types: com.hazelcast.map.impl.nearcache.MapNearCacheManager.InvalidationAcceptorFilter cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[537,43] incompatible types: bad return type in method reference
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[543,43] incompatible types: bad return type in method reference
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[579,46] incompatible types: java.lang.Integer cannot be converted to T[]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[915,31] incompatible types: cannot infer type-variable(s) T
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[405,43] incompatible types: java.lang.Integer cannot be converted to T[]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[423,63] incompatible types: bad return type in method reference
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[429,60] incompatible types: bad return type in method reference
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[435,60] incompatible types: bad return type in method reference
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[441,65] incompatible types: bad return type in method reference
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[447,79] incompatible types: bad return type in method reference
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/client/impl/ClientEngineImpl.java:[530,41] incompatible types: java.util.function.LongConsumer cannot be converted to java.util.function.Consumer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:[32,8] com.hazelcast.client.impl.protocol.task.AddBackupListenerMessageTask is not abstract and does not override abstract method accept(long) in java.util.function.LongConsumer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:[61,5] method does not override or implement a method from a supertype
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project hazelcast: Compilation failure: Compilation failure: 
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[772,20] method getPrimitiveArrayAsNullableArray in class com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord cannot be applied to given types;
--------------------------
[ERROR]   required: com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.IntFunction,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader
--------------------------
[ERROR]   found: com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.Function,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader
--------------------------
[ERROR]   reason: cannot infer type-variable(s) T
--------------------------
[ERROR]     (argument mismatch; java.util.function.Function cannot be converted to java.util.function.IntFunction)
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[774,20] no suitable method found for getArrayOfVariableSize(com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.Function,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader)
--------------------------
[ERROR]     method com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.getArrayOfVariableSize(com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.IntFunction,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader) is not applicable
--------------------------
[ERROR]       (cannot infer type-variable(s) T
--------------------------
[ERROR]         (argument mismatch; java.util.function.Function cannot be converted to java.util.function.IntFunction))
--------------------------
[ERROR]     method com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.getArrayOfVariableSize(java.lang.String,com.hazelcast.nio.serialization.FieldKind,java.util.function.IntFunction,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader) is not applicable
--------------------------
[ERROR]       (cannot infer type-variable(s) T
--------------------------
[ERROR]         (actual and formal argument lists differ in length))
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/cache/impl/CacheEventHandler.java:[59,89] incompatible types: java.util.function.Predicate cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/cache/impl/CacheEventHandler.java:[61,57] incompatible types: java.util.function.Predicate cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/eviction/ClearExpiredRecordsTask.java:[99,40] incompatible types: java.util.function.BiFunction cannot be converted to java.util.function.BiPredicate
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/jet/impl/execution/init/ExecutionPlanBuilder.java:[310,34] cannot find symbol
--------------------------
[ERROR]   symbol:   method apply(com.hazelcast.jet.core.Edge)
--------------------------
[ERROR]   location: variable oppositeVtxId of type java.util.function.ToIntFunction
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:[84,89] incompatible types: com.hazelcast.map.impl.nearcache.MapNearCacheManager.InvalidationAcceptorFilter cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/map/impl/nearcache/MapNearCacheManager.java:[86,57] incompatible types: com.hazelcast.map.impl.nearcache.MapNearCacheManager.InvalidationAcceptorFilter cannot be converted to java.util.function.Function
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[537,43] incompatible types: bad return type in method reference
--------------------------
[ERROR]     com.hazelcast.nio.serialization.genericrecord.GenericRecord[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[543,43] incompatible types: bad return type in method reference
--------------------------
[ERROR]     com.hazelcast.internal.serialization.impl.InternalGenericRecord[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[579,46] incompatible types: java.lang.Integer cannot be converted to T[]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/PortableInternalGenericRecord.java:[915,31] incompatible types: cannot infer type-variable(s) T
--------------------------
[ERROR]     (argument mismatch; bad return type in lambda expression
--------------------------
[ERROR]       T[] cannot be converted to java.lang.Integer)
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[405,43] incompatible types: java.lang.Integer cannot be converted to T[]
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[423,63] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.math.BigDecimal[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[429,60] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.time.LocalTime[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[435,60] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.time.LocalDate[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[441,65] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.time.LocalDateTime[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/portable/DefaultPortableReader.java:[447,79] incompatible types: bad return type in method reference
--------------------------
[ERROR]     java.time.OffsetDateTime[] cannot be converted to java.lang.Integer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/client/impl/ClientEngineImpl.java:[530,41] incompatible types: java.util.function.LongConsumer cannot be converted to java.util.function.Consumer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:[32,8] com.hazelcast.client.impl.protocol.task.AddBackupListenerMessageTask is not abstract and does not override abstract method accept(long) in java.util.function.LongConsumer
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/AddBackupListenerMessageTask.java:[61,5] method does not override or implement a method from a supertype
--------------------------
[ERROR] -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-builder of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
--------------------------
---------SUMMARY----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[772,20] method getPrimitiveArrayAsNullableArray in class com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord cannot be applied to given types;
--------------------------
---------ERRORS-----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[772,20] method getPrimitiveArrayAsNullableArray in class com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord cannot be applied to given types;
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[774,20] no suitable method found for getArrayOfVariableSize(com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.Function,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader)
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project hazelcast: Compilation failure: Compilation failure: 
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[772,20] method getPrimitiveArrayAsNullableArray in class com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord cannot be applied to given types;
--------------------------
[ERROR]   required: com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.IntFunction,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader
--------------------------
[ERROR]   found: com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.Function,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader
--------------------------
[ERROR]   reason: cannot infer type-variable(s) T
--------------------------
[ERROR]     (argument mismatch; java.util.function.Function cannot be converted to java.util.function.IntFunction)
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[774,20] no suitable method found for getArrayOfVariableSize(com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.Function,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader)
--------------------------
[ERROR]     method com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.getArrayOfVariableSize(com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.IntFunction,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader) is not applicable
--------------------------
[ERROR]       (cannot infer type-variable(s) T
--------------------------
[ERROR]         (argument mismatch; java.util.function.Function cannot be converted to java.util.function.IntFunction))
--------------------------
[ERROR]     method com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.getArrayOfVariableSize(java.lang.String,com.hazelcast.nio.serialization.FieldKind,java.util.function.IntFunction,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader) is not applicable
--------------------------
[ERROR]       (cannot infer type-variable(s) T
--------------------------
[ERROR]         (actual and formal argument lists differ in length))
--------------------------
[ERROR] -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-EE-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
--------------------------
---------SUMMARY----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[772,20] method getPrimitiveArrayAsNullableArray in class com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord cannot be applied to given types;
--------------------------
---------ERRORS-----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[772,20] method getPrimitiveArrayAsNullableArray in class com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord cannot be applied to given types;
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[774,20] no suitable method found for getArrayOfVariableSize(com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.Function,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader)
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project hazelcast: Compilation failure: Compilation failure: 
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[772,20] method getPrimitiveArrayAsNullableArray in class com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord cannot be applied to given types;
--------------------------
[ERROR]   required: com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.IntFunction,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader
--------------------------
[ERROR]   found: com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.Function,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader
--------------------------
[ERROR]   reason: cannot infer type-variable(s) T
--------------------------
[ERROR]     (argument mismatch; java.util.function.Function cannot be converted to java.util.function.IntFunction)
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler/hazelcast/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:[774,20] no suitable method found for getArrayOfVariableSize(com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.Function,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader)
--------------------------
[ERROR]     method com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.getArrayOfVariableSize(com.hazelcast.internal.serialization.impl.compact.FieldDescriptor,java.util.function.IntFunction,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader) is not applicable
--------------------------
[ERROR]       (cannot infer type-variable(s) T
--------------------------
[ERROR]         (argument mismatch; java.util.function.Function cannot be converted to java.util.function.IntFunction))
--------------------------
[ERROR]     method com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.getArrayOfVariableSize(java.lang.String,com.hazelcast.nio.serialization.FieldKind,java.util.function.IntFunction,com.hazelcast.internal.serialization.impl.compact.CompactInternalGenericRecord.Reader) is not applicable
--------------------------
[ERROR]       (cannot infer type-variable(s) T
--------------------------
[ERROR]         (actual and formal argument lists differ in length))
--------------------------
[ERROR] -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:40:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There is 1 error reported by Checkstyle 9.3 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-builder of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
---------ERRORS-----------
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/hazelcast/src/main/java/com/hazelcast/internal/serialization/impl/compact/CompactInternalGenericRecord.java:40:8: Unused import - java.util.function.Function. [UnusedImports]
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.3.0:checkstyle (default) on project hazelcast: An error has occurred in Checkstyle report generation. Failed during checkstyle execution: There is 1 error reported by Checkstyle 9.3 with /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder_2/checkstyle/checkstyle.xml ruleset. -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-EE-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
--------------------------
---------SUMMARY----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/test/java/com/hazelcast/client/listeners/leak/BackupListenerLeakTest.java:[61,124] incompatible types: java.util.Map cannot be converted to java.util.Map>
--------------------------
---------ERRORS-----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/test/java/com/hazelcast/client/listeners/leak/BackupListenerLeakTest.java:[61,124] incompatible types: java.util.Map cannot be converted to java.util.Map>
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/test/java/com/hazelcast/client/listeners/leak/BackupListenerLeakTest.java:[77,124] incompatible types: java.util.Map cannot be converted to java.util.Map>
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile (default-testCompile) on project hazelcast: Compilation failure: Compilation failure: 
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/test/java/com/hazelcast/client/listeners/leak/BackupListenerLeakTest.java:[61,124] incompatible types: java.util.Map cannot be converted to java.util.Map>
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/test/java/com/hazelcast/client/listeners/leak/BackupListenerLeakTest.java:[77,124] incompatible types: java.util.Map cannot be converted to java.util.Map>
--------------------------
[ERROR] -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-builder of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
--------------------------
---------SUMMARY----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/test/java/com/hazelcast/client/listeners/leak/BackupListenerLeakTest.java:[61,124] incompatible types: java.util.Map cannot be converted to java.util.Map>
--------------------------
---------ERRORS-----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/test/java/com/hazelcast/client/listeners/leak/BackupListenerLeakTest.java:[61,124] incompatible types: java.util.Map cannot be converted to java.util.Map>
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/test/java/com/hazelcast/client/listeners/leak/BackupListenerLeakTest.java:[77,124] incompatible types: java.util.Map cannot be converted to java.util.Map>
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile (default-testCompile) on project hazelcast: Compilation failure: Compilation failure: 
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/test/java/com/hazelcast/client/listeners/leak/BackupListenerLeakTest.java:[61,124] incompatible types: java.util.Map cannot be converted to java.util.Map>
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-builder/hazelcast/src/test/java/com/hazelcast/client/listeners/leak/BackupListenerLeakTest.java:[77,124] incompatible types: java.util.Map cannot be converted to java.util.Map>
--------------------------
[ERROR] -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-EE-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
--------------------------
---------SUMMARY----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/test/java/com/hazelcast/client/listeners/leak/BackupListenerLeakTest.java:[61,124] incompatible types: java.util.Map cannot be converted to java.util.Map>
--------------------------
---------ERRORS-----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/test/java/com/hazelcast/client/listeners/leak/BackupListenerLeakTest.java:[61,124] incompatible types: java.util.Map cannot be converted to java.util.Map>
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/test/java/com/hazelcast/client/listeners/leak/BackupListenerLeakTest.java:[77,124] incompatible types: java.util.Map cannot be converted to java.util.Map>
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile (default-testCompile) on project hazelcast: Compilation failure: Compilation failure: 
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/test/java/com/hazelcast/client/listeners/leak/BackupListenerLeakTest.java:[61,124] incompatible types: java.util.Map cannot be converted to java.util.Map>
--------------------------
[ERROR] /appdisk/jenkins/jenkins_slave/workspace/Hazelcast-pr-EE-compiler_2/hazelcast/hazelcast/src/test/java/com/hazelcast/client/listeners/leak/BackupListenerLeakTest.java:[77,124] incompatible types: java.util.Map cannot be converted to java.util.Map>
--------------------------
[ERROR] -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@hz-devops-test
Copy link

The job Hazelcast-pr-compiler of your PR failed. (Hazelcast internal details: build log, artifacts).
Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log file
--------------------------
---------SUMMARY----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/test/java/com/hazelcast/client/listeners/leak/BackupListenerLeakTest.java:[61,124] incompatible types: java.util.Map cannot be converted to java.util.Map>
--------------------------
---------ERRORS-----------
--------------------------
[ERROR] COMPILATION ERROR : 
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/test/java/com/hazelcast/client/listeners/leak/BackupListenerLeakTest.java:[61,124] incompatible types: java.util.Map cannot be converted to java.util.Map>
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/test/java/com/hazelcast/client/listeners/leak/BackupListenerLeakTest.java:[77,124] incompatible types: java.util.Map cannot be converted to java.util.Map>
--------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile (default-testCompile) on project hazelcast: Compilation failure: Compilation failure: 
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/test/java/com/hazelcast/client/listeners/leak/BackupListenerLeakTest.java:[61,124] incompatible types: java.util.Map cannot be converted to java.util.Map>
--------------------------
[ERROR] /home/jenkins/jenkins_slave/workspace/Hazelcast-pr-compiler/hazelcast/src/test/java/com/hazelcast/client/listeners/leak/BackupListenerLeakTest.java:[77,124] incompatible types: java.util.Map cannot be converted to java.util.Map>
--------------------------
[ERROR] -> [Help 1]
--------------------------
[ERROR] 
--------------------------
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
--------------------------
[ERROR] 
--------------------------
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--------------------------
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
--------------------------
[ERROR] 
--------------------------
[ERROR] After correcting the problems, you can resume the build with the command
--------------------------
[ERROR]   mvn  -rf :hazelcast
--------------------------

@JackPGreen JackPGreen marked this pull request as ready for review September 25, 2023 09:52
@JackPGreen JackPGreen requested a review from a team as a code owner September 25, 2023 09:52
@JackPGreen JackPGreen enabled auto-merge (squash) September 25, 2023 13:56
@JackPGreen JackPGreen merged commit b44fb39 into hazelcast:master Sep 28, 2023
8 checks passed
@JackPGreen JackPGreen deleted the S4276-Functional_Interfaces_should_be_as_specialised_as_possible branch September 28, 2023 13:03
JamesHazelcast pushed a commit to vbekiaris/hazelcast that referenced this pull request Oct 12, 2023
…ised as possible` (hazelcast#25521)

Replace functional interfaces (e.g. `Function<String, String>`) with
specialised declaration (e.g. `UnaryOperator<String>`)

https://rules.sonarsource.com/java/RSPEC-4276/
@AyberkSorgun AyberkSorgun modified the milestones: 5.4 Backlog, 5.4.0 Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants