Skip to content

Bump the gradle plugin major version to reflect the breaking change. #1083

Bump the gradle plugin major version to reflect the breaking change.

Bump the gradle plugin major version to reflect the breaking change. #1083

Triggered via push December 3, 2023 16:53
Status Cancelled
Total duration 16m 15s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: push
spotlessCheck assemble testClasses
1m 38s
spotlessCheck assemble testClasses
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

5 errors
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/junit16805364183859342663/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
IncludesExcludesTest.testDefaultIncludesJava(): plugin-maven\build\classes\java\test\com\diffplug\spotless\maven\IncludesExcludesTest.class#L54
org.opentest4j.AssertionFailedError: [Run without error > arguments: [cmd, /c, mvnw -e spotless:apply] > 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
IncludesExcludesTest.testExclude(): plugin-maven\build\classes\java\test\com\diffplug\spotless\maven\IncludesExcludesTest.class#L147
org.opentest4j.AssertionFailedError: [Run without error > arguments: [cmd, /c, mvnw -e spotless:apply] > exit code: 1 > stdout: (empty) > stderr: (below) > Exception in thread "main" java.lang.reflect.InvocationTargetException > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at org.apache.maven.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:39) > at org.apache.maven.wrapper.WrapperExecutor.execute(WrapperExecutor.java:122) > at org.apache.maven.wrapper.MavenWrapperMain.main(MavenWrapperMain.java:55) > Caused by: java.lang.NoClassDefFoundError: org/codehaus/plexus/PlexusContainer > at java.base/java.lang.Class.getDeclaredMethods0(Native Method) > at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3166) > at java.base/java.lang.Class.getMethodsRecursive(Class.java:3307) > at java.base/java.lang.Class.getMethod0(Class.java:3293) > at java.base/java.lang.Class.getMethod(Class.java:2106) > at org.codehaus.plexus.classworlds.launcher.Launcher.getEnhancedMainMethod(Launcher.java:172) > at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:268) > at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) > at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) > at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) > ... 7 more > Caused by: java.lang.ClassNotFoundException: org.codehaus.plexus.PlexusContainer > at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) > at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) > at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247) > at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) > ... 17 more ] expected: 0 but was: 1
GitRatchetGradleTest.[2] 1: plugin-gradle\build\classes\java\test\com\diffplug\gradle\spotless\GitRatchetGradleTest.class#L106
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in C:\Users\runneradmin\AppData\Local\Temp\junit18172712431795365719 with arguments [spotlessCheck] Output: Configuration cache is an incubating feature. Reusing configuration cache. > Task :spotlessInternalRegisterDependencies UP-TO-DATE > Task :spotlessMisc FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':spotlessMisc'. > Error while evaluating property 'lineEndingsPolicy' of task ':spotlessMisc' > Spotless JVM-local cache is stale. Regenerate the cache with rmdir /q /s .gradle/configuration-cache To make this workaround obsolete, please upvote https://github.com/diffplug/spotless/issues/987 * 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 635ms 2 actionable tasks: 1 executed, 1 up-to-date Configuration cache entry reused.