Update Rust crate tonic to 0.11.0 - autoclosed #530
Annotations
18 errors
the trait bound `protos::emails_server::EmailsServer<service::Service>: tonic::server::NamedService` is not satisfied:
src/lib.rs#L112
error[E0277]: the trait bound `protos::emails_server::EmailsServer<service::Service>: tonic::server::NamedService` is not satisfied
--> src/service.rs:112:32
|
112 | reporter.set_serving::<EmailsServer<Service>>().await;
| ----------- ^^^^^^^^^^^^^^^^^^^^^ the trait `tonic::server::NamedService` is not implemented for `protos::emails_server::EmailsServer<service::Service>`
| |
| required by a bound introduced by this call
|
help: trait impl with same name found
--> /home/runner/work/emails/emails/target/debug/build/charted-emails-103190a7a07a7f43/out/noelware.charted.emails.rs:417:5
|
417 | impl<T: Emails> tonic::server::NamedService for EmailsServer<T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `tonic` are being used?
= help: the following other types implement trait `tonic::server::NamedService`:
tonic_health::pb::health_server::HealthServer<T>
tonic_reflection::server::ServerReflectionServer<T>
tonic::service::interceptor::InterceptedService<S, F>
note: required by a bound in `tonic_health::server::HealthReporter::set_serving`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tonic-health-0.10.2/src/server.rs:57:12
|
55 | pub async fn set_serving<S>(&mut self)
| ----------- required by a bound in this associated function
56 | where
57 | S: NamedService,
| ^^^^^^^^^^^^ required by this bound in `HealthReporter::set_serving`
|
type mismatch resolving `<HealthServer<impl Health> as Service<Request<Body>>>::Response == Response<UnsyncBoxBody<Bytes, Status>>`:
src/lib.rs#L124
error[E0271]: type mismatch resolving `<HealthServer<impl Health> as Service<Request<Body>>>::Response == Response<UnsyncBoxBody<Bytes, Status>>`
--> src/service.rs:124:26
|
124 | .add_service(service)
| ----------- ^^^^^^^ expected `tonic::Status`, found `tonic::status::Status`
| |
| required by a bound introduced by this call
|
= note: `tonic::status::Status` and `tonic::Status` have similar names, but are actually distinct types
note: `tonic::status::Status` is defined in crate `tonic`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tonic-0.10.2/src/status.rs:38:1
|
38 | pub struct Status {
| ^^^^^^^^^^^^^^^^^
note: `tonic::Status` is defined in crate `tonic`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tonic-0.11.0/src/status.rs:38:1
|
38 | pub struct Status {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `tonic` are being used?
note: required by a bound in `tonic::transport::Server::<L>::add_service`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tonic-0.11.0/src/transport/server/mod.rs:362:35
|
360 | pub fn add_service<S>(&mut self, svc: S) -> Router<L>
| ----------- required by a bound in this associated function
361 | where
362 | S: Service<Request<Body>, Response = Response<BoxBody>, Error = Infallible>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Server::<L>::add_service`
|
the trait bound `tonic_health::pb::health_server::HealthServer<impl tonic_health::pb::health_server::Health>: tonic::server::NamedService` is not satisfied:
src/lib.rs#L124
error[E0277]: the trait bound `tonic_health::pb::health_server::HealthServer<impl tonic_health::pb::health_server::Health>: tonic::server::NamedService` is not satisfied
--> src/service.rs:124:26
|
124 | .add_service(service)
| ----------- ^^^^^^^ the trait `tonic::server::NamedService` is not implemented for `tonic_health::pb::health_server::HealthServer<impl tonic_health::pb::health_server::Health>`
| |
| required by a bound introduced by this call
|
help: trait impl with same name found
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tonic-health-0.10.2/src/generated/grpc_health_v1.rs:453:5
|
453 | impl<T: Health> tonic::server::NamedService for HealthServer<T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `tonic` are being used?
= help: the following other types implement trait `tonic::server::NamedService`:
protos::emails_server::EmailsServer<T>
tonic::service::interceptor::InterceptedService<S, F>
tower::util::either::Either<S, T>
note: required by a bound in `tonic::transport::Server::<L>::add_service`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tonic-0.11.0/src/transport/server/mod.rs:363:15
|
360 | pub fn add_service<S>(&mut self, svc: S) -> Router<L>
| ----------- required by a bound in this associated function
...
363 | + NamedService
| ^^^^^^^^^^^^ required by this bound in `Server::<L>::add_service`
|
type mismatch resolving `<ServerReflectionServer<impl ServerReflection> as Service<Request<Body>>>::Response == Response<UnsyncBoxBody<Bytes, Status>>`:
src/lib.rs#L125
error[E0271]: type mismatch resolving `<ServerReflectionServer<impl ServerReflection> as Service<Request<Body>>>::Response == Response<UnsyncBoxBody<Bytes, Status>>`
--> src/service.rs:125:26
|
125 | .add_service(reflection)
| ----------- ^^^^^^^^^^ expected `tonic::Status`, found `tonic::status::Status`
| |
| required by a bound introduced by this call
|
= note: `tonic::status::Status` and `tonic::Status` have similar names, but are actually distinct types
note: `tonic::status::Status` is defined in crate `tonic`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tonic-0.10.2/src/status.rs:38:1
|
38 | pub struct Status {
| ^^^^^^^^^^^^^^^^^
note: `tonic::Status` is defined in crate `tonic`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tonic-0.11.0/src/status.rs:38:1
|
38 | pub struct Status {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `tonic` are being used?
note: required by a bound in `tonic::transport::server::Router::<L>::add_service`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tonic-0.11.0/src/transport/server/mod.rs:572:35
|
570 | pub fn add_service<S>(mut self, svc: S) -> Self
| ----------- required by a bound in this associated function
571 | where
572 | S: Service<Request<Body>, Response = Response<BoxBody>, Error = Infallible>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Router::<L>::add_service`
|
the trait bound `tonic_reflection::server::ServerReflectionServer<impl tonic_reflection::server::ServerReflection>: tonic::server::NamedService` is not satisfied:
src/lib.rs#L125
error[E0277]: the trait bound `tonic_reflection::server::ServerReflectionServer<impl tonic_reflection::server::ServerReflection>: tonic::server::NamedService` is not satisfied
--> src/service.rs:125:26
|
125 | .add_service(reflection)
| ----------- ^^^^^^^^^^ the trait `tonic::server::NamedService` is not implemented for `tonic_reflection::server::ServerReflectionServer<impl tonic_reflection::server::ServerReflection>`
| |
| required by a bound introduced by this call
|
help: trait impl with same name found
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tonic-reflection-0.10.2/src/generated/grpc_reflection_v1alpha.rs:461:5
|
461 | impl<T: ServerReflection> tonic::server::NamedService for ServerReflectionServer<T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `tonic` are being used?
= help: the following other types implement trait `tonic::server::NamedService`:
protos::emails_server::EmailsServer<T>
tonic::service::interceptor::InterceptedService<S, F>
tower::util::either::Either<S, T>
note: required by a bound in `tonic::transport::server::Router::<L>::add_service`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tonic-0.11.0/src/transport/server/mod.rs:573:15
|
570 | pub fn add_service<S>(mut self, svc: S) -> Self
| ----------- required by a bound in this associated function
...
573 | + NamedService
| ^^^^^^^^^^^^ required by this bound in `Router::<L>::add_service`
|
aborting due to 5 previous errors
error: aborting due to 5 previous errors
|
Clippy!
Received a internal compiler error OR an unknown message type, view this in debug mode to view the payload
|
Clippy!
{
"rendered": "Some errors have detailed explanations: E0271, E0277.\n",
"$message_type": "diagnostic",
"children": [],
"code": null,
"level": "failure-note",
"message": "Some errors have detailed explanations: E0271, E0277.",
"spans": []
}
|
Rust CI on Linux (x86_64) with toolchain nightly
Process completed with exit code 101.
|
Rust CI on Linux (x86_64) with toolchain stable
The job was canceled because "ubuntu-latest_nightly" failed.
|
Rust CI on Linux (x86_64) with toolchain stable
Process completed with exit code 101.
|
Rust CI on Windows with toolchain stable
The job was canceled because "ubuntu-latest_nightly" failed.
|
Rust CI on Windows with toolchain stable
The operation was canceled.
|
Rust CI on macOS (x86_64) with toolchain stable
The job was canceled because "ubuntu-latest_nightly" failed.
|
Rust CI on macOS (x86_64) with toolchain stable
The operation was canceled.
|
Rust CI on Windows with toolchain nightly
The job was canceled because "ubuntu-latest_nightly" failed.
|
Rust CI on Windows with toolchain nightly
The operation was canceled.
|
Rust CI on macOS (x86_64) with toolchain nightly
The job was canceled because "ubuntu-latest_nightly" failed.
|