Excavator: Upgrades Baseline to the latest version #942
+113
−2
pt-nit-bot / nit-bot
failed
Jan 31, 2026 in 20s
Failed to fix nit
Include the Job ID d5v0d3p6lmhs73d18dbg in a message to #help-devtools for support
### Nit bot ran the following tasks(s): error-prone-apply-suppress
----------
#### Task : `error-prone-apply-suppress`
##### Command and Arguments :
```shell
Command : sh
Arguments : -c ./gradlew --console=plain compileAllErrorProne -PerrorProneApply -PerrorProneSuppress && ./gradlew --console=plain format
Output :
JDK installation '/root/.gradle/gradle-jdks/amazon-corretto-17.0.18.9.1-glibc' does not exist, installing 'https://corretto.aws/downloads/resources/17.0.18.9.1/amazon-corretto-17.0.18.9.1-linux-x64.tar.gz' in progress ...
Using curl to download https://corretto.aws/downloads/resources/17.0.18.9.1/amazon-corretto-17.0.18.9.1-linux-x64.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
6 185M 6 12.1M 0 0 28.2M 0 0:00:06 --:--:-- 0:00:06 28.2M
27 185M 27 51.7M 0 0 35.6M 0 0:00:05 0:00:01 0:00:04 35.6M
70 185M 70 129M 0 0 53.5M 0 0:00:03 0:00:02 0:00:01 53.5M
100 185M 100 185M 0 0 61.1M 0 0:00:03 0:00:03 --:--:-- 61.1M
Copying JDK from /tmp/tmp.bOsUjx4kPf/amazon-corretto-17.0.18.9.1-glibc.in-progress/amazon-corretto-17.0.18.9.1-linux-x64 into /root/.gradle/gradle-jdks/amazon-corretto-17.0.18.9.1-glibc
Certificate GradleJdks_AffirmTrustCommercial_8608355977964138876 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_AffirmTrustNetworking_8957382827206547757 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_AffirmTrustPremium_7893706540734352110 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_AffirmTrustPremiumECC_8401224907861490260 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_AtosTrustedRootRootCAECCTLS2021_81873346711060652204712539181482831616 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_AtosTrustedRootRootCARSATLS2021_111436099570196163832749341232207667876 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_AutoridaddeCertificacionFirmaprofesionalCIFA62634068_1977337328857672817 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_BJCAGlobalRootCA1_113562791157148395269083148143378328608 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_BJCAGlobalRootCA2_58605626836079930195615843123109055211 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_CommScopePublicTrustECCRoot-01_385011430473757362783587124273108818652468453534 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_CommScopePublicTrustECCRoot-02_234015080301808452132356021271193974922492992893 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_CommScopePublicTrustRSARoot-01_354030733275608256394402989253558293562031411421 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_CommScopePublicTrustRSARoot-02_480062499834624527752716769107743131258796508494 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_D-TRUSTBRRootCA12020_165870826978392376648679885835942448534 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_D-TRUSTEVRootCA12020_126288379621884218666039612629459926992 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_GlobalSign_159662223612894884239637590694 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_HARICATLSECCRootCA2021_137515985548005187474074462014555733966 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_HARICATLSRSARootCA2021_76817823531813593706434026085292783742 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_HiPKIRootCA-G1_60966262342023497858655262305426234976 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_SecurityCommunicationECCRootCA1_15446673492073852651 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_SecurityCommunicationRootCA3_16247922307909811815 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_TrustAsiaGlobalRootCAG3_576386314500428537169965010905813481816650257167 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_TrustAsiaGlobalRootCAG4_451799571007117016466790293371524403291602933463 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_TunTrustRootCA_108534058042236574382096126452369648152337120275 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_vTrusECCRootCA_630369271402956006249506845124680065938238527194 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_vTrusRootCA_387574501246983434957692974888460947164905180485 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_Palantir3rd-GenerationRootCA_18126334688741185161 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_Palantir3rd-GenerationRootCA_1968374269 imported successfully into the JDK truststore from the system truststore.
Successfully installed JDK distribution in /root/.gradle/gradle-jdks/amazon-corretto-17.0.18.9.1-glibc
JDK installation '/root/.gradle/gradle-jdks/amazon-corretto-21.0.10.7.1-glibc' does not exist, installing 'https://corretto.aws/downloads/resources/21.0.10.7.1/amazon-corretto-21.0.10.7.1-linux-x64.tar.gz' in progress ...
Using curl to download https://corretto.aws/downloads/resources/21.0.10.7.1/amazon-corretto-21.0.10.7.1-linux-x64.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
14 199M 14 29.4M 0 0 35.8M 0 0:00:05 --:--:-- 0:00:05 35.8M
34 199M 34 69.0M 0 0 38.3M 0 0:00:05 0:00:01 0:00:04 38.3M
79 199M 79 159M 0 0 56.8M 0 0:00:03 0:00:02 0:00:01 56.8M
100 199M 100 199M 0 0 62.6M 0 0:00:03 0:00:03 --:--:-- 62.6M
Copying JDK from /tmp/tmp.bOsUjx4kPf/amazon-corretto-21.0.10.7.1-glibc.in-progress/amazon-corretto-21.0.10.7.1-linux-x64 into /root/.gradle/gradle-jdks/amazon-corretto-21.0.10.7.1-glibc
Certificate GradleJdks_AffirmTrustCommercial_8608355977964138876 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_AffirmTrustNetworking_8957382827206547757 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_AffirmTrustPremium_7893706540734352110 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_AffirmTrustPremiumECC_8401224907861490260 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_AtosTrustedRootRootCAECCTLS2021_81873346711060652204712539181482831616 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_AtosTrustedRootRootCARSATLS2021_111436099570196163832749341232207667876 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_AutoridaddeCertificacionFirmaprofesionalCIFA62634068_1977337328857672817 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_BJCAGlobalRootCA1_113562791157148395269083148143378328608 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_BJCAGlobalRootCA2_58605626836079930195615843123109055211 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_CommScopePublicTrustECCRoot-01_385011430473757362783587124273108818652468453534 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_CommScopePublicTrustECCRoot-02_234015080301808452132356021271193974922492992893 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_CommScopePublicTrustRSARoot-01_354030733275608256394402989253558293562031411421 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_CommScopePublicTrustRSARoot-02_480062499834624527752716769107743131258796508494 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_D-TRUSTBRRootCA12020_165870826978392376648679885835942448534 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_D-TRUSTEVRootCA12020_126288379621884218666039612629459926992 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_GlobalSign_159662223612894884239637590694 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_HARICATLSECCRootCA2021_137515985548005187474074462014555733966 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_HARICATLSRSARootCA2021_76817823531813593706434026085292783742 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_HiPKIRootCA-G1_60966262342023497858655262305426234976 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_SecurityCommunicationECCRootCA1_15446673492073852651 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_SecurityCommunicationRootCA3_16247922307909811815 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_TrustAsiaGlobalRootCAG3_576386314500428537169965010905813481816650257167 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_TrustAsiaGlobalRootCAG4_451799571007117016466790293371524403291602933463 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_TunTrustRootCA_108534058042236574382096126452369648152337120275 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_vTrusECCRootCA_630369271402956006249506845124680065938238527194 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_vTrusRootCA_387574501246983434957692974888460947164905180485 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_Palantir3rd-GenerationRootCA_18126334688741185161 imported successfully into the JDK truststore from the system truststore.
Certificate GradleJdks_Palantir3rd-GenerationRootCA_1968374269 imported successfully into the JDK truststore from the system truststore.
Successfully installed JDK distribution in /root/.gradle/gradle-jdks/amazon-corretto-21.0.10.7.1-glibc
Downloading https://services.gradle.org/distributions/gradle-8.14.4-bin.zip
.............10%.............20%.............30%.............40%.............50%.............60%.............70%.............80%.............90%..............100%
Welcome to Gradle 8.14.4!
Here are the highlights of this release:
- Java 24 support
- GraalVM Native Image toolchain selection
- Enhancements to test reporting
- Build Authoring improvements
For more details see https://docs.gradle.org/8.14.4/release-notes.html
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.14.4/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build
FAILURE: Build failed with an exception.
* Where:
Settings file '/alloc/data/repos/palantir/conjure-postman/settings.gradle' line: 15
* What went wrong:
A problem occurred evaluating settings 'palantir-conjure-postman'.
> The excavator failed to run properly - exited with code 1 and output:
* What went wrong:
Execution failed for task ':conjure-postman-core:compileJava'.
> Compilation failed; see the compiler output below.
/repo/conjure-postman-core/src/main/java/com/palantir/conjure/postman/visitor/BodyParameterTypeVisitor.java:55: warning: [StatementSwitchToExpressionSwitch] This statement switch can be converted to a new-style arrow switch
switch (value.get()) {
^
(see https://errorprone.info/bugpattern/StatementSwitchToExpressionSwitch)
Did you mean 'return switch (value.get()) {' or 'switch (value.get()) {'?
3 errors
1 warning
* Try:
> Run with --scan to get full insights.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':conjure-postman-core:compileJava'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:130)
at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:293)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:128)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:116)
at org.gradle.api.internal.tasks.execution.ProblemsTaskPathTrackingTaskExecuter.execute(ProblemsTaskPathTrackingTaskExecuter.java:41)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:210)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:205)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:67)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:60)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:167)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:60)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:54)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:331)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:318)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.lambda$execute$0(DefaultTaskExecutionGraph.java:314)
at org.gradle.internal.operations.CurrentBuildOperationRef.with(CurrentBuildOperationRef.java:85)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:314)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:303)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:459)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:376)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:48)
Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler output below.
/repo/conjure-postman-core/src/main/java/com/palantir/conjure/postman/visitor/BodyParameterTypeVisitor.java:55: warning: [StatementSwitchToExpressionSwitch] This statement switch can be converted to a new-style arrow switch
switch (value.get()) {
^
(see https://errorprone.info/bugpattern/StatementSwitchToExpressionSwitch)
Did you mean 'return switch (value.get()) {' or 'switch (value.get()) {'?
/repo/conjure-postman-core/src/main/java/com/palantir/conjure/postman/visitor/BodyParameterTypeVisitor.java:106: error: [PreferUncheckedIoException] Prefer UncheckedIOException or SafeUncheckedIoException when wrapping IOException so consumers can more accurately categorize errors
throw new RuntimeException(e);
^
(see https://github.com/palantir/gradle-baseline#baseline-error-prone-checks)
Did you mean 'throw new UncheckedIOException(e);'?
/repo/conjure-postman-core/src/main/java/com/palantir/conjure/postman/PostmanRequestGenerator.java:89: error: [PreferUncheckedIoException] Prefer UncheckedIOException or SafeUncheckedIoException when wrapping IOException so consumers can more accurately categorize errors
throw new RuntimeException(e);
^
(see https://github.com/palantir/gradle-baseline#baseline-error-prone-checks)
Did you mean 'throw new UncheckedIOException(e);'?
/repo/conjure-postman-core/src/main/java/com/palantir/conjure/postman/writer/DefaultPostmanCollectionFileWriter.java:47: error: [PreferUncheckedIoException] Prefer UncheckedIOException or SafeUncheckedIoException when wrapping IOException so consumers can more accurately categorize errors
throw new RuntimeException(e);
^
(see https://github.com/palantir/gradle-baseline#baseline-error-prone-checks)
Did you mean 'throw new UncheckedIOException(e);'?
3 errors
1 warning
at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:89)
at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:50)
at org.gradle.api.internal.tasks.compile.daemon.AbstractIsolatedCompilerWorkerExecutor$CompilerWorkAction.execute(AbstractIsolatedCompilerWorkerExecutor.java:78)
at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:63)
at org.gradle.workers.internal.AbstractClassLoaderWorker$1.create(AbstractClassLoaderWorker.java:54)
at org.gradle.workers.internal.AbstractClassLoaderWorker$1.create(AbstractClassLoaderWorker.java:48)
at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:100)
at org.gradle.workers.internal.AbstractClassLoaderWorker.executeInClassLoader(AbstractClassLoaderWorker.java:48)
at org.gradle.workers.internal.FlatClassLoaderWorker.run(FlatClassLoaderWorker.java:32)
at org.gradle.workers.internal.FlatClassLoaderWorker.run(FlatClassLoaderWorker.java:22)
at org.gradle.workers.internal.WorkerDaemonServer.run(WorkerDaemonServer.java:108)
at org.gradle.workers.internal.WorkerDaemonServer.run(WorkerDaemonServer.java:77)
at org.gradle.process.internal.worker.request.WorkerAction.lambda$run$1(WorkerAction.java:150)
at org.gradle.process.internal.worker.child.WorkerLogEventListener.withWorkerLoggingProtocol(WorkerLogEventListener.java:41)
at org.gradle.process.internal.worker.request.WorkerAction.lambda$run$2(WorkerAction.java:150)
at org.gradle.internal.operations.CurrentBuildOperationRef.with(CurrentBuildOperationRef.java:85)
at org.gradle.process.internal.worker.request.WorkerAction.run(WorkerAction.java:142)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:182)
at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:164)
at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:414)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:48)
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.14.4/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 10s
3 actionable tasks: 3 executed
* 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 8s
failed to execute fix: exit status 1failed to fix nits:
failed to execute task error-prone-apply-suppress: exit status 1
Loading