Fixes for Calcite 1.38.0 #182
Annotations
10 errors and 2 warnings
Run CheckerFramework:
task ':core:compileJava'#L1
Execution failed for task ':core:compileJava':
org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details.
at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:61)
at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:41)
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:102)
at org.gradle.workers.internal.WorkerDaemonServer.run(WorkerDaemonServer.java:71)
at org.gradle.process.internal.worker.request.WorkerAction$1.call(WorkerAction.java:146)
at org.gradle.process.internal.worker.child.WorkerLogEventListener.withWorkerLoggingProtocol(WorkerLogEventListener.java:41)
at org.gradle.process.internal.worker.request.WorkerAction.lambda$run$0(WorkerAction.java:143)
at org.gradle.internal.operations.CurrentBuildOperationRef.with(CurrentBuildOperationRef.java:80)
at org.gradle.process.internal.worker.request.WorkerAction.run(WorkerAction.java:135)
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:47)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
|
Run CheckerFramework
Execution failed for task ':core:compileJava'.
> Compilation failed; see the compiler error output for details.
|
Run CheckerFramework:
core/src/main/java/org/apache/calcite/schema/Schema.java#L71
[Task :core:compileJava] [methodref.return.invalid] Incompatible return type
return new SimpleLookup<Table>(this::getTable, this::getTableNames);
^
found : @initialized @nullable Table
|
Run CheckerFramework:
core/src/main/java/org/apache/calcite/schema/Schema.java#L75
[Task :core:compileJava] [methodref.return.invalid] Incompatible return type
return new SimpleLookup<Schema>(this::getSubSchema, this::getSubSchemaNames);
^
found : @initialized @nullable Schema
|
Run CheckerFramework:
core/src/main/java/org/apache/calcite/schema/lookup/Lookup.java#L63
[Task :core:compileJava] [return.type.incompatible] incompatible types in return.
return null;
^
type of expression: @initialized @nullable NullType
|
Run CheckerFramework:
core/src/main/java/org/apache/calcite/schema/lookup/Lookup.java#L67
[Task :core:compileJava] [argument.type.incompatible] incompatible argument for parameter named of entity.
return Named.entity(lookup.getIgnoreCase(name));
^
found : @initialized @nullable Named<T extends @initialized @nullable Object>
|
Run CheckerFramework:
core/src/main/java/org/apache/calcite/jdbc/CalciteSchema.java#L94
[Task :core:compileJava] [method.invocation.invalid] call to tableEntry(java.lang.String,org.apache.calcite.schema.Table) not allowed on the given receiver.
this.tables = Lookup.concat(Lookup.of(this.tableMap),schema.tables().map((s,n) -> tableEntry(n,s)));
^
found : @UnderInitialization @nonnull CalciteSchema
|
Run CheckerFramework:
core/src/main/java/org/apache/calcite/jdbc/CalciteSchema.java#L97
[Task :core:compileJava] [method.invocation.invalid] call to createSubSchema(org.apache.calcite.schema.Schema,java.lang.String) not allowed on the given receiver.
this.subSchemas = Lookup.concat(Lookup.of(this.subSchemaMap),schema.subSchemas().map((s,n) -> createSubSchema(s,n)));
^
found : @UnderInitialization @nonnull CalciteSchema
|
Run CheckerFramework:
core/src/main/java/org/apache/calcite/jdbc/CalciteSchema.java#L244
[Task :core:compileJava] [argument.type.incompatible] incompatible argument for parameter named of entity.
: Named.entity(subSchemas.getIgnoreCase(schemaName));
^
found : @initialized @nullable Named<@initialized @nonnull CalciteSchema>
|
Run CheckerFramework:
core/src/main/java/org/apache/calcite/tools/RelBuilder.java#L2464
[Task :core:compileJava] [dereference.of.nullable] dereference of possibly-null reference stack.peek()
&& !(stack.peek() != null && RelOptUtil.hasCalcViewHint(stack.peek().rel))) {
^
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-java@v2, burrunan/gradle-cache-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading