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

Port all stragglers except npm #2132

Closed
wants to merge 9 commits into from

Remove `FormatterStepImpl` completely, route all steps through `Forma…

27657ec
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

Port all stragglers except npm #2132

Remove `FormatterStepImpl` completely, route all steps through `Forma…
27657ec
Select commit
Loading
Failed to load commit list.
GitHub Actions / JUnit maven 11 windows-latest failed May 24, 2024 in 0s

189 tests run, 184 passed, 1 skipped, 4 failed.

Annotations

Check failure on line 66 in plugin-maven\build\classes\java\test\com\diffplug\spotless\maven\incremental\PluginFingerprintTest.class

See this annotation in the file changed.

@github-actions github-actions / JUnit maven 11 windows-latest

PluginFingerprintTest.differentFingerprintForDifferentPluginVersions()

java.io.UncheckedIOException: Unable to serialize plugin Plugin [com.diffplug.spotless:spotless-maven-plugin]
Raw output
java.io.UncheckedIOException: Unable to serialize plugin Plugin [com.diffplug.spotless:spotless-maven-plugin]
	at com.diffplug.spotless.maven.incremental.PluginFingerprint.digest(PluginFingerprint.java:114)
	at com.diffplug.spotless.maven.incremental.PluginFingerprint.from(PluginFingerprint.java:48)
	at com.diffplug.spotless.maven.incremental.PluginFingerprintTest.differentFingerprintForDifferentPluginVersions(PluginFingerprintTest.java:66)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
Caused by: java.io.NotSerializableException: com.diffplug.spotless.FormatterStep$$Lambda$547/0x000000010034c840
	at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
	at java.base/java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1543)
	at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1500)
	at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1423)
	at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1169)
	at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:345)
	at java.base/java.util.ArrayList.writeObject(ArrayList.java:897)
	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 java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1016)
	at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1487)
	at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1423)
	at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1169)
	at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:345)
	at com.diffplug.spotless.Formatter.writeObject(Formatter.java:65)
	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 java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1016)
	at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1487)
	at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1423)
	at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1169)
	at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:345)
	at com.diffplug.spotless.maven.incremental.PluginFingerprint.digest(PluginFingerprint.java:109)
	... 5 more

Check failure on line 83 in plugin-maven\build\classes\java\test\com\diffplug\spotless\maven\incremental\PluginFingerprintTest.class

See this annotation in the file changed.

@github-actions github-actions / JUnit maven 11 windows-latest

PluginFingerprintTest.differentFingerprintForFormattersWithDifferentSteps()

java.io.UncheckedIOException: Unable to serialize plugin Plugin [com.diffplug.spotless:spotless-maven-plugin]
Raw output
java.io.UncheckedIOException: Unable to serialize plugin Plugin [com.diffplug.spotless:spotless-maven-plugin]
	at com.diffplug.spotless.maven.incremental.PluginFingerprint.digest(PluginFingerprint.java:114)
	at com.diffplug.spotless.maven.incremental.PluginFingerprint.from(PluginFingerprint.java:48)
	at com.diffplug.spotless.maven.incremental.PluginFingerprintTest.differentFingerprintForFormattersWithDifferentSteps(PluginFingerprintTest.java:83)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
Caused by: java.io.NotSerializableException: com.diffplug.spotless.FormatterStep$$Lambda$547/0x000000010034c840
	at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
	at java.base/java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1543)
	at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1500)
	at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1423)
	at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1169)
	at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:345)
	at java.base/java.util.ArrayList.writeObject(ArrayList.java:897)
	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 java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1016)
	at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1487)
	at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1423)
	at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1169)
	at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:345)
	at com.diffplug.spotless.Formatter.writeObject(Formatter.java:65)
	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 java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1016)
	at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1487)
	at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1423)
	at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1169)
	at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:345)
	at com.diffplug.spotless.maven.incremental.PluginFingerprint.digest(PluginFingerprint.java:109)
	... 5 more

Check failure on line 55 in plugin-maven\build\classes\java\test\com\diffplug\spotless\maven\incremental\PluginFingerprintTest.class

See this annotation in the file changed.

@github-actions github-actions / JUnit maven 11 windows-latest

PluginFingerprintTest.sameFingerprintWhenVersionAndFormattersAreTheSame()

java.io.UncheckedIOException: Unable to serialize plugin Plugin [com.diffplug.spotless:spotless-maven-plugin]
Raw output
java.io.UncheckedIOException: Unable to serialize plugin Plugin [com.diffplug.spotless:spotless-maven-plugin]
	at com.diffplug.spotless.maven.incremental.PluginFingerprint.digest(PluginFingerprint.java:114)
	at com.diffplug.spotless.maven.incremental.PluginFingerprint.from(PluginFingerprint.java:48)
	at com.diffplug.spotless.maven.incremental.PluginFingerprintTest.sameFingerprintWhenVersionAndFormattersAreTheSame(PluginFingerprintTest.java:55)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
Caused by: java.io.NotSerializableException: com.diffplug.spotless.FormatterStep$$Lambda$547/0x000000010034c840
	at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
	at java.base/java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1543)
	at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1500)
	at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1423)
	at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1169)
	at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:345)
	at java.base/java.util.ArrayList.writeObject(ArrayList.java:897)
	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 java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1016)
	at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1487)
	at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1423)
	at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1169)
	at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:345)
	at com.diffplug.spotless.Formatter.writeObject(Formatter.java:65)
	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 java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1016)
	at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1487)
	at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1423)
	at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1169)
	at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:345)
	at com.diffplug.spotless.maven.incremental.PluginFingerprint.digest(PluginFingerprint.java:109)
	... 5 more

Check failure on line 98 in plugin-maven\build\classes\java\test\com\diffplug\spotless\maven\incremental\PluginFingerprintTest.class

See this annotation in the file changed.

@github-actions github-actions / JUnit maven 11 windows-latest

PluginFingerprintTest.differentFingerprintForFormattersWithDifferentLineEndings()

java.io.UncheckedIOException: Unable to serialize plugin Plugin [com.diffplug.spotless:spotless-maven-plugin]
Raw output
java.io.UncheckedIOException: Unable to serialize plugin Plugin [com.diffplug.spotless:spotless-maven-plugin]
	at com.diffplug.spotless.maven.incremental.PluginFingerprint.digest(PluginFingerprint.java:114)
	at com.diffplug.spotless.maven.incremental.PluginFingerprint.from(PluginFingerprint.java:48)
	at com.diffplug.spotless.maven.incremental.PluginFingerprintTest.differentFingerprintForFormattersWithDifferentLineEndings(PluginFingerprintTest.java:98)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
Caused by: java.io.NotSerializableException: com.diffplug.spotless.FormatterStep$$Lambda$547/0x000000010034c840
	at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)
	at java.base/java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1543)
	at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1500)
	at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1423)
	at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1169)
	at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:345)
	at java.base/java.util.ArrayList.writeObject(ArrayList.java:897)
	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 java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1016)
	at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1487)
	at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1423)
	at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1169)
	at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:345)
	at com.diffplug.spotless.Formatter.writeObject(Formatter.java:65)
	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 java.base/java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1016)
	at java.base/java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1487)
	at java.base/java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1423)
	at java.base/java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1169)
	at java.base/java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:345)
	at com.diffplug.spotless.maven.incremental.PluginFingerprint.digest(PluginFingerprint.java:109)
	... 5 more