Skip to content

chore(deps): update plugin com.gradle.develocity to v3.19 #3905

chore(deps): update plugin com.gradle.develocity to v3.19

chore(deps): update plugin com.gradle.develocity to v3.19 #3905

Triggered via pull request December 12, 2024 14:14
Status Success
Total duration 7m 39s
Artifacts

codeql-analysis.yml

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

Annotations

2 errors and 6 warnings
NpmStepsWithNpmInstallCacheTest.prettierTypescriptWithSpecificCacheIsUsedOnSecondRun(): plugin-maven/src/test/java/com/diffplug/spotless/maven/npm/NpmStepsWithNpmInstallCacheTest.java#L131
org.opentest4j.AssertionFailedError: [Run without error > arguments: [sh, -c, ./mvnw -e spotless:apply] > exit code: 1 > stdout: (below) > [INFO] Error stacktraces are turned on. > [INFO] Scanning for projects... > [INFO] > [INFO] ------------------------------------------------------------------------ > [INFO] Building Spotless Maven Plugin Tests 1.0.0-SNAPSHOT > [INFO] ------------------------------------------------------------------------ > [INFO] > [INFO] --- spotless-maven-plugin:2.44.0.BETA4-SNAPSHOT:apply (default-cli) @ spotless-maven-plugin-tests --- > [INFO] Index file does not exist. Fallback to an empty index > [INFO] creating formatter function (starting server) > [INFO] Caching npm install results in /tmp/junit-5926351033281145424/cache-prettier-1. > [INFO] [BEGIN] Preparing NodeServerLayout[nodeModulesDir=/tmp/junit-5926351033281145424/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85, packageJsonFile=/tmp/junit-5926351033281145424/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/package.json, serveJsFile=/tmp/junit-5926351033281145424/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/serve.js, npmrcFile=/tmp/junit-5926351033281145424/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/.npmrc] for npm step com.diffplug.spotless.npm.NodeServeApp. > [INFO] [END] Preparing NodeServerLayout[nodeModulesDir=/tmp/junit-5926351033281145424/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85, packageJsonFile=/tmp/junit-5926351033281145424/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/package.json, serveJsFile=/tmp/junit-5926351033281145424/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/serve.js, npmrcFile=/tmp/junit-5926351033281145424/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/.npmrc] for npm step com.diffplug.spotless.npm.NodeServeApp. (took 7ms) > [INFO] [BEGIN] Installing npm dependencies for NodeServerLayout[nodeModulesDir=/tmp/junit-5926351033281145424/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85, packageJsonFile=/tmp/junit-5926351033281145424/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/package.json, serveJsFile=/tmp/junit-5926351033281145424/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/serve.js, npmrcFile=/tmp/junit-5926351033281145424/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/.npmrc] with NodeModulesCachingNpmProcessFactory. > [INFO] [BEGIN] Using cached node_modules for spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85 from /tmp/junit-5926351033281145424/cache-prettier-1 > [INFO] [END] Using cached node_modules for spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85 from /tmp/junit-5926351033281145424/cache-prettier-1 (took 49ms) > [INFO] [END] Installing npm dependencies for NodeServerLayout[nodeModulesDir=/tmp/junit-5926351033281145424/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85, packageJsonFile=/tmp/junit-5926351033281145424/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/package.json, serveJsFile=/tmp/junit-5926351033281145424/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/serve.js, npmrcFile=/tmp/junit-5926351033281145424/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/.npmrc] with NodeModulesCachingNpmProcessFactory. (took 54ms) > [INFO] [BEGIN] Starting npm based server in /tmp/junit-5926351033281145424/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85 with NodeModulesCachingNpmProcessFactory. > [INFO] [END] Starting npm based server in /tmp/junit-5926351033281145424/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85 with NodeModulesCachingNpmProcessFactory. (took 23ms) > [INFO] clean file: /tmp/junit-5926351033281145424/src/main/typescript/test.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/has-symbols/shams.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/has-symbols/index.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/side-channel-weakmap/index.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/es-define-property/index.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/es-errors/type.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/es-object-atoms/RequireObjectCoercible.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/es-object-atoms/ToObject.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/hasown/index.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/pow.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/max.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/sign.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/isNaN.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/mod.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/min.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/isInteger.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/floor.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/isNegativeZero.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/constants/maxValue.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/constants/maxArrayLength.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/abs.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/isFinite.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/side-channel-map/index.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/gopd/index.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/call-bind-apply-helpers/applyBind.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/call-bind-apply-helpers/functionCall.d.ts > [INFO] clean file: /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/call-bind-apply-helpers/functionApply.d.ts > [ERROR] Step 'prettier-format' found problem in 'index.d.ts': > Unexpected response status code at /prettier/format [HTTP 500] -- (Error while formatting: SyntaxError: ',' expected. (7:25) > 5 | > = Index["length"] extends RemoveCount > 6 | ? Tuple > > 7 | : Tuple extends [first: unknown, ...infer Rest] > | ^ > 8 | ? RemoveFromTuple<Rest, RemoveCount, [...Index, 1]> > 9 | : Tuple; > 10 | ) > com.diffplug.spotless.npm.SimpleRestClient$SimpleRestResponseException: Unexpected response status code at /prettier/format [HTTP 500] -- (Error while formatting: SyntaxError: ',' expected. (7:25) > 5 | > = Index["length"] extends RemoveCount > 6 | ? Tuple > > 7 | : Tuple extends [first: unknown, ...infer Rest] > | ^ > 8 | ? RemoveFromTuple<Rest, RemoveCount, [...Index, 1]> > 9 | : Tuple; > 10 | ) > at com.diffplug.spotless.npm.SimpleRestClient.postJson(SimpleRestClient.java:72) > at com.diffplug.spotless.npm.SimpleRestClient.postJson(SimpleRestClient.java:46) > at com.diffplug.spotless.npm.PrettierRestService.format(PrettierRestService.java:46) > at com.diffplug.spotless.npm.PrettierFormatterStep$PrettierFilePathPassingFormatterFunc.applyWithFile(PrettierFormatterStep.java:125) > at com.diffplug.spotless.FormatterFunc$NeedsFile.apply(FormatterFunc.java:174) > at com.diffplug.spotless.FormatterFunc$Closeable$1.apply(FormatterFunc.java:73) > at com.diffplug.spotless.FormatterStepEqualityOnStateSerialization.format(FormatterStepEqualityOnStateSerialization.java:49) > at com.diffplug.spotless.Formatter.computeWithLint(Formatter.java:170) > at com.diffplug.spotless.DirtyState.of(DirtyState.java:97) > at com.diffplug.spotless.DirtyState.of(DirtyState.java:82) > at com.diffplug.spotless.DirtyState.of(DirtyState.java:77) > at com.diffplug.spotless.DirtyState.of(DirtyState.java:73) > at com.diffplug.spotless.maven.SpotlessApplyMojo.process(SpotlessApplyMojo.java:63) > at com.diffplug.spotless.maven.AbstractSpotlessMojo.execute(AbstractSpotlessMojo.java:255) > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) > at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:160) > 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > 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) > 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) > [INFO] Closing formatting function (ending server). > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 1.953 s > [INFO] Finished at: 2024-12-12T14:21:37+00:00 > [INFO] Final Memory: 11M/44M > [INFO] ------------------------------------------------------------------------ > [ERROR] Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.44.0.BETA4-SNAPSHOT:apply (default-cli) on project spotless-maven-plugin-tests: Unable to format file /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/call-bind-apply-helpers/index.d.ts: Unexpected response status code at /prettier/format [HTTP 500] -- (Error while formatting: SyntaxError: ',' expected. (7:25) > [ERROR] 5 | > = Index["length"] extends RemoveCount > [ERROR] 6 | ? Tuple > [ERROR] > 7 | : Tuple extends [first: unknown, ...infer Rest] > [ERROR] | ^ > [ERROR] 8 | ? RemoveFromTuple<Rest, RemoveCount, [...Index, 1]> > [ERROR] 9 | : Tuple; > [ERROR] 10 | ) > [ERROR] -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.44.0.BETA4-SNAPSHOT:apply (default-cli) on project spotless-maven-plugin-tests: Unable to format file /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/call-bind-apply-helpers/index.d.ts > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) > at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:160) > 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > 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) > 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: org.apache.maven.plugin.MojoExecutionException: Unable to format file /tmp/junit-5926351033281145424/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/call-bind-apply-helpers/index.d.ts > at com.diffplug.spotless.maven.SpotlessApplyMojo.process(SpotlessApplyMojo.java:73) > at com.diffplug.spotless.maven.AbstractSpotlessMojo.execute(AbstractSpotlessMojo.java:255) > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > ... 26 more > Caused by: com.diffplug.spotless.npm.SimpleRestClient$SimpleRestResponseException: Unexpected response status code at /prettier/format [HTTP 500] -- (Error while formatting: SyntaxError: ',' expected. (7:25) > 5 | > = Index["length"] extends RemoveCount > 6 | ? Tuple > > 7 | : Tuple extends [first: unknown, ...infer Rest] > | ^ > 8 | ? RemoveFromTuple<Rest, RemoveCount, [...Index, 1]> > 9 | : Tuple; > 10 | ) > at com.diffplug.spotless.npm.SimpleRestClient.postJson(SimpleRestClient.java:72) > at com.diffplug.spotless.npm.SimpleRestClient.postJson(SimpleRestClient.java:46) > at com.diffplug.spotless.npm.PrettierRestService.format(PrettierRestService.java:46) > at com.diffplug.spotless.npm.PrettierFormatterStep$PrettierFilePathPassingFormatterFunc.applyWithFile(PrettierFormatterStep.java:125) > at com.diffplug.spotless.FormatterFunc$NeedsFile.apply(FormatterFunc.java:174) > at com.diffplug.spotless.FormatterFunc$Closeable$1.apply(FormatterFunc.java:73) > at com.diffplug.spotless.FormatterStepEqualityOnStateSerialization.format(FormatterStepEqualityOnStateSerialization.java:49) > at com.diffplug.spotless.Formatter.computeWithLint(Formatter.java:170) > at com.diffplug.spotless.DirtyState.of(DirtyState.java:97) > at com.diffplug.spotless.DirtyState.of(DirtyState.java:82) > at com.diffplug.spotless.DirtyState.of(DirtyState.java:77) > at com.diffplug.spotless.DirtyState.of(DirtyState.java:73) > at com.diffplug.spotless.maven.SpotlessApplyMojo.process(SpotlessApplyMojo.java:63) > ... 29 more > [ERROR] > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please read the following articles: > [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException ] expected: 0 but was: 1
NpmStepsWithNpmInstallCacheTest.prettierTypescriptWithDefaultCacheIsReusedOnSecondRun(): plugin-maven/src/test/java/com/diffplug/spotless/maven/npm/NpmStepsWithNpmInstallCacheTest.java#L88
org.opentest4j.AssertionFailedError: [Run without error > arguments: [sh, -c, ./mvnw -e spotless:apply] > exit code: 1 > stdout: (below) > [INFO] Error stacktraces are turned on. > [INFO] Scanning for projects... > [INFO] > [INFO] ------------------------------------------------------------------------ > [INFO] Building Spotless Maven Plugin Tests 1.0.0-SNAPSHOT > [INFO] ------------------------------------------------------------------------ > [INFO] > [INFO] --- spotless-maven-plugin:2.44.0.BETA4-SNAPSHOT:apply (default-cli) @ spotless-maven-plugin-tests --- > [INFO] Index file does not exist. Fallback to an empty index > [INFO] creating formatter function (starting server) > [INFO] Caching npm install results in /tmp/junit-8955714239399375831/target/spotless-npm-install-cache. > [INFO] [BEGIN] Preparing NodeServerLayout[nodeModulesDir=/tmp/junit-8955714239399375831/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85, packageJsonFile=/tmp/junit-8955714239399375831/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/package.json, serveJsFile=/tmp/junit-8955714239399375831/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/serve.js, npmrcFile=/tmp/junit-8955714239399375831/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/.npmrc] for npm step com.diffplug.spotless.npm.NodeServeApp. > [INFO] [END] Preparing NodeServerLayout[nodeModulesDir=/tmp/junit-8955714239399375831/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85, packageJsonFile=/tmp/junit-8955714239399375831/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/package.json, serveJsFile=/tmp/junit-8955714239399375831/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/serve.js, npmrcFile=/tmp/junit-8955714239399375831/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/.npmrc] for npm step com.diffplug.spotless.npm.NodeServeApp. (took 5ms) > [INFO] [BEGIN] Installing npm dependencies for NodeServerLayout[nodeModulesDir=/tmp/junit-8955714239399375831/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85, packageJsonFile=/tmp/junit-8955714239399375831/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/package.json, serveJsFile=/tmp/junit-8955714239399375831/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/serve.js, npmrcFile=/tmp/junit-8955714239399375831/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/.npmrc] with NodeModulesCachingNpmProcessFactory. > [INFO] [BEGIN] Using cached node_modules for spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85 from /tmp/junit-8955714239399375831/target/spotless-npm-install-cache > [INFO] [END] Using cached node_modules for spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85 from /tmp/junit-8955714239399375831/target/spotless-npm-install-cache (took 44ms) > [INFO] [END] Installing npm dependencies for NodeServerLayout[nodeModulesDir=/tmp/junit-8955714239399375831/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85, packageJsonFile=/tmp/junit-8955714239399375831/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/package.json, serveJsFile=/tmp/junit-8955714239399375831/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/serve.js, npmrcFile=/tmp/junit-8955714239399375831/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/.npmrc] with NodeModulesCachingNpmProcessFactory. (took 48ms) > [INFO] [BEGIN] Starting npm based server in /tmp/junit-8955714239399375831/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85 with NodeModulesCachingNpmProcessFactory. > [INFO] [END] Starting npm based server in /tmp/junit-8955714239399375831/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85 with NodeModulesCachingNpmProcessFactory. (took 17ms) > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/has-symbols/shams.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/has-symbols/index.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/side-channel-weakmap/index.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/es-define-property/index.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/es-errors/type.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/es-object-atoms/RequireObjectCoercible.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/es-object-atoms/ToObject.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/hasown/index.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/pow.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/max.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/sign.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/isNaN.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/mod.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/min.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/isInteger.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/floor.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/isNegativeZero.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/constants/maxValue.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/constants/maxArrayLength.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/abs.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/math-intrinsics/isFinite.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/side-channel-map/index.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/gopd/index.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/call-bind-apply-helpers/applyBind.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/call-bind-apply-helpers/functionCall.d.ts > [INFO] clean file: /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/call-bind-apply-helpers/functionApply.d.ts > [ERROR] Step 'prettier-format' found problem in 'index.d.ts': > Unexpected response status code at /prettier/format [HTTP 500] -- (Error while formatting: SyntaxError: ',' expected. (7:25) > 5 | > = Index["length"] extends RemoveCount > 6 | ? Tuple > > 7 | : Tuple extends [first: unknown, ...infer Rest] > | ^ > 8 | ? RemoveFromTuple<Rest, RemoveCount, [...Index, 1]> > 9 | : Tuple; > 10 | ) > com.diffplug.spotless.npm.SimpleRestClient$SimpleRestResponseException: Unexpected response status code at /prettier/format [HTTP 500] -- (Error while formatting: SyntaxError: ',' expected. (7:25) > 5 | > = Index["length"] extends RemoveCount > 6 | ? Tuple > > 7 | : Tuple extends [first: unknown, ...infer Rest] > | ^ > 8 | ? RemoveFromTuple<Rest, RemoveCount, [...Index, 1]> > 9 | : Tuple; > 10 | ) > at com.diffplug.spotless.npm.SimpleRestClient.postJson(SimpleRestClient.java:72) > at com.diffplug.spotless.npm.SimpleRestClient.postJson(SimpleRestClient.java:46) > at com.diffplug.spotless.npm.PrettierRestService.format(PrettierRestService.java:46) > at com.diffplug.spotless.npm.PrettierFormatterStep$PrettierFilePathPassingFormatterFunc.applyWithFile(PrettierFormatterStep.java:125) > at com.diffplug.spotless.FormatterFunc$NeedsFile.apply(FormatterFunc.java:174) > at com.diffplug.spotless.FormatterFunc$Closeable$1.apply(FormatterFunc.java:73) > at com.diffplug.spotless.FormatterStepEqualityOnStateSerialization.format(FormatterStepEqualityOnStateSerialization.java:49) > at com.diffplug.spotless.Formatter.computeWithLint(Formatter.java:170) > at com.diffplug.spotless.DirtyState.of(DirtyState.java:97) > at com.diffplug.spotless.DirtyState.of(DirtyState.java:82) > at com.diffplug.spotless.DirtyState.of(DirtyState.java:77) > at com.diffplug.spotless.DirtyState.of(DirtyState.java:73) > at com.diffplug.spotless.maven.SpotlessApplyMojo.process(SpotlessApplyMojo.java:63) > at com.diffplug.spotless.maven.AbstractSpotlessMojo.execute(AbstractSpotlessMojo.java:255) > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) > at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:160) > 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > 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) > 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) > [INFO] Closing formatting function (ending server). > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 1.883 s > [INFO] Finished at: 2024-12-12T14:21:57+00:00 > [INFO] Final Memory: 11M/40M > [INFO] ------------------------------------------------------------------------ > [ERROR] Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.44.0.BETA4-SNAPSHOT:apply (default-cli) on project spotless-maven-plugin-tests: Unable to format file /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/call-bind-apply-helpers/index.d.ts: Unexpected response status code at /prettier/format [HTTP 500] -- (Error while formatting: SyntaxError: ',' expected. (7:25) > [ERROR] 5 | > = Index["length"] extends RemoveCount > [ERROR] 6 | ? Tuple > [ERROR] > 7 | : Tuple extends [first: unknown, ...infer Rest] > [ERROR] | ^ > [ERROR] 8 | ? RemoveFromTuple<Rest, RemoveCount, [...Index, 1]> > [ERROR] 9 | : Tuple; > [ERROR] 10 | ) > [ERROR] -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.44.0.BETA4-SNAPSHOT:apply (default-cli) on project spotless-maven-plugin-tests: Unable to format file /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/call-bind-apply-helpers/index.d.ts > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) > at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) > at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:160) > 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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > 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) > 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: org.apache.maven.plugin.MojoExecutionException: Unable to format file /tmp/junit-8955714239399375831/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/call-bind-apply-helpers/index.d.ts > at com.diffplug.spotless.maven.SpotlessApplyMojo.process(SpotlessApplyMojo.java:73) > at com.diffplug.spotless.maven.AbstractSpotlessMojo.execute(AbstractSpotlessMojo.java:255) > at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) > at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > ... 26 more > Caused by: com.diffplug.spotless.npm.SimpleRestClient$SimpleRestResponseException: Unexpected response status code at /prettier/format [HTTP 500] -- (Error while formatting: SyntaxError: ',' expected. (7:25) > 5 | > = Index["length"] extends RemoveCount > 6 | ? Tuple > > 7 | : Tuple extends [first: unknown, ...infer Rest] > | ^ > 8 | ? RemoveFromTuple<Rest, RemoveCount, [...Index, 1]> > 9 | : Tuple; > 10 | ) > at com.diffplug.spotless.npm.SimpleRestClient.postJson(SimpleRestClient.java:72) > at com.diffplug.spotless.npm.SimpleRestClient.postJson(SimpleRestClient.java:46) > at com.diffplug.spotless.npm.PrettierRestService.format(PrettierRestService.java:46) > at com.diffplug.spotless.npm.PrettierFormatterStep$PrettierFilePathPassingFormatterFunc.applyWithFile(PrettierFormatterStep.java:125) > at com.diffplug.spotless.FormatterFunc$NeedsFile.apply(FormatterFunc.java:174) > at com.diffplug.spotless.FormatterFunc$Closeable$1.apply(FormatterFunc.java:73) > at com.diffplug.spotless.FormatterStepEqualityOnStateSerialization.format(FormatterStepEqualityOnStateSerialization.java:49) > at com.diffplug.spotless.Formatter.computeWithLint(Formatter.java:170) > at com.diffplug.spotless.DirtyState.of(DirtyState.java:97) > at com.diffplug.spotless.DirtyState.of(DirtyState.java:82) > at com.diffplug.spotless.DirtyState.of(DirtyState.java:77) > at com.diffplug.spotless.DirtyState.of(DirtyState.java:73) > at com.diffplug.spotless.maven.SpotlessApplyMojo.process(SpotlessApplyMojo.java:63) > ... 29 more > [ERROR] > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please read the following articles: > [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException ] expected: 0 but was: 1
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