googleapis / google-cloud-java

Google Cloud Client Library for Java
https://cloud.google.com/java/docs/reference
Apache License 2.0
1.89k stars 1.06k forks source link

Nightly flake: grpc generics compilation failure #11067

Open burkedavison opened 1 month ago

burkedavison commented 1 month ago

https://fusion2.corp.google.com/invocations/264d140a-c367-473f-a5ec-225c9a4976bc/targets/cloud-devrel%2Fclient-libraries%2Fjava%2Fgoogle-cloud-java%2Fnightly%2Fgraalvm-sub-jobs%2Fnative-a%2Fgraalvm-native-5/log

07:17:01:908 [INFO] --- compiler:3.13.0:compile (default-compile) @ grpc-google-cloud-aiplatform-v1beta1 ---
07:17:01:911 [INFO] Recompiling the module because of changed dependency.
07:17:01:911 [INFO] Compiling 35 source files with javac [debug deprecation release 8] to target/classes
07:17:03:418 [INFO] -------------------------------------------------------------
07:17:03:418 [ERROR] COMPILATION ERROR : 
07:17:03:418 [INFO] -------------------------------------------------------------
07:17:03:418 [ERROR] /tmpfs/src/github/google-cloud-java/java-aiplatform/grpc-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/PredictionServiceGrpc.java:[1901,19] incompatible types: inference variable ReqT has incompatible equality constraints com.google.cloud.aiplatform.v1beta1.GenerateContentResponse,ReqT,com.google.cloud.aiplatform.v1beta1.GenerateContentRequest
07:17:03:418 [INFO] 1 error
burkedavison commented 1 month ago

Similar issue, but different API. Renaming issue to reflect that this is not aiplatform specific.

https://fusion2.corp.google.com/invocations/18974d74-8273-4aef-a92f-cc7da7679843/targets/cloud-devrel%2Fclient-libraries%2Fjava%2Fgoogle-cloud-java%2Fnightly%2Fgraalvm-sub-jobs%2Fnative-b%2Fgraalvm-native-12;config=default/log

07:44:21:608 [INFO] --- compiler:3.13.0:compile (default-compile) @ grpc-google-cloud-memcache-v1 ---
07:44:21:611 [INFO] Recompiling the module because of changed dependency.
07:44:21:613 [INFO] Compiling 1 source file with javac [debug deprecation release 8] to target/classes
07:44:21:738 [INFO] -------------------------------------------------------------
07:44:21:738 [ERROR] COMPILATION ERROR : 
07:44:21:738 [INFO] -------------------------------------------------------------
07:44:21:738 [ERROR] /tmpfs/src/github/google-cloud-java/java-memcache/grpc-google-cloud-memcache-v1/src/main/java/com/google/cloud/memcache/v1/CloudMemcacheGrpc.java:[679,46] incompatible types: inference variable ResponseT has incompatible equality constraints com.google.cloud.memcache.v1.CreateInstanceRequest,RespT,com.google.longrunning.Operation
07:44:21:738 [INFO] 1 error