fix(lease): fix compilation without runtime-diagnostics #73
pr.yml
on: pull_request
changed
9s
Matrix: deny
Matrix: kubert-check-all
Matrix: kubert-check-feature
Matrix: kubert-client-in-cluster
Matrix: kubert-client-local
Matrix: kubert-prometheus-process
Matrix: kubert-prometheus-tokio
info
0s
pr-ok
0s
Annotations
31 errors
kubert-check-feature (admin):
kubert/src/admin.rs#L309
error[E0432]: unresolved import `tower`
--> kubert/src/admin.rs:309:29
|
309 | use tower::ServiceExt;
| ^^^^^ use of undeclared crate or module `tower`
|
kubert-check-feature (admin):
kubert/src/admin.rs#L29
error[E0433]: failed to resolve: use of undeclared crate or module `thiserror`
--> kubert/src/admin.rs:29:17
|
29 | #[derive(Debug, thiserror::Error)]
| ^^^^^^^^^ use of undeclared crate or module `thiserror`
|
kubert-check-feature (admin):
kubert/src/admin.rs#L229
error[E0277]: `?` couldn't convert the error to `admin::BindError`
--> kubert/src/admin.rs:229:52
|
229 | let lis = std::net::TcpListener::bind(addr)?;
| ^ the trait `std::convert::From<std::io::Error>` is not implemented for `admin::BindError`, which is required by `std::result::Result<admin::Bound, admin::BindError>: std::ops::FromResidual<std::result::Result<std::convert::Infallible, std::io::Error>>`
|
= note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
= help: the trait `std::ops::FromResidual<std::result::Result<std::convert::Infallible, E>>` is implemented for `std::result::Result<T, F>`
= note: required for `std::result::Result<admin::Bound, admin::BindError>` to implement `std::ops::FromResidual<std::result::Result<std::convert::Infallible, std::io::Error>>`
|
kubert-check-feature (admin):
kubert/src/admin.rs#L230
error[E0277]: `?` couldn't convert the error to `admin::BindError`
--> kubert/src/admin.rs:230:34
|
230 | lis.set_nonblocking(true)?;
| ^ the trait `std::convert::From<std::io::Error>` is not implemented for `admin::BindError`, which is required by `std::result::Result<admin::Bound, admin::BindError>: std::ops::FromResidual<std::result::Result<std::convert::Infallible, std::io::Error>>`
|
= note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
= help: the trait `std::ops::FromResidual<std::result::Result<std::convert::Infallible, E>>` is implemented for `std::result::Result<T, F>`
= note: required for `std::result::Result<admin::Bound, admin::BindError>` to implement `std::ops::FromResidual<std::result::Result<std::convert::Infallible, std::io::Error>>`
|
kubert-check-feature (admin):
kubert/src/admin.rs#L231
error[E0277]: `?` couldn't convert the error to `admin::BindError`
--> kubert/src/admin.rs:231:62
|
231 | let listener = tokio::net::TcpListener::from_std(lis)?;
| ^ the trait `std::convert::From<std::io::Error>` is not implemented for `admin::BindError`, which is required by `std::result::Result<admin::Bound, admin::BindError>: std::ops::FromResidual<std::result::Result<std::convert::Infallible, std::io::Error>>`
|
= note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
= help: the trait `std::ops::FromResidual<std::result::Result<std::convert::Infallible, E>>` is implemented for `std::result::Result<T, F>`
= note: required for `std::result::Result<admin::Bound, admin::BindError>` to implement `std::ops::FromResidual<std::result::Result<std::convert::Infallible, std::io::Error>>`
|
kubert-check-feature (admin):
kubert/src/admin.rs#L314
error[E0433]: failed to resolve: use of undeclared crate or module `tower`
--> kubert/src/admin.rs:314:35
|
314 | let svc = tower::service_fn(move |req: Request| {
| ^^^^^ use of undeclared crate or module `tower`
|
kubert-check-feature (admin)
Process completed with exit code 1.
|
kubert-check-feature (runtime)
The job was canceled because "admin" failed.
|
kubert-check-feature (shutdown)
The job was canceled because "admin" failed.
|
kubert-check-feature (server)
The job was canceled because "admin" failed.
|
kubert-check-feature (runtime,runtime-diagnostics,lease,prometheus-client)
The job was canceled because "admin" failed.
|
kubert-check-feature (runtime,lease)
The job was canceled because "admin" failed.
|
kubert-check-feature (server,rustls-tls)
The job was canceled because "admin" failed.
|
kubert-check-feature (server,openssl-tls)
The job was canceled because "admin" failed.
|
kubert-check-feature (runtime,runtime-diagnostics)
The job was canceled because "admin" failed.
|
kubert-check-feature (log)
The job was canceled because "admin" failed.
|
kubert-check-feature (lease)
The job was canceled because "admin" failed.
|
kubert-check-feature (requeue)
The job was canceled because "admin" failed.
|
kubert-check-feature (index)
The job was canceled because "admin" failed.
|
kubert-check-feature (prometheus-client)
The job was canceled because "admin" failed.
|
kubert-check-feature (errors)
The job was canceled because "admin" failed.
|
kubert-check-feature (initialized)
The job was canceled because "admin" failed.
|
kubert-check-feature (client,openssl-tls)
The job was canceled because "admin" failed.
|
kubert-check-feature (client,openssl-tls)
The operation was canceled.
|
kubert-check-feature (client,rustls-tls)
The job was canceled because "admin" failed.
|
kubert-check-feature (client,rustls-tls)
The operation was canceled.
|
kubert-check-feature (admin,prometheus-client)
The job was canceled because "admin" failed.
|
kubert-check-feature (admin,prometheus-client)
The operation was canceled.
|
kubert-check-feature (client)
The job was canceled because "admin" failed.
|
kubert-check-feature (client)
The operation was canceled.
|
pr-ok
Process completed with exit code 1.
|