Skip to content

Unable to build io.grpc:grpc-kotlin-stub locally #146

Open
@skomp

Description

@skomp

We are attempting at using a prerelease in our project since we need #66 to implement proper opentracing with grpc and coroutines. Unfortunately, the latest master's gradle build fails with exceptions in testCompile:

e: /Users/robertmassow/src/github.com/grpc/grpc-kotlin/stub/src/test/java/io/grpc/kotlin/CoroutineContextServerInterceptorTest.kt: (19, 65): Unresolved reference: testing
e: /Users/robertmassow/src/github.com/grpc/grpc-kotlin/stub/src/test/java/io/grpc/kotlin/CoroutineContextServerInterceptorTest.kt: (45, 31): Type mismatch: inferred type is CoroutineContextServerInterceptorTest.HelloReplyWithContextMessage but ServerMethodDefinition<*, *> was expected
e: /Users/robertmassow/src/github.com/grpc/grpc-kotlin/stub/src/test/java/io/grpc/kotlin/CoroutineContextServerInterceptorTest.kt: (68, 19): None of the following functions can be called with the arguments supplied: 
public final fun makeChannel(impl: BindableService): ManagedChannel defined in io.grpc.kotlin.CoroutineContextServerInterceptorTest
public final fun makeChannel(impl: ServerMethodDefinition<*, *>, vararg interceptors: ServerInterceptor): ManagedChannel defined in io.grpc.kotlin.CoroutineContextServerInterceptorTest
e: /Users/robertmassow/src/github.com/grpc/grpc-kotlin/stub/src/test/java/io/grpc/kotlin/CoroutineContextServerInterceptorTest.kt: (93, 31): Type mismatch: inferred type is CoroutineContextServerInterceptorTest.HelloReplyWithContextMessage but ServerMethodDefinition<*, *> was expected

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions