Update dependency org.mockito:mockito-core to v5.8.0 #969
ci.yml
on: pull_request
spotlessCheck assemble testClasses
2m 7s
Matrix: build
Annotations
4 errors
IncludesExcludesTest.testDefaultIncludesJava():
plugin-maven/src/test/java/com/diffplug/spotless/maven/IncludesExcludesTest.java#L54
org.opentest4j.AssertionFailedError: [Run without error > arguments: [sh, -c, ./mvnw -e spotless:apply]
> exit code: 1
> stdout: (empty)
> stderr: (below)
> Exception in thread "main" java.util.zip.ZipException: zip END header not found
> at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1633)
> at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1641)
> at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1479)
> at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1441)
> at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:718)
> at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:252)
> at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:181)
> at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:195)
> at org.apache.maven.wrapper.Installer.unzip(Installer.java:161)
> at org.apache.maven.wrapper.Installer.createDist(Installer.java:78)
> at org.apache.maven.wrapper.WrapperExecutor.execute(WrapperExecutor.java:121)
> at org.apache.maven.wrapper.MavenWrapperMain.main(MavenWrapperMain.java:55)
]
expected: 0
but was: 1
|
IdeHookTest.clean():
plugin-gradle/src/test/java/com/diffplug/gradle/spotless/IdeHookTest.java#L67
org.opentest4j.AssertionFailedError: [Run without error > arguments: [sh, -c, ./mvnw -e spotless:apply --quiet -DspotlessIdeHook=/tmp/junit6067707028324169080/CLEAN.md -DspotlessIdeHookUseStdOut=true]
> exit code: 1
> stdout: (empty)
> stderr: (below)
> Exception in thread "main" java.util.zip.ZipException: zip END header not found
> at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1769)
> at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1652)
> at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1659)
> at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1463)
> at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1426)
> at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:742)
> at java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:859)
> at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:257)
> at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:186)
> at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:200)
> at org.apache.maven.wrapper.Installer.unzip(Installer.java:161)
> at org.apache.maven.wrapper.Installer.createDist(Installer.java:78)
> at org.apache.maven.wrapper.WrapperExecutor.execute(WrapperExecutor.java:121)
> at org.apache.maven.wrapper.MavenWrapperMain.main(MavenWrapperMain.java:55)
]
expected: 0
but was: 1
|
ScalaExtensionTest.integration():
plugin-gradle/src/test/java/com/diffplug/gradle/spotless/ScalaExtensionTest.java#L38
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/junit16130069286066315782 with arguments [spotlessApply]
Output:
> Task :spotlessInternalRegisterDependencies
> Task :spotlessScala FAILED
Step 'scalafmt' found problem in 'src/main/scala/basic.scala':
Metaspace
java.lang.OutOfMemoryError: Metaspace
at com.diffplug.spotless.FeatureClassLoader.findClass(FeatureClassLoader.java:79)
at org.scalafmt.internal.BestFirstSearch.<init>(BestFirstSearch.scala:35)
at org.scalafmt.internal.BestFirstSearch$.apply(BestFirstSearch.scala:344)
at org.scalafmt.Scalafmt$.$anonfun$doFormatOne$6(Scalafmt.scala:156)
at org.scalafmt.Scalafmt$$$Lambda$2087/0x0000000100697840.apply(Unknown Source)
at scala.util.Try$.apply(Try.scala:210)
at org.scalafmt.Scalafmt$.$anonfun$doFormatOne$4(Scalafmt.scala:156)
at org.scalafmt.Scalafmt$$$Lambda$1956/0x0000000100b3c840.apply(Unknown Source)
at scala.meta.parsers.Parsed.fold(Errors.scala:12)
at scala.meta.parsers.Parsed.fold$(Errors.scala:11)
at scala.meta.parsers.Parsed$Success.fold(Errors.scala:26)
at org.scalafmt.Scalafmt$.org$scalafmt$Scalafmt$$doFormatOne(Scalafmt.scala:152)
at org.scalafmt.Scalafmt$.doFormat(Scalafmt.scala:126)
at org.scalafmt.Scalafmt$.formatCodeWithStyle(Scalafmt.scala:91)
at org.scalafmt.Scalafmt$.$anonfun$formatCode$3(Scalafmt.scala:78)
at org.scalafmt.Scalafmt$$$Lambda$1687/0x0000000101f2e840.apply(Unknown Source)
at scala.util.Success.fold(Try.scala:281)
at org.scalafmt.Scalafmt$.formatCode(Scalafmt.scala:78)
at org.scalafmt.Scalafmt$.format(Scalafmt.scala:174)
at org.scalafmt.Scalafmt.format(Scalafmt.scala)
at com.diffplug.spotless.glue.scalafmt.ScalafmtFormatterFunc.apply(ScalafmtFormatterFunc.java:52)
at com.diffplug.spotless.FormatterFunc.apply(FormatterFunc.java:32)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':spotlessScala'.
> Metaspace
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 13s
2 actionable tasks: 2 executed
|
IdeHookTest.clean():
plugin-gradle\src\test\java\com\diffplug\gradle\spotless\IdeHookTest.java#L67
org.opentest4j.AssertionFailedError: [Run without error > arguments: [cmd, /c, mvnw -e spotless:apply --quiet -DspotlessIdeHook=C:\Users\runneradmin\AppData\Local\Temp\junit16650079307344731582\CLEAN.md -DspotlessIdeHookUseStdOut=true]
> exit code: 1
> stdout: (empty)
> stderr: (below)
> Exception in thread "main" java.nio.file.NoSuchFileException: C:\Users\runneradmin\.m2\wrapper\dists\apache-maven-3.2.5-bin\16u4trrcblg0m0niira6fki3va\apache-maven-3.2.5-bin.zip
> at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
> at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
> at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
> at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:53)
> at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:38)
> at java.base/sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:198)
> at java.base/java.nio.file.Files.readAttributes(Files.java:1764)
> at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1414)
> at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:742)
> at java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:859)
> at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:257)
> at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:186)
> at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:200)
> at org.apache.maven.wrapper.Installer.unzip(Installer.java:161)
> at org.apache.maven.wrapper.Installer.createDist(Installer.java:78)
> at org.apache.maven.wrapper.WrapperExecutor.execute(WrapperExecutor.java:121)
> at org.apache.maven.wrapper.MavenWrapperMain.main(MavenWrapperMain.java:55)
]
expected: 0
but was: 1
|