Skip to content

Bump the OSGi dep to fix a CVE in the default one. (#2356 fixes #2166) #1949

Bump the OSGi dep to fix a CVE in the default one. (#2356 fixes #2166)

Bump the OSGi dep to fix a CVE in the default one. (#2356 fixes #2166) #1949

Triggered via push December 8, 2024 17:22
Status Failure
Total duration 11m 11s
Artifacts

ci.yml

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

Annotations

3 errors and 12 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-3852968761246035457/cache-prettier-1. > [INFO] [BEGIN] Preparing NodeServerLayout[nodeModulesDir=/tmp/junit-3852968761246035457/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85, packageJsonFile=/tmp/junit-3852968761246035457/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/package.json, serveJsFile=/tmp/junit-3852968761246035457/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/serve.js, npmrcFile=/tmp/junit-3852968761246035457/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/.npmrc] for npm step com.diffplug.spotless.npm.NodeServeApp. > [INFO] [END] Preparing NodeServerLayout[nodeModulesDir=/tmp/junit-3852968761246035457/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85, packageJsonFile=/tmp/junit-3852968761246035457/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/package.json, serveJsFile=/tmp/junit-3852968761246035457/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/serve.js, npmrcFile=/tmp/junit-3852968761246035457/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/.npmrc] for npm step com.diffplug.spotless.npm.NodeServeApp. (took 8ms) > [INFO] [BEGIN] Installing npm dependencies for NodeServerLayout[nodeModulesDir=/tmp/junit-3852968761246035457/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85, packageJsonFile=/tmp/junit-3852968761246035457/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/package.json, serveJsFile=/tmp/junit-3852968761246035457/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/serve.js, npmrcFile=/tmp/junit-3852968761246035457/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/.npmrc] with NodeModulesCachingNpmProcessFactory. > [INFO] [BEGIN] Using cached node_modules for spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85 from /tmp/junit-3852968761246035457/cache-prettier-1 > [INFO] [END] Using cached node_modules for spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85 from /tmp/junit-3852968761246035457/cache-prettier-1 (took 57ms) > [INFO] [END] Installing npm dependencies for NodeServerLayout[nodeModulesDir=/tmp/junit-3852968761246035457/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85, packageJsonFile=/tmp/junit-3852968761246035457/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/package.json, serveJsFile=/tmp/junit-3852968761246035457/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/serve.js, npmrcFile=/tmp/junit-3852968761246035457/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/.npmrc] with NodeModulesCachingNpmProcessFactory. (took 68ms) > [INFO] [BEGIN] Starting npm based server in /tmp/junit-3852968761246035457/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85 with NodeModulesCachingNpmProcessFactory. > [INFO] [END] Starting npm based server in /tmp/junit-3852968761246035457/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85 with NodeModulesCachingNpmProcessFactory. (took 26ms) > [INFO] clean file: /tmp/junit-3852968761246035457/src/main/typescript/test.ts > [INFO] clean file: /tmp/junit-3852968761246035457/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/has-symbols/shams.d.ts > [INFO] clean file: /tmp/junit-3852968761246035457/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/has-symbols/index.d.ts > [INFO] clean file: /tmp/junit-3852968761246035457/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/es-define-property/index.d.ts > [INFO] clean file: /tmp/junit-3852968761246035457/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/es-errors/type.d.ts > [INFO] clean file: /tmp/junit-3852968761246035457/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/hasown/index.d.ts > [INFO] clean file: /tmp/junit-3852968761246035457/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/gopd/index.d.ts > [INFO] clean file: /tmp/junit-3852968761246035457/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/call-bind-apply-helpers/applyBind.d.ts > [INFO] clean file: /tmp/junit-3852968761246035457/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/call-bind-apply-helpers/functionCall.d.ts > [INFO] clean file: /tmp/junit-3852968761246035457/cache-prettier-1/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/call-bind-apply-helpers/reflectApply.d.ts > [INFO] clean file: /tmp/junit-3852968761246035457/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: 2.047 s > [INFO] Finished at: 2024-12-08T17:26:52+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-3852968761246035457/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-3852968761246035457/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-3852968761246035457/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-12885557960991576012/target/spotless-npm-install-cache. > [INFO] [BEGIN] Preparing NodeServerLayout[nodeModulesDir=/tmp/junit-12885557960991576012/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85, packageJsonFile=/tmp/junit-12885557960991576012/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/package.json, serveJsFile=/tmp/junit-12885557960991576012/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/serve.js, npmrcFile=/tmp/junit-12885557960991576012/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/.npmrc] for npm step com.diffplug.spotless.npm.NodeServeApp. > [INFO] [END] Preparing NodeServerLayout[nodeModulesDir=/tmp/junit-12885557960991576012/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85, packageJsonFile=/tmp/junit-12885557960991576012/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/package.json, serveJsFile=/tmp/junit-12885557960991576012/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/serve.js, npmrcFile=/tmp/junit-12885557960991576012/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/.npmrc] for npm step com.diffplug.spotless.npm.NodeServeApp. (took 6ms) > [INFO] [BEGIN] Installing npm dependencies for NodeServerLayout[nodeModulesDir=/tmp/junit-12885557960991576012/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85, packageJsonFile=/tmp/junit-12885557960991576012/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/package.json, serveJsFile=/tmp/junit-12885557960991576012/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/serve.js, npmrcFile=/tmp/junit-12885557960991576012/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/.npmrc] with NodeModulesCachingNpmProcessFactory. > [INFO] [BEGIN] Using cached node_modules for spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85 from /tmp/junit-12885557960991576012/target/spotless-npm-install-cache > [INFO] [END] Using cached node_modules for spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85 from /tmp/junit-12885557960991576012/target/spotless-npm-install-cache (took 52ms) > [INFO] [END] Installing npm dependencies for NodeServerLayout[nodeModulesDir=/tmp/junit-12885557960991576012/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85, packageJsonFile=/tmp/junit-12885557960991576012/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/package.json, serveJsFile=/tmp/junit-12885557960991576012/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/serve.js, npmrcFile=/tmp/junit-12885557960991576012/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/.npmrc] with NodeModulesCachingNpmProcessFactory. (took 57ms) > [INFO] [BEGIN] Starting npm based server in /tmp/junit-12885557960991576012/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85 with NodeModulesCachingNpmProcessFactory. > [INFO] [END] Starting npm based server in /tmp/junit-12885557960991576012/target/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85 with NodeModulesCachingNpmProcessFactory. (took 21ms) > [INFO] clean file: /tmp/junit-12885557960991576012/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/has-symbols/shams.d.ts > [INFO] clean file: /tmp/junit-12885557960991576012/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/has-symbols/index.d.ts > [INFO] clean file: /tmp/junit-12885557960991576012/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/es-define-property/index.d.ts > [INFO] clean file: /tmp/junit-12885557960991576012/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/es-errors/type.d.ts > [INFO] clean file: /tmp/junit-12885557960991576012/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/hasown/index.d.ts > [INFO] clean file: /tmp/junit-12885557960991576012/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/gopd/index.d.ts > [INFO] clean file: /tmp/junit-12885557960991576012/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/call-bind-apply-helpers/applyBind.d.ts > [INFO] clean file: /tmp/junit-12885557960991576012/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/call-bind-apply-helpers/functionCall.d.ts > [INFO] clean file: /tmp/junit-12885557960991576012/target/spotless-npm-install-cache/spotless-prettier-node-modules-7625e07fbc33dcf5702ba782683aac85/node_modules/call-bind-apply-helpers/reflectApply.d.ts > [INFO] clean file: /tmp/junit-12885557960991576012/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: 2.038 s > [INFO] Finished at: 2024-12-08T17:27:13+00:00 > [INFO] Final Memory: 10M/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-12885557960991576012/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-12885557960991576012/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-12885557960991576012/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
build (npm, 11, ubuntu-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 (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 (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 (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 (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
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 (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, 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, 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 (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