Skip to content

dart interop failures #18404

@markdroth

Description

@markdroth

Seen for both to-cloud and to-prod interop tests:

https://source.cloud.google.com/results/invocations/d6f58fbe-2e6b-4fd1-a9a5-47f92b96046d/targets/grpc%2Fcore%2Fpull_request%2Flinux%2Fgrpc_interop_tocloud/log

https://source.cloud.google.com/results/invocations/a99ebed6-8f5b-45b6-9a45-9240dfac1b69/targets/grpc%2Fcore%2Fpull_request%2Flinux%2Fgrpc_interop_toprod/log

2019-03-15 12:16:57,191 file:///var/local/git/grpc-dart/lib/src/client/http2_channel.dart:24:1: Error: 'Future' expects 0 type arguments.
Future<Transport> connectTransport(
^
file:///var/local/git/grpc-dart/lib/src/client/http2_channel.dart:26:10: Error: A value of type '#lib1::Http2Transport' can't be assigned to a variable of type 'dart.async::FutureOr<invalid-type>'.
Try changing the type of the left hand side, or casting the right hand side to 'dart.async::FutureOr<invalid-type>'.
  return Http2Transport(host, port, options)..connect();
         ^
file:///var/local/git/grpc-dart/lib/src/client/http2_channel.dart:24:19: Error: Functions marked 'async' must have a return type assignable to 'Future'.
Future<Transport> connectTransport(
                  ^^^^^^^^^^^^^^^^
file:///var/local/git/grpc-dart/lib/src/client/http2_channel.dart:32:21: Error: The argument type '(dart.core::String, dart.core::int, #lib1::ChannelOptions) → invalid-type' can't be assigned to the parameter type '(dart.core::String, dart.core::int, #lib1::ChannelOptions) → dart.async::Future<#lib2::Transport>'.
Try changing the type of the parameter, or casting the argument to '(dart.core::String, dart.core::int, #lib1::ChannelOptions) → dart.async::Future<#lib2::Transport>'.
      : super(host, connectTransport, port: port, options: options);
                    ^
2019-03-15 12:16:57,191 FAILED: cloud_to_cloud:dart:aspnetcore_server:empty_unary:tls [ret=254, pid=28212, time=10.0sec]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions