Skip to content

fix gradle custom step with closure and configuration cache #3950

fix gradle custom step with closure and configuration cache

fix gradle custom step with closure and configuration cache #3950

Triggered via pull request January 6, 2025 17:35
Status Success
Total duration 6m 55s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 6 warnings
BumpThisNumberIfACustomStepChangesTest$WithConfigCache.customRuleNeverUpToDate(): BumpThisNumberIfACustomStepChangesTest$WithConfigCache#L1
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/junit-7474657845771035305 with arguments [spotlessCheck] Output: Configuration cache is an incubating feature. Calculating task graph as no configuration cache is available for tasks: spotlessCheck > Task :spotlessInternalRegisterDependencies UP-TO-DATE > Task :spotlessMisc FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':spotlessMisc'. > Unable to store input properties for task ':spotlessMisc'. Property 'stepsInternalEquality' with value 'com.diffplug.spotless.ConfigurationCacheHackList@c4fa3536' cannot be serialized. * 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 368ms 2 actionable tasks: 1 executed, 1 up-to-date Configuration cache entry stored.
BumpThisNumberIfACustomStepChangesTest$WithConfigCache.andRunsAgainIfNumberChanges(): BumpThisNumberIfACustomStepChangesTest$WithConfigCache#L1
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/junit-530096738772045259 with arguments [spotlessCheck] Output: Configuration cache is an incubating feature. Calculating task graph as configuration cache cannot be reused because file 'build.gradle' has changed. > Task :spotlessInternalRegisterDependencies UP-TO-DATE > Task :spotlessMisc FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':spotlessMisc'. > Unable to store input properties for task ':spotlessMisc'. Property 'stepsInternalEquality' with value 'com.diffplug.spotless.ConfigurationCacheHackList@a7d359f1' cannot be serialized. * 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 503ms 2 actionable tasks: 1 executed, 1 up-to-date Configuration cache entry stored.
BumpThisNumberIfACustomStepChangesTest$WithConfigCache.customRuleNeverUpToDate(): BumpThisNumberIfACustomStepChangesTest$WithConfigCache#L1
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/junit-11238303344957378202 with arguments [spotlessCheck] Output: Configuration cache is an incubating feature. Calculating task graph as no configuration cache is available for tasks: spotlessCheck > Task :spotlessInternalRegisterDependencies UP-TO-DATE > Task :spotlessMisc FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':spotlessMisc'. > Cannot fingerprint input property 'stepsInternalEquality': value 'com.diffplug.spotless.ConfigurationCacheHackList@c923699b' cannot be serialized. * 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 261ms 2 actionable tasks: 1 executed, 1 up-to-date Configuration cache entry stored.
BumpThisNumberIfACustomStepChangesTest$WithConfigCache.andRunsAgainIfNumberChanges(): BumpThisNumberIfACustomStepChangesTest$WithConfigCache#L1
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/junit-18038333368987176843 with arguments [spotlessCheck] Output: Configuration cache is an incubating feature. Calculating task graph as configuration cache cannot be reused because file 'build.gradle' has changed. > Task :spotlessInternalRegisterDependencies UP-TO-DATE > Task :spotlessMisc FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':spotlessMisc'. > Cannot fingerprint input property 'stepsInternalEquality': value 'com.diffplug.spotless.ConfigurationCacheHackList@a7d359f1' cannot be serialized. * 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 79ms 2 actionable tasks: 1 executed, 1 up-to-date Configuration cache entry stored.
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-5732922687811206042 with arguments [spotlessCheck] Output: Configuration cache is an incubating feature. Calculating task graph as no configuration cache is available for tasks: spotlessCheck > Task :spotlessInternalRegisterDependencies UP-TO-DATE > Task :spotlessMisc FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':spotlessMisc'. > Cannot fingerprint input property 'stepsInternalEquality': value 'com.diffplug.spotless.ConfigurationCacheHackList@c7a520f7' cannot be serialized. * 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 993ms 2 actionable tasks: 1 executed, 1 up-to-date Configuration cache entry stored.
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-3209166176006612543 with arguments [spotlessCheck] Output: Configuration cache is an incubating feature. Calculating task graph as configuration cache cannot be reused because file 'build.gradle' has changed. > Task :spotlessInternalRegisterDependencies UP-TO-DATE > Task :spotlessMisc FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':spotlessMisc'. > Cannot fingerprint input property 'stepsInternalEquality': value 'com.diffplug.spotless.ConfigurationCacheHackList@a7d359f1' cannot be serialized. * 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 628ms 2 actionable tasks: 1 executed, 1 up-to-date Configuration cache entry stored.
Analyze (javascript)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Analyze (javascript)
1 issue was detected with this workflow: git checkout HEAD^2 is no longer necessary. Please remove this step as Code Scanning recommends analyzing the merge commit for best results.
Analyze (javascript)
Unable to validate code scanning workflow: CheckoutWrongHead
Analyze (java)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Analyze (java)
1 issue was detected with this workflow: git checkout HEAD^2 is no longer necessary. Please remove this step as Code Scanning recommends analyzing the merge commit for best results.
Analyze (java)
Unable to validate code scanning workflow: CheckoutWrongHead