fix gradle custom
step with closure and configuration cache
#2011
ci.yml
on: pull_request
spotlessCheck assemble testClasses
1m 3s
Matrix: build
Annotations
12 errors and 12 warnings
BumpThisNumberIfACustomStepChangesTest$WithConfigCache.customRuleNeverUpToDate():
BumpThisNumberIfACustomStepChangesTest$WithConfigCache#L1
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/junit-3461699161636919322 with arguments [spotlessApply]
Output:
Configuration cache is an incubating feature.
Calculating task graph as no configuration cache is available for tasks: spotlessApply
FAILURE: Build failed with an exception.
* What went wrong:
Configuration cache state could not be cached: field `value` of `com.diffplug.spotless.SerializedFunction$AlwaysReturns` bean found in field `equalityStateToFormatter` of `com.diffplug.spotless.FormatterStepSerializationRoundtrip` bean found in field `cleaned` of `com.diffplug.spotless.FormatterStepSerializationRoundtrip$HackClone` bean found in `com.diffplug.spotless.ConfigurationCacheHackList` bean found in field `stepsInternalEquality` of task `:spotlessMisc` of type `com.diffplug.gradle.spotless.SpotlessTaskImpl`: error writing value of type 'com.diffplug.gradle.spotless.FormatExtension$ClosureFormatterFunc'
> value.owner must not be null
* 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 1s
Configuration cache entry discarded due to serialization error.
|
BumpThisNumberIfACustomStepChangesTest$WithConfigCache.unlessBumpThisNumberIfACustomStepChanges():
BumpThisNumberIfACustomStepChangesTest$WithConfigCache#L1
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/junit-18072298411234381974 with arguments [spotlessApply]
Output:
Configuration cache is an incubating feature.
Calculating task graph as no configuration cache is available for tasks: spotlessApply
FAILURE: Build failed with an exception.
* What went wrong:
Configuration cache state could not be cached: field `value` of `com.diffplug.spotless.SerializedFunction$AlwaysReturns` bean found in field `equalityStateToFormatter` of `com.diffplug.spotless.FormatterStepSerializationRoundtrip` bean found in field `cleaned` of `com.diffplug.spotless.FormatterStepSerializationRoundtrip$HackClone` bean found in `com.diffplug.spotless.ConfigurationCacheHackList` bean found in field `stepsInternalEquality` of task `:spotlessMisc` of type `com.diffplug.gradle.spotless.SpotlessTaskImpl`: error writing value of type 'com.diffplug.gradle.spotless.FormatExtension$ClosureFormatterFunc'
> value.owner must not be null
* 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 259ms
Configuration cache entry discarded due to serialization error.
|
BumpThisNumberIfACustomStepChangesTest$WithConfigCache.andRunsAgainIfNumberChanges():
BumpThisNumberIfACustomStepChangesTest$WithConfigCache#L1
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/junit-11828897515484414562 with arguments [spotlessApply]
Output:
Configuration cache is an incubating feature.
Calculating task graph as no configuration cache is available for tasks: spotlessApply
FAILURE: Build failed with an exception.
* What went wrong:
Configuration cache state could not be cached: field `value` of `com.diffplug.spotless.SerializedFunction$AlwaysReturns` bean found in field `equalityStateToFormatter` of `com.diffplug.spotless.FormatterStepSerializationRoundtrip` bean found in field `cleaned` of `com.diffplug.spotless.FormatterStepSerializationRoundtrip$HackClone` bean found in `com.diffplug.spotless.ConfigurationCacheHackList` bean found in field `stepsInternalEquality` of task `:spotlessMisc` of type `com.diffplug.gradle.spotless.SpotlessTaskImpl`: error writing value of type 'com.diffplug.gradle.spotless.FormatExtension$ClosureFormatterFunc'
> value.owner must not be null
* 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 253ms
Configuration cache entry discarded due to serialization error.
|
BumpThisNumberIfACustomStepChangesTest$WithConfigCache.customRuleNeverUpToDate():
BumpThisNumberIfACustomStepChangesTest$WithConfigCache#L1
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/junit-13873760966935438202 with arguments [spotlessApply]
Output:
Configuration cache is an incubating feature.
Calculating task graph as no configuration cache is available for tasks: spotlessApply
FAILURE: Build failed with an exception.
* What went wrong:
Configuration cache state could not be cached: field `value` of `com.diffplug.spotless.SerializedFunction$AlwaysReturns` bean found in field `equalityStateToFormatter` of `com.diffplug.spotless.FormatterStepSerializationRoundtrip` bean found in field `cleaned` of `com.diffplug.spotless.FormatterStepSerializationRoundtrip$HackClone` bean found in `com.diffplug.spotless.ConfigurationCacheHackList` bean found in field `stepsInternalEquality` of task `:spotlessMisc` of type `com.diffplug.gradle.spotless.SpotlessTaskImpl`: error writing value of type 'com.diffplug.gradle.spotless.FormatExtension$ClosureFormatterFunc'
> value.owner must not be null
* 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 843ms
Configuration cache entry discarded due to serialization error.
|
BumpThisNumberIfACustomStepChangesTest$WithConfigCache.unlessBumpThisNumberIfACustomStepChanges():
BumpThisNumberIfACustomStepChangesTest$WithConfigCache#L1
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/junit-8719033497019513441 with arguments [spotlessApply]
Output:
Configuration cache is an incubating feature.
Calculating task graph as no configuration cache is available for tasks: spotlessApply
FAILURE: Build failed with an exception.
* What went wrong:
Configuration cache state could not be cached: field `value` of `com.diffplug.spotless.SerializedFunction$AlwaysReturns` bean found in field `equalityStateToFormatter` of `com.diffplug.spotless.FormatterStepSerializationRoundtrip` bean found in field `cleaned` of `com.diffplug.spotless.FormatterStepSerializationRoundtrip$HackClone` bean found in `com.diffplug.spotless.ConfigurationCacheHackList` bean found in field `stepsInternalEquality` of task `:spotlessMisc` of type `com.diffplug.gradle.spotless.SpotlessTaskImpl`: error writing value of type 'com.diffplug.gradle.spotless.FormatExtension$ClosureFormatterFunc'
> value.owner must not be null
* 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 117ms
Configuration cache entry discarded due to serialization error.
|
BumpThisNumberIfACustomStepChangesTest$WithConfigCache.andRunsAgainIfNumberChanges():
BumpThisNumberIfACustomStepChangesTest$WithConfigCache#L1
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/junit-14176445476042164647 with arguments [spotlessApply]
Output:
Configuration cache is an incubating feature.
Calculating task graph as no configuration cache is available for tasks: spotlessApply
FAILURE: Build failed with an exception.
* What went wrong:
Configuration cache state could not be cached: field `value` of `com.diffplug.spotless.SerializedFunction$AlwaysReturns` bean found in field `equalityStateToFormatter` of `com.diffplug.spotless.FormatterStepSerializationRoundtrip` bean found in field `cleaned` of `com.diffplug.spotless.FormatterStepSerializationRoundtrip$HackClone` bean found in `com.diffplug.spotless.ConfigurationCacheHackList` bean found in field `stepsInternalEquality` of task `:spotlessMisc` of type `com.diffplug.gradle.spotless.SpotlessTaskImpl`: error writing value of type 'com.diffplug.gradle.spotless.FormatExtension$ClosureFormatterFunc'
> value.owner must not be null
* 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 202ms
Configuration cache entry discarded due to serialization error.
|
build (gradle, 17, ubuntu-latest)
Process completed with exit code 1.
|
build (gradle, 11, ubuntu-latest)
Process completed with exit code 1.
|
BumpThisNumberIfACustomStepChangesTest$WithConfigCache.customRuleNeverUpToDate():
plugin-gradle\build\classes\java\test\com\diffplug\gradle\spotless\BumpThisNumberIfACustomStepChangesTest$WithConfigCache.class#L1
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in C:\Users\runneradmin\AppData\Local\Temp\junit-10494113097850626227 with arguments [spotlessApply]
Output:
Configuration cache is an incubating feature.
Calculating task graph as no configuration cache is available for tasks: spotlessApply
FAILURE: Build failed with an exception.
* What went wrong:
Configuration cache state could not be cached: field `value` of `com.diffplug.spotless.SerializedFunction$AlwaysReturns` bean found in field `equalityStateToFormatter` of `com.diffplug.spotless.FormatterStepSerializationRoundtrip` bean found in field `cleaned` of `com.diffplug.spotless.FormatterStepSerializationRoundtrip$HackClone` bean found in `com.diffplug.spotless.ConfigurationCacheHackList` bean found in field `stepsInternalEquality` of task `:spotlessMisc` of type `com.diffplug.gradle.spotless.SpotlessTaskImpl`: error writing value of type 'com.diffplug.gradle.spotless.FormatExtension$ClosureFormatterFunc'
> value.owner must not be null
* 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 1s
Configuration cache entry discarded due to serialization error.
|
BumpThisNumberIfACustomStepChangesTest$WithConfigCache.unlessBumpThisNumberIfACustomStepChanges():
plugin-gradle\build\classes\java\test\com\diffplug\gradle\spotless\BumpThisNumberIfACustomStepChangesTest$WithConfigCache.class#L1
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in C:\Users\runneradmin\AppData\Local\Temp\junit-11011826997407631988 with arguments [spotlessApply]
Output:
Configuration cache is an incubating feature.
Calculating task graph as no configuration cache is available for tasks: spotlessApply
FAILURE: Build failed with an exception.
* What went wrong:
Configuration cache state could not be cached: field `value` of `com.diffplug.spotless.SerializedFunction$AlwaysReturns` bean found in field `equalityStateToFormatter` of `com.diffplug.spotless.FormatterStepSerializationRoundtrip` bean found in field `cleaned` of `com.diffplug.spotless.FormatterStepSerializationRoundtrip$HackClone` bean found in `com.diffplug.spotless.ConfigurationCacheHackList` bean found in field `stepsInternalEquality` of task `:spotlessMisc` of type `com.diffplug.gradle.spotless.SpotlessTaskImpl`: error writing value of type 'com.diffplug.gradle.spotless.FormatExtension$ClosureFormatterFunc'
> value.owner must not be null
* 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 759ms
Configuration cache entry discarded due to serialization error.
|
BumpThisNumberIfACustomStepChangesTest$WithConfigCache.andRunsAgainIfNumberChanges():
plugin-gradle\build\classes\java\test\com\diffplug\gradle\spotless\BumpThisNumberIfACustomStepChangesTest$WithConfigCache.class#L1
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in C:\Users\runneradmin\AppData\Local\Temp\junit-18255950073072747540 with arguments [spotlessApply]
Output:
Configuration cache is an incubating feature.
Calculating task graph as no configuration cache is available for tasks: spotlessApply
FAILURE: Build failed with an exception.
* What went wrong:
Configuration cache state could not be cached: field `value` of `com.diffplug.spotless.SerializedFunction$AlwaysReturns` bean found in field `equalityStateToFormatter` of `com.diffplug.spotless.FormatterStepSerializationRoundtrip` bean found in field `cleaned` of `com.diffplug.spotless.FormatterStepSerializationRoundtrip$HackClone` bean found in `com.diffplug.spotless.ConfigurationCacheHackList` bean found in field `stepsInternalEquality` of task `:spotlessMisc` of type `com.diffplug.gradle.spotless.SpotlessTaskImpl`: error writing value of type 'com.diffplug.gradle.spotless.FormatExtension$ClosureFormatterFunc'
> value.owner must not be null
* 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 460ms
Configuration cache entry discarded due to serialization error.
|
build (gradle, 17, windows-latest)
Process completed with exit code 1.
|
spotlessCheck assemble testClasses
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build (shfmt, 11, ubuntu-latest, v3.8.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build (shfmt, 11, ubuntu-latest, v3.8.0)
Restore cache failed: Dependencies file is not found in /home/runner/work/spotless/spotless. Supported file pattern: go.sum
|
build (npm, 11, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build (maven, 11, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build (maven, 17, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build (maven, 21, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build (gradle, 23, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build (gradle, 21, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build (maven, 23, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build (gradle, 17, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build (gradle, 11, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|