I pushed a fix yesterday (both main and branch_9x), sorry for the noise! On Thu, May 12, 2022 at 11:03 PM Dawid Weiss <[email protected]> wrote:
> This is errorprone-caused failure: > > > Task :lucene:core:compileTestJava FAILED > > /home/jenkins/jenkins-slave/workspace/Lucene/Lucene-NightlyTests-9.x/checkout/lucene/core/src/test/org/apache/lucene/util/TestSparseFixedBitSet.java:106: > warning: [LongFloatConversion] Conversion from long to float may lose > precision; use an explicit cast to float if this was intentional > assertEquals(orCopy.ramBytesUsed(), original.ramBytesUsed(), 64L); > ^ > (see https://errorprone.info/bugpattern/LongFloatConversion) > Did you mean 'assertEquals((float) orCopy.ramBytesUsed(), > original.ramBytesUsed(), 64L);'? > > /home/jenkins/jenkins-slave/workspace/Lucene/Lucene-NightlyTests-9.x/checkout/lucene/core/src/test/org/apache/lucene/util/TestSparseFixedBitSet.java:106: > warning: [LongFloatConversion] Conversion from long to float may lose > precision; use an explicit cast to float if this was intentional > assertEquals(orCopy.ramBytesUsed(), original.ramBytesUsed(), 64L); > ^ > (see https://errorprone.info/bugpattern/LongFloatConversion) > Did you mean 'assertEquals(orCopy.ramBytesUsed(), (float) > original.ramBytesUsed(), 64L);'? > > /home/jenkins/jenkins-slave/workspace/Lucene/Lucene-NightlyTests-9.x/checkout/lucene/core/src/test/org/apache/lucene/util/TestSparseFixedBitSet.java:106: > warning: [LongFloatConversion] Conversion from long to float may lose > precision; use an explicit cast to float if this was intentional > assertEquals(orCopy.ramBytesUsed(), original.ramBytesUsed(), 64L); > ^ > (see https://errorprone.info/bugpattern/LongFloatConversion) > Did you mean 'assertEquals(orCopy.ramBytesUsed(), > original.ramBytesUsed(), (float) 64L);'? > error: warnings found and -Werror specified > Note: Some input files use or override a deprecated API. > Note: Recompile with -Xlint:deprecation for details. > 1 error > 3 warnings > > On Fri, May 13, 2022 at 4:23 AM Apache Jenkins Server > <[email protected]> wrote: > > > > Build: > https://ci-builds.apache.org/job/Lucene/job/Lucene-NightlyTests-9.x/192/ > > > > All tests passed > > > > Build Log: > > [...truncated 513 lines...] > > BUILD FAILED in 1h 1m 40s > > 222 actionable tasks: 222 executed > > Build step 'Invoke Gradle script' changed build result to FAILURE > > Build step 'Invoke Gradle script' marked build as failure > > Archiving artifacts > > Recording test results > > [Checks API] No suitable checks publisher found. > > Email was triggered for: Failure - Any > > Sending email for trigger: Failure - Any > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
